Repository navigation
A setup step that keeps the copy builds again without it (prepare.keeps_copy) - #308
Merged
Merged
Conversation
…ps_copy)
A game built from the player's copy can say its setup step keeps what it
needs from the copy in its build folder (the first folders.game) and runs
again from there. With the copy gone (deleted to save space), a changed
prepare.version or a missing prepare.done file no longer asks for it: the
status says "rebuild" with "kept", and setup_copy with no path runs the
step again, leaving out every argument with {game} in it (so the copy has
to be one argument, --game={game}; option args are still added). The copy
picked before stays remembered as it was. A build folder that's gone took
what it kept with it: then the copy is asked for, as before. A run that
fails leaves the game as it was and says to choose the copy.
The developer check warns about a separate "{game}" argument, no build
folder, and no prepare.done. Schema and DEVELOPERS.md have the field with
an example.
…the copy When a game's setup step kept what it needs from the copy (game_setup's kept) and no copy is picked, the game step is headed Build It Again, says the copy isn't needed, and Set Up starts setup_copy with no path. The copy box stays, so the player can still build from their copy instead. The run screen leaves out reading and checking the copy, and Play opens it without the "pick your copy" note. Desktop and Big Picture share it.
Main's elripalda#302 deleted Profile::game_folders beside the new kept_from_copy: kept_from_copy stays, game_folders goes.
Xarishark
marked this pull request as ready for review
November 19, 2026 01:11
Xarishark
added a commit
to Xarishark/RecompLauncher
that referenced
this pull request
Nov 19, 2026
Brings in Beta 65, the game update rollback (elripalda#303), keeps_copy (elripalda#308) and the developer guide additions (elripalda#311). Every language file gained texts on both sides at its end; both are kept. The setup step keeps its temp folder, room check and data folder, and takes main's prepare_args, so a run without the copy (keeps_copy) gets them too. The "no prepare.done" warning stays quiet for a keeps_copy step, which already gets its own more exact one.
This was referenced Nov 19, 2026
elripalda
pushed a commit
that referenced
this pull request
Nov 21, 2026
…border (#392) * Easy Setup: a long label no longer pushes Choose over its box's border The box kept a fixed height after its text was allowed to wrap (#350), so a long input label pushed the button row onto the border. The text now wraps to two lines at most and the box grows past that, on desktop and Big Picture. The preview page has a case with a long label. * Easy Setup: the copy box names the game and says its input's label once A single named input showed its label as the title and again under it. The box now has the game on top, like a game.kind copy. It also gets the original game's name again: a variable added in #308 hid the game passed in, so the title fell back to the recomp's name.
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.
Builds on #307 (setup state), which is merged. Main is merged in here, so the diff is this PR's own.
What
A game built from the player's copy can now say its setup step keeps what it needs from the copy, and runs again from there without it:
Players who deleted their copy to save space (#215) aren't asked for it again when the game has to be built again.
How
prepare.keeps_copy(bool). What the step kept is its build folder, the firstfolders.game, when it's there with files in it.prepare.versionchanged, or aprepare.donefile is missing;startdoesn't take{game}.rebuildwith detailkept, so Play opens Easy Setup headed Build It Again. The copy isn't needed, and Set Up runs the step at once.{game}in it. That's why the copy must be one argument (--game={game}). The ticked options' args are still added, so DLSS and the like work in that run."{game}"argument, no build folder, and noprepare.done. Warnings only; nothing is blocked.Today's launchers ignore the field (
Preparehas nodeny_unknown_fields), so a project can ship it early. Only the schema refuses it until this is on main.Tested
prepare.versionwent from 1 to 2:--cli --prepare --out …, without--game.built), at version 2.For the patch notes
prepare.keeps_copy: set it when your setup step keeps what it needs from the player's copy in your build folder (the firstfolders.game) and can run again from there. The launcher then leaves out every argument with{game}when the copy is gone, so pass the copy as one argument (--game={game}), and listprepare.done."