Script launcher: mouse and keyboard on from F1 gets its bindings file #1398
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!1398
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-1398"
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?
@babuakhil on GitHub · 2026-11-28 18:52 UTC · original
babuakhil:fix/mnk-script-launcher→main· +17 −0 · 1 files · 1 commits · closed without mergingFixes #1369. May also be the cause of #1379 (L/R are Tab/Q in the default bindings, which only work once mouse and keyboard is on).
The fault
With MOUSE AND KEYBOARD on in F1, the script launcher (
play-nvidia.ps1→play-foxhound.ps1) passesVICTORY_MNK=1fromvictory-settings.txtbut neverVICTORY_MNK_BINDINGS. Onlyvictory.exe's play sets that (apps/victory/src/play.rs:865). Without it,mnk.rsload()returnsNone, so mouse and keyboard stays off, and F1's KEY BINDINGS (Binds::open) finds no file and says to enable mouse and keyboard although it is on. The log in #1369 is namedvictory-nvidia-<date>-<time>.log, the script launcher's name.The change
scripts/play-foxhound.ps1, after the F1 switches and-Moreare applied, does whatplay.rsdoes:bindings.iniin%LOCALAPPDATA%\victory(orVICTORY_HOME): the same filevictory.exeuses, so both launchers share one set of bindings;bindings.inithe first time, left alone after that (edits kept);VICTORY_MNK_BINDINGSgiven with-Morestill names another file;VICTORY_*switches are cleared, so it reaches the game.Tested
%LOCALAPPDATA%: off (nothing written), on first run (file written, identical to the repository's defaults), on with an edited file (kept),-Morenaming a file (used),VICTORY_HOMEset (used); a path with a space. The whole script parses with no errors.mainat9300875(its own CI run fails the same way): two clippy lints (manual_is_multiple_of,let_and_return) in files this does not touch, andxtask policyrejectingbindings.ini(file type not on the allowlist). Everything else incargo test --workspacepasses.🤖 Generated with Claude Code
@babuakhil on GitHub · 2026-11-28 19:01 UTC · original
Closing as a duplicate of #1393, which makes the same change and was opened first. Sorry for the noise.
Pull request closed