pak file spec (by tma, last updated 2nd December 2007) header ====== offset length description 0x00 DWORD file type (e.g. ".qb", "LAST", etc) 0x04 DWORD file offset from start of this header 0x08 DWORD file length in bytes 0x0C DWORD CRC32 of file name + path stored in pak (0 if not stored), including missing characters at start (ie: if the pak has "cripts\blah" then the CRC will include the leading "s" of "scripts"). 0x10 DWORD CRC32 of full filename from dbg file (0 if name stored in pak) 0x14 DWORD CRC32 of truncated filename (no path, no extension) 0x18 DWORD unknown (always zero?) 0x1C DWORD flags (00000020 = filename in pak, I've also seen 00000022) 0x20 0xA0 (optional) zero padded path and filename string, sometimes missing first letter of filename.