Relic Chunky files

Relic Chunky files are a binary file structure developed by Relic Entertainment for use in their games. Both Dawn of War and Company of Heroes use Chunky files along with LUA files for game data.

Specifications

 * All Relic Chunkies are binary files.


 * All Relic Chunkies begin with the 11 character string: 'Relic Chunky'.


 * All Relic Chunkies are organised into a tree of chunks.

Chunks

 * Every Chunk is one of two types: Data or Fold.


 * Every Chunk has a 4 character ID.


 * Therefore, every Chunk has an 8 character identifier 4 characters for its type and 4 characters for its ID. (EG: DATAFBIF)