Skip to content

RAMMIT 1.1.2: installer window fixes, old-version put-off, themed tooltips - #10

Merged
CBlockDigital merged 12 commits into
CBlockDigital:mainfrom
Paradox-Evil-EXE:fix/installer-resize-and-swatch
Nov 9, 2026
Merged

CBlockDigital merged 12 commits into
CBlockDigital:mainfrom
Paradox-Evil-EXE:fix/installer-resize-and-swatch

Conversation

@Paradox-Evil-EXE

@Paradox-Evil-EXE Paradox-Evil-EXE commented Nov 3, 2026 •

Copy link
Copy Markdown
Contributor

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 with GetDpiForWindow, because Form.DeviceDpi stays at 96 under pywebview 6.2.1.

  • Loading flicker: HeightMap.json Loading 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, clears LegacyInstallPath.

  • 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 main into this branch and resolved the one-line comment conflict in Installer.css in 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 starts RAMMIT.exe and passes nothing from the link, so a web link can only open RAMMIT. The shortcuts are now RAMMIT.url files that open RAMMIT:, and their icon is copied to RAMMIT-Setup\, which never moves. The new App/Install.py handles a move: if the frozen exe starts and InstallPath no longer has a RAMMIT.exe, it points InstallPath, 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. Old RAMMIT.lnk shortcuts are replaced, and uninstall removes the .url files 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=Ignore rather than a separate IgnoreLegacyInstall value. 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

  • Main window and config wizard: the same hold-then-apply resize as the installer, in a small helper (App/WindowSize.py, kept in _-prefixed Api attributes so it isn't exposed to the page).
  • Opening height: the main window opens at its HeightMap.json height 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.
  • Themed tooltips: JS/Tooltip.js replaces the native title tooltips. A title is 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.
  • Launch tracking: RAMMIT now knows which client is which account. MultiInstance.ClientTracker gives 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-tray child 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 the roblox-player: link on the command line is matched. Tickets stay in memory and are never logged. An account shows "•••" while Roblox starts, "✓" once its WINDOWSCLIENT game 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-tray process 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.
  • Expired logins (back from the Test1 build):
    • Saved logins are checked against users/authenticated at 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.
    • Expired accounts get a red --Danger row. 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.
    • Renew compares Roblox user IDs. The ID is now saved with each account, and filled in for existing accounts by the check; when no ID is known yet, it falls back to the username. The same user replaces that account's login in place, even after a rename; a different user is added as a new account.
  • Theme swatch: drawn with three straight-edged linear-gradient layers instead of a conic-gradient, which came out jagged at fractional sizes.
  • Version 1.1.2 in App/Version.py, the changelog and the user docs. The website still says 1.1.1 until the release is out.

Left out

Tested

  • pyflakes: clean for the app and the installer.
  • Unit tests: app 56 passed; installer 62 passed (1 skipped). New tests cover the held-window resize, the put-off old version, moving accounts into an installed RAMMIT without reinstalling, matching clients to accounts by ticket, counting only game windows (not the tray menu), expired logins (the check, renewing by user ID or username, and a 401 at launch), the shortcut choice surviving updates, the RAMMIT: protocol shortcuts, and RAMMIT taking over after its folder was moved.
  • Headless UI suites (TestUi.mjs): app 73/73, installer 92/92 (after merging main, including fix(installer): hide check icon while uninstall tick is unticked (#2) #5's checks).
  • SyncThemes.py --check: 0 differences.
  • By hand: the drag fix, the 323 Loading height, the OLD VERSION route and the tooltips, in real windows on Windows 11 at 125% scaling. Launch tracking was also tested with real accounts: the marks, the counter, the status line, closing one client of two, and the tray menu.

…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.
@Paradox-Evil-EXE

Copy link
Copy Markdown
Contributor Author

@CBlockDigital #10 is complete from my side and ready for review. Everything is pushed, and the branch merges cleanly with main.

Changelog:

Installer

App

  • Launch tracking: RAMMIT knows which client belongs to which account, using the launched process and its children, with the launch ticket as a fallback. An account shows ✓ only once its game window is open, and the mark clears when that window closes.
  • Counter and status: the counter counts open game windows only, so Roblox's tray icon and its menu no longer count. The status says "Launched" only once the windows are open.
  • Expired logins (back from Test1): saved logins are checked at start-up and then every 5 minutes. Expired accounts turn red, and RENEW and RENEW AND LAUNCH sign in again. Renewing checks the Roblox user ID, so signing in as a different user adds a new account instead.
  • Shortcuts survive moving RAMMIT: shortcuts open a per-user RAMMIT: protocol. A RAMMIT that was moved by hand points the protocol and the registry at its new folder the first time it starts there.
  • Window height: RAMMIT opens at its final height, and the main window and wizard keep their height while you drag them.
  • Tooltips and swatch: themed tooltips everywhere (rounded in CBlock), and the theme swatch has straight edges.
  • README: it spells out RAMMIT.

Tests: CI's checks pass locally:

  • App: 56 unit tests and 73/73 UI checks.
  • Installer: 62 unit tests and 92/92 UI checks.
  • Lint and themes: pyflakes is clean and the themes are in sync.

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 App/Version.py, the changelog and the docs to whichever you choose.

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>
@CBlockDigital
CBlockDigital merged commit 5988b8d into CBlockDigital:main Nov 9, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Installer window sometimes keeps the previous screen's height; theme swatch looks jagged

2 participants