Eldritch CPK

From XentaxWiki
Jump to: navigation, search

Back to index | Edit this page

CPK

  • Format Type : Archive
  • Endian Order : Little Endian
  • Signature : DCPK / KPCD


Format Specifications

// header
4 bytes (char) - signature // "DCPK"
4 bytes (uint32) - total number of files
4 bytes (uint32) - data offset
4 bytes (uint32) - total data size

// file index
number_of_files *
{
   4 bytes (uint32) - filename length
   x bytes (char) - filename  // e.g. "Audio/frog-footstep.wav"
   4 bytes (uint32) - file offset
   4 bytes (uint32) - compressed file size
   4 bytes (uint32) - uncompressed file size
   4 bytes (uint32) - compression flag
}

// data
number_of_files *
{
   x bytes - file data
}

Notes and Comments

  • Files may be compressed with ZLIB.

Games

List of games using this file format:

  • Eldritch (PC) (*.CPK)

QuickBMS Script

Compatible Programs