A launcher: install, update and play from one window #2982
No reviewers
Labels
No labels
AMD
audio
bug
confirmed
crash
cutscene
dlss
documentation
duplicate
enhancement
fixed-on-main
frame-generation
good first issue
help wanted
input
INTEL
invalid
lighting
linux-proton
memory
needs-info
needs-logs
needs-rebase
NVIDIA
performance
pr-diagnostics
pr-docs
pr-feature
pr-fix
pr-performance
pr-refactor
pr-tests
question
RAYTRACING
rendering
report
series-s
shaders
spam
startup
upstream
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/trustno1-coder--VIctory-NVIDIA!2982
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-2982"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@Danijimzzz on GitHub · 2026-11-29 19:12 UTC · original
Danijimzzz:launcher→main· +10829 −0 · 18 files · 4 commits · openWhat it changes
The README's easy way is "download
victory.exe, put it beside the game, double-click". It works, but it leaves players who have never used git or a terminal on their own for everything after that: updating, trying a fix that is only onmain, picking settings for their card, getting NVIDIA's/AMD's/Microsoft's files, preloading shaders, and finding out why a start did nothing.This adds
launcher/: a small Windows program (Rust + egui, one.exe) that does all of that from one window, in English and Spanish.Getting
victory.exevictory.exefrom the newest GitHub release, its SHA-256 checked against the digest GitHub gives for the asset.mainas a source archive (no git), built on the PC withcargo build --release --locked -p victory. If Rust or Visual Studio's C++ build tools are missing it installs them through winget (one button); rustup fetches the versionrust-toolchain.tomlpins. The target folder is kept between updates, so later builds only rebuild what changed.game_scarlett_master.exe, pick the channel, tick the optional downloads (get-dlss,get-fsr,get-d3d12; Direct3D 12 is pre-ticked on Windows 10). They are fetched byvictory.exeitself, as now.Playing
victory.exe play <game> [--preload] [--set …]: nothing is re-implemented,play.rsdecides everything as it does for a double click. There is no console window (DLSS Enabler stays off in a process that has one, asplay-foxhound.ps1notes), and the output goes to%LOCALAPPDATA%\victory\logs\launcher-<time>.log.victory-settings.txtwith the sameVICTORY_MENU_*namesplay.rsreads, so the launcher and the in-game F1 menu always agree. A change in either shows in both, and every other line of that file is kept.--setswitches, and the exact command line with a Copy button.Seeing what is going on
The start is followed from its output, at the bottom of the window:
victory.exeburning CPU and doing nothing.scripts\preload-window.ps1reads them. That gives three steps (translating the shaders, making the pipelines earlier runs used, storing the ones the game loads at the start), how far each is, about how long is left, Skip (ends the preload, keeps what it made, then the game starts) and Stop. Step 1 uses the "% of bytes" figureprecompileprints. It also shows whenplaypreloads by itself on a newvictory.exe's first start.playand every process under it (taskkill /T). Closing the launcher before the game is up does the same, so no preload is left running out of sight. A game that is already up keeps running.How it fits the repository
[workspace]in its ownCargo.toml). Its dependencies (eframe, ureq, zip, resvg, …) stay out of the rootCargo.lock, soVICTORY_TRANSLATORand everyone's shader cache are untouched. The emulator's build does not change.docs/asset-policy.md): the Vice City sunset and the icon are SVG text inlauncher/src/art.rs, drawn at start-up. The frosted-glass panels are a blurred copy of that background, made once, because egui cannot blur what is behind a panel. The icons are drawn with lines, not emoji.cargo xtask policy --staged: 18 files ok.play.rs,run.rs,warm.rsandtranslate.rs, so if those messages change,cargo testfails instead of the progress silently breaking.ci.yml, clippy (-D warnings) and tests forlauncher/through--manifest-path.launcher/README.md, which describes everything above.Not in this PR: a built
victory-launcher.exeon the releases. For players who don't build anything it only helps once it is attached to each release, likevictory.exe. I can add a workflow step for that if you want it.How it was tested
main;victory.exeleft behind in Task Manager;cargo testpassed for the crates it touches: yes (cargo test --manifest-path launcher/Cargo.toml --locked: 7 passed, 1 ignored with the reason "asks GitHub: needs the network"; clippy-D warningsclean). The workspace and itsCargo.lockare untouched.Checked for overlap
🤖 Generated with Claude Code
https://claude.ai/code/session_01XuJSRWfHwn8QZtUsa3NXvt
View command line instructions
Manual merge helper
Use this merge commit message when completing the merge manually.
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.