Skip to content

Easy Setup: one name, its own screen instead of a file picker, and named inputs counted - #396

Merged
elripalda merged 11 commits into
elripalda:mainfrom
Xarishark:fix/easy-install-setup-screen
Nov 21, 2026
Merged

elripalda merged 11 commits into
elripalda:mainfrom
Xarishark:fix/easy-install-setup-screen

Conversation

@Xarishark

@Xarishark Xarishark commented Nov 21, 2026 •

Copy link
Copy Markdown
Collaborator

Easy Setup gets one name, and asks for the player's copy on its own screen instead of a bare file picker. Found while setting up Phantom Spider RE, whose recomplauncher.json asks for its .jar through named inputs (no game block). One commit per change.

Easy Install opens the Easy Setup screen, not a file picker (ui/app.js, lib.rs)

  • Pressing Easy Install opened the system's file picker the moment the download started, with nothing saying why. For a game whose file types it didn't know, it offered only All files.
  • The download now just starts. With Auto-Install on, the Easy Setup screen opens when the download is done and asks for the copy there, as it already did for every game whose copy wasn't picked during the download. With Auto-Install off, the toast says to set it up from the game page, as before.
  • The pick-while-downloading code goes (pickWhileDownloading, pickCheckedCopy, S.prePicked, S.pickingCopy), and so does the Rust precheck_copy command, which nothing else called.

Launcher Support counts named inputs as Easy Setup (lib.rs, ui/app.js)

  • Installed, the card read the game's own file and counted Easy Setup only from a game block. A file that asks for the copy through named inputs showed Easy Setup as missing (a dash), though its setup works and the catalog says easy_setup: dev.
  • support_local (now profile_covers) and fileCovers count a required, non-shared input of role game or disc, the same rule as the site's rs_sdk_easy, so the card and the catalog agree. A file whose only input is optional DLC or a shared key still isn't Easy Setup.

The copy picker shows the file types the game's own file names (ui/app.js)

  • Choose Your Copy, Not This One and Use Another File use copyPickOpts, which never read named inputs. For Phantom Spider it offered All files only.
  • It now offers only the formats[].extensions of the game's required, non-shared game/disc inputs (from the installed setup, or the catalog's copy of the file before install), the same rule as Launcher Support and the site. No All files beside them: setup takes no other file for a named input (inputs.rs), so it only led to a refusal later. The Easy Setup screen's own pickers already worked this way.
  • A manifest with a game block keeps that block's types, worked out as before, even when it also has a named input of role game (a second file, like Age of Decomp's workaround). An input that takes any file, or no declared types at all, leaves the picker as it was (with All files).

A game page reads the Easy Setup state of a game just installed (ui/app.js)

  • A finished download redraws the open game page in place (refreshGame), and only a full page draw (pageGame) loaded the setup state. When the download handler didn't load it itself (while another setup window was open, or while the old picker was open), the page showed Play and "Your copy of the game: Not found" for a game that wasn't set up, until the player left the page.
  • refreshGame now loads it when it isn't known.

Easy Install is called Easy Setup everywhere (ui/app.js, ui/tv.js, ui/setup-steps.js, ui/i18n/*)

  • The button before install, the button once installed but not set up (it said "Set up", next to the wrench "Set Up" that means something else), the setup screen's header, the developer tab's button, and the two Settings texts that named Easy Install. In every language: the translations' own "Easy Install" term swapped for their "Easy Setup" one, with 24 inflected forms done by hand.

The game page's buttons (ui/app.js, ui/tv.js)

  • The installed Easy Setup button is green like the one before install: green is Easy Setup's colour, cyan stays for Play, Install and Update. Desktop and Big Picture.
  • Easy Setup and Install no longer show the download size on the button. It's under Size on the game page (Big Picture too), and Before you play checks Room on the drive with it.
  • On the desktop, Locate Installed is a square open-folder button beside "…", its name in the tooltip. Big Picture keeps it as a named button (easier with a controller), with the same open folder.

Translations this branch stopped using (ui/i18n/*)

  • The 8 texts only the old picker, its copy check and "Easy Install" used, found by diffing tools/launcher-i18n.py --check against main. Older unused texts are left as they are.

No change to recomplauncher.json or the schema.

Testing

  • Bazzite (Linux) VM, on current main (Easy Setup: a long label no longer pushes Choose over the copy box's border #392): cargo test --locked: 980 passed, 0 failed. node --test tests/*.test.cjs: 654 passed. node --check on every UI file. tools/launcher-i18n.py --check: no new unused texts.
  • New tests: profile_covers with named inputs (counted) and with optional DLC only (not counted); the Launcher Support card for both; the copy picker's types (catalog, installed; only the declared types; shared keys, optional and inactive inputs left out; a game block's copy and an any-file input left as before; console types as before); refreshGame loading the setup state; Easy Install starting without a picker; the green installed button, no size and the Locate Installed button on desktop and Big Picture.
  • A before/after page running the real functions (buttons, Before you play, Launcher Support card, copy picker types, setup screen header, Settings texts) on a made-up Phantom Spider, checked in headless Chrome.
  • Not tested: the running app (desktop or Big Picture), and Windows and macOS beyond CI.

Patch notes (Beta 68)

  • Easy Install is now Easy Setup, and it no longer opens a file picker while the game downloads: Easy Setup asks for your copy once the download is done.
  • The game page goes straight to Easy Setup after a download, instead of showing Play and "Not found" until you leave the page.
  • Choosing your copy shows only the file types the game takes, like .jar.
  • Launcher Support shows Easy Setup for games that ask for your copy through named inputs.
  • Easy Setup is green on both its buttons, the install buttons leave the size to the game page, and Locate Installed is a folder button beside "…".

Easy Install used to open a bare system file picker the moment the download started, with no word of why, and for games whose file types the picker didn't know it only offered All files. The copy is now asked for on the Easy Setup screen, which opens once the download is done (with Auto-Install on, as before). The check that ran on a copy picked before install (precheck_copy) had no other caller and goes too.
A recomplauncher.json that asks for the player's copy through named inputs, with no game block, showed Easy Setup as missing on the Launcher Support card once the game was installed, though its setup works. Both the installed file's check and the repo file's check now count named inputs.
Choose Your Copy, Not This One and Use Another File opened with All files only for a game whose recomplauncher.json names its copy's types through named inputs (Phantom Spider's .jar). The picker now offers those types first, from the installed setup or the catalog's copy of the file, with All files still there.
A finished download redraws the open game page in place, and only a full page draw read the game's setup state. Unless the download handler loaded it itself (it didn't while another setup window was open), the page showed Play and "Your copy of the game: Not found" for a game that wasn't set up yet, until the player left the page. The in-place redraw now reads it too.
One name for the feature: the button before a game is installed (desktop and Big Picture), the button once it's installed but not set up yet (was "Set up", which read like the wrench Set Up for other setups), the setup screen's header, the developer tab's button, and the Settings texts that named Easy Install, in every language.
The texts of the file picker Easy Install opened during the download, its copy check, and Easy Install itself: nothing shows them anymore (tools/launcher-i18n.py --check lists them as no longer used).
Only a required input of role game or disc that isn't a shared key is the player's copy, as recomplauncher.com's rs_sdk_easy counts it. A file whose only input is optional DLC or a shared key isn't Easy Setup, so the card and the catalog agree.
Both say Easy Setup with the same disc now, so they share the colour too: green is Easy Setup's, cyan stays for Play, Install and Update. Desktop and Big Picture.
… is an open folder

Easy Setup and Install no longer carry the download size: the game page lists it under Size (in Big Picture too), and Before you play checks Room on the drive with it. On the desktop, Locate Installed is a square open-folder button beside "…", its name in the tooltip; Big Picture keeps it as a named button with the same open folder.
An optional disc input added its file types to the copy picker, while the Launcher Support card and the site count only a required, non-shared input of role game or disc as the player's copy. The picker now uses the same rule.
@Xarishark
Xarishark marked this pull request as ready for review November 21, 2026 10:41
@Xarishark
Xarishark marked this pull request as draft November 21, 2026 10:55
…s a game block's copy alone

Setup takes no other file for a named input, so All files beside the declared types only led to a refusal later: with declared types, the picker now offers just those. A manifest with a game block keeps the block's own types, even when it also has a named input of role game (a second file, like Age of Decomp's), and an input that takes any file leaves the picker open as before.
@Xarishark
Xarishark marked this pull request as ready for review November 21, 2026 10:59
@elripalda
elripalda merged commit bae666f into elripalda:main Nov 21, 2026
6 checks passed
@Xarishark
Xarishark deleted the fix/easy-install-setup-screen 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