Skip to content

When the launcher says games, it counts games, not recomps - #288

Merged
elripalda merged 3 commits into
elripalda:mainfrom
Xarishark:feat/setup-game-images-4396ad
Nov 18, 2026
Merged

elripalda merged 3 commits into
elripalda:mainfrom
Xarishark:feat/setup-game-images-4396ad

Conversation

@Xarishark

Copy link
Copy Markdown
Collaborator

When the launcher says "games", the number now counts games, not recomps. Every recomp of a game matches the same ROM, so a player with three SNES ROMs (A Link to the Past, Super Mario World and Super Metroid, with 13 recomps between them) was told setup "Found 13 games that have recomps", and the row of covers showed Zelda, Metroid and Mario twice each.

  • Setup shows each game once. The "Where do you keep your ROMs?" step and the last step group recomps by their ROM, or by their catalog title, and show one cover per game: the cover of the version the catalog recommends, with the game's name. Same three ROMs: "Found 3 games that have recomps", three covers.
  • Other counts of games count games. These are Settings' "N of your games have recomps", the toast after "Look again", the Library header (the Library already shows one tile per game, so the count now matches the tiles), "In your library" in Downloads, and the update toasts. When several recomps of one game update together, the toast names the game.
  • Counts that are really about recomps or files say so. A ROM folder's "With recomps" counts files with recomps (it said 13 for a folder of 3 files). A library folder says how many recomps it holds. The tray message for several setups says recomps.
  • Setup and Settings ask "Where do you keep your ROMs?" The setup step and the Settings group for ROM folders were titled about games. The new title is translated in every language. The old "Your games" title is no longer used, so it's gone from the language files.

Left as they are: Steam, Saves and Bring Your Recomps. Each lists one entry per recomp, so their counts match what's on the screen.

No change to recomplauncher.json, the schema or the docs.

Tests (Windows VM, upstream main with this change):

  • cargo test: 662 passed, 1 ignored, 0 failed.
  • node --test tests/: 352 tests, 341 pass, 11 skipped, 0 fail. The Settings tests stub the new ownedGames() helper.

Tried in the running app (Windows VM, debug build, those three ROMs): the setup step, the last step, Settings and the Library show 3 games. The same steps on the code before this change showed 13, with repeated covers.

Every recomp of a game matches the same disc image, so the games step
and the last step showed the same cover (and counted the game) again for
each recomp. Recomps now group by their file or catalog title, shown with
the recommended version's cover.
Several recomps of one game count once. Settings ("N of your games have
recomps"), the scan toast, the Library header, the Downloads stats and
the update toasts now count games; an update toast for several recomps
of one game names the game. A ROM folder's "With recomps" counts files,
and library folders say how many recomps they hold. The tray message for
several setups says recomps.
The setup step and the Settings group for ROM folders were titled about
games; they're about ROMs. Translated in every language, and the old
"Your games" title, no longer used, is gone from the language files.
@elripalda
elripalda merged commit 0ebbed2 into elripalda:main Nov 18, 2026
6 checks passed
@Xarishark
Xarishark deleted the feat/setup-game-images-4396ad branch November 23, 2026 23:56
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.

2 participants