Skip to content

Easy Setup can't finish for a profile with game and named inputs #374

Closed

Description

@iCosiSenpai

What happens

With a recomplauncher.json that has both game and named inputs (the pattern DEVELOPERS.md shows under "A second file from the player"), Easy Setup stops with "That copy didn't work: Choose your copy of the game first." after the player picks the copy in the window and presses Set Up.

Seen with

RecompLauncher 0.90 beta 65 (a local build) and a release folder whose file had game with check.nup_build_id plus optional named inputs (dlc, and the shared nvidia.dlss). Age of Decomp 0.1.1 shipped that shape, and a player reported the same on its page. The code looks the same in beta 66 (44a3fa0).

Why, from reading the code

  • ui/setup-steps.js, stepsRun: it returns { inputs: true } as soon as su.inputs isn't empty, before it looks at the legacy game row.
  • The copy picked in the window is only in ns.copy. The comment there says it stays on the screen until Set Up, when setup_copy checks it and keeps it.
  • With inputs, ssAct in ui/app.js then calls setup_inputs_run directly. That returns "Choose your copy of the game first." because g.game_copy was never set (src-tauri/src/lib.rs: if p.game.is_some() && g.game_copy.as_ref().map_or(true, |c| !c.exists())).

A fix that would work

When a profile has both, keep the copy first (setup_copy's check, or set_game_copy) and then run setup_inputs_run.

What we did meanwhile

Age of Decomp 0.1.2 asks for the copy as a named input with role: "game" and has no game section. That works, but it loses game.check.nup_build_id (finding the copy in the player's folders and checking it before the build) and dumps.

A related question

The hub's "Checks the player's copy" counts only dumps and check.ids. For Switch and Switch 2 .nup packages there is no Redump-like list, and check.nup_build_id already tells the right game and build from the content. Could it count there, or could a named input with role game take a check?

Happy to test a fix with our build.

Activity

  1. Xarishark commented on Nov 21, 2026

    @Xarishark
    Collaborator

    Thanks for the clear report, and for reading the code: your diagnosis was right. This is fixed by #385.

    What was wrong. With both game and named inputs, Set Up went straight to the named-inputs setup and never gave it the copy you picked, so it stopped with "Choose your copy of the game first."

    What changed.

    • The copy in the box now goes to the setup: one you picked, dropped, or one the launcher found in your folders. It's checked the same way as for a game without named inputs, including game.check.nup_build_id, and kept only once the setup has worked. A setup that fails or is cancelled leaves the game as it was.
    • Two more problems on the same path came up in testing and are fixed too:
      • such a game read as "needs a new build" right after a setup that worked;
      • if a player had pointed the game at their own build before, Play kept starting that old build instead of the new one.

    Tested on Linux and Windows, in the app, with a test game shaped like Age of Decomp 0.1.1 (game with check.nup_build_id, plus an optional dlc input):

    • a dump of another build is turned away by its build ID;
    • the right one sets up, and Play starts the new build;
    • the DLC is passed along too;
    • Set Up Again and Cancel Setup work.

    On Windows I also ran KarPur, the other catalog game with game plus named inputs: the launcher hands its game file, update and keys to its builder.

    So Age of Decomp can go back to game with check.nup_build_id, keeping its named inputs, and get finding the copy in the player's folders back. The 0.1.2 workaround with role: "game" keeps working too, if you'd rather leave it for now.

    Your related questions.

    • "Checks the player's copy": fixed as well. Both the launcher and the game page on recomplauncher.com count check.nup_build_id as checking the copy, along with the other content checks (check.file, xdvdfs, iso9660 and the N64 ones), not only dumps and check.ids.
    • A check on a named input with role: "game": not planned. With game and named inputs working together, game is the place for checks; a role: "game" input stays a plain file slot that the project checks itself.
    • dumps: for games with named inputs, the launcher doesn't read the whole copy to compare it with dumps. That's deliberate: checksums for multi-file setups are deferred for now. It doesn't change anything in practice:
      • a Switch .nup has no list of known dumps anyway;
      • check.nup_build_id still turns away a .nup of another game or build before anything runs;
      • your own setup step still gets the final say on the file. If it stops with an error, the launcher shows the player your message and keeps nothing, so the game is left as it was and they can pick another copy.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions