June 2026 - News archive

mpqcli 0.9.10 turned into 0.10.0
Posted by Ojan

Thomas Laurenson seems to have figured that yesterday's 0.9.10 release of mpqcli merited a version bump, since it is a rather big release.

He also included a contribution by me to add the compact subcommand which defragments an MPQ archive, thus shrinking it in size if it contains any gaps from previous adds or removes.

So, version 0.9.10 is not available anymore, but instead version 0.10.0 of mpqcli is out!

mpqcli 0.9.10 is out
Posted by Ojan

Thomas Laurenson just released version 0.9.10 of mpqcli two hours ago. As previously covered here, mpqcli is a tool for creating and modding MPQ files, used for loading custom data into games.

Both Thomas Laurenson and myself have made several contributions to the release, which is rather large:

Added

  • 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. When given, files whose archived size matches the on-disk size won't be added to save time.

Fixed

  • extract subcommand 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

Changed

  • The --path flag on add now acts as an archive path prefix when a directory is given, and the full name when a file is given.

Removed

  • --filename-in-archive and --directory-in-archive. They are now replaced by a unified --path flag

Find version 0.9.10 of mpqcli here.