Repository navigation
docs: mods that make files bigger need the resource size table grown - #1325
Merged
Merged
Conversation
Assisted-by: Claude Opus 5.5 (Anthropic) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
A paragraph in the readme's Mods section: a mod file bigger than the game's own only loads if the resource size table (
System/Resource/ResourceSizeTable.Product.111.Nin_Ounce_NVN2.rsizetable.zs) allows for it, and only one mod's table is used.Why
Making an HD texture pack, the 2x textures were packed correctly but never reached the GPU (
RX_VK_WATCH_DIMat the new size: no textures made), and a pack of every colour texture left the game on a loading screen. Each texture's entry in the table is exactly its decompressed size + 280; with the entries grown, the same pack loads and every replaced texture shows in game (a magenta-tinted test pack, Kokiri Forest, Linux + RTX 4070 Ti). Because Hookshot replaces whole files and the last-sorting mod wins, two mods that each grow files need one merged table.Checked
The builder this came from, for anyone making texture mods (no game data in it): https://github.com/Joey-Magnus/Hookshot-Textures
AI assistance: written with Claude Opus 5.5 (trailers on the commit).