A mod with its own resource size table (every Clawshot seed) switches the button icons in text back to the Switch's #2329

Closed
opened 2026-11-11 15:09:53 +00:00 by mooki000 · 0 comments
mooki000 commented 2026-11-11 15:09:53 +00:00 (Migrated from github.com)

Hookshot version

main 49f75dc8, built from source

What kind of problem

Something else

What happened

While a mod that ships its own resource size table is loaded, the button icons in every text go back to the Switch's, whatever controller and Button prompts setting the player has. The textures and layouts stay the controller's, so the pause menu shows the controller's picture and Switch letters side by side. Every randomizer seed made by Clawshot ships such a table, and Clawshot lists this as a known issue.

Expected: the same icons as without the mod.

The cause: the button prompts' font is larger than the game's, so Hookshot serves the game's size table with the font's entry raised. A mod's table wins over that one, as any mod file does, and host/prompts.c then turns the prompts' font off, because the larger font would not fit the mod's entry.

Where in the game

Every text with a button icon; seen on the pause menu's Basic Controls page in Kokiri Forest

How often

Every time

Graphics card and driver version

RTX 4090, NVIDIA 615.78.08 (the code involved does not touch the GPU)

CPU, RAM and operating system

i9-13900K, 93 GB, Arch Linux

Changes from the defaults

A Clawshot seed as a mod; Button prompts set to PlayStation 5

Other software hooked into the game

No, nothing hooked in

hookshot_log.txt

The line that shows it: prompts: a mod has the resource size table: the game's own icons in texts

Screenshots or video

Before and after are in #2270.

Claim

I'm working on this: #2270 is open with the fix (the prompts' entries are merged into the mod's table) and its test. By docs/workflow.md: S3 (1) x reach (players who load a mod with its own size table, which every Clawshot seed is) x confidence 1.0 (cause found, fix tested in the game). I can test on Linux with an RTX 4090 (NVIDIA 615.78.08) and an Intel UHD 770 (Mesa 26.2.5), not on Windows or AMD.

### Hookshot version main 49f75dc8, built from source ### What kind of problem Something else ### What happened While a mod that ships its own resource size table is loaded, the button icons in every text go back to the Switch's, whatever controller and Button prompts setting the player has. The textures and layouts stay the controller's, so the pause menu shows the controller's picture and Switch letters side by side. Every randomizer seed made by [Clawshot](https://github.com/hiKareeem/Clawshot) ships such a table, and Clawshot lists this as a known issue. Expected: the same icons as without the mod. The cause: the button prompts' font is larger than the game's, so Hookshot serves the game's size table with the font's entry raised. A mod's table wins over that one, as any mod file does, and `host/prompts.c` then turns the prompts' font off, because the larger font would not fit the mod's entry. ### Where in the game Every text with a button icon; seen on the pause menu's Basic Controls page in Kokiri Forest ### How often Every time ### Graphics card and driver version RTX 4090, NVIDIA 615.78.08 (the code involved does not touch the GPU) ### CPU, RAM and operating system i9-13900K, 93 GB, Arch Linux ### Changes from the defaults A Clawshot seed as a mod; Button prompts set to PlayStation 5 ### Other software hooked into the game No, nothing hooked in ### hookshot_log.txt The line that shows it: `prompts: a mod has the resource size table: the game's own icons in texts` ### Screenshots or video Before and after are in #2270. ### Claim I'm working on this: #2270 is open with the fix (the prompts' entries are merged into the mod's table) and its test. By `docs/workflow.md`: S3 (1) x reach (players who load a mod with its own size table, which every Clawshot seed is) x confidence 1.0 (cause found, fix tested in the game). I can test on Linux with an RTX 4090 (NVIDIA 615.78.08) and an Intel UHD 770 (Mesa 26.2.5), not on Windows or AMD.
Commenting is not possible because the repository is archived.
No milestone
No assignees
1 participant
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/Hookshot#2329
No description provided.