Eldritch CPK: Difference between revisions
Jump to navigation
Jump to search
imported>Ikskoks |
imported>Ikskoks |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 51: | Line 51: | ||
* [https://github.com/MinorKeyGames/Eldritch/blob/master/Code/Tools/FilePacker/src/filepacker.cpp Eldritch File Packer] | * [https://github.com/MinorKeyGames/Eldritch/blob/master/Code/Tools/FilePacker/src/filepacker.cpp Eldritch File Packer] | ||
* [https://drive.google.com/file/d/1DMz1bRTJ7nS_7ueeDBbAjxyuL8tnVxDB/view?usp=sharing Eldritch Tools] | |||
<br/><br> | <br/><br> | ||
Latest revision as of 14:09, 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