Bundle (original): Difference between revisions
Content added Content deleted
m (Updated common data type link.) |
m (Updated links.) |
||
Line 38: | Line 38: | ||
| 0x8 || 0x4 || uint32_t || muResourceEntriesCount || Number of resources in the bundle || |
| 0x8 || 0x4 || uint32_t || muResourceEntriesCount || Number of resources in the bundle || |
||
|- |
|- |
||
| 0xC || 0x28 || [[#Size and alignment |
| 0xC || 0x28 || [[#Size and alignment|Size and alignment]][5] || || Size and alignment of each chunk || |
||
|- |
|- |
||
| 0x34 || 0x14 || uint32_t[5] || || Memory address of each chunk || |
| 0x34 || 0x14 || uint32_t[5] || || Memory address of each chunk || |
||
Line 50: | Line 50: | ||
| 0x54 || 0x4 || uint32_t || muResourceDataOffset || Resource data offset || |
| 0x54 || 0x4 || uint32_t || muResourceDataOffset || Resource data offset || |
||
|- |
|- |
||
| 0x58 || 0x4 || uint32_t || muPlatform || Platform the bundle was built for || See [[#Platform |
| 0x58 || 0x4 || uint32_t || muPlatform || Platform the bundle was built for || See [[#Platform|Platform]] |
||
|} |
|} |
||
Line 62: | Line 62: | ||
| 0x4 || 0x4 || uint32_t || muImportOffset || Bundle imports offset || |
| 0x4 || 0x4 || uint32_t || muImportOffset || Bundle imports offset || |
||
|- |
|- |
||
| 0x8 || 0x4 || uint32_t || muResourceTypeId || Resource type || See [[#ResourceType |
| 0x8 || 0x4 || uint32_t || muResourceTypeId || Resource type || See [[#ResourceType|ResourceType]] |
||
|- |
|- |
||
| 0xC || 0x28 || [[#Size and alignment |
| 0xC || 0x28 || [[#Size and alignment|Size and alignment]][5] || mauSizeAndAlignmentOnDisk || || |
||
|- |
|- |
||
| 0x34 || 0x28 || [[#Size and alignment |
| 0x34 || 0x28 || [[#Size and alignment|Size and alignment]][5] || mauDiskOffset || Offsets in bundle || Alignment is unused (always 1) |
||
|- |
|- |
||
| 0x5C || 0x14 || uint32_t[5] || || Memory addresses || Swapped endian |
| 0x5C || 0x14 || uint32_t[5] || || Memory addresses || Swapped endian |
||
Line 79: | Line 79: | ||
! Offset !! Length !! Type !! Name !! Description !! Comments |
! Offset !! Length !! Type !! Name !! Description !! Comments |
||
|- |
|- |
||
| 0x0 || 0x8 || [[Resource ID |
| 0x0 || 0x8 || [[Resource ID|ID]] || mResourceId || Resource name CRC32 || |
||
|- |
|- |
||
| 0x8 || 0x4 || uint32_t || muOffset || || |
| 0x8 || 0x4 || uint32_t || muOffset || || |
||
Line 103: | Line 103: | ||
! Offset !! Length !! Type !! Name !! Description !! Comments |
! Offset !! Length !! Type !! Name !! Description !! Comments |
||
|- |
|- |
||
| 0x5C || 0x4 || uint32_t || muFlags || Bundle flags || See [[#Flags |
| 0x5C || 0x4 || uint32_t || muFlags || Bundle flags || See [[#Flags|Flags]] |
||
|- |
|- |
||
| 0x60 || 0x4 || uint32_t || || Number of compressed resources || |
| 0x60 || 0x4 || uint32_t || || Number of compressed resources || |
||
Line 115: | Line 115: | ||
! Offset !! Length !! Type !! Name !! Description !! Comments |
! Offset !! Length !! Type !! Name !! Description !! Comments |
||
|- |
|- |
||
| 0x0 || 0x28 || [[#Size and alignment |
| 0x0 || 0x28 || [[#Size and alignment|Size and alignment]][5] || mauUncompressedSizeAndAlignment || || |
||
|} |
|} |
||
Line 151: | Line 151: | ||
=== ResourceType === |
=== ResourceType === |
||
See [[ |
See [[Resource Types]]. |