Help:Setting up tools: Difference between revisions
imported>Leoetlino No edit summary |
imported>Leoetlino (→Tools) |
||
Line 12: | Line 12: | ||
* [[Yaz0]] for compressed files | * [[Yaz0]] for compressed files | ||
== Common requirements == | |||
Many of the tools for these formats require [[wikipedia:Python (programming language)|Python]] 3.6+ ('''64 bit version''') to be installed. | Many of the tools for these formats require [[wikipedia:Python (programming language)|Python]] 3.6+ ('''64 bit version''') to be installed. | ||
On Linux, Python 3 is surely already installed. Just make sure you have a recent enough version (3.6+). Ubuntu 16.04 and Debian stretch are too old; the latest Ubuntu LTS (18.04) and rolling distros such as Arch and Debian sid have 3.6+ in their repos. | |||
On Windows, follow the below instructions for installing Python: | |||
# Uninstall any existing Python version to avoid conflicts. | # Uninstall any existing Python version to avoid conflicts. | ||
# Download the [https://www.python.org/ftp/python/3.7.0/python-3.7.0-amd64.exe Python 3.7 installer] (latest version as of September 2018). | # Download the [https://www.python.org/ftp/python/3.7.0/python-3.7.0-amd64.exe Python 3.7 installer] (latest version as of September 2018). | ||
Line 28: | Line 23: | ||
# Verify that <code>py -3 --version</code> works and gives the correct version (3.6 or higher). {{CLI help}} | # Verify that <code>py -3 --version</code> works and gives the correct version (3.6 or higher). {{CLI help}} | ||
== Tools == | |||
=== AAMP === | === AAMP === | ||
{{tool table|category=Tools (AAMP)}} | {{tool table|category=Tools (AAMP)}} | ||
Line 45: | Line 41: | ||
=== SARC === | === SARC === | ||
{{tool table|category=Tools (SARC)|notcategory=Unrecommended tools}} | {{tool table|category=Tools (SARC)|notcategory=Unrecommended tools}} | ||
=== Map units === | === Map units === |
Revision as of 18:17, 15 October 2018
Breath of the Wild uses a very flexible, custom game engine. Many aspects of the game are not hardcoded and are instead configured by a large amount of files. Since BotW uses a lot of Nintendo's own file formats, you'll need special tools to be able to edit them.
Common file formats
The most common formats that one would want to be able to decode and also modify are:
- AAMP for actor parameters, world config (climate, lighting, ...), etc.
- BFRES for cosmetic (textures, models, ...) changes
- BFEVFL for in-game events (which includes things like talking to people and also full-blown cutscenes)
- BYML for actors, map units, difficulty scaling config, etc.
- Resource system when adding new resources or making existing files larger because of how the game works internally
- SARC for archives since many resource files are packed
- Yaz0 for compressed files
Common requirements
Many of the tools for these formats require Python 3.6+ (64 bit version) to be installed.
On Linux, Python 3 is surely already installed. Just make sure you have a recent enough version (3.6+). Ubuntu 16.04 and Debian stretch are too old; the latest Ubuntu LTS (18.04) and rolling distros such as Arch and Debian sid have 3.6+ in their repos.
On Windows, follow the below instructions for installing Python:
- Uninstall any existing Python version to avoid conflicts.
- Download the Python 3.7 installer (latest version as of September 2018).
- Run the installer: do a system-wide install and tick the "add Python to environment variables / PATH" option.
- Verify that
py -3 --version
works and gives the correct version (3.6 or higher). [help]
Tools
AAMP
Tool | Cross-platform | Setup | Known issues |
---|---|---|---|
aamptool | Yes |
Download the tool from GitHub (note: builds are only provided for Windows). |
|
aamp | Yes |
Install the |
|
Wild Bits | Yes |
|
On some system configurations, launching with |
Switch Toolbox | No |
|
BFRES
This section is empty. You can help by adding to it. |
BFEVFL
Follow the instructions at Help:Tools/EventEditor.
BYML
Tool | Cross-platform | Setup | Known issues |
---|---|---|---|
byml-v2 | Yes |
Install the |
None |
ninten-file-tool | Yes |
|
|
Byaml Editor | Yes | ||
Wild Bits | Yes |
|
On some system configurations, launching with |
Switch Toolbox | No |
|
RSTB
Tool | Cross-platform | Setup | Known issues |
---|---|---|---|
rstb | Yes |
Install the rstb package.[CLI help] |
|
Wild Bits | Yes |
|
On some system configurations, launching with |
Switch Toolbox | No |
|
SARC
Tool | Cross-platform | Setup | Known issues |
---|---|---|---|
SARC Tool | Yes |
|
|
sarc | Yes |
Install the |
None |
BotW Unpacker | Yes |
Download the latest release from GitHub. |
|
Wild Bits | Yes |
|
On some system configurations, launching with |
Switch Toolbox | No |
|
Map units
Map units can be edited directly by modifying the map unit BYMLs or with a graphical tool such as Ice-Spear.
For the first method, refer to #BYML.
For the second method, follow the instructions in the official repo for Ice-Spear builds.
Reverse engineering
To reverse engineer the game executable, it is strongly recommended to have a copy of IDA Pro 7.0+ because the main executable is fairly large and IDA is as of September 2018 the only serious option for analysing such binaries. It is also the only tool with a usable decompiler for AArch64 (Switch).
To get a copy of an IDC for Switch 1.5.0, ping leoetlino.