Modcraft - The community dedicated to quality WoW modding!

Wrath of the Lich King Modding => Resources and Tools => Topic started by: Magnus on October 02, 2016, 01:50:51 pm

Title: Is there a CLI tool for creating MPQs ?
Post by: Magnus on October 02, 2016, 01:50:51 pm
I believe I read here somewhere that there was a commandline tool existing to create MPQs directly from folder.

That would be cool creating a MPQ from a repository.

Unfortunately I can't find it anymore.
Title: Re: Is there a CLI tool for creating MPQs ?
Post by: schlumpf on October 02, 2016, 02:19:35 pm
As far as I remember, ladik'a had command line scripting support. Look in the help menu, there should be an entry about it.
Title: Re: Is there a CLI tool for creating MPQs ?
Post by: stoneharry on October 02, 2016, 02:38:55 pm
I mean, I don't have a CLI tool but Hanfer did this effectively for a Blizzard Installer tool: https://github.com/stoneharry/Blizzard- ... create.cpp (https://github.com/stoneharry/Blizzard-Updater/blob/master/src/mpqcreate.cpp" onclick="window.open(this.href);return false;)
Title: Re: Is there a CLI tool for creating MPQs ?
Post by: Magnus on October 03, 2016, 08:31:22 pm
Ladik's MPQEditor in fact has CLI support for some MoPaq 2000 commands.

That's fantastic. You can add recursive a folder with a line like this:
Code: [Select]
yourpathMPQEditor.exe a patch-4.MPQ DBFilesClient DBFilesClient /c /r

And stoneharry's repo is also worth to have a look inside.

Thanks for the hints.