Skip to main content

Simple GUI editor for BOTW file formats

Project description

Wild Bits

Simple editor for BOTW file formats

Setup

Requires the latest (2019) Visual C++ redistributable for x64, downloadable here.

Install Python 3.7+ (64-bit version), then run pip install wildbits.

Usage

To run Wild Bits, type wildbits into your command console. Alternatively, run python -m wildbits.

Wild Bits can edit most of the commonly modded, non-graphical file types in The Legend of Zelda: Breath of the Wild, including SARC archives, the Resource Size Table (RSTB), and BYML, AAMP, and MSBT files. Most of the formats are handled by the powerful and reliable oead library, which ensures accuracy and compatibility with the game.

General usage notes: Wild Bits handles yaz0 compression/decompression automatically. Yaz0 compressed files are automatically decompressed, and when saving Wild Bits will determine whether to yaz0 compress based on whether the file extension has the additonal .s prefix. Big/little endian differences are also mostly handled automatically.

SARC Editor

SARC editor preview Preview of SARC editor

The SARC editor allows you to edit SARC files, e.g. .sbactorpack, .pack, .ssarc, etc. Once opened, the file contents will be displayed as tree view. Nested SARCs expand like folders and will be automatically repacked correctly. You can extract all files, update the contents from a source folder, add new files, or extract/rename/delete any individual file in the SARC. File types supported by the YAML editor can also be edited directly and saved to the open SARC. Recognized BOTW files in the SARC which have been modified from the stock copies are highlighted in yellow for easy identification.

RSTB Editor

RSTB editor preview Preview of RSTB editor

The RSTB editor can open a BOTW resource size table file, usually named ResourceSizeTable.product.srsizetable. It lists all of the resource entries with the option to edit or delete them. You can also add new entries. When adding or editing an entry, you have the option to calculate the correct value by providing the resource file. Resource types that cannot be calculated or estimated will return "0" from the calculator.

To find a specific entry, you can filter the list with the search box at the bottom of the UI, or you can use the Search button. The filter box will search any part of a file name, whereas the Search button requires an exact resource path.

If you cannot find an expected resource, note that entries for files not known from BOTW will appear as "Unknown" with their hash to identify them. Entries added by Wild Bits will be added to a list of recognized names, and so will full paths provided to the Search function (not the filter box).

YAML Editor

YAML editor preview Preview of the YAML editor

Other formats that Wild Bits supports, namely BYML, AAMP, and MSBT, are edited using the YAML editor. It works as a normal text/code editor but automatically handles conversion between the binary formats and YAML representation. Basic autocomplete is also provided.

Known Issues

With some system configurations, the wildbits command does not work properly, and the app must be launched with python -m wildbits.

Building from Source

Building from source requires, in addition to the general prerequisites:

  • Node.js v14
  • The following Python packages:
    • botw-utils >= 0.2.2
    • oead >= 1.1.1
    • rstb >= 1.2.0
    • pymsyt >= 0.1.5
    • xxhash ~= 1.4.3
    • pywebview ~= 3.2

To build from source, you will first need to prepare the webpack bundle. Enter the bcml/assets folder, run npm install to collect dependencies, and then run npm build or npm test.

Finally, back at the root folder, you can install using python setup.py install. You can also run without installing by using python -m bcml.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

wildbits-1.1.2.tar.gz (674.9 kB view details)

Uploaded Source

Built Distribution

wildbits-1.1.2-py3-none-any.whl (675.1 kB view details)

Uploaded Python 3

File details

Details for the file wildbits-1.1.2.tar.gz.

File metadata

  • Download URL: wildbits-1.1.2.tar.gz
  • Upload date:
  • Size: 674.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.7.9

File hashes

Hashes for wildbits-1.1.2.tar.gz
Algorithm Hash digest
SHA256 1d5f813672c2552164dda05954e1101cc3ef69b7c246edf94976551b1224227e
MD5 075e096257485dab105ff47b4230d332
BLAKE2b-256 4d41089c2b86d946fcd5ea466c7db145504416a7e66d4d7c38aa201a48d6f4ac

See more details on using hashes here.

File details

Details for the file wildbits-1.1.2-py3-none-any.whl.

File metadata

  • Download URL: wildbits-1.1.2-py3-none-any.whl
  • Upload date:
  • Size: 675.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.7.9

File hashes

Hashes for wildbits-1.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 f13e7b5767e6493975986e77f713557af754637f2f54c1551c85d6c59266e167
MD5 2b9d1c105c1afdb6d45d1a9889c21162
BLAKE2b-256 6275d2f7ab04864ff082f00c23ffe9142ab829e8bc258f8fb8f736478110012e

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page