-ext extension Force a specific extension for all backup files
-dir Place backups of all files inside \filename\
-out path Force a specific backup path (negates -ext and -dir)
-max # Specify a maximum number of backup files to create
-e, -d, -o and -m are also accepted
mapbackup.exe $path\$file
Example : If I wanted to backup only the .rmf, within its own folder, and have 30 incremental backup files at one time. I could use the following Expert compile mode command:
mapbackup.exe $path\$file.rmf -d -m 30
Example : I want to backup my map file and my 3rd hull file (mapname.p2) in their own directory, with a maximum of 50 backup files. I couuld use the following Expert compile mode command:
mapbackup.exe $path\$file.map $path\$file.p2 -m 50 -d
ZHLT stands for Zoner's Half-Life Tools. These are modified versions of the original map compile tools (qcsg.exe, qbsp2.exe, vis.exe, and qrad.exe). Zoner's versions (hlcsg.exe, hlbsp.exe, hlvis.exe, and hlrad.exe) of the tools are very much improved, even aside from the more consistent naming. They add more versatility to the compile process and several new features, and they're no different to use than the original tools. They also feature several fixes to bugs that have been in the tools since the days of Quake.Didn't Merl do some customization of ZHLT?
ZHLT can be found here -- Zoner's Half-Life Tools - Custom Build 1.7
He certainly did! Read more about them here:Do I have to use this utility through Worldcraft/Hammer?
Zoner's Half-Life Tools - Custom Build 1.7
Not at all! You can easily use this utility in a batch file or manually (well, if you really wanted to...). The examples above show parameters to use while in the editor. $path and $file are variables for use in the advanced compile mode. In a batch file, these would be replaced with the actual path and filename of the map.How do I add the mapbackup.exe tool to Hammer?
To add mapbackup.exe as a command, click on the Cmds button in the advanced compile dialog and select executable, then browse to and select the mapbackup.exe file. Add everything after "mapbackup.exe" into the "Parameters" field.
You must log in to post a comment. You can login or register a new account.