prompts: PlayStation and keyboard button prompts (upstream afaf44d, 59c42b7, 1a7c970) #75

Manually merged
github merged 3 commits from github-bot/gh-75 into gh-pr/75/base 2026-12-06 00:43:48 +00:00 AGit
Owner

@⁠Kal0s-design on GitHub · 2026-12-05 20:14 UTC · original
Kal0s-design:port/playstation-prompts → main · +5035 −26 · 17 files · 3 commits · merged 2026-12-05 22:27 UTC

From upstream ReVIctory (afaf44d and 59c42b7 from their PR #53, and the launcher selector 1a7c970, authors kept). It goes with the DualSense support that just went in, since with a PlayStation pad the game still shows Xbox button pictures.

The title asks its UI runtime for one icon movie and picks a control's picture by icon number, and it only has Xbox pictures. With VICTORY_PROMPTS=playstation that movie is redrawn before it loads, A/B/X/Y become cross, circle, square and triangle in the title's own discs, the shoulders and triggers get L1/R1/L2/R2 tags, the stick clicks L3/R3, View the touchpad, Menu Options, and the d-pad four arrows. VICTORY_PROMPTS=keyboard installs key caps instead. The hook answers only that one request and leaves every other alone, it touches only the supported retail build (any other is refused with a log line), and nothing changes unless the variable is set. The launcher gets a "Button prompts" dropdown in Settings, Game & Cache (Xbox stock, PlayStation, keyboard), saved with the other launcher choices and kept by Restore defaults.

It brings a GFx reader and writer in victory-formats, the stand-in pad's control table in victory-core (gameinput now takes its fallback keys from it, with the same values), and pointer-slot accessors in the loader. No new dependencies, only workspace crates.

Porting notes. The first two applied as they are. The launcher one needed its widget count and the Game & Cache badge set for this fork (54 widgets, 7 in the tab), and this fork's Restore defaults has no VRAM defaults step, so it only gained keeping the chosen prompts. #68 adds a button to the same tab, so whichever goes in second needs the count and badge bumped by one, which I'll do.

Rebased on current main (with the DualSense change and #76), clippy -D warnings is clean in both of the Lint workflow's runs and the tests of victory, victory-formats, victory-core, victory-hle and victory-loader pass. I haven't seen the redrawn icons in game here.

AI-assisted: yes

🤖 Generated with Claude Code

**@⁠Kal0s-design** on GitHub · 2026-12-05 20:14 UTC · [original](https://github.com/VGLALALA/ReVictory-RDNA3/pull/75) `Kal0s-design:port/playstation-prompts` → `main` · +5035 −26 · 17 files · 3 commits · merged 2026-12-05 22:27 UTC From upstream ReVIctory (afaf44d and 59c42b7 from their PR #53, and the launcher selector 1a7c970, authors kept). It goes with the DualSense support that just went in, since with a PlayStation pad the game still shows Xbox button pictures. The title asks its UI runtime for one icon movie and picks a control's picture by icon number, and it only has Xbox pictures. With VICTORY_PROMPTS=playstation that movie is redrawn before it loads, A/B/X/Y become cross, circle, square and triangle in the title's own discs, the shoulders and triggers get L1/R1/L2/R2 tags, the stick clicks L3/R3, View the touchpad, Menu Options, and the d-pad four arrows. VICTORY_PROMPTS=keyboard installs key caps instead. The hook answers only that one request and leaves every other alone, it touches only the supported retail build (any other is refused with a log line), and nothing changes unless the variable is set. The launcher gets a "Button prompts" dropdown in Settings, Game & Cache (Xbox stock, PlayStation, keyboard), saved with the other launcher choices and kept by Restore defaults. It brings a GFx reader and writer in victory-formats, the stand-in pad's control table in victory-core (gameinput now takes its fallback keys from it, with the same values), and pointer-slot accessors in the loader. No new dependencies, only workspace crates. Porting notes. The first two applied as they are. The launcher one needed its widget count and the Game & Cache badge set for this fork (54 widgets, 7 in the tab), and this fork's Restore defaults has no VRAM defaults step, so it only gained keeping the chosen prompts. #68 adds a button to the same tab, so whichever goes in second needs the count and badge bumped by one, which I'll do. Rebased on current main (with the DualSense change and #76), clippy -D warnings is clean in both of the Lint workflow's runs and the tests of victory, victory-formats, victory-core, victory-hle and victory-loader pass. I haven't seen the redrawn icons in game here. AI-assisted: yes 🤖 Generated with [Claude Code](https://claude.com/claude-code)
The title asks the UI runtime for one icon movie and picks a gamepad
control's picture by icon number; it has only Xbox pictures. With
VICTORY_PROMPTS=playstation the movie is redrawn before it loads:
A/B/X/Y become cross/circle/square/triangle in the title's own discs,
the shoulders and triggers L1/R1/L2/R2 tags, the stick clicks L3/R3,
View the touchpad, Menu Options, and the d-pad four arrows. The hook
answers that one request with the redrawn copy and leaves every other
request alone.

Only the supported retail build (b99f876b...) is touched: the hook
needs two fixed offsets and refuses any other build with a log line.
Nothing changes unless the variable is set.

The GFx reader/writer, the stand-in pad's control table and the
loader's pointer-slot accessors come with the feature; main had no
equivalent.
- VICTORY_PROMPTS now takes `playstation` (as before) or `keyboard`,
  which installs the KeyCaps style instead of leaving that machinery
  unreachable.
- gameinput's stand-in-pad table takes its keys from
  victory_core::pad::fallback_key, so the input and anything that shows a
  control to the player read one list (the values are unchanged).
- the per-icon tracing::info! in the PlayStation redraw is a debug! now.
Ported to ReVictory-RDNA3: the launcher here has 53 widgets
(54 with this one) and the Game & Cache badge counts 7; Restore defaults keeps the
chosen prompts as upstream does, and the fork has no VRAM defaults step.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-12-05 20:20:26 +00:00
github-bot force-pushed github-bot/gh-75 from ab4bef8c80 to f176c1b102 2026-12-05 21:27:59 +00:00 Compare
github-bot changed target branch from main to gh-pr/75/base 2026-12-05 22:31:36 +00:00
github manually merged commit f176c1b102 into gh-pr/75/base 2026-12-06 00:43:47 +00:00
This discussion has been locked. Commenting is limited to contributors.
No description provided.