Repository navigation
Conversation
Xarishark
marked this pull request as draft
November 8, 2026 19:51
Xarishark
marked this pull request as ready for review
November 8, 2026 20:53
Xarishark
marked this pull request as draft
November 26, 2026 13:12
RecompLauncher reruns setup after every release, without the discs once the build is kept. A published managed game folder now ends setup with 'progress 1 Already set up', newly picked DLC is still imported, and discs can be passed as single --discN=<path> arguments.
With RECOMPLAUNCHER=1 no update or content check runs, no staged update is installed and no upgrade copy is offered; the launcher installs every release.
Pass each disc as one argument, mark the prepared game folder as kept with prepare.done, keeps_copy and folders.game, check every disc by title ID, and drop the prepare.timeout field the schema no longer allows.
Our markers now use .reblue-content and .reblue-preparing, away from the .recomplauncher- names RecompLauncher keeps for its own files. The owner marker holds a content version; a build with a different or missing one counts as not set up.
RecompLauncher's Cancel, its stop after an hour without output or the launcher closing could leave .reblue-preparing behind, and every later setup refused to run. Setup now holds an OS lock on .reblue-preparing.lock to tell a running setup from a leftover one. A leftover is cleaned up at the start of the next run, putting the previous game back if it had been moved aside.
Setup now takes each disc as one --discN=<path> argument. The two-argument --disc1 <path> form and --game-dir folder discovery, which the launcher never passes, are gone.
Prepare from a folder and FindDiscs had no caller left. disc_probe now takes the three images, like setup.
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.
This lets players set up and play re:Blue from RecompLauncher. They pick their own three Blue Dragon disc images (and up to three optional DLC packages). The launcher checks the discs, sets the game up without opening the wizard, and Play starts the game straight away. Resolution, display mode, frame rate, V-Sync, aspect ratio, anti-aliasing, texture filtering and depth of field can be changed on the game's page in the launcher. Saves are backed up, and the log and save folders open from there.
After a new release, the launcher reruns setup. A finished setup is kept, so the discs aren't needed again and nothing is extracted twice.
What's in it for players
recomplauncher.jsonwith Easy Setup (three required discs, each checked by the game's title ID, plus three optional DLC slots), settings, saves, logs and exit-code messages.reblue.app), and at/recomplauncher.jsoninside the AppImage.Setup through the launcher has not been tried with real discs yet, and it's untested on Linux, Steam Deck and macOS.
Code changes
Apart from the shared installer change named at the top, these only apply when the launcher passes the new arguments (
--prepare-content,--recomplauncher-play) or setsRECOMPLAUNCHER=1. Started any other way, re:Blue starts and behaves as before.src/launcher/, a thin wrapper around the SDK's entry point):--prepare-contentextracts the three discs with the existing installer and disc reader, printsprogress <0..1> <text>lines, and imports DLC with the existing DLC installer.--recomplauncher-playstarts the prepared folder through the normal SDK startup.game/.reblue-content. Our own files use a.reblue-prefix, away from the.recomplauncher-names the launcher keeps for itself.progress 1 Already set upand exits 0 without the discs. DLC picked later is still imported. "Set up" means.reblue-contentholds the current content version (reblue-content-v1, separate from the release version, with a comment to bump it when what extraction produces changes); a different or missing one counts as not set up. Each disc is one--discN=<path>argument, as the launcher passes it..reblue-preparing.lock, so a leftover.reblue-preparingis told apart from one still in use; if the previous game had been moved aside, it's put back first.RECOMPLAUNCHER=1, re:Blue doesn't check for, offer, download or install its own updates or content packs. It also doesn't offer to copy itself over another install, since the launcher installs every release.recomplauncher.jsonanddocs/RECOMPLAUNCHER.md.tests/launcher/and a small CI workflow that runs them on Windows, Linux and macOS.The CI workflow (
.github/workflows/recomplauncher.yml) is optional; feel free to drop it.What I added
recomplauncher.json:inputs: three discs plus three optional DLC slots.preparewithdoneandkeeps_copy, andstart.configand eightsettingson the existing cvars inprofiles/default/reblue.toml.saves,folders,actionsandexit_codes.RECOMPLAUNCHER=1.What I checked, and how
recomplauncher.jsonvalidates with no errors against the current schema (Pythonjsonschema4.26, Draft 7).nightly-20261002-bd833a2a): the launcher test targets built, along with the Windows-only startup and installer code (entry_point.cpp,recomplauncher.cpp,disc_install.cpp).src/platform/updates.cppcompiles with the SDK's flags.AppRun.updates.cppalso compiles there with GCC 16.windows-latest,ubuntu-latestandmacos-latestin my fork, building the same test targets and adapters. Here it's waiting for maintainer approval.src/reblue_app.cppweren't compiled either; I read them againstplatform/updates.h.dumps: left out. I couldn't verify sizes or CRC32s from Redump or this project's docs.Things that would make your recomp better
RECOMPLAUNCHER_DATA): saves, settings, caches and logs could all move together, the way portable emulators do. Medium.RECOMPLAUNCHER_MODE: start full screen with controller menus when Play is pressed in Big Picture mode. Small.Anything I wasn't sure about
keeps_copy, a rebuild from the kept files gets no disc arguments: RecompLauncher leaves out any{input:…}argument whose file wasn't picked or no longer exists. Setup also skips the discs whenever the game is already set up, so either way it works.gamefolder first.Make it yours on RecompLauncher
A free developer account at https://recomplauncher.com/dev (sign in with GitHub, which finds your repos) lets you claim the recomp. Its page then shows it as yours, with the Verified developer badge once approved. You can edit its page and art, see its stats, and read player reports with their logs, and your new releases reach players faster.