MAX_EXTENDED_HASH_TABLE_LENGTH |
#define MAX_EXTENDED_HASH_TABLE_LENGTH 0x100000
Maximum size for a version 1 archive's hash table. Thus, the maximum number of files a version 1 MPQ archive can store.
MAX_HASH_TABLE_LENGTH |
#define MAX_HASH_TABLE_LENGTH 0x10000
Maximum size for a version 0 archive's hash table. Thus, the maximum number of files a version 0 MPQ archive can store.
MIN_HASH_TABLE_LENGTH |
#define MIN_HASH_TABLE_LENGTH 0x10
Minimum size for an archive's hash table. Thus, the minimum number of files an archive MPQ archive can store.
MPQ_MAX_PATH |
#define MPQ_MAX_PATH 260
This defines the maximum length in bytes of MPQ file paths. Note that MPQs use regular ANSI C strings.
MPQArchiveLength |
- MPQArchiveSize
#define MPQArchiveSize @"MPQArchiveSize"
Key for the archive size inside archive information dictionaries.
The value of this key will be an NSNumber object.
MPQArchiveOffset |
#define MPQArchiveOffset @"MPQArchiveOffset"
Key for the archive offset inside archive information dictionaries.
Also used in initWithAttributes:error: to indicate the starting offset of a new archive.
The value of this key will be an NSNumber object.
MPQArchivePath |
#define MPQArchivePath @"MPQArchivePath"
Key for the archive path inside archive information dictionaries.
Also used in initWithAttributes:error: to indicate the location of an existing archive.
The value of this key will be an NSString object.
MPQArchiveSize |
- MPQArchiveLength
#define MPQArchiveSize @"MPQArchiveSize"
Key for the archive size inside archive information dictionaries.
The value of this key will be an NSNumber object.
MPQArchiveVersion |
#define MPQArchiveVersion @"MPQArchiveVersion"
Key for the archive version inside archive information dictionaries.
Also used in initWithAttributes:error: to indicate the version of a new archive.
NSNumber objects are expected as the value of this key.
MPQCompressionQuality |
#define MPQCompressionQuality @"MPQCompressionQuality"
Key for the compression quality inside file addition parameters dictionaries.
Default values are listed for each compressor in the MPQCompressor enum page.
NSNumber objects are expected as the value of this key.
MPQCompressor |
#define MPQCompressor @"MPQCompressor"
Key for the compressor inside file addition parameters dictionaries. Note that
this will override the default compressor for that specific file only. See the
MPQCompressorFlag enum page for valid values.
NSNumber objects are expected as the value of this key.
MPQFileArchiveSize |
#define MPQFileArchiveSize @"MPQFileArchiveSize"
Key for the length occupied by the file in the archive inside file information dictionaries.
The value of this key will be an NSNumber object.
MPQFileCanOpenWithoutFilename |
#define MPQFileCanOpenWithoutFilename @"MPQFileCanOpenWithoutFilename"
Boolean key which can be checked to know if a file can be opened without knowing its filename.
A file may not be opened if it is encrypted and its name is not known.
The value of this key will be an NSNumber object.
MPQFileFlags |
#define MPQFileFlags @"MPQFileFlags"
Key for the file flags inside file information dictionaries. Also used in file addition parameters dictionnaries.
See the MPQFileFlag enum page for documentation on valid flags.
NSNumber objects are expected as the value of this key.
MPQFileHashA |
#define MPQFileHashA @"MPQFileHashA"
Key for the file hash A inside file information dictionaries.
The value of this key will be an NSNumber object.
MPQFileHashB |
#define MPQFileHashB @"MPQFileHashB"
Key for the file hash B inside file information dictionaries.
The value of this key will be an NSNumber object.
MPQFileHashPosition |
#define MPQFileHashPosition @"MPQFileHashPosition"
Key for the file hash position inside file information dictionaries.
The value of this key will be an NSNumber object.
MPQFileLocale |
#define MPQFileLocale @"MPQFileLocale"
Key for the file locale inside file information dictionaries. Also used in file addition parameters dictionnaries.
See the MPQLocale enum page for documentation on valid locales.
NSNumber objects are expected as the value of this key.
MPQFilename |
#define MPQFilename @"MPQFilename"
Key for the file MPQ path inside file information dictionaries.
The value of this key will be an NSString object.
MPQFileSize |
#define MPQFileSize @"MPQFileSize"
Key for the file length inside file information dictionaries.
The value of this key will be an NSNumber object.
MPQMaximumNumberOfFiles |
#define MPQMaximumNumberOfFiles @"MPQMaximumNumberOfFiles"
Key for the maximum number of files inside archive information dictionaries.
Also used in initWithAttributes:error: to indicate the capacity of a new archive.
The value of this key will be an NSNumber object.
MPQNumberOfFiles |
#define MPQNumberOfFiles @"MPQNumberOfFiles"
Key for the number of normal and delete files inside archive information dictionaries.
The value of this key will be an NSNumber object.
MPQNumberOfNormalFiles |
#define MPQNumberOfNormalFiles @"MPQNumberOfNormalFiles"
Key for the number of normal files inside archive information dictionaries.
The value of this key will be an NSNumber object.
MPQOverwrite |
#define MPQOverwrite @"MPQOverwrite"
Key to indicate if an exiting file should be deleted
inside file addition parameters dictionaries.
NSNumber objects are expected as the value of this key.
MPQSectorSizeShift |
#define MPQSectorSizeShift @"MPQSectorSizeShift"
Key for the archive sector size binary shift inside archive information dictionaries.
The value of this key will be an NSNumber object.
(Last Updated April 02, 2007)