add sample data for CPK archives
This commit is contained in:
parent
d1663084e9
commit
74f1ddca7a
BIN
FileSystem/CPKDataFormat/sample_data.cpk
Normal file
BIN
FileSystem/CPKDataFormat/sample_data.cpk
Normal file
Binary file not shown.
19
FileSystem/CPKDataFormat/sample_data.cpk.txt
Normal file
19
FileSystem/CPKDataFormat/sample_data.cpk.txt
Normal file
@ -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
|
||||
BIN
FileSystem/CPKDataFormat/sample_data_uncompressed_masked.cpk
Normal file
BIN
FileSystem/CPKDataFormat/sample_data_uncompressed_masked.cpk
Normal file
Binary file not shown.
BIN
FileSystem/CPKDataFormat/sample_data_uncompressed_unmasked.cpk
Normal file
BIN
FileSystem/CPKDataFormat/sample_data_uncompressed_unmasked.cpk
Normal file
Binary file not shown.
Binary file not shown.
@ -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 */
|
||||
Loading…
x
Reference in New Issue
Block a user