PCK

NameSize (per element)Description
PCK Type(int32)0x4indicates PCK Format
Look-Up Tablevariablea list of all possible tags a file can have
File Entriesvariablean index of all files within the PCK, contains size, type, and filename
File Contentsvariableall files within the PCK, includes file tags

It is worth noting that aside from the main lineup(PS3, WiiU, and Xbox360) all other consoles are Endian Swapped.

lookupTable

NameSize (per element)Description
Count(int32)0x4Amount of tags in the table

(repeated per count)

NameSize (per element)Description
Index(int32)0x4numerical position within the table.
Valuevariablea string(int16 indicates length, then Little endian Unicode string of specified length) indicating tag name

Entries

NameSize (per element)Description
Count(int32)0x4Amount of entries in the index

(repeated per count)

NameSize (per element)Description
File Size(int32)0x4indicates size in bytes of a file
File type(int32)0x4indicates type of file(Skin file, cape file, models, colours, etc)
File Namevariablea string(int16 indicates length, then Little endian Unicode string of specified length) indicating file name

Contents

NameSize (per element)Description
Count(int32)0x4Amount of entries in the tag index
Tagsvariablethe tags and values of the file
Datavariablebyte data of a file, size is the same as the applicable File Size value in Entries

(repeated per count)

NameSize (per element)Description
tag key(int32)0x4indicates key by index
File Namevariablea string(int16 indicates length, then Little endian Unicode string of specified length) indicating value of tag

File Types

IDFile TypeExtension
0Skindlcskin********.png(*any unigue 8 digit ID)
1Capedlccape********.png(*any unique 8 digit ID)
2Texture*.png
3UI Data*.fui
4Info'0'
5Texture Pack Info(x16/x32/x64)Info.pck
6Localisation(languages/Localisation).loc
7Game RulesGameRules.grf
8Audioaudio.pck
9Color Tablecolors.col
10Game Rules HeaderGameRules.grh
11Skin DataSkins.pck
12Modelsmodels.bin
13Behavioursbehaviours.bin
14MaterialentityMaterials.bin