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 |
||
| (11 intermediate revisions by the same user not shown) | |||
| 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> | ||
| Line 23: | Line 38: | ||
=== Notes and Comments === | === Notes and Comments === | ||
* Files may be compressed with '''ZLIB'''. | |||
=== Games === | === Games === | ||
| Line 31: | Line 46: | ||
=== QuickBMS Script === | === QuickBMS Script === | ||
* [https://github.com/bartlomiejduda/Tools/blob/master/NEW%20Tools/Eldritch/Eldritch_CPK_script.bms Eldritch_CPK_script.bms] | |||
=== Compatible Programs === | === Compatible Programs === | ||
* [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> | ||
| Line 41: | Line 57: | ||
[[Category:Complete Complete|Eldritch CPK]] | [[Category:Complete Complete|Eldritch CPK]] | ||
[[Category:Platform PC|Eldritch CPK]] | [[Category:Platform PC|Eldritch CPK]] | ||
[[Category:CE | [[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: | [[Category:ZLIB compression]] | ||
[[Category:File Format]] | [[Category:File Format]] | ||
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