feat(prompts): hand-drawn Steam Deck picture and guide lines for the System page #2254
No reviewers
Labels
No labels
area/accessibility
area/audio
area/input
area/install
area/menu
area/renderer
area/saves
area/tooling
area/upscaling
beanstalk: approved
beanstalk: failed
beanstalk: needs approval
beanstalk: running
beanstalk: tested
ci: approved
good first issue
gpu/amd
gpu/igpu
gpu/intel
gpu/nvidia
help wanted
kind
bug
kind
chore
kind
docs
kind
feature
kind
performance
kind
question
needs measurements
platform/linux
platform/macos
platform/steam-deck
platform/windows
preview
priority
critical
priority
high
priority
low
regression
risk
high
risk
low
risk
medium
status
blocked
status
confirmed
status
duplicate
status
invalid
status
needs-info
status
wontfix
ci: approved
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
MagicBeanDev/Longshot!2254
Loading…
Reference in a new issue
No description provided.
Delete branch "madebyjordan/Longshot:feat/steamdeck-controller-graphic"
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?
Summary
Follow-up to #1589: replaces the procedurally generated Steam Deck picture on the pause menu's System page (
Basic Controls) with Jordan's hand-drawn Steam Deck graphic and matching leader lines, so the Steam Deck face matches the game's Pro Controller and the DualSense / Xbox One pictures.What was wrong on
main:Button prompts = Steam Deck(button_prompts=5), the System page drew a generic generated rectangle (nx2/prompt_draw.py) with circular dots for the STEAM /...buttons (and a house icon), awkward top routing forRotate CameracrossingActionsandOpen Menu, and the game's fixed Switch Pro Controller lines forControllerGuide_Pro_02..04(R2, d-pad frame/line,L1/R1).What this changes:
nx2/prompt_faces/steamdeck/Controller_Pro.png(1160x680RGBA in the game's greys#333333/#646464/#000000/#cfcfcf, sopicture_layersinnx2/prompt_assets.pytints it to match the game's Pro Controller and builds its shadow automatically).nx2/prompt_faces/steamdeck/ControllerGuide_Pro_02.png(R2, row 333),03.png(d-pad frame and line, row 1016), and04.png(L1/R1, row 446), generated withprompt_assets.py'sguide_lineandguide_frameagainst_STEAMDECK._STEAMDECKparts innx2/prompt_faces.pywith exact control positions and exclusion boxes (screen, trackpads, quick-access...button), placingL2/R2inward ofView/Menuso their leader lines do not crossView/MenuandRotate Cameraroutes cleanly underABXY.nx2/prompt_faces/README.mdand extendstests/test_prompt_hand_guides.pyto cover all four hand-drawn faces (ps4,ps5,xbox,steamdeck; fails onmain, passes here).All other faces (
switch,xbox,ps4,ps5,keyboard),steamdeck/hint.bin,ring.bin,Common.bntx, andCommon.blarcare byte-identical tomain.Read first:
nx2/prompt_faces.py(_STEAMDECK), thennx2/prompt_faces/steamdeck/andtests/test_prompt_hand_guides.py.See #1589, See #1211
Testing
Tested: Windows 11, AMD Radeon RX 6700 XT (
1002:73df), AMD driver26.10.1(0x800161), headless in-game oncastle-gate(HyruleField_Child,1920x1080,button_prompts=5Steam Deck) viascripts/longshot_ctl.py(comparingmain @ a2dc5385prompts vsthis PR @ c818e4ffprompts built from the same RomFS): System page (Basic Controls) renders the hand-drawn Steam Deck with the game's warm tint, crisp outlines, trackpads, thumbstick rings, and every leader line (Target L2,Open Map,Move,Open Menu,Actions,Rotate Camera) landing cleanly on its control (before/after screenshots attached in the first comment).main @ a2dc5385:switch,xbox,ps4,ps5,keyboard,steamdeck/hint.bin,ring.bin,Common.bntx, andCommon.blarcare byte-identical; onlysteamdeck/textures.binchanges (3967632→4325784bytes).c818e4ff(toolchains/v3.0.0-tools/python):test_prompt_hand_guides.py(confirmed failing onmain @ a2dc5385, passing here),test_prompt_guide_lines.py,test_prompt_picture_tint.py,test_prompt_font_bind.py,test_prompt_skip.py,test_prompt_speed.py,test_prompt_auto_face.py,test_prompts_live.py, andtest_appimage_prompt_fonts.pyall pass.Still to test:
Button prompts = Steam Deck, expecting the hand-drawn Steam Deck and aligned lines matching the Windows screenshot (includingR2,L1/R1, and d-pad lines on a save with those actions unlocked) (Test Farm:@Beanstalk steamdeck, open the pause menu System page with Button prompts = Steam Deck, or by hand).Measurements
Nothing to measure: build-time prompt textures only (
steamdeck/textures.bin:3967632→4325784bytes), with zero runtime performance change and all other faces byte-identical tomain.Risks
Low: affects only the Steam Deck controller picture and leader lines on the pause menu's System page (
nx2/prompt_faces/steamdeck/and_STEAMDECKinnx2/prompt_faces.py). A revert restores the generated Steam Deck picture cleanly. Nothing changes in saves,longshot_options.ini, shader caches, or other controller faces; builds regenerateprompts/automatically via the prompt stamp.Checklist
Ready for review
main; the title is a Conventional Commit.mise run testpasses (any failure that also fails onmainis named).main, or Measurements says why there is nothing to measure.third_party/untouched; nothing GPL-incompatible.When it applies
tests/that reads changed source is updated, not weakened.mainand here, for a change that shows on screen.Assisted-by:/Co-Authored-By:trailers.Ready to merge
main, measured again or a comment says why the numbers still hold.Tested in game: Windows 11, AMD Radeon RX 6700 XT (1002:73df), AMD driver 26.10.1 (0x800161), headless castle-gate (HyruleField_Child, 1920x1080, button_prompts=5 Steam Deck): pause menu System page (Basic Controls) renders Jordan's hand-drawn Steam Deck with the game's warm tint and every leader line on its control.
Possibly related, for context:
Before/after in-game capture on Windows 11 (RX 6700 XT, 1920x1080, \castle-gate, \utton_prompts=5\ Steam Deck):
All 5 guide layers (\ControllerGuide_Pro_00..04, including \R2, \L1/\R1, and the d-pad frame/line) composited over the tinted Steam Deck picture:
@review
Recommendation: Approve. The code is ready: only testing is left (a run of the change itself). The new Steam Deck picture and the basic guide lines were shown working in game. The additional R2, L1/R1 and d-pad guide layers have only a composite preview reported and still need the in-game check listed in the pull request. Recommend approval; not approved on the forge.
The System page gets a hand-drawn Steam Deck picture and guide lines aligned with it. The change keeps the existing prompt-generation design and increases the reported Steam Deck texture file by 358,152 bytes.
Before merging: testing (1) (the change behaves the same on every system: one run of the change itself is enough; it doesn't hold the recommendation)
Checks: Also failing on the base branch (not this pull request's):
Guide screenshots / Guide images and local UI source review (pull_request),CI / Website build and checks (pull_request).More: does it help, other systems, switches, what was read
Does it help: Yes for the reported basic System page rendering on Windows; the remaining guide layers need an in-game check. This is not a performance change.
Other systems: The change affects the Steam Deck prompt face and its generated textures, including generated lines for alternate bindings. Other faces and prompt files are reported byte-identical. The rendering uses existing texture and tint paths; the reported run is on Windows, while the requested Steam Deck/Linux check remains outstanding.
Switches: None added, changed or removed.
Reviewed:
c818e4ff0eagainsta2dc538590: Read AGENTS.md, CONTRIBUTING.md, the pull request template, standards, the complete changed Python, README and test files, the commit and diff, and the relevant prompt layer and routing code and guide-line test. Viewed all four added PNGs. Skimmed the rest of prompt_assets.py; the linked screenshots could not be inspected from the closed network. docs/review-checklist.md and the adjacent Tooling checkout were absent.; nothing run (a code review).Checked and fine:
Testing: Read-only review; no code or tests were run. The author reports prompt tests passing and an in-game Windows run.
Overlaps and merge order: None identified from the supplied pull request information; the network was closed.
Automated code review by BeanBot (gpt-6.1-terra), asked for by madebyjordan. Nothing was run; a maintainer decides.