GRFHeader

Holds information that is present in all GRF files.

Members

Variables

encryption
ubyte[15] encryption;

Either [0x00, 0x01, 0x03, ..., 0x0C, 0x0D, 0x0E] => Use Mixcrypt or [0x00, 0x00, 0x00, ..., 0x00, 0x00, 0x00] => Not encrypted

filecount
uint filecount;

actual filecount

filetableOffset
uint filetableOffset;

Offset of the filetable after the header: offset + GRFHeader.sizeof

grfVersion
uint grfVersion;

Version of the GRF. Either 0x102, 0x103 or 0x200.

rawFilecount
uint rawFilecount;

actual filecount = rawFilecount - seed - 7

seed
uint seed;

Unknown

signature
ubyte[15] signature;

"Master of Magic"

Meta