SMPQ(1)
β¨ SMPQ β StormLib MPQ archiving utility β¨
okay bestie, welcome to SMPQ(1), aka the StormLib MPQ archiving utility, version 1.7 π this is the general commands manual entry for it, and yes it lives in section 1 of the manual. sit down, get comfy, we're gonna archive some stuff π
πΈ SYNOPSIS πΈ
smpq [action] [options] [archive] [files]
π¦ NAME π¦
SMPQ β the StormLib MPQ archiving utility, version 1.7. that's the whole name, she's lowkey iconic π
π ACTION π
pick ONE of these, that's your vibe for the run, bestie:
-c,--createβ make a brand new archive and put the file(s) in it π-a,--append,--addβ add more file(s) to an archive that already exists-d,-r,--delete,--removeβ yeet file(s) out of the archive π-R,--renameβ rename a file inside the archive, glow-up era-l,--listβ list out the file(s) in the archive-e,-x,--extractβ pull file(s) out of the archive-i,--infoβ show info about the archive-h,-u,--help,--usageβ show this help/usage info, the classic-V,--license,--versionβ show version + license info π
π OPTIONS π
-L,--listfile <file>β an extra external listfile (heads up: this one is NOT used when you're appending a file)-n,--no-system-listfilesβ don't load the system listfile(s) (again, not used when appending a file)-N,--no-archive-listfileβ don't use or create an archive listfile, which means file names just won't be read or stored, periodt-A,--no-attributesβ don't allow file attributes to be used (that's time, checksum, hash)-M,--mpq-version <version>β pick the MPQ archive version (default: it uses the new version4)1β supports archive sizes up to4GBπ2β supports archives greater than4GB(introduced in World of Warcraft: The Burning Crusade)3β (introduced in World of Warcraft: Cataclysm Beta)4β (introduced in World of Warcraft: Cataclysm)
-S,--sector-crcβ store/check a CRC for each sector, but it's ignored if the file has no compression or is a single unit-q,--quietβ be quiet, no output at all, silent treatment era π-f,-o,--force,--overwriteβ allow overwriting file(s)-v,--verboseβ turn on verbose output, spill the tea-O,--locale <id>β set the locale id (default: neutral =0)
ngl, for all the locale ids you gotta check[MS-LCID]section 2.2:https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-lcid/
π OPTIONS FOR APPENDING FILE(S) TO ARCHIVE π
-m,--max-file-count <count>β set the max file count of the archive (it's a power of 2, and0means autodetect) (default:0)-E,--encryptβ store it encrypted π-F,--fix-keyβ the encryption key gets adjusted according to the file size in the archive (and yes, you need-Efor this one)-D,--deletion-markerβ set the deletion marker-U,--single-unitβ add the file as a single unit, and no, it cannot be encrypted-C,--compression <method>β the compression method (default:ZLIB):noneβ none compressionIMPLODEβ Pkware Data Compression IMPLODE method, which is OBSOLETE (it was used only in Diablo I)PKWAREβ Pkware Data compressionHUFFMANNβ Huffmann compression (introduced in Starcraft I)ADPCM_MONOβ IMA ADPCM compression for 1-channel (mono) WAVE files β lossy compression, only for WAVE files (and now it is not used)ADPCM_STEREOβ IMA ADPCM compression for 2-channel (stereo) WAVE files β lossy compression, only for WAVE files (and now it is not used)ZLIBβ ZLIB compression (introduced in Warcraft III)BZIP2β BZIP2 compression (introduced in World of Warcraft: The Burning Crusade)SPARSEβ SPARSE compression (introduced in Starcraft II)LZMAβ LZMA compression (introduced in Starcraft II)HUFFMANN+ADPCM_MONOβ Huffmann and IMA ADPCM together, for 1-channel (mono) WAVE filesHUFFMANN+ADPCM_STEREOβ Huffmann and IMA ADPCM together, for 2-channel (stereo) WAVE filesZLIB+PKWAREβ ZLIB and Pkware Data compression togetherBZIP2+PKWAREβ BZIP2 and Pkware Data compression togetherSPARSE+ZLIBβ SPARSE and ZLIB compression togetherSPARSE+PKWAREβ SPARSE and Pkware Data compression togetherSPARSE+BZIP2β SPARSE and BZIP2 compression togetherSPARSE+ZLIB+PKWAREβ SPARSE, ZLIB and Pkware Data compression togetherSPARSE+BZIP2+PKWAREβ SPARSE, BZIP2 and Pkware Data compression together
π§ OPTIONS FOR EXTRACTING FILE(S) FROM ARCHIVE π§
-P,--partialβ the archive is partial (default: autodetect) β partial archives were used by the trial version of World of Warcraft, fun fact β-X,--not-encryptedβ the archive is not encrypted (default: autodetect) β encrypted archives are what Starcraft II installation has-pβ open more (patched) archives with a directory prefix (that'sprefix:archive), and when a file lives in more than one archive, it gets extracted from the last one
π USAGE WITH MORE (PATCHED) ARCHIVES π
smpq -l|-x [options] [archive] -p [prefix1:archive1] [prefix2:archive2] ... -- [files]
π EXAMPLES π
Create an empty archive archive.mpq:
smpq -c archive.mpq
Create archive archive.mpq with two files file1.txt and file2.txt:
smpq -c archive.mpq file1.txt file2.txt
Extract all files from archive archive.mpq to the current directory:
smpq -x archive.mpq
Extract the files with the extension .txt from archive archive.mpq:
smpq -x archive.mpq '*.txt'
Show information about archive archive.mpq:
smpq -i archive.mpq
π AUTHOR π
SMPQ is written by Pali RohΓ‘r <pali.rohar@gmail.com> β thank you bestie π«Ά
π LICENSE π
SMPQ is distributed under the GNU GPL v3. slay, legally.
and that's the whole page, fr fr π source + version: SMPQ β StormLib MPQ archiving utility, and the date on this one is Apr 14 2026, filed under SMPQ(1). okay love u, go archive something, bye π¦β¨
π¦ where this page comes from
- ubuntu stonking: smpq 1.7-1 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms