Repository navigation
RecompLauncher support: recomplauncher.json and opengp-cli --prepare - #11
Merged
Merged
Conversation
--only ID builds that one game, and an image of the other game is an error that names the game it is. --prepare prints the progress as "progress <0..1> <text>" lines (RecompLauncher's setup step) and never waits for a key at the end. Without them opengp-cli works as before. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The package carries a recomplauncher.json (from tools/installer/recomplauncher.json.in, with the version filled in) next to the launcher. RecompLauncher asks for the GP 2 disc image (GGPE02, or a RELSAB placeholder header), builds the game with opengp-cli --prepare --only GGPE02, and starts opengp-mkgp2 with --iso. Its setup step is versioned with the package, so each new version builds the game again. OpenGP's settings (video, sound, game, linked cabinets) show on the game's page there, and saves are listed for its backups. README gets the "Get it on RecompLauncher" badge; docs/packaging.md describes the new opengp-cli options and the RecompLauncher setup. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Merged
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.
Summary
With this, players can install OpenGP from RecompLauncher, pick their GP 2 disc image, and the launcher builds the game and starts it. OpenGP's settings show on the game's page there. The package now carries a
recomplauncher.jsonnext to the launcher:The setup step's
versionis the package version, so each OpenGP release builds the game again in RecompLauncher. GP 1 stays with OpenGP's own launcher.tools/installer/ main.cpp # opengp-cli + recomplauncher.json.in # configured with the version, installed at the package root cmake/package.cmake # + configure_file / install README.md # + "Get it on RecompLauncher" badge docs/packaging.md # + the new options, the RecompLauncher setupCode changes (their own commit, used only when the launcher passes the new options):
opengp-cli --only IDbuilds only that game. An image of the other game is refused, with a message naming it.opengp-cli --prepareprintsprogress <0..1> <text>lines and doesn't wait for a key at the end.Without these options,
opengp-clibehaves as before.Evidence
recomplauncher.jsonvalidates against https://recomplauncher.com/schema/recomplauncher.json with no errors.opengp-clihad no setup mode a launcher can read:\r 42%progress, and a "Press Enter" wait.After (local Windows package build, real GP 2 image):
opengp-clibehaves as before. The builtopengp-mkgp2boots to the Namco screen headless, both with--isoand with no arguments. 22/22 tests pass.Merge Danger
Door: two-way
Reverting removes the file and the options. Players who set up through RecompLauncher would lose Easy Setup, but their install and saves are unaffected.
Blast Radius: packaging
One new file at the package root.
opengp-clichanges only with the new options. Not yet tried in RecompLauncher itself: whether it accepts.gcmfiles, whethervideo/fullscreenaddresses TOML tables as its schema says, and whether the console-subsystem programs show a console window when it starts them.🤖 Generated with Claude Code