Line 1:
Line 1:
−
BRSTM files store sound data. They're used in Mario Kart Wii and possibly other games.
+
BRSTM files contain ADPCM 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.
They contain an header, followed by a HEAD chunk, a ADPC chunk and a DATA chunk.
Line 60:
Line 60:
| Unknown/Padding (zero)
| Unknown/Padding (zero)
|}
|}
+
+
=== HEAD chunk ===
+
+
The head chunk is typically 256 bytes long.
+
It contains what looks like the ADPCM table and YN1/YN2, twice, probably once for the first part
+
and once for the last (looping) part.
+
It also contains some other unknown stuff.
+
+
=== ADPC chunk ===
+
+
The ADPC chunk is typically 1216 bytes long.
+
It seems to contain some other ADPCM table.
+
+
=== DATA chunk ===
+
+
The DATA chunk contains ADPCM sound data.