Repository navigation
Conversation
DiscImage, ValidateDisc and DiscFingerprint move unchanged out of disc_install.cpp, so code that only needs to read a disc can build them without the whole installer.
An exception on the install thread, such as a disc read or file system error, ended the program. It now shows as a failed install with its message, like the installer's other errors. RunAsync also takes require_complete, off by default, to fail instead of installing when the discs are missing required files.
Xarishark
marked this pull request as ready for review
November 26, 2026 15:17
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.
If an error was thrown while the installer copied the game from the discs, it escaped the install thread and closed re:Blue. Now it shows up in the installer as a failed install with its message, like the installer's other errors.
Two small changes come with it:
DiscImagemoves to its own file.DiscImage,ValidateDiscandDiscFingerprintmove unchanged fromsrc/installer/disc_install.cppto a newsrc/installer/disc_image.cpp, so code that only needs to read a disc can build them without the rest of the installer.Installer::RunAsynctakes an optionalrequire_complete(off by default). With it on, the install fails instead of going ahead when the discs are missing required files. The wizard doesn't turn it on, so it behaves as before. Nothing in this PR calls it; only Add RecompLauncher support #149 does.The RecompLauncher support in #149 builds on this.
What I checked
disc_install.cppanddisc_image.cppcompile after each commit, with clang-cl on Windows and with clang 19 on Ubuntu 24.04, against rexglue-sdknightly-20261002-bd833a2a.