add sample data for CPK archives

This commit is contained in:
Michael Becker 2024-06-13 09:58:17 -04:00
parent d1663084e9
commit 74f1ddca7a
6 changed files with 94 additions and 0 deletions

Binary file not shown.

View File

@ -0,0 +1,19 @@
CPK Filenamesample_data.cpk
File format versionVer.7, Rev.14
Data alignment512
Content files5
Compressed files4
Content file size203,032
Compressed file size144,256 (71.05%)
Enable Filename info.True (376 + 0 bytes) [Sorted]
Enable ID info.False
Enable Group info.False
Enable GInfo TableFalse
Enable CRC32 info.False
Enable CheckSum64 info.False
Compression ModeLayla Standard Compression
Work size to bind CPK5,301 bytes
Tool versionCPKMG2.40.13, DLL3.24.00
Elapsed Time : 0:00:01

View File

@ -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 */