THORHeader

Holds information that is present in all THOR files.

Members

Variables

containerMode
ContainerMode containerMode;

Defines the way files are stored inside the THOR container. Important: This also defines the header size!

filecount
uint filecount;

The number of files in the THOR container.

filetableCompressedSize
int filetableCompressedSize;

The compressed size of the filetable. Value is 0 if containerMode is ContainerMode.single.

filetableOffset
int filetableOffset;

The offset of the filetable. Value is 0 if containerMode is ContainerMode.single.

grfTargetName
string grfTargetName;

* Contains the name of the grf file to write to/merge with * if the mergeMode is MergeMode.grf

mergeMode
MergeMode mergeMode;

Defines where the files from the THOR container should be saved to/merged with.

signature
ubyte[24] signature;

"ASSF (C) 2007 Aeomin DEV"

ver
uint ver;

Version, will always be 0x01 because the THOR format doesn't actually store any versioning

Meta