Launcher: a GUI that checks the game directory and runs victory.exe #1720

Closed
moe-miau wants to merge 1 commit from upstream-pr/1721 into main
moe-miau commented 2026-11-24 21:18:41 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by moe-miau on 2026-11-24T21:18:41Z.


Adds apps/victory-launcher, a small egui window for people who would rather not drive victory.exe from a terminal.

What it does:

  • Checks the chosen game directory: the *scarlett*.exe, MicrosoftGame.Config, and the 11 RPF archives the title mounts, and shows which are missing.
  • Keeps its settings in %LOCALAPPDATA%\victory\launcher.toml, and writes the victory.toml it hands to victory.exe through VICTORY_CONFIG, beside it (outside the repository, so the asset policy is untouched).
  • Runs victory.exe run <exe> --execute --console series-x|series-s, streams stdout/stderr into a log tab, and saves each run's output to last-run.log on exit. A Stop button kills the run.
  • VICTORY_D3D12_WARP for any build; the D3D12 debug layer and VICTORY_SKIP_WAVE64 (mesh/compute/vertex/pixel) only take effect in a diagnostics build, so they are enabled only when the launcher is pointed at target\diag\victory.exe.

It does not link any VIctory crate; it only starts victory.exe. The README gains a short section under "Run the title".

Dependencies: eframe 0.31 and rfd 0.15. They add entries to Cargo.lock but change none of the 101 packages already locked on main.

Checked on main ffe310e + this commit:

  • cargo clippy --workspace --all-targets --locked -- -D warnings and the --all-features variant: clean
  • cargo test --workspace --locked: pass (including a new test that the generated victory.toml keeps Windows paths)
  • cargo xtask policy: 158 files ok
  • Ran the launcher against the retail 1.0.2.1 dump on Windows 11 + RTX 4070 SUPER: validation shows all 11 archives, and the command it builds binds every import (88 hle / 427 host / 72 title, 0 missing).

AI-assisted (Claude Code). No game data in the change.

🤖 Generated with Claude Code

<!-- greyfinch-sync:Marvisak/VIctory:issue:6591618767 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/1721). Originally posted by [moe-miau](https://github.com/moe-miau) on 2026-11-24T21:18:41Z. --- Adds `apps/victory-launcher`, a small egui window for people who would rather not drive `victory.exe` from a terminal. What it does: - Checks the chosen game directory: the `*scarlett*.exe`, `MicrosoftGame.Config`, and the 11 RPF archives the title mounts, and shows which are missing. - Keeps its settings in `%LOCALAPPDATA%\victory\launcher.toml`, and writes the `victory.toml` it hands to `victory.exe` through `VICTORY_CONFIG`, beside it (outside the repository, so the asset policy is untouched). - Runs `victory.exe run <exe> --execute --console series-x|series-s`, streams stdout/stderr into a log tab, and saves each run's output to `last-run.log` on exit. A Stop button kills the run. - `VICTORY_D3D12_WARP` for any build; the D3D12 debug layer and `VICTORY_SKIP_WAVE64` (mesh/compute/vertex/pixel) only take effect in a diagnostics build, so they are enabled only when the launcher is pointed at `target\diag\victory.exe`. It does not link any VIctory crate; it only starts `victory.exe`. The README gains a short section under "Run the title". Dependencies: `eframe` 0.31 and `rfd` 0.15. They add entries to `Cargo.lock` but change none of the 101 packages already locked on `main`. Checked on `main` `ffe310e` + this commit: - `cargo clippy --workspace --all-targets --locked -- -D warnings` and the `--all-features` variant: clean - `cargo test --workspace --locked`: pass (including a new test that the generated `victory.toml` keeps Windows paths) - `cargo xtask policy`: 158 files ok - Ran the launcher against the retail 1.0.2.1 dump on Windows 11 + RTX 4070 SUPER: validation shows all 11 archives, and the command it builds binds every import (88 hle / 427 host / 72 title, 0 missing). AI-assisted (Claude Code). No game data in the change. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
upstream-sync closed this pull request 2026-11-25 02:05:00 +00:00
Marvisak commented 2026-11-25 02:06:00 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by Marvisak on 2026-11-25T01:24:59Z.


Automated triage for the maintainers. Closing because it adds dependencies, build-time code or instructions for tools that the project does not take from outside contributors.

If this is mistaken, reply here with what was missed (or push a change and say so) and it will be looked at again. Thank you for the contribution.

<!-- greyfinch-sync:Marvisak/VIctory:comment:7149522494 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/1721#issuecomment-7149522494). Originally posted by [Marvisak](https://github.com/Marvisak) on 2026-11-25T01:24:59Z. --- Automated triage for the maintainers. Closing because it adds dependencies, build-time code or instructions for tools that the project does not take from outside contributors. If this is mistaken, reply here with what was missed (or push a change and say so) and it will be looked at again. Thank you for the contribution.

Pull request closed

Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
Marvisak/VIctory!1720
No description provided.