-
Notifications
You must be signed in to change notification settings - Fork 8
PAK File Format
Yannik Marchand edited this page Apr 27, 2023
·
6 revisions
DKC:TF > Archive (PAK)
Type | Description |
---|---|
CFormDescriptor | PACK form |
Type | Description |
---|---|
CFormDescriptor | TOCC form (table of contents) |
Type | Description |
---|---|
CChunkDescriptor | ADIR chunk (asset directory) |
CChunkDescriptor | META chunk (meta files) |
CChunkDescriptor | STRG chunk (filenames) |
Type | Description |
---|---|
List<CPakFile::SAssetDirectoryEntry> | Entries |
Type | Description |
---|---|
CFourCC | File type |
CObjectId | File id |
Uint64 | File offset |
Uint64 | File size |
Some file types have a metadata file. These are stored in this chunk with the same file id as their main file.
Type | Description |
---|---|
List<CPakFile::SMetaDataOffsetEntry> | Entries |
Type | Description |
---|---|
CObjectId | File id |
Uint32 | File offset |
This chunk contains filenames. Most files in the archive are referenced by object id and don't have a filename however.
Type | Description |
---|---|
List<IResourceCollection::CNameTagEntry> |
Type | Description |
---|---|
CObjectTag | Object tag |
CString | Filename |