- Sep 12, 2008
- 112
- 60
I just discovered the power of batch files... including adding extra lines to the compile process in hammer.
Now, hammer adds all of my custom files from a text file into my bsp.... but only the ones that I know I've added, and added to a text file:
bspzip.exe... -addlist $bspdir\$file.bsp path\to\customlist.txt $bspdir\$file.bsp
But, does anyone have anything to say about bspzip vs pakrat (and/or pakrat auto features)??? I'm curious...
And outside of Hammer...
bz2.bat... path/to/bzip2.exe -z -k path/to/teamfo~1/tf/maps/%1.bsp
Copied this to my system32 folder... all I have to do is open a run prompt and type bz2 mapname. I love it. I've added more to this bat to copy the bsp to my srcds map folder, and the bz2 to the srcds map folder and www map folder.
Some questions I have...
Is it possible to batch buildcubemaps? (I'm trying to go from hammer to dedicated server testing in as few steps as possible)
What other cool things can I do with batch files? (and save time searching steam folders for files to copy/open/etc)
And... useful batch files for the executables hiding in the sourcesdk bin?
Now, hammer adds all of my custom files from a text file into my bsp.... but only the ones that I know I've added, and added to a text file:
bspzip.exe... -addlist $bspdir\$file.bsp path\to\customlist.txt $bspdir\$file.bsp
But, does anyone have anything to say about bspzip vs pakrat (and/or pakrat auto features)??? I'm curious...
And outside of Hammer...
bz2.bat... path/to/bzip2.exe -z -k path/to/teamfo~1/tf/maps/%1.bsp
Copied this to my system32 folder... all I have to do is open a run prompt and type bz2 mapname. I love it. I've added more to this bat to copy the bsp to my srcds map folder, and the bz2 to the srcds map folder and www map folder.
Some questions I have...
Is it possible to batch buildcubemaps? (I'm trying to go from hammer to dedicated server testing in as few steps as possible)
What other cool things can I do with batch files? (and save time searching steam folders for files to copy/open/etc)
And... useful batch files for the executables hiding in the sourcesdk bin?
Last edited: