Launcher: a graphical launcher, and the keyboard pad's keys chosen by VICTORY_KEYMAP #982
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!982
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-982"
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?
@alexx307 on GitHub · 2026-11-28 10:35 UTC · original
alexx307:launcher-gui→main· +7751 −312 · 31 files · 2 commits · openA window to start the game without typing PowerShell options, built with Tauri 2 in
apps/launcher.What it does
Get-NVIDIA-DLSS.cmdandGet-AMD-FSR.cmd.victory-settings.txtasVICTORY_MENU_*, whichplay-foxhound.ps1and the F1 menu already read, so the launcher and the menu always agree. Other lines of the file are kept.scripts\play-nvidia.ps1 -Exe <dump>in a console window of its own, so the build, the log's path and the output stay visible.scripts\update-launcher.ps1(git pull --ff-only, rebuild of the layer if it was built, rebuild of the launcher, restart). Offered only on a cleanmain; otherwise the launcher says why not.%LOCALAPPDATA%\victory\logs; About links to this repository and to the original VIctory.Changes outside the launcher
gameinput: the stand-in pad's keys come fromVICTORY_KEYMAP(control=keypairs, keys as hexadecimal virtual-key codes, letters by their place on a US keyboard). The defaults are the keys it always had.LETTER_POSITIONSnow knows all 26 letters, so any letter can be used; the existing tests pass unchanged, plus three new ones ingameinput/keymap.rs.xtask/src/policy.rs:html,cssandjsadded to the allowed text extensions, for the launcher's page. The other checks (size, NUL bytes, encoded runs) still apply to them.Cargo.toml:tauri(withcustom-protocol),tauri-build,tauri-plugin-dialogin[workspace.dependencies].Cargo.lockgrows with Tauri's crates; no existing crate changes version..gitignore:/apps/launcher/gen/(schemas tauri-build writes).No binary files
The icon is drawn by
build.rs. The page draws its own background (SVG, no images). Optional pictures (ui/assets/logo.png,VIctory.png,ico.ico,background/*.jpg) and music (ui/assets/song) are used when present at build time and are not part of this PR. The page loads nothing from the network, and it calls only the launcher's own commands (empty capability list; links open only the two fixed addresses).How to try it
Checked
cargo clippy -p launcher --all-targets: no warnings.cargo test -p launcher(17),cargo test -p xtask(policy included),cargo test -p victory-hle --lib gameinput(29).Not checked
🤖 Generated with Claude Code
@ANDREANIADS on GitHub · 2026-11-28 23:51 UTC · original
At
c5c8664, I testedwith_valuesin isolation on Linux with three synthetic settings files. Changing onlyVICTORY_MENU_FPSpreserved comment text, trailing spaces, an unknownVICTORY_key, an unrelated key and a blank line. The duplicate FPS entry collapsed as intended. All seven CRLF endings in the Windows-style fixture became LF. In a separate LF fixture, saving added a newline after the final comment.A small regression test for the refresh: given
"# note\r\nVICTORY_MENU_FPS=30\r\nOTHER=x", updating FPS to 60 should change only30to60. Keeping each existing line terminator would avoid rewriting unrelated lines. The launcher itself was not run.@ANDREANIADS on GitHub · 2026-11-29 00:37 UTC · original
At
c5c8664,settings_file::setreports success when an existing settings file cannot be decoded as UTF-8. I tested the module in isolation with offline Cargo on Linux. My temporary fixture contained# café VICTORY_MENU_FPS=30 VICTORY_OTHER=keep, encoded as UTF-16LE with a BOM. Setting FPS to 60 replaced all 94 bytes with the 20-byte FPS line, losing the other preference.I tested a small change in
set: read the existing text, use an empty string only forErrorKind::NotFound, and return any other read error before writing. The same fixture then returnedInvalidDataand all 94 bytes compared equal. Both versions updated only FPS in the UTF-8/LF control and created the expected line when the file was absent.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.