feat(recomplauncher): the player's copy is the input game, and every release builds again by itself #2260

Merged
HumanBean merged 1 commit from Xarishark/Longshot:launcher/sdk-inputs into main 2026-11-22 18:45:49 +00:00
Contributor

An update to the RecompLauncher integration, after RecompLauncher's SDK upgrade (0.90 Beta 68).

RecompLauncher now asks for every file as a named input, and builds a game again whenever the release
it installed changes. Nothing breaks today without this change: the launcher still reads the old game
field as the input game, and ignores prepare.version. But the old field goes away before 1.0, and the
published schema already refuses prepare.version and timeout.

What changes

  • recomplauncher.json: the copy moves from game to the input game, with the same label and the same
    build ID check (nup_build_id e0f3ccfa). It's the .nup file or the extracted folder, as before. The
    setup step passes it as --game={input:game}. prepare.version and timeout are gone.
  • keeps_copy works the same: with the copy deleted, the launcher runs the same line without --game,
    and the game builds from what its folder kept.
  • scripts/builder_package.py: release_manifest and the manifest command are gone. They stamped each
    release's version into the file so the launcher would build again after an update, and it now does that
    by itself. The zip and the AppImage (scripts/linux/appimage.sh) carry the file as it is.
  • tests/test_recomplauncher_json.py and docs/dev/reference/releases.md are updated to match.

Needs RecompLauncher 0.90 Beta 68 or newer. Older launchers don't read a check on an input, so
please merge this once Beta 68 is out.

Checked

  • python -I tests/test_recomplauncher_json.py: 10 tests pass.
  • The file validates against https://recomplauncher.com/schema/recomplauncher.json. The current file on
    main fails it: version and timeout are no longer allowed.
  • RecompLauncher's own converter from game to inputs gives the same inputs, start and setup step as this
    file, and the launcher's developer check finds no problem with it.
An update to the RecompLauncher integration, after RecompLauncher's SDK upgrade (0.90 Beta 68). RecompLauncher now asks for every file as a named input, and builds a game again whenever the release it installed changes. Nothing breaks today without this change: the launcher still reads the old `game` field as the input `game`, and ignores `prepare.version`. But the old field goes away before 1.0, and the published schema already refuses `prepare.version` and `timeout`. **What changes** - `recomplauncher.json`: the copy moves from `game` to the input `game`, with the same label and the same build ID check (`nup_build_id` e0f3ccfa). It's the .nup file or the extracted folder, as before. The setup step passes it as `--game={input:game}`. `prepare.version` and `timeout` are gone. - `keeps_copy` works the same: with the copy deleted, the launcher runs the same line without `--game`, and the game builds from what its folder kept. - `scripts/builder_package.py`: `release_manifest` and the `manifest` command are gone. They stamped each release's version into the file so the launcher would build again after an update, and it now does that by itself. The zip and the AppImage (`scripts/linux/appimage.sh`) carry the file as it is. - `tests/test_recomplauncher_json.py` and `docs/dev/reference/releases.md` are updated to match. **Needs RecompLauncher 0.90 Beta 68 or newer.** Older launchers don't read a `check` on an input, so please merge this once Beta 68 is out. **Checked** - `python -I tests/test_recomplauncher_json.py`: 10 tests pass. - The file validates against https://recomplauncher.com/schema/recomplauncher.json. The current file on main fails it: `version` and `timeout` are no longer allowed. - RecompLauncher's own converter from `game` to inputs gives the same inputs, start and setup step as this file, and the launcher's developer check finds no problem with it.
feat(recomplauncher): the player's copy is the input game, and every release builds again by itself
Some checks failed
CI / Conventional Commit title (pull_request) Blocked by required conditions
CI / Python source checks (ubuntu-24.04, part 1/2) (pull_request) Blocked by required conditions
CI / Python source checks (ubuntu-24.04, part 2/2) (pull_request) Blocked by required conditions
CI / SPIR-V fixtures (global narrow load/store, direct surface atomics, F2I immediate) (pull_request) Blocked by required conditions
CI / Workflow lint (actionlint) (pull_request) Blocked by required conditions
CI / Website build and checks (pull_request) Blocked by required conditions
Guide screenshots / Guide images and local UI source review (pull_request) Blocked by required conditions
Third-party parts / The same as upstream (pull_request) Blocked by required conditions
Third-party parts / As their notes say (pull_request) Blocked by required conditions
Website / Website on Cloudflare (pull_request) Blocked by required conditions
PR description / Description follows the template (pull_request_target) Failing after 4s
Website / Website on Cloudflare (pull_request_target) Has been skipped
c20affef52
RecompLauncher 0.90 Beta 68 reads the player's files as named inputs, and builds a game again
whenever the release it installed changes. recomplauncher.json moves the copy from the old game
field to the input game (the same label and build ID check, the .nup or the extracted folder),
writes it as {input:game}, and drops prepare.version and timeout, which the launcher no longer
reads and its published schema refuses. The zip and the AppImage now carry the file as it is:
release_manifest and the manifest command, which stamped each release's version, are gone.
Member

Possibly related, for context:

  • PR #1840 feat(recomplauncher): an update builds the game again without the player's copy, and the build's work folder uninstalls with the game — Prior RecompLauncher rebuild/copy behavior; this supersedes its release-version manifest approach
  • issue #1754 Install: — Open report of RecompLauncher update requiring the game copy; this change addresses the workflow
Possibly related, for context: - PR #1840 feat(recomplauncher): an update builds the game again without the player's copy, and the build's work folder uninstalls with the game — Prior RecompLauncher rebuild/copy behavior; this supersedes its release-version manifest approach - issue #1754 Install: — Open report of RecompLauncher update requiring the game copy; this change addresses the workflow
HumanBean deleted branch launcher/sdk-inputs 2026-11-22 18:45:50 +00:00
Some checks failed
CI / Conventional Commit title (pull_request) Blocked by required conditions
CI / Python source checks (ubuntu-24.04, part 1/2) (pull_request) Blocked by required conditions
CI / Python source checks (ubuntu-24.04, part 2/2) (pull_request) Blocked by required conditions
CI / SPIR-V fixtures (global narrow load/store, direct surface atomics, F2I immediate) (pull_request) Blocked by required conditions
CI / Workflow lint (actionlint) (pull_request) Blocked by required conditions
CI / Website build and checks (pull_request) Blocked by required conditions
Guide screenshots / Guide images and local UI source review (pull_request) Blocked by required conditions
Third-party parts / The same as upstream (pull_request) Blocked by required conditions
Third-party parts / As their notes say (pull_request) Blocked by required conditions
Website / Website on Cloudflare (pull_request) Blocked by required conditions
PR description / Description follows the template (pull_request_target) Failing after 4s
Website / Website on Cloudflare (pull_request_target) Has been skipped
Some workflows are waiting to be reviewed.
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
MagicBeanDev/Longshot!2260
No description provided.