Prompts: a switch to keep the gamepad button pictures #2126
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#2126
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
@ljy2231 on GitHub · 2026-11-29 09:45 UTC · original
Summary
The prompt icons are inverted with respect to the control mode: a keyboard
player gets the title's gamepad pictures, and a gamepad player gets keyboard key
caps.
VICTORY_CONTROLS=keyboard+VICTORY_MNK=1-> nopromptslines in thelog, the icon movie is left alone and keeps its gamepad pictures, but the
pad does not drive the game (only mouse and keyboard do).
VICTORY_CONTROLS=gamepad(or unset, i.e.AUTO) ->prompts: key caps drawn into the icon movieruns, the icons become keyboard caps, and the pad doesdrive the game.
So the redraw happens exactly when the pad is the live device, and is skipped
when the keyboard is. That is backwards in both directions.
Evidence
Same build
v2026.11.29.01; three runs, onlyVICTORY_CONTROLS/VICTORY_MNKdiffering:
key capslines...-094041-22640...-100606-10316...-101516-17588The two lines, when they appear:
When they do not appear, the log has no
promptsline at all, so the icon moviekeeps the title's own pictures.
Expected
The redraw should follow the device actually in use, or be forcible:
gamepad/dualsense: skip the redraw, keep the title's own pad pictureskeyboard: draw the key capsOptionally a separate switch (
VICTORY_PROMPTS=gamepad|keyboard) so it does nothave to be bound to the input mode at all.
Why it matters
On a controller-only setup the controls page and the HUD show
Tab / Q / Z / F / C / WASD / I J K Lfor what on the pad are View / LB / LT / L3 / RT / left stick/ right stick. A player who never touched the keyboard cannot read the on-screen
help. The reverse case is equally wrong: a keyboard player sees pad glyphs.
Environment
victory.exe15.05 MB)USB\VID_413D&PID_2104(Xbox 360 compatible)VICTORY_MENU_CONSOLE=series-s,VICTORY_MENU_S_RES=540,VICTORY_MENU_FRAMEGEN=2,VICTORY_MOUSE_CAPTURE=1Code pointer
crates/victory-game/src/prompts.rsdocuments itself asand
which matches what is observed — but the mode that triggers the redraw looks like
the pad one rather than the keyboard one.
@github-actions[bot] on GitHub · 2026-11-29 09:46 UTC · original
Please attach both logs from the run that went wrong. Without them we can only guess. Paste
%LOCALAPPDATA%into the address bar of File Explorer to get there.%LOCALAPPDATA%\victory\logs\: the newestvictory-nvidia-play-<date>-<time>-<number>.log(fromvictory.exe) orvictory-nvidia-<date>-<time>.log(from the script launcher). The window shows its path at the start, on the lineLog: ....%LOCALAPPDATA%\VIctory\data\7952987A\crashes.log, and, if there is one from that run, the newestvictory-<date>-<time>-<number>.crash.login%LOCALAPPDATA%\VIctory\data\7952987A\temp\.Also say which GPU, Windows version (10 or 11)
@ljy2231 on GitHub · 2026-11-29 10:11 UTC · original
Thanks. The play log from that run is 30 MB, so here are the lines that matter,
from
victory-nvidia-play-20261129-094041-22640.log.The start line of that run carries:
and the prompts hook still redraws the icons anyway:
No crash log was produced by that run (
%LOCALAPPDATA%\VIctory\data\7952987A\crashes.logdoes not exist), so there is nothing to attach for that.
Hardware and OS:
USB\VID_413D&PID_2104(Xbox 360 compatible)VICTORY_MENU_CONSOLE=series-s,VICTORY_MENU_S_RES=540,VICTORY_CONTROLS=gamepad,VICTORY_MENU_FRAMEGEN=2If you need the full 30 MB log or a specific section of it, tell me which pattern
to extract and I will paste that part.
@ljy2231 on GitHub · 2026-11-29 10:14 UTC · original
One more finding, which points at the condition being the wrong way round rather
than just missing a switch.
Comparing two runs of the same build:
A.
VICTORY_CONTROLS=gamepad,VICTORY_MNKunset-> the icons are keyboard caps, and the pad does drive the game.
B.
VICTORY_CONTROLS=keyboard,VICTORY_MNK=1No
promptslines in the log at all, so the icon movie keeps its own pictures:-> the icons are the title's gamepad pictures, but the pad no longer drives
the game, only mouse and keyboard do.
So the redraw happens exactly when the pad is the active device, and is skipped
when the keyboard is. That is backwards from what a player sees:
gamepadmode the player gets keyboard caps for buttons they are notpressing;
keyboardmode the player gets pad pictures for keys they are not pressing.Two separate things would fix it, and I would take either:
VICTORY_CONTROLSisgamepad/dualsense, sothe title keeps its own pad pictures (the missing switch I asked for); or
keyboard/MNKmode by accident and should also run there.The first is what a controller-only player needs. Log lines above are from
victory-nvidia-play-20261129-094041-22640.log(A) andvictory-nvidia-play-20261129-100606-10316.log(B), both v2026.11.29.01.@ljy2231 on GitHub · 2026-11-29 10:18 UTC · original
Closing as a duplicate: #2105 and #2088 describe the same inversion, and #2134
fixes it (the prompt hook checks the effective input mode instead of the
presence of the bindings file).
One data point worth keeping for #2134, in case it is useful:
VICTORY_CONTROLS=keyboard+VICTORY_MNK=1-> the log has nopromptsline at all, so the icon movie is never redrawn and the title keeps its own
gamepad pictures.
VICTORY_CONTROLS=gamepad(or unset /AUTO) -> the twokey capslinesappear and the icons become keyboard caps.
So in this build the redraw runs exactly when the pad is the live device, which
is the inversion #2134 addresses.