Changes

120 bytes added ,  05:48, 2 August 2016
Line 209: Line 209:  
==== HEAD chunk part 2 ====
 
==== HEAD chunk part 2 ====
   βˆ’
There are at least 2 known types of this part:
+
===== Header =====
βˆ’
 
   
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
βˆ’
! Type
+
! Offset
βˆ’
! Marker
+
! Size
 
! Description
 
! Description
 
|-
 
|-
 +
| 0x0000
 
| 1
 
| 1
βˆ’
| 0x01000000
+
| Number of tracks
βˆ’
| Used in Super Smash Bros. Brawl
+
|-
 +
| 0x0001
 +
| 1
 +
| Track Description Type
 
|-
 
|-
 +
| 0x0002
 
| 2
 
| 2
βˆ’
| 0x01010000
+
| Padding? (0x00)
βˆ’
| Used in other games.
   
|}
 
|}
   βˆ’
===== Header =====
+
===== Offset table =====
 +
The header contains one of this structure for each track
 
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
Line 234: Line 238:  
|-
 
|-
 
| 0x0000
 
| 0x0000
 +
| 1
 +
| 0x01
 +
|-
 +
| 0x0001
 +
| 1
 +
| Track description type
 +
|-
 +
| 0x0002
 +
| 2
 +
| Padding? (0x00)
 +
|-
 +
| 0x0004
 
| 4
 
| 4
βˆ’
| Marker
+
| Offset to track description
 
|}
 
|}
   βˆ’
===== Offset table =====
+
===== Track Descriptions =====
βˆ’
The file contains one of this structure for each track
+
There are at least 2 known types of track descriptions:
 +
 
 
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
βˆ’
! Offset
+
! Type
βˆ’
! Size
   
! Description
 
! Description
 
|-
 
|-
βˆ’
| 0x0000
+
| 0
βˆ’
| 4
+
| Used in Super Smash Bros. Brawl
βˆ’
| Marker
   
|-
 
|-
βˆ’
| 0x0004
+
| 1
βˆ’
| 4
+
| Used in other games.
βˆ’
| Offset to track description
   
|}
 
|}
   βˆ’
===== Track Description Type 1 =====
+
The header contains one track description for each track
βˆ’
The file contains one of this structure for each track
+
 
 +
====== Track Description Type 0 ======
 
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
Line 280: Line 295:  
|}
 
|}
   βˆ’
===== Track Description Type 2 =====
+
====== Track Description Type 1 ======
βˆ’
The file contains one of this structure for each track
   
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
Line 340: Line 354:     
===== Offset table =====
 
===== Offset table =====
βˆ’
The file contains one of this structure for each channel
+
The header contains one of this structure for each channel
 
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
Line 357: Line 371:     
===== ADPCM Channel Information =====
 
===== ADPCM Channel Information =====
βˆ’
The file contains one of this structure for each channel.
+
The header contains one of this structure for each channel.
 
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-