Help:Creating mods: Difference between revisions

Jump to navigation Jump to search
File extensions for compressed resources
imported>Leoetlino
imported>Leoetlino
(File extensions for compressed resources)
Line 31: Line 31:
=== 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 same rule applies to texture names - all textures should have unique names, even if they're located in different files.
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 same rule applies to texture names - all textures should have unique names, even if they're located in different files.
=== File extensions for compressed resources ===
In most cases, file extensions that start with ".s" are used for [[Yaz0]]-compressed files. Ensure that any file with such extensions is compressed. Some tools (for example {{ltool|BotW Unpacker}}, {{ltool|byml-v2}} or {{ltool|sarc}}) will automatically compress files when needed.
Example: .bactorpack -> .sbactorpack (after compression)
Anonymous user

Navigation menu