A mod with its own resource size table (every Clawshot seed) switches the button icons in text back to the Switch's #2329
Labels
No labels
accessibility
autorelease: pending
autorelease: tagged
bug
dependencies
documentation
duplicate
enhancement
github_actions
good first issue
help wanted
invalid
question
testing wanted
wontfix
No milestone
No assignees
1 participant
Due date
No due date set.
Dependencies
No dependencies set
Reference
MagicBeanDev/Hookshot#2329
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Hookshot version
main
49f75dc8, built from sourceWhat 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.cthen 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 textsScreenshots 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.