Scheduled system upgrade on Sunday 21 April 2024 15:00-16:00 UTC - On that day, the wiki and other services might go down for 5-15 minutes.

Help:Creating mods: Difference between revisions

From ZeldaMods (Breath of the Wild)
Jump to navigation Jump to search
imported>Leoetlino
m (→‎The RSTB file: fix link)
imported>Leoetlino
(Add link to RSTB guide)
Line 4: Line 4:
<br>
<br>
{{linkbox
{{linkbox
|title=[[help:Dumping games|Dumping the game files]]
| title = [[help:Dumping games|Dumping the game files]]
|text=To make mods, you'll need to start by dumping the unedited game files from your copy of BotW.
| text = To make mods, you'll need to start by dumping the unedited game files from your copy of BotW.
|faiconc=fas fa-copy}}
| faiconc = fas fa-copy
}}
{{linkbox
{{linkbox
|title=[[help:Setting up tools|Setting up tools]]
| title = [[help:Setting up tools|Setting up tools]]
|text=Since BotW uses a lot of Nintendo's own file formats, you'll need tools to be able to edit them.
| text = Since BotW uses a lot of Nintendo's own file formats, you'll need tools to be able to edit them.
|faiconc=fas fa-toolbox}}
| faiconc = fas fa-toolbox
}}


== Rules ==
== Rules ==


=== The RSTB file ===
=== The RSTB file ===
The file [[ResourceSizeTable.product.rsizetable]] (referred to as the RSTB file) contains a list of size limits for almost every file in the game (calculated from the non-Yaz0-compressed file sizes). If you edit a file to make its filesize bigger, you'll need to edit this file to prevent errors. For details, see [[Help:Setting up tools#RSTB]].
The file [[ResourceSizeTable.product.rsizetable]] (referred to as the RSTB file) contains a list of size limits for almost every file in the game (calculated from the non-Yaz0-compressed file sizes). If you edit a file to make its filesize bigger, you'll need to edit this file to prevent errors. For details, see [[Help:Updating the RSTB]].


=== File names and caching ===
=== File names and caching ===
The game assumes that any 2 files with the exact same filename also have the exact same contents. If you don't follow this rule when editing files, the game might load the wrong version of the file, leading to errors.
The game assumes that any 2 files with the exact same filename also have the exact same contents. If you don't follow this rule when editing files, the game might load the wrong version of the file, leading to errors.

Revision as of 13:20, 9 January 2019

Welcome, modders! This page is intended to be a collection of useful information for anybody who wants to create mods. If you want to simply use other people's mods, see Help:Using mods.

Getting set up


Rules

The RSTB file

The file ResourceSizeTable.product.rsizetable (referred to as the RSTB file) contains a list of size limits for almost every file in the game (calculated from the non-Yaz0-compressed file sizes). If you edit a file to make its filesize bigger, you'll need to edit this file to prevent errors. For details, see Help:Updating the RSTB.

File names and caching

The game assumes that any 2 files with the exact same filename also have the exact same contents. If you don't follow this rule when editing files, the game might load the wrong version of the file, leading to errors.