Skip to content

State more details about supported mpq #84

@basxto

Description

@basxto

Please state more clearly on the website/readme which MPQ’s are supported.
Especially for people not that familiar with Warcraft3 or blizzard games.

smpq (uses C++ StormLib library; there are also a Java wrapper available for this) can create archives with these formats:

     -C, --compression <method>    Compression method: (default: ZLIB)
          none                   None compression
          IMPLODE                Pkware Data Compression IMPLODE method - OBSOLETE (It was used only in Diablo I)
          PKWARE                 Pkware Data compression
          HUFFMANN               Huffmann compression (Introduced in Starcraft I)
          ADPCM_MONO             IMA ADPCM compression for 1-channel (mono) WAVE files - Lossy compression, only for WAVE files (Now it is not used)
          ADPCM_STEREO           IMA ADPCM compression for 2-channel (stereo) WAVE files - Lossy compression, only for WAVE files (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    Together Huffmann and IMA ADPCM compression for 1-channel (mono) WAVE files
          HUFFMANN+ADPCM_STEREO  Together Huffmann and IMA ADPCM compression for 2-channel (stereo) WAVE files
          ZLIB+PKWARE            Together ZLIB and Pkware Data compression
          BZIP2+PKWARE           Together BZIP2 and Pkware Data compression
          SPARSE+ZLIB            Together SPARSE and ZLIB compression
          SPARSE+PKWARE          Together SPARSE and Pkware Data compression
          SPARSE+BZIP2           Together SPARSE and BZIP2 compression
          SPARSE+ZLIB+PKWARE     Together SPARSE, ZLIB and Pkware Data compression
          SPARSE+BZIP2+PKWARE    Together SPARSE, BZIP2 and Pkware Data compression

From core/src/mpq/compression/ it seems to support:

  • IMPLODE
  • PKWARE
  • HUFFMANN
  • ADPCM_MONO
  • ADPCM_STEREO
  • ZLIB

Would it support?:

  • HUFFMANN+ADPCM_MONO
  • HUFFMANN+ADPCM_STEREO
  • ZLIB+PKWARE

It does mention INFLATE, which is not menitoned by smpq.

I suppose there is no support for version 4?

     -M, --mpq-version <version>   Specify MPQ archive version: (default: use new version 4)
          1  support up to 4GB size of archive           
          2  support greater then 4GB size of archive (Introduced in World of Warcraft: The Burning Crusade)              
          3  (Introduced in World of Warcraft: Cataclysm Beta)     
          4  (Introduced in World of Warcraft: Cataclysm)  

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions