Game: the wide area title card is no longer drawn since the Rust builder (#2286) #2555

Open
opened 2026-11-25 18:50:39 +00:00 by HumanBean · 0 comments
Owner

What: since #2286, the wide area title card (docs/user/graphics-and-controls.md) is no longer drawn. Nothing calls hos_wide_title_prepare, hos_wide_title_draw or hos_wide_title_reset in game/hos_wide_ui.c any more. The old builder wired them in with nx2/oot_patches.py, which #2286 removed, and no hook site replaced that.

What's there now:

  • The sites ui.pictureConstants (f_815505b0+0x144) and ui.pictureDraw (f_81550720+0x20) sit at two of the three places, but their callbacks only draw the pause menu's background.
  • There is no site at f_8156abc0, the reset.

To fix:

  • Hook the title card's prepare, draw and reset through hook sites, with signatures read from the game's code.
  • Check it in the game: a wide window and a new area's title card, against the old builder's build.

Found while fixing tests/test_title_card_strips.py in #2554. That test's host-side checks still pass; the half that ran the old patch pipeline was removed with nothing left to test.

🤖 Generated with Claude Code

**What:** since #2286, the wide area title card (docs/user/graphics-and-controls.md) is no longer drawn. Nothing calls `hos_wide_title_prepare`, `hos_wide_title_draw` or `hos_wide_title_reset` in `game/hos_wide_ui.c` any more. The old builder wired them in with `nx2/oot_patches.py`, which #2286 removed, and no hook site replaced that. **What's there now:** - The sites `ui.pictureConstants` (f_815505b0+0x144) and `ui.pictureDraw` (f_81550720+0x20) sit at two of the three places, but their callbacks only draw the pause menu's background. - There is no site at f_8156abc0, the reset. **To fix:** - Hook the title card's prepare, draw and reset through hook sites, with signatures read from the game's code. - Check it in the game: a wide window and a new area's title card, against the old builder's build. Found while fixing `tests/test_title_card_strips.py` in #2554. That test's host-side checks still pass; the half that ran the old patch pipeline was removed with nothing left to test. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Sign in to join this conversation.
No milestone
No project
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
MagicBeanDev/Longshot#2555
No description provided.