Eldritch CPK: Difference between revisions

From XentaxWiki
Jump to navigation Jump to search
imported>Ikskoks
imported>Ikskoks
Line 56: Line 56:
[[Category:Complete Complete|Eldritch CPK]]
[[Category:Complete Complete|Eldritch CPK]]
[[Category:Platform PC|Eldritch CPK]]
[[Category:Platform PC|Eldritch CPK]]
[[Category:CE None|Eldritch CPK]]
[[Category:CE Compressed|Eldritch CPK]]
[[Category:Format_Archive | Type: Archive]]
[[Category:Format_Archive | Type: Archive]]
[[Category:Extension_cpk | Extension: cpk]]
[[Category:Extension_cpk | Extension: cpk]]
[[Category:BMS_None | BMS: None]]
[[Category:BMS_None | BMS: None]]
[[Category:ZLIB compression]]
[[Category:File Format]]
[[Category:File Format]]

Revision as of 13:37, 14 August 2022

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