MOHARC (Batch tool for converting maps from MOHRadiant into actual map files)
Coming back to this classic, I figured I'd knock up a quick couple of tiny maps for 2-3 player action... But realised I couldn't be bothered to type in the command prompt every time to convert map files into the correct format! So I wrote up a nice little batch command, which you can find the source for at https://pastebin.com/udfzAswt ! (Don't worry, I don't expect anyone to download any strange batch files...)
Usage instructions:
1) Create a new file in notepad.
- Paste everything there, from the "@ECHO OFF" to the last "EXIT". All of it.
3) Change any directory variables in the text as required - should all be self-explanatory.
4*) Click "Save As"*
5) Change the "Save As Type" dropdown to all files
6) Save as "MOHARC.bat"
7) When you need it, run it! Just type in the filename (including the .map extension) of your map file, and away you go!
Note: You will still need to manually move yourmapname.bsp from the MoHAAMap directory below into MoHAA\main\Maps. You will also need to run this as an administrator on newer versions of windows IF you are writing to a protected directory such as Program Files.
Posted Oct 15, 2018, 5:55 AM UTC · edited