Repository navigation
Docs: a build that is the game itself puts its release in prepare.version - #333
Merged
elripalda merged 2 commits intoNov 20, 2026
Merged
Conversation
…sion An update keeps the setup (Beta 51), so a game whose setup step builds the game itself (DKB's setup.sh compiles game/dkb) kept starting the build of the release it was set up with. The guide and the schema now say to put the release version in prepare.version each time such a game is packaged.
…keeps_copy needs
With prepare.keeps_copy the launcher leaves out every argument with {game} in it, so "--game", "{game}" would leave --game behind. The keeps_copy section already says --game={game}; this example now does too.
Collaborator
|
Thanks for this, it's right, and the Donkey Kong Bananza case is exactly what developers need to hear about. I pushed one small commit on top (cff47cc): the example just above your new text, for building into the install folder, now passes the copy as one argument ( The SDK repo's copy of the guide and schema follows in elripalda/RecompLauncher-SDK#7, to merge after this one. |
This was referenced Nov 20, 2026
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.
What this changes
The guide (
docs/DEVELOPERS.md) and the schema description ofprepare.versionnow say that a new release doesn't run the setup step again by itself. When the step builds the game itself (its recompiled program), the developer puts their release version inversioneach time they package one, like"version": "0.4.2".Why: an update keeps the setup (Beta 51), and only a changed
prepare.versionasks for a new build. Donkey Kong Bananza PC Recomp ships its source and recompiler, and itssetup.sh --preparecompilesgame/dkbfrom the player's copy. Itsrecomplauncher.jsonhas noversion, so after updating from 0.3.0 to 0.4.2 the launcher kept starting the 0.3.0 build. Nothing in the docs told developers that a build which is the game needs the version bumped on every release. The launcher's behaviour stays as it is.For the website (SDK guide): under
prepare.version, say that a new release doesn't run the setup step again by itself. When the step builds the game itself, the developer puts their release version inversioneach time they package one, like"version": "0.4.2".(The template asks for no patch notes in a PR, so that line is here instead of in a notes draft.)
How you tested it
Linux (CachyOS). Docs and schema text only, no code.
npm testpasses, exceptpads::tests::through_sdl: it saw a real PlayStation controller plugged into this PC next to its virtual Xbox pad (["ps", "xbox"]). That's unrelated to this change.node --test tests/*.test.cjspasses (404/404)npm run dev): not needed for a docs changeChecklist
recomplauncher.json: the schema and docs are updated too