Инструменты разработчиков Blizzard для работы с MPQ архивами.
mocheck.exe
MOCHECK Archive Verification Utility Version 4.00 Dec 17 2024
Copyright (C) 1996-2001, Blizzard Entertainment. All rights reserved.
Copyright (C) 1996-2001, Blizzard Entertainment. All rights reserved.
Использование
Usage: MOCHECK infile.mpq filespec1 [filespec2...]modump.exe
MODUMP 4.03, Dec 17 2024, Show internal mopaq format.
Copyright (C) 1996-2003, Blizzard Entertainment. All rights reserved.
Copyright (C) 1996-2003, Blizzard Entertainment. All rights reserved.
Shows a mopaq's internal format.
Использование
modump {options} mpq
-dN disassembly mode, N = 0..4
-[h|?] show help
-l <listfile> specify external listfile
-r[+|-] recursive (dumps mopaqs inside mopaqs [default = off]
-s summary mode (and errors)
-x[+|-]{ahbf} show/don't show
(a)rchiveinfo (h)ashtable
(b)locktable (f)iledata
-v verbose outputInternal listfiles are always used
moextract.exe
MOEXTRACT Version 4.01 Dec 17 2024
Copyright (C) 1996-2001, Blizzard Entertainment. All rights reserved.
Copyright (C) 1996-2001, Blizzard Entertainment. All rights reserved.
Использование
Usage:
moextract [options] <infile>[.MPQ] [<listfile>]
-v verify file(s) extracted (if CRCs known)
Note that files using lossy compression will fail,
.WAV files often use lossy compression.Extracts all file from the specified .MPQ to the current directory while preserving their directory tree. The .MPQ must have a listfile.
The default name for the listfile is (listfile). The listfile must have the names of the files in the .MPQ with relative paths specified.
The default name for the listfile is (listfile). The listfile must have the names of the files in the .MPQ with relative paths specified.
mopaq.exe
MOPAQ Archive Create/Update Utility Version 4.20 Dec 17 2024
Copyright (C) 1996-2003, Blizzard Entertainment. All rights reserved.
Copyright (C) 1996-2003, Blizzard Entertainment. All rights reserved.
Использование
Usage:
mopaq [options] <outfile>[.MPQ] [<filespec> [<filespec>...]]
mopaq [options] @cmdfile
-? show this help
-a add files to existing .MPQ archive
-b[+|-] enable/disable datetime attrib section for archive [default = enabled]
-c[+|-] enable/disable compression [default = enabled]
-c[+|-]<ext> force/disable compression for files with extension <ext>
-C use compatible compression and encryption
-d delete files from existing .MPQ archive
-e[+|-] enable/disable encryption [default = enabled]
-e[+|-]<ext> force/disable encryption for files with extension <ext>
-f[f|c] freshen files in existing .MPQ archive
f = use internal .MPQ archive filetimes [default = off]
c = use internal .MPQ archive checksums [default = off]
-h<value> specify hash table size
-l[+|-] build file list into .MPQ archive [default = on]
-L<value> specify the locale ID to store subsequent files with
-n<file> create hardlinks in outfile using <file>
-o<file> order files in outfile using <file>
-O<value> specify file compression level:
0 = default compression quality
1 = favor size
2 = favor speed
-p<file> prepend file to .MPQ archive
-P<value> prepend <value> bytes of data to .MPQ archive
-q quiet mode
-r[+|-] store specified pathnames [default = off]
-R always recurse subdirectories
-s<file> sign .MPQ archive using key in <file>
-t perform compacting (removes free space in the archive)
-v verbose mode (good for piping to a file)
-x[+|-] build file attributes into .MPQ archive [default = on]
-z<value> specify .WAV file compression level for subsequent files:
0 = normal non-lossy compression (if enabled)
1 = favor size
2 = normal (default)
3 = favor quality
-Z use Zlib compression instead of PKWare (better compression)mounpaq.exe
MOUNPAQ Version 4.01 Dec 17 2024
Copyright (C) 1996-2001, Blizzard Entertainment. All rights reserved.
Copyright (C) 1996-2001, Blizzard Entertainment. All rights reserved.
Использование
Usage:
mounpaq [options] <infile>[.MPQ] <filename> [<filename>...]
-q quiet
-l<locale> specify the locale ID to extract subsequent file(s) with
-v verify file(s) extracted (if CRCs known)
Note that files using lossy compression will fail,
.WAV files often use lossy compression.
-c extract the compressed dataExtracts specified file(s) to the current directory
mpqcmp.exe
MpqCmp 4.09, Dec 17 2024, Compares two MPQ files.
Copyright (C) 1996-2003, Blizzard Entertainment. All rights reserved.
Copyright (C) 1996-2003, Blizzard Entertainment. All rights reserved.
Compare two MPQ files.
Использование
mpqcmp {options} mpq1 mpq2
-c[+|-] enable/disable CRC based comparisons [default = on]
-d[+|-] diff output [default = on]
-[h|?] show help
-o obese output
-r[+|-] recursive (compare mopaqs inside mopaqs [default = on]
-v verbose output
-l <listfile> manually specify listfile (deprecated)For best results, mpq1=old mpq2=new (where this makes sense)
If no listfile is specified, internal listfiles from mpq1 and mpq2 are used
If no listfile is specified, internal listfiles from mpq1 and mpq2 are used
Signature.exe
Использование
Signature <action>
Where action is one of the following:
EncryptRSA <data> <keyname>
Export <keyname> <sourcecode>
GetHash <filename> <keyname> [--noname] [--name=<NAME>]
MakeKey <length> <keyfile>
MakePublic <keyname> <publickeyname>
Random <length>
Sign <filename> <keyname>[--noname][--name = <NAME>]
SignAppend <encryptedhash> <filename>
Verify <filename> <keyname> [--noname] [--name=<NAME>]

WC3



