-
Notifications
You must be signed in to change notification settings - Fork 9
Format: CGList Data
Robert Jordan edited this page Oct 4, 2021
·
2 revisions
Similar to the ZT Package format, CGList.dat files contain no extra header information.
This file is compiled using the tool MakeCGList.exe, which takes a file input that's similar in format to .ini configuration files.
A mode is denoted with the line: @<number> and acts as a higher-level section that may contain many frame [name] sub-sections.
Immediately start by reading a CGMode structure.
| Data Type | Value | Description |
|---|---|---|
| CGMode[>] | Modes | List of CG modes |
Repeat until there are no more modes after the last-read one, (when mode.OffsetNext == 0).
| Data Type | Value | Description |
|---|---|---|
uint32 |
OffsetNext | Relative offset to the next mode (0 if no more) |
uint32 |
Number | Mode number (e.g. @0, @1, ...), not necessarily an index |
uint32 |
FrameCount | Number of CG frames (thumbnails) for this mode |
| CGFrame[>] | Frames | List of CG frame groups |
Repeat until there are no more frames after the last-read one, (when frame.OffsetNext == 0).
| Data Type | Value | Description |
|---|---|---|
uint32 |
OffsetNext | Relative offset to the next frame in the mode (0 if no more) |
char[64] |
Name | Frame name, possibly corresponds to thumbnail file |
uint32 |
FileCount | Number of file specifications for this frame |
char[64][FileCount] |
Files | List of file specifications, which may use plural format (e.g. ea01,2,0,1) |