Show stock Victory keyboard prompts in game #1610

Manually merged
github merged 1 commit from github-bot/gh-1610 into main 2026-11-29 08:20:59 +00:00 AGit
Owner

@⁠Maddoux on GitHub · 2026-11-28 22:22 UTC · original
Maddoux:keyboard-prompts-only → main · +3257 −27 · 18 files · 1 commits · merged 2026-11-29 08:16 UTC

Related to #1365. Supersedes #1549.

What it changes

  • Draws stock Victory keyboard keycaps in the game's existing prompt icons by default on Xbox Series 1.0.2.1. The replacement UI is generated in memory.
  • Shares the stock key definitions between the input handler and the prompt renderer. Mouse input and camera behavior stay as they are on main.
  • Custom binding profiles and animated hold icons retain the original artwork. VICTORY_PROMPTS=gamepad restores Xbox prompts for the stock profile.

The renderer is ported from imjustprism's upstream PR.

How it was tested

  • Windows 11, RTX 5080, Series X profile, 4K output, DLSS Performance and 2× DLSS Frame Generation. On a normal launch of the local prompt-only build, the title screen displayed the keyboard Enter keycap for Player in place of the Xbox A glyph.
  • Release tests passed on this PR branch for victory, victory-core, victory-formats, victory-game, victory-hle, and victory-loader.
  • The repository-wide asset check reported one existing failure. crates/victory-shader/src/emit/lower.rs is 667,523 bytes on both this branch and main, above the 655,360-byte limit.

Checked for overlap

  • Searched open pull requests and the triage issue #1138. Related work includes the custom-profile proposal #1365 and the input changes in #1356.
**@⁠Maddoux** on GitHub · 2026-11-28 22:22 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/1610) `Maddoux:keyboard-prompts-only` → `main` · +3257 −27 · 18 files · 1 commits · merged 2026-11-29 08:16 UTC Related to #1365. Supersedes #1549. ## What it changes - Draws stock Victory keyboard keycaps in the game's existing prompt icons by default on Xbox Series 1.0.2.1. The replacement UI is generated in memory. - Shares the stock key definitions between the input handler and the prompt renderer. Mouse input and camera behavior stay as they are on main. - Custom binding profiles and animated hold icons retain the original artwork. `VICTORY_PROMPTS=gamepad` restores Xbox prompts for the stock profile. The renderer is ported from [imjustprism's upstream PR](https://github.com/Marvisak/VIctory/pull/3433). ## How it was tested - Windows 11, RTX 5080, Series X profile, 4K output, DLSS Performance and 2× DLSS Frame Generation. On a normal launch of the local prompt-only build, the title screen displayed the keyboard Enter keycap for Player in place of the Xbox A glyph. - Release tests passed on this PR branch for `victory`, `victory-core`, `victory-formats`, `victory-game`, `victory-hle`, and `victory-loader`. - The repository-wide asset check reported one existing failure. `crates/victory-shader/src/emit/lower.rs` is 667,523 bytes on both this branch and main, above the 655,360-byte limit. ## Checked for overlap - [x] Searched open pull requests and the triage issue #1138. Related work includes the custom-profile proposal #1365 and the input changes in #1356.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-28 22:24:36 +00:00
Author
Owner

@⁠amazedturnip on GitHub · 2026-11-29 05:38 UTC · original

Live-tested on Xbox Series 1.0.2.1 (9800X3D + RTX 5070 Ti 16 GB, 21m+ session) alongside #1570. Hook installed and redrew the icon movie cleanly (23,258 bytes) with zero UI issues. Note for anyone pairing with #1570: if VICTORY_MNK=1 is still in settings, VICTORY_MNK_BINDINGS disables prompts unless guarded on VICTORY_NATIVE_MOUSE=0.

**@⁠amazedturnip** on GitHub · 2026-11-29 05:38 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/1610#issuecomment-7251374718) Live-tested on Xbox Series 1.0.2.1 (9800X3D + RTX 5070 Ti 16 GB, 21m+ session) alongside #1570. Hook installed and redrew the icon movie cleanly (23,258 bytes) with zero UI issues. Note for anyone pairing with #1570: if VICTORY_MNK=1 is still in settings, VICTORY_MNK_BINDINGS disables prompts unless guarded on VICTORY_NATIVE_MOUSE=0.
Author
Owner

@⁠JoeY54 on GitHub · 2026-11-29 06:18 UTC · original

Hands-on report on this PR (head fea7bb3), RTX 5090.

I used this PR's GFX parser, key-cap renderer and hook, with two changes:

the hook's places, the UI string and request layouts, the icon cell size and the icon table are read from a local data file instead of the source;
each icon shows the key the player's own key layout binds to its control, rather than the stock bindings. Space, Shift, Ctrl, Alt, digits and the mouse buttons got short labels.

In game the hook was placed and the title loaded the redrawn icon movie. Prompts showed keyboard keys in photo mode, the map legend and other menus, and stayed readable.

Limits as in the PR: the movie is redrawn when it is loaded, so a rebinding shows after a restart; hold animations keep their pictures; one icon is shared by menus and gameplay, so a control bound to several keys shows one of them.

Same question as on #1570: would the data-file split be of use upstream?

Generated by Claude Code

**@⁠JoeY54** on GitHub · 2026-11-29 06:18 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/1610#issuecomment-7251778047) Hands-on report on this PR (head fea7bb3), RTX 5090. I used this PR's GFX parser, key-cap renderer and hook, with two changes: the hook's places, the UI string and request layouts, the icon cell size and the icon table are read from a local data file instead of the source; each icon shows the key the player's own key layout binds to its control, rather than the stock bindings. Space, Shift, Ctrl, Alt, digits and the mouse buttons got short labels. In game the hook was placed and the title loaded the redrawn icon movie. Prompts showed keyboard keys in photo mode, the map legend and other menus, and stayed readable. Limits as in the PR: the movie is redrawn when it is loaded, so a rebinding shows after a restart; hold animations keep their pictures; one icon is shared by menus and gameplay, so a control bound to several keys shows one of them. Same question as on #1570: would the data-file split be of use upstream? Generated by [Claude Code](https://claude.ai/code)
github manually merged commit 08d0d6facd into main 2026-11-29 08:20:59 +00:00
This discussion has been locked. Commenting is limited to contributors.
No reviewers
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
github/trustno1-coder--VIctory-NVIDIA!1610
No description provided.