@@ -32,7 +32,6 @@ as CSTM, CWSD, CSEQ, and CWAV.
3232| 0x34 | 0x4 | Length of main FILE partition |
3333| 0x38 | 0x4 | Reserved for 4th main partition location? |
3434| 0x3C | 0x4 | Reserved for 4th main partition length? |
35- | | | |
3635
3736## Partitions
3837
@@ -52,7 +51,6 @@ STRG contains the names of the audio files in the BCSAR.
5251| 0x14 | 0x4 | This + 8 points to the string lookup table |
5352| 0x18 | 0x4 | Filename count |
5453| 0x1C | 0xC \* count | String offset table |
55- | | | |
5654
5755#### String offset table entry
5856
@@ -61,7 +59,6 @@ STRG contains the names of the audio files in the BCSAR.
6159| 0x0 | 0x4 | Type of the node (should be 0x1F01) |
6260| 0x4 | 0x4 | Offset to data from the end of the STRG header (sizeof 0x18) |
6361| 0x8 | 0x4 | Length of the data buffer (includes NUL terminator) |
64- | | | |
6562
6663Then every filename is rawly setted. You can set up a dictionary that
6764contains, using a simple counter, the size of every filename in order.
@@ -77,7 +74,6 @@ filename in a correct order.
7774| 0x0 | 0x4 | Index of the root entry |
7875| 0x4 | 0x4 | Entry count |
7976| 0x8 | 0x14 \* count | Lookup entry |
80- | | | |
8177
8278##### Entry
8379
@@ -90,7 +86,6 @@ filename in a correct order.
9086| 0xC | 0x4 | String lookup table index (-1 if unused) |
9187| 0x10 | 0x3 | 3-byte Resource ID, Little Endian (-1 if unused) |
9288| 0x13 | 0x1 | Resource type (01=sound, 02=sound list, 03=sound bank, 04=sound player name?, 06=sound group, FF=unused) |
93- | | | |
9489
9590### INFO
9691
@@ -122,7 +117,6 @@ but I'm working on figuring the rest out.
122117| 0x3C | 0x4 | This + 8 points to the FILE Table |
123118| 0x40 | 0x4 | Unknown Table Reference ID (0x220B) |
124119| 0x44 | 0x4 | This + 8 points to unknown |
125- | | | |
126120
127121#### Blocks
128122
@@ -147,7 +141,6 @@ struct:
147141| 0xC | 0x4 | Type of the extended info |
148142| 0x10 | 0x4 | Offset to extended info \* relative to the beginning of this struct\* |
149143| 0x14 | ??? | Unknown... |
150- | | | |
151144
152145##### 0x2204
153146
@@ -161,7 +154,6 @@ struct:
161154| 0x14 | 0x4 | Offset to extended info \* relative to the beginning of this struct\* |
162155| 0x18 | 0x4 | Unknown |
163156| 0x1C | 0x4 | Unknown |
164- | | | |
165157
166158##### 0x2206
167159
@@ -172,7 +164,6 @@ struct:
172164| 0x8 | 0x4 | Offset to extended info \* relative to the beginning of this struct\* |
173165| 0xC | 0x4 | Unknown |
174166| 0x10 | 0x4 | Unknown |
175- | | | |
176167
177168##### Table IDs
178169
@@ -185,7 +176,6 @@ struct:
185176| 0x2208 | Group Table |
186177| 0x2208 | Player Table |
187178| 0x220A | FILE Table |
188- | | |
189179
190180### FILE
191181
0 commit comments