feat(builder): organize game files and launch with a profile ID #2708

Merged
HumanBean merged 1 commit from HumanBean/Longshot:cleanup/managed-installation-layout into main 2026-11-28 00:24:23 +00:00
Owner

Players should be able to start the chosen installation with a profile ID and keep their settings and saves across upgrades. The build folder also mixed game assets with preferences and crash reports.

Group packaged assets under data/, build defaults under config/, and reports and logs under diagnostics/. Keep player settings in the profile. A managed builder reads launcher-instance.json beside its executable for the profiles directory, cache and installation-specific upscalers. Its play command accepts --profile-id and leaves updates to the launcher.

Tested the builder and build-driver suites and launched the organized game on Linux with an isolated profile. A process-level test checks profile selection, locking, missing profiles and path traversal.

Players should be able to start the chosen installation with a profile ID and keep their settings and saves across upgrades. The build folder also mixed game assets with preferences and crash reports. Group packaged assets under data/, build defaults under config/, and reports and logs under diagnostics/. Keep player settings in the profile. A managed builder reads launcher-instance.json beside its executable for the profiles directory, cache and installation-specific upscalers. Its play command accepts --profile-id and leaves updates to the launcher. Tested the builder and build-driver suites and launched the organized game on Linux with an isolated profile. A process-level test checks profile selection, locking, missing profiles and path traversal.
Organize installed game files and resolve managed profiles beside the builder
Some checks failed
Website / Website on Cloudflare (pull_request_target) Has been skipped
Website / Website preview, built by CI (pull_request_target) Has been skipped
Website / Website preview, upload (pull_request_target) Has been skipped
CI / What the change needs (pull_request) Successful in 10s
CI / Third-party parts and guide screenshots (pull_request) Failing after 15s
CI / Lint (pre-commit, ShellCheck, actionlint) (pull_request) Successful in 17s
PR description / Title and description (pull_request_target) Failing after 5s
CI / Rust (rustfmt, clippy, cargo test, end to end) (pull_request) Failing after 3m20s
CI / Host C for Windows (llvm-mingw, compile only) (pull_request) Successful in 2m6s
CI / Renderer build check (Windows, compile --only renderer, without and with FSR 4) (pull_request) Successful in 3m42s
CI / Renderer build check (Linux, compile --only renderer, without and with FSR 4) (pull_request) Successful in 3m45s
CI / Website build and checks (pull_request) Failing after 2m33s
CI / Game-free checks (run_all.py, part 1/2) (pull_request) Failing after 22m23s
CI / Game-free checks (run_all.py, part 2/2) (pull_request) Failing after 31m31s
ca85808e7a
Author
Owner

Tested in game: On Linux with an RTX 3090 (driver 620.70.06 installed), launched the organized game in an isolated test profile and observed frame 19. Confirmed the packaged image, build configuration and diagnostics directories.

Tested in game: On Linux with an RTX 3090 (driver 620.70.06 installed), launched the organized game in an isolated test profile and observed frame 19. Confirmed the packaged image, build configuration and diagnostics directories.
Member

Possibly related, for context:

  • PR #1753 feat(saves): save profiles on the title menu, each player with their own saves — In-game save profiles overlap with launcher-selected profile support
  • issue #229 Idea: multi profile support (Discord Idea) — Requests launching directly with a selected profile ID
Possibly related, for context: - PR #1753 feat(saves): save profiles on the title menu, each player with their own saves — In-game save profiles overlap with launcher-selected profile support - issue #229 Idea: multi profile support (Discord Idea) — Requests launching directly with a selected profile ID
HumanBean changed title from WIP: feat(builder): organize game files and launch with a profile ID to feat(builder): organize game files and launch with a profile ID 2026-11-28 00:24:17 +00:00
HumanBean deleted branch cleanup/managed-installation-layout 2026-11-28 00:24:23 +00:00
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!2708
No description provided.