Skip to main content

Breath of the Wild RSTB parser and editing tool

Utilities to manipulate the RSTB (Resource Size TaBle).

It is recommended to be familiar with how the resource system works and in particular how resources are listed (Wii U RSTB, Switch RSTB) in the table before modifying resource entries.

For all commands, you must pass --be if you are dealing with a big endian RSTB (Wii U version).

Get a resource size

rstbtool  [--be]  path/to/ResourceSizeTable.product.srsizetable  get  RESOURCE_NAME

Set a resource size

rstbtool  [--be]  path/to/ResourceSizeTable.product.srsizetable  set  RESOURCE_NAME  NEW_SIZE

NEW_SIZE can be an integer (hex or decimal), in which case the size will be set directly.

Or it can be a path on your host filesystem (unlike RESOURCE_NAME). In that case rstb will automatically calculate the size value it should write to the RSTB.

The RESOURCE_NAME must exist in the RSTB for this command.

Add a resource size

rstbtool  [--be]  path/to/ResourceSizeTable.product.srsizetable  add  RESOURCE_NAME  NEW_SIZE

Same as set, except the RESOURCE_NAME must not exist in the RSTB for this command.

Delete a resource size

rstbtool  [--be]  path/to/ResourceSizeTable.product.srsizetable  del  RESOURCE_NAME

Warning: deleting the entry for a resource will make the game waste precious memory when loading it, since the resource system will fall back to a different, wasteful method of calculating how much memory to allocate (see the resource system notes for more details).

Deleting entries may cause instability. Only use this command if rstbtool tells you to do so or if you know what you are doing.

License

This software is licensed under the terms of the GNU General Public License, version 2 or later.

Metadata

Release files for rstb 1.2.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for rstb 1.2.2
File Interpreter ABI Platform Actions
rstb-1.2.2-py3-none-any.whl Python 3 none any Details for rstb-1.2.2-py3-none-any.whl

Release files / rstb-1.2.2-py3-none-any.whl

Download URL rstb-1.2.2-py3-none-any.whl
Size 15.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5f3b6a66172d5cd22c0d351bdb4d750d08953c4cab9502eded3ff4043fc83592
BLAKE2b-256 checksum
How to use checksums
0c9d09a3e82d35ff036f00980577d4e586bcc92a719d7a97f5f89dfd5eed882f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.0 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.9.1

Security for rstb 1.2.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page