Line 3:
Line 3:
They contain a header, followed by a HEAD chunk, an ADPC chunk and a DATA chunk.<br/>
They contain a header, followed by a HEAD chunk, an ADPC chunk and a DATA chunk.<br/>
All the data in those files are big-endian, except where mentioned.<br/>
All the data in those files are big-endian, except where mentioned.<br/>
−
All the offsets are absolute (from begining of file), except where mentioned.<br/>
+
All the offsets are absolute (from beginning of file), except where mentioned.<br/>
All the sizes are in bytes, except where mentioned.<br/>
All the sizes are in bytes, except where mentioned.<br/>
Line 84:
Line 84:
Any offsets in the HEAD chunk are relative to offset 0x08 in the HEAD chunk unless otherwise noted.
Any offsets in the HEAD chunk are relative to offset 0x08 in the HEAD chunk unless otherwise noted.
−
+
==== Header ====
−
====Header====
{| class="wikitable"
{| class="wikitable"
|-
|-
Line 125:
Line 124:
|}
|}
−
+
==== HEAD chunk part 1 ====
−
====HEAD chunk part 1====
This part is 0x34 bytes long
This part is 0x34 bytes long
{| class="wikitable"
{| class="wikitable"
Line 209:
Line 207:
|}
|}
−
+
==== HEAD chunk part 2 ====
−
====HEAD chunk part 2====
There are at least 2 known types of this part:
There are at least 2 known types of this part:
Line 229:
Line 226:
|}
|}
−
=====Header=====
+
===== Header =====
{| class="wikitable"
{| class="wikitable"
|-
|-
Line 241:
Line 238:
|}
|}
−
=====Offset table=====
+
===== Offset table =====
The file contains one of this structure for each track
The file contains one of this structure for each track
{| class="wikitable"
{| class="wikitable"
Line 258:
Line 255:
|}
|}
−
=====Track Description Type 1=====
+
===== Track Description Type 1 =====
The file contains one of this structure for each track
The file contains one of this structure for each track
{| class="wikitable"
{| class="wikitable"
Line 283:
Line 280:
|}
|}
−
=====Track Description Type 2=====
+
===== Track Description Type 2 =====
The file contains one of this structure for each track
The file contains one of this structure for each track
{| class="wikitable"
{| class="wikitable"
Line 324:
Line 321:
|}
|}
+
==== HEAD chunk part 3 ====
−
====HEAD chunk part 3====
+
===== Header =====
−
−
=====Header=====
{| class="wikitable"
{| class="wikitable"
|-
|-
Line 343:
Line 339:
|}
|}
−
=====Offset table=====
+
===== Offset table =====
The file contains one of this structure for each channel
The file contains one of this structure for each channel
{| class="wikitable"
{| class="wikitable"
Line 360:
Line 356:
|}
|}
−
=====ADPCM Channel Information=====
+
===== ADPCM Channel Information =====
The file contains one of this structure for each channel.
The file contains one of this structure for each channel.
{| class="wikitable"
{| class="wikitable"