Canonical resource path: Difference between revisions

From ZeldaMods (Breath of the Wild)
Jump to navigation Jump to search
imported>BravelyPeculiar
No edit summary
imported>Leoetlino
No edit summary
 
(10 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Stub}}
''Breath of the Wild'' uses '''canonical resource paths''' to define the locations of its content files. These paths generally treat the content directory as the root directory of the path.
Breath of the Wild uses '''canonical resource paths''', which are paths that are relative to the root content directory or to an archive.
 
== List of resources and associated canonical paths ==
* Switch: https://github.com/leoetlino/botw-re-notes/blob/master/game_files/switch_rstb_150.csv
* Wii U: https://github.com/leoetlino/botw-re-notes/blob/master/game_files/wiiu_rstb_150.csv
 
== Special cases ==
{{Link to article|link=Resource system#Special_cases}}
 
If the file is inside a [[SARC|SARC archive]], then that archive is treated as the path's root. This does not apply to all nested SARCs (e.g. content/Pack/Bootup.pack/GameData/gamedata.ssarc) — files inside these archives do not have a canonical resource path.
 
If a file is [[Yaz0]]-encoded, and as such has an "s" prefixed to its extension, that "s" is '''excluded''' from the canonical resource path.
 
''Some'' add-on content files have <code>Aoc/0010/</code> prepended to their canonical path.

Latest revision as of 19:05, 15 October 2018

Breath of the Wild uses canonical resource paths to define the locations of its content files. These paths generally treat the content directory as the root directory of the path.

List of resources and associated canonical paths

Special cases

Full article: Resource system

If the file is inside a SARC archive, then that archive is treated as the path's root. This does not apply to all nested SARCs (e.g. content/Pack/Bootup.pack/GameData/gamedata.ssarc) — files inside these archives do not have a canonical resource path.

If a file is Yaz0-encoded, and as such has an "s" prefixed to its extension, that "s" is excluded from the canonical resource path.

Some add-on content files have Aoc/0010/ prepended to their canonical path.