Script launcher: mouse and keyboard work from it too (#1369) #1393
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!1393
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-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?
@kibagami-nc on GitHub · 2026-11-28 18:45 UTC · original
kibagami-nc:launch/mnk-in-script-launchers→main· +17 −0 · 1 files · 1 commits · merged 2026-11-29 08:16 UTCWhat 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.