[Feature proposal] Binding-aware keyboard HUD prompts and MnK safeguards #1365
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#1365
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?
@ItsYungFlexer on GitHub · 2026-11-28 18:04 UTC · original
The recent mouse/keyboard additions make the game much more usable on PC, but keyboard users still have to translate Xbox prompts into their custom bindings. An interaction labelled LB might actually require Tab.
I've put together an AI-assisted source candidate addressing that gap, alongside several focused input safeguards. I'd like to propose reviewing these as separate upstream changes rather than importing my entire CHECK-based fork.
Native keyboard/mouse HUD prompts
The candidate replaces nine common prompt sprites in the game's existing UI using the primary binding from the same parser used for gameplay input.
Examples with my current profile:
These follow the actual binding profile rather than assuming everyone uses the defaults. A separate custom profile was also rebuilt and verified.
F1 adds a KEYBOARD HUD PROMPTS toggle. Bindings refresh after restarting; alternate bindings still work, but the primary binding is displayed.
Why consider it for main?
The hook verifies the archive length and exact original bytes before substitution. Rebuilding preserves the entry's compressed and decoded lengths, shape IDs, and non-shape UI content, including scripts, symbols and placements. Shared background art is preserved.
Small input safeguards
These should be independently reviewable:
The focus change specifically concerns rebind capture; upstream already filters ordinary menu hotkeys by foreground ownership.
Separate texture-retention experiment
The fork also adapts the idea in #280. Disabling retention globally produced extensive black flicker on my system.
The adaptation checks only same-description textures at moved addresses. It compares bounded first/middle/last samples using fixed stack buffers and checked arithmetic. A detected mismatch rejects the stale image; unreadable data preserves normal retention.
This remains a heuristic. Equal samples do not prove complete texture identity or GPU coherence. I am not claiming a confirmed fix for every green car or corrupted face, or zero performance cost. This should remain a separate opt-in experiment pending gameplay measurements.
Validation
Actual in-game placement, readability, coverage, frame times and long-session stability remain unverified. This first attempt does not replace the full controller diagram or stick/D-pad/Menu icons. Source review is not antivirus clearance.
Source and credits
HUD implementation:
github.com/ItsYungFlexer/VIctory-NVIDIA-Reviewed@1644eaeda7HUD design, audit and limitations:
github.com/ItsYungFlexer/VIctory-NVIDIA-Reviewed@1644eaeda7/docs/keyboard-hud-candidate.mdValidation:
github.com/ItsYungFlexer/VIctory-NVIDIA-Reviewed@1644eaeda7/docs/keyboard-hud-validation.jsonThe archive-read mechanism builds on #937 by abilliontokens, with helpers originally credited to anoyarou's Marvisak/VIctory #3399. Gameplay MnK support comes from upstream/ItsMK1. The fork's existing renderer corrections remain credited to their original contributors.
Suggested upstream path: review the input safeguards separately, coordinate keyboard prompts with #937 and the request in #371, and introduce the HUD behind an experimental toggle until gameplay coverage is established. Keep texture retention as its own measured experiment.
@github-actions[bot] on GitHub · 2026-11-28 18:04 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)
@ItsYungFlexer on GitHub · 2026-11-28 18:15 UTC · original
@hussainmussa on GitHub · 2026-11-29 08:47 UTC · original
/claim (the three small input safeguards only, not the HUD prompts, which #1610 covers)
I'd like to send these as three small changes against main, each with tests: rebinding cancelled when the window loses focus, the binding shown only after its file write succeeds, and the default profile created exclusively so an existing one is kept.
@ItsYungFlexer, if you would rather send them from your fork yourself, say so and I'll step back.
Written with help from Claude.
github-bot referenced this issue2026-11-29 12:05:42 +00:00
@trustno1-coder on GitHub · 2026-11-30 15:44 UTC · original
Closing this because it was opened before v2026.11.29.01, and a great deal has changed since then. The latest release is v2026.11.30.01.
If this still happens, or still applies, on the latest release, please open a new issue. For a bug, attach both logs from that run:
victory-nvidia-play-<date>-<time>-<number>.login%LOCALAPPDATA%\victory\logs\.%LOCALAPPDATA%\VIctory\data\7952987A\crashes.log, plus the newest.crash.login%LOCALAPPDATA%\VIctory\data\7952987A\temp\if there is one from that run.