Resource system: Difference between revisions

Jump to navigation Jump to search
imported>Leoetlino
imported>Leoetlino
Line 49: Line 49:


==== Cases where the AoC file device is used ====
==== 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:
If the AoC version is >= 0x200 (in most cases) or >= 0x300 (for DLC Pack 2 content), and if the canonical resource name (without the <code>Aoc/0010/</code> prefix) matches any of the below patterns:
* Terrain/A/AocField*
* <code>Terrain/A/AocField*</code>
* Pack/DungeonNNN.pack with NNN > 119
* <code>Pack/DungeonNNN.pack</code> with NNN > 119
* UI/StaffRollDLC/*
* <code>UI/StaffRollDLC/*</code>
* Map/MainField/* (if Pack/AocMainField.pack was loaded successfully)
* <code>Map/MainField/*</code> (if Pack/AocMainField.pack was loaded successfully)
* Map/MainFieldDungeon/*
* <code>Map/MainFieldDungeon/*</code>
* Map/AocField/*
* <code>Map/AocField/*</code>
* Map/CDungeon/* (for DungeonNNN with NNN > 119)
* <code>Map/CDungeon/*</code> (for DungeonNNN with NNN > 119)
* Physics/StaticCompound/AocField/*
* <code>Physics/StaticCompound/AocField/*</code>
* Physics/StaticCompound/MainFieldDungeon/*
* <code>Physics/StaticCompound/MainFieldDungeon/*</code>
* Physics/StaticCompound/CDungeon/* (for DungeonNNN with NNN > 119)
* <code>Physics/StaticCompound/CDungeon/*</code> (for DungeonNNN with NNN > 119)
* Movie/Demo6*
* <code>Movie/Demo6*</code>
* Game/AocField/*
* <code>Game/AocField/*</code>
* NavMesh/AocField/*
* <code>NavMesh/AocField/*</code>
* NavMesh/MainFieldDungeon/*
* <code>NavMesh/MainFieldDungeon/*</code>
* NavMesh/CDungeon/* (for DungeonNNN with NNN > 119)
* <code>NavMesh/CDungeon/*</code> (for DungeonNNN with NNN > 119)
* Physics/TeraMeshRigidBody/AocField/*
* <code>Physics/TeraMeshRigidBody/AocField/*</code>
* Voice/{language}/Stream_Demo6*/*.bfstm
* <code>Voice/*/Stream_Demo6*/*.bfstm</code>
There are two other situations where the <code>Aoc/0010/</code> prefix is supposed to be prepended:
* If the load file device is set to the <code>Pack/AocMainField.pack</code> archive file device explicitly
* If the global resource pack is an AoC dungeon pack
However, the first case is irrelevant because that archive only contains Map/MainField/ (a case that is already handled by the path checks) and the second check appears to never pass.


== Memory allocation ==
== Memory allocation ==
Anonymous user

Navigation menu