Resource system: Difference between revisions
→Add-on content
imported>Leoetlino (Created page with "In ''Breath of the Wild'', the '''resource system''' is a subsystem that is responsible for managing resources, i.e. content files. It is implemented by ResourceMgrTask, [...") |
imported>Leoetlino |
||
Line 46: | Line 46: | ||
If no file device is explicitly set, the resource system will use the default file device (romfs on Switch or content directory on Wii U). | If no file device is explicitly set, the resource system will use the default file device (romfs on Switch or content directory on Wii U). | ||
If the file device is set to the AoC file device, <code>Aoc/0010</code> will be prepended to the [[canonical resource path]]. This is done to avoid conflicts between the base and AoC versions of a resource. '''Warning:''' the AoC file device is not always set when loading resources from AoC archives. This is the case for the model and [[ActorParam]] code. Conversely, the AoC device is sometimes set even when it is unnecessary. | If the file device is set to the AoC file device, <code>Aoc/0010/</code> will be prepended to the [[canonical resource path]]. This is done to avoid conflicts between the base and AoC versions of a resource. '''Warning:''' the AoC file device is not always set when loading resources from AoC archives. This is the case for the model and [[ActorParam]] code. Conversely, the AoC device is sometimes set even when it is unnecessary. | ||
==== AoC with the Aoc/0010 prefix ==== | |||
{{Empty section}} | |||
== Memory allocation == | == Memory allocation == |