Eldritch CPK: Difference between revisions
Jump to navigation
Jump to search
imported>Ikskoks (Created page with "{{GRAFPageHeader}} == CPK == * ''' Format Type ''': Archive <br> * ''' [http://en.wikipedia.org/wiki/Endianness Endian Order] ''': Little Endian <br> * ''' Signature '''...") |
imported>Ikskoks |
||
| Line 17: | Line 17: | ||
4 bytes (uint32) - total data size | 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 | |||
} | |||
</pre> | </pre> | ||
</div> | </div> | ||
Revision as of 11:45, 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
None.
Games
List of games using this file format:
- Eldritch (PC) (*.CPK)
QuickBMS Script
Not written yet.
Compatible Programs