Script launcher: mouse and keyboard on from F1 gets its bindings file #1398
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/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?
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by babuakhil on 2026-11-28T18:52:05Z.
Fixes #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
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by babuakhil on 2026-11-28T19:01:08Z.
Closing as a duplicate of #1393, which makes the same change and was opened first. Sorry for the noise.
Pull request closed