Skip to content

Releases: thegraydot/mpqcli

v0.10.0

07 Jun 04:37
c515a1b

Choose a tag to compare

Added

  • Compact subcommand to compress MPQ archive after creation/editing
  • Support passing multiple files to the add and remove subcommands
  • Support reading file paths from stdin in the add and remove subcommands
  • Support adding entire directories with the add subcommand
  • Add an update flag to the add subcommand to skip files whose archived size matches the on-disk size

Fixed

  • extract command now reports an error when the output directory cannot be created
  • Path traversal guard in extract uses fully resolved paths, closing a potential bypass
  • Crash when reading strong signatures from malformed or truncated archives
  • Docker glibc image updated to ubuntu:24.04
  • Adding files is now ordered and operating system agnostic
  • add subcommand now returns non-zero exit codes on failure
  • Error messages now include StormLib error codes
  • Duplicate error messages removed
  • Makefile build targets corrected in CONTRIBUTING.md

Changed

  • --filename-in-archive and --directory-in-archive replaced by a unified --path flag
  • The path flag on add now acts as an archive path prefix when a directory is given

Thanks

  • Thanks to @sjoblomj for the contributions in this release

Dev (Pre-release)

07 Jun 20:57
1bd17e0

Choose a tag to compare

Dev (Pre-release) Pre-release
Pre-release

Commit: 1bd17e0

v0.9.9

04 Apr 22:19
7b458f5

Choose a tag to compare

Fixed

  • Potential path traversal attack in extract subcommand
  • Empty MPQ archive name when directory supplied with trailing slash
  • Bug where MPQ internal files were added with create command
  • Signature being added automatically when not requested
  • Potential DWORD overflow in AddFiles

v0.9.8

22 Mar 04:58
041480a

Choose a tag to compare

Added

  • The create subcommand now supports a single file
  • The add and create subcommands have additional arguments for specifiying the file location in the MPQ archive (name-in-archive and dir-in-archive)
  • The add subcommand can now overwrite existing files if requested (overwrite)

Fixed

  • Several memory leaks

Thanks

  • Thanks to @sjoblomj for adding more features and fixes in this release

v0.9.7

23 Feb 05:09
8c02141

Choose a tag to compare

Added

  • Game profile support for create and add subcommands via -g/--game option
  • Game profiles for Diablo, StarCraft, Warcraft, WoW, and more
  • Game setting override options for create subcommand
  • Compression override options for add subcommand
  • Support for unfamiliar/unknown locales via raw hex LCID
  • Additional built-in locales: ptBR, esMX, ptPT

Fixed

  • Subcommands now properly verify locale before operating on files
  • Error messages now include locale context in remove, extract, and read
  • MPQ archives are now properly closed across all subcommands
  • Non-zero exit codes returned on failure in extract and remove
  • list subcommand now shows long output when properties are requested

Changed

  • Improved locale printing and display throughout

Thanks

  • A big thank you to @sjoblomj for adding so many features in this release

v0.9.6

23 Dec 19:23
b69aa59

Choose a tag to compare

Added

  • Proper support for locales in MPQ files

Fixed

  • Fixed bug where MPQ signature only printed on success

v0.9.5

22 Oct 19:36
9eca348

Choose a tag to compare

Changed

  • Long (detailed) list format to output ISO 8601 timestamps

Fixed

  • Message prefix format consistency

v0.9.4

12 Oct 20:01
063092b

Choose a tag to compare

Added

  • Filename added to program output
  • Added simple wrapper around verify command

Fixed

  • Show help menu when no arguments provided

v0.9.3

03 Oct 07:01
e952443

Choose a tag to compare

Added

  • Support for add subcommand to have path inside MPQ archive

Fixed

  • Bug in add subcommand when exceeding max file count

v0.9.2

21 Aug 04:52
a339ec7

Choose a tag to compare

Fixed

  • Bug in create subcommand resulting in incorrect max file count