BRK
BRK files are used in SMG games for changing colors of models, and perhaps more.
Offset | Size | Description
| 0x00 | 8 | J3D1brk1
| 0x08 | 4 | Size of the whole file
| 0x0C | 4 | Number of sections?
| 0x10 | 4 | SVR1
| 0x14 | 12 | Padding (all FF)
|
2. TRK1 section
Offset | Size | Description
| 0x00 | 4 | TRK1
| 0x04 | 4 | Size of the TRK1 section
| 0x08 | 2 | ??? 0x02FF
| 0x0A | 2 | Number of entries in ???
| 0x0C | 2 | Number of entries in block #1
| 0x0E | 2 | ??? zero
| 0x10 | 2 | ??? number of entries in blocks #7, #8
| 0x12 | x | more of the same
|
3. The data
Starts at 0x40
Offset | Size | Description
| 0x00 | 4 | Offset to block #1 (0x1C bytes per entry)
| 0x04 | 4 | Offset to block #2
| 0x08 | 4 | Offset to block #3
| 0x0C | 4 | Offset to block #4
| 0x10 | 4 | Offset to block #5
| 0x14 | 4 | Offset to block #6
| 0x18 | 4 | Offset to block #7 (2 bytes per entry)
| 0x1C | 4 | Offset to block #8 (2 bytes per entry)
| 0x20 | 4 | Offset to block #9
| 0x24 | 4 | Offset to block #10
| 0x28 | 4 | Offset to block #11
| 0x2C | 4 | Offset to block #12
| 0x30 | 4 | Offset to block #13
| 0x34 | 4 | Offset to block #14
| 0x38 | 8 | Padding
| |