Repository navigation
RAMMIT 1.1.2: installer window fixes, old-version put-off, themed tooltips - #10
Merged
CBlockDigital merged 12 commits intoNov 9, 2026
Conversation
…ltips Installer: - A resize that arrives while the title bar is held waits and is applied on let-go (size only, real DPI scale). Fixes the window staying at the Loading height (CBlockDigital#8). - HeightMap.json Loading 327 -> 323, so the window no longer trims itself right after opening and the card's top and bottom gaps are even. - Ignore without "don't ask again" now puts the old test version off: LegacyInstallPath in the registry, an OLD VERSION button and a line on both menus. With RAMMIT already installed, the two "move" choices copy the accounts into it without reinstalling (Legacy.RunMove). - The tick box's check mark is hidden while unticked (CBlockDigital#2). App: - Main window and config wizard: same hold-then-apply resize (WindowSize.py). - Main window opens at its HeightMap.json height for the saved option. - Themed tooltips (JS/Tooltip.js) replace the native title tooltips; every control has one. Square by default, rounded in CBlock (--TooltipRadius). - Theme swatch drawn with straight-edged layers instead of conic-gradient. - Version 1.1.2, changelog, docs.
…and-swatch # Conflicts: # Production/Installer/Installer/Ui/CSS/Installer.css
…ly game windows A launch's one-time ticket travels in the roblox-player: link on the game client's command line, so MultiInstance.ClientTracker matches each RobloxPlayerBeta.exe to the account that launched it (tickets stay in memory, never logged). Only processes with a visible WINDOWSCLIENT window count as running, so the --launch-to-tray process a closed game leaves behind, and its tray right-click menu, no longer add an instance. The page marks an account '...' while Roblox starts, a check once its game window is open, and clears it when that window closes (GetCounter returns each account's live state).
…s for the windows GetCounter's Running now counts open game windows only; launches still starting still count towards Max Instances (CountRunning IncludeStarting). The status line says 'Launched X/Y' only once those accounts' windows are open: during a batch it shows 'Launched' in the launch delay after an account whose window is already open, otherwise 'Launching X / Y...'; after the last launch it waits for the windows, giving up after 30 s.
On a real PC the process RAMMIT starts can hand the game to a '--launch-to-tray' child, which then opens the window without the ticket on its command line, so ticket matching alone never marked the account open. ClientTracker now owns the started pid (Started) and lets a child take the account over while it hasn't shown its window yet (also covers Bloxstrap / Fishstrap starting Roblox as a child). A tray child started after the window was shown, when a game closes, takes nothing. The ticket stays a fallback.
…build) Saved logins are checked against users/authenticated at start-up and every 5 minutes (401 = expired; anything else leaves the mark alone), and a launch whose auth ticket gets a 401 marks the account too. Expired accounts get the red Danger row; with exactly one of them selected, + ADD becomes RENEW and LAUNCH becomes RENEW AND LAUNCH (signs in again, launches only if renewed). Renew compares Roblox user ids (saved with each account from now on, filled in for existing ones by the check), falling back to the username when no id is known yet: the same user replaces that account's login in place, even after a rename; a different user is added as a new account.
… the update done screen The Version screen has two tick boxes (both on by default); only the ticked shortcuts are made, the choice is saved in the registry (Shortcuts), and update / repair / undo recreate just those instead of always both. Installs from before have nothing saved and keep both. The done screen says which shortcuts were added. The update / repair / undo done screen gets LAUNCH RAMMIT beside CLOSE, like the install done screen.
…=Ignore One registry value instead of two: LegacyInstallPath holds the put-off old folder, or 'Ignore' once the user ticked 'don't ask again' and pressed Ignore (for good, no undo). IgnoreLegacyInstall=1 from installers before 1.1.2 is carried over on the next run and then removed.
… folder was moved The installer registers HKCU\Software\Classes\RAMMIT (starts RAMMIT.exe, no link data passed on) and makes RAMMIT.url shortcuts that open RAMMIT:, with the icon copied to RAMMIT-Setup\ so it never moves. Its own old RAMMIT.lnk shortcuts are replaced; uninstall removes the .url files and the protocol. App/Install.Sync (frozen exe only, at start-up): when the installer's InstallPath has no RAMMIT.exe any more and RAMMIT runs from elsewhere, the folder was moved, so InstallPath, the protocol and the Apps entry are pointed here and every RAMMIT: shortcut works again, wherever it is. A second copy started while the installed one is in place changes nothing. Test mode uses its own protocol name and refuses the real one.
Contributor
Author
|
@CBlockDigital #10 is complete from my side and ready for review. Everything is pushed, and the branch merges cleanly with Changelog: Installer
App
Tests: CI's checks pass locally:
Version: the PR uses 1.1.2, which you picked before the bigger features went in. Given launch tracking, expired logins and the protocol shortcuts, should it stay 1.1.2 or become 1.2.0? I'll change |
Version - 1.2.0 in App/Version.py, the changelog, the docs and the requirements header; "1.2" added to SupportedVersions in all four built-in themes. Issue CBlockDigital#8 and window sizing - Installer: FitWindow sends ResizeInstaller one at a time; a height measured meanwhile waits and only the newest is sent. InstallerApi applies resizes and the let-go reapply under one lock; the frame fallback uses GetDpiForWindow. - App: Bridge.OneAtATime for the main window and the config wizard; WindowSize uses the same lock. Installer - Removing a put-off old version keeps the installed RAMMIT's Version value. - A failed write while carrying over IgnoreLegacyInstall no longer breaks start-up. - Moving an old version's accounts never copies what a link or junction points at, and neither does a Config backup. - A shortcut whose icon path isn't ANSI-encodable gets the default icon. - Unused LegacyRecommend span removed; Installer.css header corrected. App - App/Install.py only takes over from a folder the installer made (Manifest.json), never from a removable drive or the installer's test mode. - RENEW AND LAUNCH keeps an account renamed on Roblox selected and launches it. - ClientTracker: launch ids, tickets kept until the window shows, process-reuse check for every tracked pid, each launch counted once, a failed start is forgotten, psutil errors caught. - An expired-at-launch result no longer marks a login renewed or re-added meanwhile. - "Launched" waits for a counter poll sent after the batch ended. UI - New --OnExpired theme colour: expired rows, their @username and marks are readable in every theme; a selected expired row gets a ring. - Tooltips keep titles as aria-label / aria-description, update while shown. - Mid-batch status reads "X / Y done, next launch soon..."; tour text updated; Tools/RenderTheme.py draws the straight-edged swatch. Tests and docs - New unit and UI tests for every fix above (each shown to fail without it); the app UI harness drives the real ClientTracker. - User guide (RENEW, login checks), theme guide (--OnExpired, --TooltipRadius, SupportedVersions example), README module tables, CHANGELOG 1.2.0. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #8.
RAMMIT 1.1.2, as agreed in #8: installer window fixes, a better way to put off an old test version, and some QoL changes for the app.
Installer
Window stuck at the Loading height (Installer window sometimes keeps the previous screen's height; theme swatch looks jagged #8): if you grab or drag the title bar while the screen changes, Windows' move loop undoes the resize. Now a resize that arrives while the window is held is only recorded, and it's applied once when you let go. That resize sets the size only (
SWP_NOMOVE, so a stale position can't drag the window back) and reads the real DPI scale withGetDpiForWindow, becauseForm.DeviceDpistays at 96 under pywebview 6.2.1.Loading flicker:
HeightMap.jsonLoading goes from 327 to 323. The Loading page needs about 322, so at 327 it trimmed itself right after opening (408 → 402 px at 125%). 323 falls inside the existing under-2-px skip. The gap above and below the card is now even too.Old test version, Ignore without "don't ask again": this used to ask again on every launch. Now it saves
LegacyInstallPath, and the installer opens on the normal menu with an OLD VERSION button (above Uninstall) plus a line saying where the old version is. The button opens the same Old version screen with all four choices. With RAMMIT already installed, the two "move my accounts" choices copy the accounts and settings into it without reinstalling (Legacy.RunMove), and the first one then removes the old version. Ticking "don't ask again", or moving or removing the old version, clearsLegacyInstallPath.Tick box (Installer: tick box shows its check mark when unticked #2): fix(installer): hide check icon while uninstall tick is unticked (#2) #5 has since been merged with the same CSS change. I merged
maininto this branch and resolved the one-line comment conflict inInstaller.cssin favour of this PR. fix(installer): hide check icon while uninstall tick is unticked (#2) #5's two tick box UI checks are kept and pass.Shortcut choice: the Version screen has Desktop shortcut and Start Menu shortcut tick boxes, both on by default. Only the ticked ones are made, and the done screen says which. The choice is saved in the registry (
Shortcuts), and update, repair and undo recreate just those instead of always both. Installs from before have nothing saved and keep both.Shortcuts survive moving RAMMIT: the installer registers a per-user
RAMMIT:protocol (HKCU\Software\Classes\RAMMIT). It startsRAMMIT.exeand passes nothing from the link, so a web link can only open RAMMIT. The shortcuts are nowRAMMIT.urlfiles that openRAMMIT:, and their icon is copied toRAMMIT-Setup\, which never moves. The newApp/Install.pyhandles a move: if the frozen exe starts andInstallPathno longer has aRAMMIT.exe, it pointsInstallPath, the protocol and the Apps entry at itself, so every RAMMIT shortcut works again wherever it is. A second copy started while the installed one is in place changes nothing. OldRAMMIT.lnkshortcuts are replaced, and uninstall removes the.urlfiles and the protocol. Test mode uses its own protocol name and refuses the real one.Old-version "don't ask again": this is now stored as
LegacyInstallPath=Ignorerather than a separateIgnoreLegacyInstallvalue. The old value is carried over.Done screens: the update / repair / undo done screen gets LAUNCH RAMMIT beside CLOSE, like the install done screen.
README: spells out RAMMIT (Roblox Account Manager and Multi Instance Tool).
App
App/WindowSize.py, kept in_-prefixedApiattributes so it isn't exposed to the page).HeightMap.jsonheight for the saved launch option, instead of opening at 700 and resizing once the page has loaded. The page still resizes itself on boot, because only the page can measure the theme note.JS/Tooltip.jsreplaces the nativetitletooltips. Atitleis taken over when it's hovered, so no existing title had to change. The tooltip follows the cursor, flips to the other side at the window's edges, and uses the theme's--Card/--BorderLight/--Text/--Font. It's square by default and rounded in CBlock (--TooltipRadius: 4px). Every main-window and wizard control now has a tooltip.MultiInstance.ClientTrackergives the process RAMMIT starts to the account. A child process takes the account over while no game window has been shown yet: on a real PC, Roblox handed a launch to a--launch-to-traychild that opened the window without the ticket on its command line. This also covers Bloxstrap and Fishstrap starting Roblox as a child. A tray child started when a game closes takes nothing. As a fallback, each launch's one-time ticket in theroblox-player:link on the command line is matched. Tickets stay in memory and are never logged. An account shows "•••" while Roblox starts, "✓" once itsWINDOWSCLIENTgame window is visible, and its mark clears when that window closes. The counter only counts real game windows. Before, it also counted the--launch-to-trayprocess a closed game leaves behind, once its tray right-click menu was open, and it marked accounts launched as soon as the process started, about 9 s before Roblox was open. All of this was observed on a real PC with a read-only process and window watcher. The counter label shows open game windows only (launches still starting count only towards Max Instances), and the status line says "Launched" only once the accounts' windows are open, giving up after 30 s.users/authenticatedat start-up and every 5 minutes. A 401 marks the account expired; a check that can't reach Roblox never marks anything. A launch whose auth ticket gets a 401 marks the account too.--Dangerrow. With exactly one of them selected, + ADD becomes RENEW and LAUNCH becomes RENEW AND LAUNCH, which signs in again first and launches only if that worked.linear-gradientlayers instead of aconic-gradient, which came out jagged at fractional sizes.App/Version.py, the changelog and the user docs. The website still says 1.1.1 until the release is out.Left out
ResizeInstallercalls (mentioned in Installer window sometimes keeps the previous screen's height; theme swatch looks jagged #8) isn't included. With the drag fix in, the stuck window and the flicker no longer show up, so it isn't needed for now.Tested
TestUi.mjs): app 73/73, installer 92/92 (after mergingmain, including fix(installer): hide check icon while uninstall tick is unticked (#2) #5's checks).SyncThemes.py --check: 0 differences.