Skip to content

v0.1.10: launcher repairs a stale disc path (Linux/Proton)

Choose a tag to compare

@goodshepherd23 goodshepherd23 released this 18 Nov 20:31
· 3 commits to main since this release

Linux / Proton: the launcher repairs a stale disc path (issue #7).

game\game.toml could still hold the full Windows path from the PC that ran setup, or from a kit older than v0.1.7. Under Proton, C: is the prefix's own drive_c, so the game failed with cannot open cue, and setup (which needs PowerShell) couldn't run there to fix it.

Baroque.exe now checks the disc path before each launch. If the file isn't there, it looks for a .cue or .chd in a disc folder (beside Baroque.exe or in the data folder) or right beside Baroque.exe, and points game.toml at it: relative to the game when it's inside the kit's folder, a full path otherwise. A path that works is never changed, and each repair is noted in launcher.log. This also helps on Windows if you move the disc.

Updating: only the launcher changed, so the runtime is not rebuilt. Saves, cheats and settings are not touched.

Tested on Windows: a portable folder whose game.toml pointed at C:/Quiver/Apps/Baroque-BaroqueSaturnRecomp/BAROQUE.cue, with the disc beside Baroque.exe, was rewritten to ../BAROQUE.cue and the game booted; a second launch left the file alone. Not tested under Wine or Proton by the author.

Developed with AI assistance (Claude).