-
Notifications
You must be signed in to change notification settings - Fork 9
Format: CGList Data
Robert Jordan edited this page Oct 7, 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 table 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 CGTable structure.
Data Type | Value | Description |
---|---|---|
CGTable[>] | Tables | List of CG tables |
Repeat until there are no more tables after the last-read one, (when table.OffsetNext == 0
).
Data Type | Value | Description |
---|---|---|
uint32 |
OffsetNext | Relative offset to the next table (0 if no more) |
uint32 |
Number | Table number (e.g. @0 , @1 , ...), not necessarily an index |
uint32 |
FrameCount | Number of CG frames (thumbnails) for this table |
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 table (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 ) |