Bundle (original): Difference between revisions
Content added Content deleted
(Split Bundle 2 information into a separate page.) |
(Conform to format documentation guidelines.) |
||
Line 30: | Line 30: | ||
{| class="wikitable" |
{| class="wikitable" |
||
|- |
|- |
||
! Offset !! |
! Offset !! Length !! Type !! Name !! Description !! Comments |
||
|- |
|- |
||
| 0x0 || 0x4 || char[4] || macMagicNumber || Bundle magic || bndl |
| 0x0 || 0x4 || char[4] || macMagicNumber || Bundle magic || bndl |
||
|- |
|- |
||
| 0x4 || 0x4 || uint32_t || muVersion || Bundle version || 3 |
| 0x4 || 0x4 || uint32_t || muVersion || Bundle version || 3 in base, 4 in V4, 5 in V5 |
||
|- |
|- |
||
| 0x8 || 0x4 || uint32_t || muResourceEntriesCount || Number of resources in the bundle || |
| 0x8 || 0x4 || uint32_t || muResourceEntriesCount || Number of resources in the bundle || |
||
Line 56: | Line 56: | ||
{| class="wikitable" |
{| class="wikitable" |
||
|- |
|- |
||
! Offset !! |
! Offset !! Length !! Type !! Name !! Description !! Comments |
||
|- |
|- |
||
| 0x0 || 0x4 || uint32_t || || Resource data memory address || |
| 0x0 || 0x4 || uint32_t || || Resource data memory address || |
||
Line 72: | Line 72: | ||
=== Imports === |
=== Imports === |
||
An array of import entries of an amount defined by <code>muImportCount</code>. |
|||
{| class="wikitable" |
{| class="wikitable" |
||
|- |
|- |
||
! Offset !! |
! Offset !! Length !! Type !! Name !! Description !! Comments |
||
|- |
|- |
||
| 0x0 || 0x4 || uint32_t || muImportCount || Number of imports || |
| 0x0 || 0x4 || uint32_t || muImportCount || Number of imports || |
||
Line 84: | Line 85: | ||
{| class="wikitable" |
{| class="wikitable" |
||
|- |
|- |
||
! Offset !! |
! Offset !! Length !! Type !! Name !! Description !! Comments |
||
|- |
|- |
||
| 0x0 || 0x8 || [[Common Data Types (Burnout Paradise)#CgsResourceID | ID]] || mResourceId || Resource name CRC32 || |
| 0x0 || 0x8 || [[Common Data Types (Burnout Paradise)#CgsResourceID | ID]] || mResourceId || Resource name CRC32 || |
||
Line 97: | Line 98: | ||
{| class="wikitable" |
{| class="wikitable" |
||
|- |
|- |
||
! Offset !! |
! Offset !! Length !! Type !! Name !! Description !! Comments |
||
|- |
|- |
||
| 0x0 || 0x4 || uint32_t || || Size or offset || |
| 0x0 || 0x4 || uint32_t || || Size or offset || |
||
Line 108: | Line 109: | ||
{| class="wikitable" |
{| class="wikitable" |
||
|- |
|- |
||
! Offset !! |
! Offset !! Length !! Type !! Name !! Description !! Comments |
||
|- |
|- |
||
| 0x5C || 0x4 || uint32_t || muFlags || Bundle flags || See [[#Flags | Flags]] |
| 0x5C || 0x4 || uint32_t || muFlags || Bundle flags || See [[#Flags | Flags]] |
||
Line 120: | Line 121: | ||
{| class="wikitable" |
{| class="wikitable" |
||
|- |
|- |
||
! Offset !! |
! Offset !! Length !! Type !! Name !! Description !! Comments |
||
|- |
|- |
||
| 0x0 || 0x28 || Unknown0[5] || mauUncompressedSizeAndAlignment || || |
| 0x0 || 0x28 || Unknown0[5] || mauUncompressedSizeAndAlignment || || |
||
Line 129: | Line 130: | ||
{| class="wikitable" |
{| class="wikitable" |
||
|- |
|- |
||
! Offset !! |
! Offset !! Length !! Type !! Name !! Description !! Comments |
||
|- |
|- |
||
| 0x68 || 0x4 || uint32_t || || || No idea what this does |
| 0x68 || 0x4 || uint32_t || || || No idea what this does |