I have on several occations mentioned mpqcli, a wonderful little command line tool to create, add, remove, list, extract, read, and verify MPQ archives using the StormLib library.
Over the course of the past few days, I have made several big and small PRs to mpqcli:
- PR 1 - Small improvement to make it list details if properties are requested.
- PR 2 - Big PR that adds built in support for all games using MPQs up until Diablo III.
- PR 3 - Small improvements to the Readme file.
- PR 4 - Fairly big PR, mainly adding support for unfamiliar locales.
- PR 5 - Improvements to the
remove,extractandreadsubcommands of mpqcli - they will now respect locales, not halt on errors and return error codes to the shell. - PR 6 - Small PR to fix memory leaks by closing the MPQ archives properly after reading.
Especially PR 2 is a big deal for those of us who want our MPQs compatible with older games. Previously, mpqcli always used Zlib compression, which meant older games could not read the files. With this PR, the user simply specifies what game they target and mpqcli will choose the appropriate compression algorithm based on the files the user wants to add. I mentioned this back in early December, and now we have what is hopefully a pretty solid implementation.
The maintainer of mpqcli, Thomas Lausenson, seems to have been fairly busy as of late, but hopefully he can give feedback on the PRs or merge them fairly quickly.
