AttribSys Vault: Difference between revisions
Added breakdown and replaced Node with AttribEntry.
(Added resource names.) |
(Added breakdown and replaced Node with AttribEntry.) |
||
(5 intermediate revisions by the same user not shown) | |||
Line 5:
| category = Generic
| memdist = Main Memory only
| editor = Vehicles only<br />Use [https://github.com/burninrubber0/Bundle-Manager/releases/latest Bundle Manager]
}}
Line 32 ⟶ 33:
| 0x8 || 0x4 || uint32_t || muVltSizeInBytes || ||
|-
| 0xC || 0x4 || || ||
|-
| 0x10 || 0x8 || uint8_t* || mpau8BinData || ||
Line 67 ⟶ 68:
= Vault =
[[File:PUSMC01 AttribSys Breakdown.svg|thumb|A breakdown diagram of the Cavalry's vault.]]
The vault is a set of structures with [[#Attrib::Vault::ChunkBlock|ChunkBlocks]] which are read sequentially. In Burnout Paradise, these are:
* '''Vers''': The version
Line 89 ⟶ 92:
! Offset !! Length !! Type !! Name !! Description !! Comments
|-
| 0x0 || 0x8 || [[#Attrib::Vault::ChunkBlock|ChunkBlock]] ||
|-
| 0x8 || 0x8 || uint64_t || mVersion || Version hash ||
Line 99 ⟶ 102:
! Offset !! Length !! Type !! Name !! Description !! Comments
|-
| 0x0 || 0x8 || [[#Attrib::Vault::ChunkBlock|ChunkBlock]] ||
|-
| 0x8 || 0x8 || [[Attribute hash|HashInt]] || mCount || Number of dependencies ||
Line 110 ⟶ 113:
! Offset !! Length !! Type !! Name !! Description !! Comments
|-
| 0x0 || 0x8 || [[#Attrib::Vault::ChunkBlock|ChunkBlock]] ||
|-
| ??? || || || || ||
Line 121 ⟶ 124:
! Offset !! Length !! Type !! Name !! Description !! Comments
|-
| 0x0 || 0x8 || [[#Attrib::Vault::ChunkBlock|ChunkBlock]] ||
|}
Line 150 ⟶ 153:
| 0x28 || 0x4 || void* || mLayout || || Always nullptr in resource
|-
| 0x2C || 0x4 || || ||
|}
This is always followed by the types, then the
=== Attrib::
{| class="wikitable"
! Offset !! Length !! Type !! Name !! Description !! Comments
Line 161 ⟶ 164:
| 0x0 || 0x8 || [[Attribute hash|Key]] || mKey || ||
|-
| 0x8 || 0x4 ||
|-
| 0xC || 0x2 || uint16_t ||
|-
| 0xE || 0x1 || uint8_t ||
|-
| 0xF || 0x1 || uint8_t ||
|}
Line 188 ⟶ 178:
! Offset !! Length !! Type !! Name !! Description !! Comments
|-
| 0x0 || 0x8 || [[#Attrib::Vault::ChunkBlock|ChunkBlock]] ||
|-
| 0x8 || 0x8 || [[Attribute hash|HashInt]] || mCount || Number of
|}
Followed by [[#Attrib::Vault::ExportEntry|export entries]] of an amount defined by <code>mCount</code>.
=== Attrib::Vault::ExportEntry ===
Line 213 ⟶ 203:
! Offset !! Length !! Type !! Name !! Description !! Comments
|-
| 0x0 || 0x8 || [[#Attrib::Vault::ChunkBlock|ChunkBlock]] ||
|}
Line 241 ⟶ 231:
=== EPtrRefType ===
Information from Need for Speed ProStreet (RU PS2).
{| class="wikitable"
Line 267 ⟶ 257:
! Offset !! Length !! Type !! Name !! Description !! Comments
|-
| 0x0 || 0x8 || [[#Attrib::Vault::ChunkBlock|ChunkBlock]] ||
|}
|