Line 190: |
Line 190: |
| |- | | |- |
| | 0x0 | | | 0x0 |
| + | | 0x4 |
| + | | Flags (bit 7: hasSkeletonSobj) |
| + | |- |
| + | | 0x4 |
| | 0x4 | | | 0x4 |
| | Magic "CMDL" | | | Magic "CMDL" |
Line 195: |
Line 199: |
| | 0x8 | | | 0x8 |
| | 0x4 | | | 0x4 |
− | | CMDL section size (in bytes) | + | | ? |
| |- | | |- |
− | | 0x24 | + | | 0xC |
| | 0x4 | | | 0x4 |
− | | Number of entries in first DICT ? | + | | Offset (self-relative) to model name |
| + | |- |
| + | | 0x10 |
| + | | 0x18 |
| + | | ? |
| |- | | |- |
| | 0x28 | | | 0x28 |
| | 0x4 | | | 0x4 |
− | | Offset (self-relative) to first DICT | + | | Number of entries in Animation Types DICT |
| |- | | |- |
| | 0x2C | | | 0x2C |
| + | | 0x4 |
| + | | Offset (self-relative) to Animation Types DICT |
| + | |- |
| + | | 0x30 |
| | 0xC | | | 0xC |
| | Global scale vector (3 floats : x, y, z) | | | Global scale vector (3 floats : x, y, z) |
| |- | | |- |
− | | 0xB0 | + | | 0x3C |
| + | | 0x18 |
| + | | ? |
| + | |- |
| + | | 0x54 |
| + | | 0x30 |
| + | | Matrix 1 |
| + | |- |
| + | | 0x84 |
| + | | 0x30 |
| + | | Matrix 2 |
| + | |- |
| + | | 0xB4 |
| | 0x4 | | | 0x4 |
− | | N/2, where N is the number of entries in SOBJ list | + | | Number of Vertex Info SOBJ entries |
| |- | | |- |
− | | 0xB4 | + | | 0xB8 |
| | 0x4 | | | 0x4 |
− | | Offset (self-relative) to SOBJ list | + | | Offset (self-relative) to Vertex Info SOBJ list |
| |- | | |- |
| | 0xBC | | | 0xBC |
| + | | 0x4 |
| + | | Number of MTOB DICT entries |
| + | |- |
| + | | 0xC0 |
| | 0x4 | | | 0x4 |
| | Offset (self-relative) to MTOB DICT | | | Offset (self-relative) to MTOB DICT |
| |- | | |- |
− | | 0xB4+[0xB4] | + | | 0xC4 |
− | | 0x4*N*2 | + | | 0x4 |
− | | SOBJ list; each word is an offset (self-relative) to an SOBJ structure | + | | Number of Vertex Info SOBJ entries |
| + | |- |
| + | | 0xC8 |
| + | | 0x4 |
| + | | Offset (self-relative) to Vertex Info SOBJ list |
| + | |- |
| + | | 0xCC |
| + | | 0x4 |
| + | | Number of Unknown DICT entries |
| + | |- |
| + | | 0xD0 |
| + | | 0x4 |
| + | | Offset (self-relative) to Unknown DICT |
| + | |- |
| + | | 0xD4 |
| + | | 0xC |
| + | | ? |
| + | |- |
| + | | 0xE0 |
| + | | 0x4 |
| + | | Skeleton Info SOBJ offset (self-relative) [only present if flag bit 7 is set] |
| + | |- |
| + | | 0xB8+[0xB8] |
| + | | 0x4*N |
| + | | Vertex Info SOBJ self-relative offset list |
| |} | | |} |
| | | |