Script launcher: mouse and keyboard work from it too (#1369) #1393
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/1393"
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 kibagami-nc on 2026-11-28T18:45:21Z.
What happens (#1369)
F1's MOUSE AND KEYBOARD works only when the game is started by
victory.exe play.play.rswrites the defaultbindings.inito%LOCALAPPDATA%\victoryand passes its path to the game asVICTORY_MNK_BINDINGS. Without that variable,mnk::config()has no bindings: mouse and keyboard stay off, and F1's KEY BINDINGS says to turn them on.play-foxhound.ps1(andplay-nvidia.ps1, which runs it) passesVICTORY_MNK=1from the menu file, but never names a bindings file. #1369's reporter, on the script launcher, hadVICTORY_MNK=1in their log, MOUSE AND KEYBOARD ON after a restart, and still no mouse and keyboard. KEY BINDINGS said "Enable MnK to change keybinds".The change (
scripts/play-foxhound.ps1)Right after the menu file and
-Moreare applied, the script does whatplay.rsdoes. WithVICTORY_MNK=1and noVICTORY_MNK_BINDINGS:bindings.iniin%LOCALAPPDATA%\victory, orVICTORY_HOMEif set, the same filevictory.exe playuses, so both launchers share one set of keys;bindings.ini, and keeps it afterwards (F1's KEY BINDINGS edits it);VICTORY_MNK_BINDINGSto that file and prints where it is.A
VICTORY_MNK_BINDINGSgiven with-Moreis left as given. The repository's ownbindings.iniis never written, so agit pullstays clean. Line endings stay CRLF.Tests
VICTORY_HOMEpointed at a temporary folder:-More: left as given.Not run with the game.