DKC:TF > Archive (PAK)

TypeDescription
CFormDescriptorPACK form

PACK Form

TypeDescription
CFormDescriptorTOCC form (table of contents)

TOCC Form

TypeDescription
CChunkDescriptorADIR chunk (asset directory)
CChunkDescriptorMETA chunk (meta files)
CChunkDescriptorSTRG chunk (filenames)

ADIR Chunk

TypeDescription
List<CPakFile::SAssetDirectoryEntry>Entries

CPakFile::SAssetDirectoryEntry

TypeDescription
CFourCCFile type
CObjectIdFile id
Uint64File offset
Uint64File size

META Chunk

Some file types have a metadata file. These are stored in this chunk with the same file id as their main file.

TypeDescription
List<CPakFile::SMetaDataOffsetEntry>Entries

CPakFile::SMetaDataOffsetEntry

TypeDescription
CObjectIdFile id
Uint32File offset

STRG Chunk

This chunk contains filenames. Most files in the archive are referenced by object id and don't have a filename however.

IResourceCollection::CNameTagEntry

TypeDescription
CObjectTagObject tag
CStringFilename