Difference between revisions of "BRSTM file"
Jump to navigation
Jump to search
(←Created page with 'BRSTM files store sound data. They're used in Mario Kart Wii and possibly other games. They contain an header, followed by a HEAD chunk and a ADPC chunk. All the data in thos...') |
|||
Line 1: | Line 1: | ||
BRSTM files store sound data. They're used in Mario Kart Wii and possibly other games. | BRSTM files store sound data. They're used in Mario Kart Wii and possibly other games. | ||
− | They contain an header, followed by a HEAD chunk and a | + | They contain an header, followed by a HEAD chunk, a ADPC chunk and a DATA chunk. |
All the data in those files are big-endian, except where mentioned. | All the data in those files are big-endian, except where mentioned. | ||
+ | All the offsets are absolute (from begining of file), except where mentioned. | ||
+ | All the sizes are in bytes, except where mentioned. | ||
=== BRSTM header === | === BRSTM header === | ||
Line 25: | Line 27: | ||
| 4 | | 4 | ||
| Size of the whole file | | Size of the whole file | ||
+ | |- | ||
+ | | 0x000C | ||
+ | | 4 | ||
+ | | Unknown | ||
+ | |- | ||
+ | | 0x0010 | ||
+ | | 4 | ||
+ | | Offset to HEAD chunk | ||
+ | |- | ||
+ | | 0x0014 | ||
+ | | 4 | ||
+ | | Size of HEAD chunk | ||
+ | |- | ||
+ | | 0x0018 | ||
+ | | 4 | ||
+ | | Offset to ADPC chunk | ||
+ | |- | ||
+ | | 0x001C | ||
+ | | 4 | ||
+ | | Size of ADPC chunk | ||
+ | |- | ||
+ | | 0x0020 | ||
+ | | 4 | ||
+ | | Offset to DATA chunk | ||
+ | |- | ||
+ | | 0x0024 | ||
+ | | 4 | ||
+ | | Size of DATA chunk | ||
+ | |- | ||
+ | | 0x0028 | ||
+ | | 24 | ||
+ | | Unknown/Padding (zero) | ||
|} | |} |
Revision as of 18:51, 17 September 2009
BRSTM files store sound data. They're used in Mario Kart Wii and possibly other games.
They contain an header, followed by a HEAD chunk, a ADPC chunk and a DATA chunk. All the data in those files are big-endian, except where mentioned. All the offsets are absolute (from begining of file), except where mentioned. All the sizes are in bytes, except where mentioned.
BRSTM header
The header is 64 bytes long.
Offset | Size | Description |
---|---|---|
0x0000 | 4 | "RSTM" (0x5253544D) |
0x0004 | 4 | Magic (0xFEFF0100) |
0x0008 | 4 | Size of the whole file |
0x000C | 4 | Unknown |
0x0010 | 4 | Offset to HEAD chunk |
0x0014 | 4 | Size of HEAD chunk |
0x0018 | 4 | Offset to ADPC chunk |
0x001C | 4 | Size of ADPC chunk |
0x0020 | 4 | Offset to DATA chunk |
0x0024 | 4 | Size of DATA chunk |
0x0028 | 24 | Unknown/Padding (zero) |