#defines



MAX_MPQ_PATH



#define MAX_MPQ_PATH 260

This defines the maximum length in bytes of MPQ file paths. Note that MPQS use regular ANSI C strings.


MPQAddCompressor



#define MPQAddCompressor @"Compressor"

Key for the compressor inside file addition parameters dictionaries. Note that this will override the default compressor for that specific file only.


MPQAddFlags



#define MPQAddFlags @"Flags"

Key for the file flags inside file addition parameters dictionaries.


MPQAddLocale



#define MPQAddLocale @"Locale"

Key for the file locale inside file addition parameters dictionaries.


MPQAddQuality



#define MPQAddQuality @"Quality"

Key for the compression quality inside file addition parameters dictionaries. Note that for DCL compression, this will determine if WAV-Huffman compression or regular DCL compression is used. Default is regular DCL compression.


MPQArchiveLength



#define MPQArchiveLength @"Length"

Key for the archive length inside archive information dictionaries.


MPQArchiveOffset



#define MPQArchiveOffset @"Offset"

Key for the archive offset inside archive information dictionaries.


MPQArchivePath



#define MPQArchivePath @"Path"

Key for the archive path inside archive information dictionaries.


MPQBlockSize



#define MPQBlockSize @"BlockSize"

Key for the archive block size inside archive information dictionaries.


MPQFileCRC



#define MPQFileCRC @"CRC"

Key for the file CRC inside file information dictionaries.


MPQFileCompressedLength



#define MPQFileCompressedLength @"CompressedLength"

Key for compressed file length inside file information dictionaries.


MPQFileCreationDate



#define MPQFileCreationDate @"CreationDate"

Key for the file creation date inside file information dictionaries.


MPQFileFlags



#define MPQFileFlags @"Flags"

Key for the file flags inside file information dictionaries.


MPQFileHashA



#define MPQFileHashA @"HashA"

Key for the file hash A inside file information dictionaries.


MPQFileHashB



#define MPQFileHashB @"HashB"

Key for the file hash B inside file information dictionaries.


MPQFileHashPosition



#define MPQFileHashPosition @"Position"

Key for the file hash position inside file information dictionaries.


MPQFileLength



#define MPQFileLength @"Length"

Key for the uncompressed file length inside file information dictionaries.


MPQFileLocale



#define MPQFileLocale @"Locale"

Key for the file locale inside file information dictionaries.


MPQFileMD5



#define MPQFileMD5 @"MD5Sum"

Key for the file MD5 sum inside file information dictionaries.


MPQFileName



#define MPQFileName @"Name"

Key for the file MPQ path inside file information dictionaries.


MPQMaximumNumberOfFiles



#define MPQMaximumNumberOfFiles @"MaxNumFiles"

Key for the maximum number of files inside archive information dictionaries.


MPQNumberOfFiles



#define MPQNumberOfFiles @"NumFiles"

Key for the number of used and delete files inside archive information dictionaries.


MPQNumberOfUsedFiles



#define MPQNumberOfUsedFiles @"NumUsedFiles"

Key for the number of used files inside archive information dictionaries.

(Last Updated 5/8/2004)