Resource Size Patching
Resource Size Table or RSTB for short is a “table” that contain the size of the resources (files) used in the game, it’s used by the game to know how much memory to allocate for each resource. Some mods may need to patch this table to properly work and avoid crashes or models not loading properly.
You can find this file on your dumped romfs at romfs:/System/Resource/ResourceSizeTable.Product.100.Nin_NX_NVN.rsizetable.zs.
Patching the RSTB
Section titled “Patching the RSTB”To patch the RSTB you can use either the RSTB patcher or TomoCLI, both tools are user-friendly and will do the job, here is a step by step guide for both tools:
-
Download the latest version of the RSTB patcher.
-
Open a terminal and navigate to the folder where you downloaded the patcher. (On Windows you can Shift + Right Click and select “Open PowerShell window here” or “Open Command Prompt window here”)
-
Run the following command to patch your RSTB, make sure to replace the paths with the correct ones:
Terminal window RSTBPatcher.CLI patch -i "C:/path/to/vanilla_rstb" -t "C:/path/to/your/modded_romfs"Where
vanilla_rstbis the path to your vanilla RSTB file (ResourceSizeTable.Product.100.Nin_NX_NVN.rsizetable.zs) andmodded_romfsis the path to your modded romfs folder (where all your mods are installed). -
After running the command, your RSTB should be patched and ready to use on the same folder as the RSTBPatcher executable, you can optionally use
-oto specify an output path for the patched RSTB.