Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Format: CGList Data

Robert Jordan edited this page Oct 7, 2021 · 2 revisions

Format: CGList Data

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.

File Structure

Immediately start by reading a CGTable structure.

Data Type Value Description
CGTable[>] Tables List of CG tables

CGTable

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

CGFrame

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)

Clone this wiki locally

AltStyle によって変換されたページ (->オリジナル) /