Difference between revisions of "SCHG:Sonic & Sega All-Stars Racing/Formats/XPAC"
From Sonic Retro
Ccawley2011 (talk | contribs) |
m (Text replacement - "{| class="prettytable" " to "{| class="prettytable" style="width:auto;" ") |
||
Line 2: | Line 2: | ||
==Format== | ==Format== | ||
.xpac files start with the following header: | .xpac files start with the following header: | ||
− | {| class="prettytable" | + | {| class="prettytable" style="width:auto;" |
!Offset||Type||Description | !Offset||Type||Description | ||
|- | |- | ||
Line 31: | Line 31: | ||
Following that is an array of the following struct: | Following that is an array of the following struct: | ||
− | {| class="prettytable" | + | {| class="prettytable" style="width:auto;" |
!Offset||Type||Description | !Offset||Type||Description | ||
|- | |- |
Revision as of 17:27, 21 February 2020
Sonic Community Hacking Guide Sonic & Sega All-Stars Racing |
---|
Formats |
SSRT |
Format
.xpac files start with the following header:
Offset | Type | Description |
---|---|---|
0 | Int | Always zero. |
4 | Int | Always zero. |
8 | Pointer | Pointer to the start of the first file. |
12 | Int | The number of files contained in the archive |
16 | Int | Always zero. |
20 | Int | Always zero. |
Following that is an array of the following struct:
Offset | Type | Description |
---|---|---|
0 | Int | A unique hash identifying the file. |
4 | Pointer | Pointer to the contents of the file. |
8 | Int | Length of the file's contents. |
12 | Int | Length of the file's contents. Always identical to the previous value. |
16 | Int | Always zero. |