• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

Best command line MPQ tool for Windows

Status
Not open for further replies.

pyf

pyf

Level 32
Joined
Mar 21, 2016
Messages
2,985
From the documentation of version 3.6.0.847:

MPQ Editor Command line

Opening a single MPQ

MPQEditor.exe MpqName [/listfile ListFileName]

Opens a MPQ. If you enter a listfile name, this listfile
will be used as external listfile to the MPQ. If the MPQ
already has a listfile, then both those listfiles are combined.


Opening a multiple MPQs in multi-document mode

MPQEditor.exe /multi BaseMpq1 BaseMpq2 BaseMpq3 ... BaseMpqN [/patch PatchMpq1 PatchMpq2 ... PatchMpqN] [/listfile ListFileName]

Opens multiple MPQs in multi-document mode. Additional listfile may be added.


Opening a multiple MPQs in merged mode

MPQEditor.exe /merged BaseMpq1 BaseMpq2 BaseMpq3 ... BaseMpqN [/patch PatchMpq1 PatchMpq2 ... PatchMpqN] [/listfile ListFileName]

Opens multiple MPQs in merged mode. The user will only see one tree,
where all the files will be combined. This is how the game sees
all MPQs.


Opening a MPQ in patch mode

MPQEditor.exe /base BaseMpq1 BaseMpq2 /patch PatchMpq1 PatchMpq2 ... PatchMpqN [/listfile ListFileName]

Opens multiple MPQs in patch mode. You have to enter all patches
that belong to a MPQ. When extracting a file in patch mode, then
the extracted file will allways be the latest version, i.e. from base
MPQ with all subsequent patches applied.


Running MPQEditor in console mode

MPQEditor.exe /console [ScriptName]

Opens a MoPaq 2000 console. If a script name is entered, it is executed immediately.


Using MoPaq 2000 commands from command line

MPQEditor supports executing MoPaq 2000 commands directly from command line.
They can be executed either with or without opening console window. The difference
is to use or not to use slash before the command.

This is an example to run a command without opening a console:
MPQEditor.exe extract war3.mpq * C:\Work /fp

This is an example to run a command with opening a console:
MPQEditor.exe /extract war3.mpq * C:\Work /fp
 
Status
Not open for further replies.
Top