CGFX: Difference between revisions
Created page with "CGFX is a container format used to store graphics resources. It can contain 3D models, textures and animation data. == CMDL Header == {| class="wikitable" |- ! Offset ! Length ..." |
No edit summary |
||
| Line 1: | Line 1: | ||
CGFX is a container format used to store graphics resources. It can contain 3D models, textures and animation data. | CGFX is a container format used to store graphics resources. It can contain 3D models, textures and animation data. | ||
== DICT == | |||
DICTs are generic structures used to store values (and associate them to a key ?). A DICT header is 0x1C bytes long. | |||
DICT header : | |||
{| class="wikitable" | |||
|- | |||
! Offset | |||
! Length | |||
! Description | |||
|- | |||
| 0x0 | |||
| 0x4 | |||
| Magic "DICT" | |||
|- | |||
| 0x8 | |||
| 0x4 | |||
| DICT size | |||
|- | |||
| 0xC | |||
| 0x4 | |||
| Number of entries | |||
|} | |||
DICT entry: | |||
{| class="wikitable" | |||
|- | |||
! Offset | |||
! Length | |||
! Description | |||
|- | |||
| 0x0 | |||
| 0x4 | |||
| ? | |||
|- | |||
| 0x4 | |||
| 0x4 | |||
| ? | |||
|- | |||
| 0x8 | |||
| 0x4 | |||
| Value (often offsets) | |||
|- | |||
| 0xC | |||
| 0x4 | |||
| ? | |||
|} | |||
== CMDL Header == | == CMDL Header == | ||