Skip to content

Docs: a build that is the game itself puts its release in prepare.version - #333

Merged
elripalda merged 2 commits into
elripalda:mainfrom
Felitendo:docs/prepare-version-each-release
Nov 20, 2026
Merged

elripalda merged 2 commits into
elripalda:mainfrom
Felitendo:docs/prepare-version-each-release

Conversation

@Felitendo

Copy link
Copy Markdown
Contributor

What this changes

The guide (docs/DEVELOPERS.md) and the schema description of prepare.version now 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 in version each time they package one, like "version": "0.4.2".

Why: an update keeps the setup (Beta 51), and only a changed prepare.version asks for a new build. Donkey Kong Bananza PC Recomp ships its source and recompiler, and its setup.sh --prepare compiles game/dkb from the player's copy. Its recomplauncher.json has no version, 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 in version each 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 test passes, except pads::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.cjs passes (404/404)
  • Tried it in the launcher (npm run dev): not needed for a docs change

Checklist

  • One change per pull request
  • No version bump or patch notes (those are done at release time)
  • If it changes what developers can write in recomplauncher.json: the schema and docs are updated too

Felitendo and others added 2 commits November 19, 2026 23:22
…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.
@Xarishark

Copy link
Copy Markdown
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 ("--game={game}" instead of "--game", "{game}"). With prepare.keeps_copy the launcher leaves out every argument with {game} in it, so the two-argument form would leave a bare --game behind; the keeps_copy section already says to write it as one.

The SDK repo's copy of the guide and schema follows in elripalda/RecompLauncher-SDK#7, to merge after this one.

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.

3 participants