Batch file creation - CarlosLeyvaAyala/MH-Rise-Modding-Scripts GitHub Wiki
The easiest way is to copy the file named pack.bat (included with Armor Packer) to the folder you want to pack.


Make sure pack.bat is inside the same folder as config.ini.
Once that file is created, open it with Notepad and rename Name your mod here with the file name you want to generate.

No file extension is needed. The app adds it for you.
These are the files generated by Armor Packer.

Warning for advanced users
If you know how to create *.bat files and want to create your own or want to run this app from the command line, there's a caveat you must know.
Having a command line parameter ending with the \ character will make the program throw weird errors due to some technical issues you may not care about.
So, if the first argument for the program (the folder to be packed) expands to a folder name that ends with \, you will get a weird non-descriptive error.
For example, this will surely throw an error when calling ArmorPacker.exe:
ArmorPacker "C:\some dirs\dir to pack\" "my mod name"
The solution is to either remove the trailing \ or add a . after it:
ArmorPacker "C:\some dirs\dir to pack" "my mod name"
:: This is also correct
ArmorPacker "C:\some dirs\dir to pack\." "my mod name"
Adding a . is specially useful when you have no control over how the dir name is generated and that's precisely the method used by the bundled pack.bat file:
:: This works
ArmorPacker "%~dp0." "%fileName%"
:: This throws an error
ArmorPacker "%~dp0" "%fileName%"