Resource system: Difference between revisions
→AoC with the Aoc/0010 prefix
imported>Leoetlino (→Memory allocation: parent heap) |
imported>Leoetlino |
||
Line 48: | Line 48: | ||
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 | ==== Cases where the AoC file device is used ==== | ||
{ | If AoC version 0x200 or higher is installed and if the canonical resource name (without the <code>Aoc/0010/</code> prefix) matches any of the below patterns: | ||
* Terrain/A/AocField* | |||
* Pack/DungeonNNN.pack with NNN > 119 | |||
* UI/StaffRollDLC/* | |||
* Map/MainField/* (if Pack/AocMainField.pack was loaded successfully) | |||
* Map/MainFieldDungeon/* | |||
* Map/AocField/* | |||
* Map/CDungeon/* (for DungeonNNN with NNN > 119) | |||
* Physics/StaticCompound/AocField/* | |||
* Physics/StaticCompound/MainFieldDungeon/* | |||
* Physics/StaticCompound/CDungeon/* (for DungeonNNN with NNN > 119) | |||
* Movie/Demo6* | |||
* Game/AocField/* | |||
* NavMesh/AocField/* | |||
* NavMesh/MainFieldDungeon/* | |||
* NavMesh/CDungeon/* (for DungeonNNN with NNN > 119) | |||
* Physics/TeraMeshRigidBody/AocField/* | |||
* Voice/{language}/Stream_Demo600_0/Demo600_0_000.bfstm | |||
== Memory allocation == | == Memory allocation == |