SCHG:Sonic & Sega All-Stars Racing/Formats/XPAC
From Sonic Retro
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. |
References