diff --git a/FileSystem/CPKDataFormat/sample_data.cpk b/FileSystem/CPKDataFormat/sample_data.cpk new file mode 100644 index 0000000..a73390d Binary files /dev/null and b/FileSystem/CPKDataFormat/sample_data.cpk differ diff --git a/FileSystem/CPKDataFormat/sample_data.cpk.txt b/FileSystem/CPKDataFormat/sample_data.cpk.txt new file mode 100644 index 0000000..eab5f2e --- /dev/null +++ b/FileSystem/CPKDataFormat/sample_data.cpk.txt @@ -0,0 +1,19 @@ +CPK Filename:sample_data.cpk +File format version:Ver.7, Rev.14 +Data alignment:512 +Content files:5 +Compressed files:4 +Content file size:203,032 +Compressed file size:144,256 (71.05%) +Enable Filename info.:True (376 + 0 bytes) [Sorted] +Enable ID info.:False +Enable Group info.:False +Enable GInfo Table:False +Enable CRC32 info.:False +Enable CheckSum64 info.:False +Compression Mode:Layla Standard Compression +Work size to bind CPK:5,301 bytes +Tool version:CPKMG2.40.13, DLL3.24.00 + + +Elapsed Time : 0:00:01 \ No newline at end of file diff --git a/FileSystem/CPKDataFormat/sample_data_uncompressed_masked.cpk b/FileSystem/CPKDataFormat/sample_data_uncompressed_masked.cpk new file mode 100644 index 0000000..8ddeb89 Binary files /dev/null and b/FileSystem/CPKDataFormat/sample_data_uncompressed_masked.cpk differ diff --git a/FileSystem/CPKDataFormat/sample_data_uncompressed_unmasked.cpk b/FileSystem/CPKDataFormat/sample_data_uncompressed_unmasked.cpk new file mode 100644 index 0000000..af259a1 Binary files /dev/null and b/FileSystem/CPKDataFormat/sample_data_uncompressed_unmasked.cpk differ diff --git a/FileSystem/CPKDataFormat/sample_data_uncompressed_unmasked_idfn.cpk b/FileSystem/CPKDataFormat/sample_data_uncompressed_unmasked_idfn.cpk new file mode 100644 index 0000000..43082c3 Binary files /dev/null and b/FileSystem/CPKDataFormat/sample_data_uncompressed_unmasked_idfn.cpk differ diff --git a/FileSystem/CPKDataFormat/sample_data_uncompressed_unmasked_idfn_header.h b/FileSystem/CPKDataFormat/sample_data_uncompressed_unmasked_idfn_header.h new file mode 100644 index 0000000..bf9a984 --- /dev/null +++ b/FileSystem/CPKDataFormat/sample_data_uncompressed_unmasked_idfn_header.h @@ -0,0 +1,75 @@ +/*===========================================================================* + * Contents file Information header + * CPK Filename : C:\Users\Mike Becker\Desktop\CRITools\samples\MakeCpk_xls\sample_data_uncompressed_unmasked_idfn_header.cpk + * File Size : 208,648 bytes + * Date Time : 6/12/2024 9:42 PM + * File Mode : ID Only + *===========================================================================*/ + +#ifndef CPK_DISABLE_COMMON_DEFINITION ///////////////////////////////////////// + +/* Information size of the CPK file */ +#ifndef CPK_ITOC_INFO_SIZE +#define CPK_ITOC_INFO_SIZE (136) +#endif +#ifndef CPK_TOTAL_INFO_SIZE +#define CPK_TOTAL_INFO_SIZE (136) +#endif +#ifndef CPK_TOTAL_INFO_SIZE_ALIGNED +#define CPK_TOTAL_INFO_SIZE_ALIGNED (512) +#endif + +/* Information size of the CPK file (Unique) */ +#define SAMPLE_DATA_UNCOMPRESSED_UNMASKED_IDFN_HEADER_CPK_ITOC_INFO_SIZE (136) +#define SAMPLE_DATA_UNCOMPRESSED_UNMASKED_IDFN_HEADER_CPK_TOTAL_INFO_SIZE (136) +#define SAMPLE_DATA_UNCOMPRESSED_UNMASKED_IDFN_HEADER_CPK_TOTAL_INFO_SIZE_ALIGNED (512) + +/* CPK file information */ +#ifndef CPK_FILENAME +#define CPK_FILENAME "sample_data_uncompressed_unmasked_idfn_header.cpk" +#endif + +/* Number of contents */ +#ifndef NUM_CONTENS +#define NUM_CONTENS (5) +#endif + +/* CPK file information (Unique) */ +#define SAMPLE_DATA_UNCOMPRESSED_UNMASKED_IDFN_HEADER_CPK_FILENAME "sample_data_uncompressed_unmasked_idfn_header.cpk" + +/* Number of contents (Unique) */ +#define SAMPLE_DATA_UNCOMPRESSED_UNMASKED_IDFN_HEADER_NUM_CONTENS (5) + +/* Content ID definitions */ +#define FOLDER1_DATA1_BMP (0) // folder1/data1.bmp +#define FOLDER1_DATA2_BMP (1) // folder1/data2.bmp +#define FOLDER2_DATA3_BMP (2) // folder2/data3.bmp +#define FOLDER2_DATA4_BMP (3) // folder2/data4.bmp +#define FOLDER2_VOICE1_AHX (4) // folder2/voice1.ahx + +#endif // end of CPK_DISABLE_COMMON_DEFINITION + + +#ifndef CPK_DISABLE_UNIQUE_DEFINITION ///////////////////////////////////////// + +/* CPK file information */ +#ifndef SAMPLE_DATA_UNCOMPRESSED_UNMASKED_IDFN_HEADER_CPK_FILENAME +#define SAMPLE_DATA_UNCOMPRESSED_UNMASKED_IDFN_HEADER_CPK_FILENAME "sample_data_uncompressed_unmasked_idfn_header.cpk" +#endif + +/* Number of contents */ +#ifndef SAMPLE_DATA_UNCOMPRESSED_UNMASKED_IDFN_HEADER_NUM_CONTENS +#define SAMPLE_DATA_UNCOMPRESSED_UNMASKED_IDFN_HEADER_NUM_CONTENS (5) +#endif + +/* Content ID definitions */ +#define SAMPLE_DATA_UNCOMPRESSED_UNMASKED_IDFN_HEADER_FOLDER1_DATA1_BMP (0) // folder1/data1.bmp +#define SAMPLE_DATA_UNCOMPRESSED_UNMASKED_IDFN_HEADER_FOLDER1_DATA2_BMP (1) // folder1/data2.bmp +#define SAMPLE_DATA_UNCOMPRESSED_UNMASKED_IDFN_HEADER_FOLDER2_DATA3_BMP (2) // folder2/data3.bmp +#define SAMPLE_DATA_UNCOMPRESSED_UNMASKED_IDFN_HEADER_FOLDER2_DATA4_BMP (3) // folder2/data4.bmp +#define SAMPLE_DATA_UNCOMPRESSED_UNMASKED_IDFN_HEADER_FOLDER2_VOICE1_AHX (4) // folder2/voice1.ahx + +#endif // end of CPK_DISABLE_UNIQUE_DEFINITION + + +/* end of file */