Since I was tired of annoying Mephs with my problems of slow compiling on IRC, I tryed to write a batch file so that I can close hammer during compiles. So I searched the internet for some tutorials. The result was very impressive after some modifications on the batch file. Well it is workig now and it is working very proper. - No system freezes anymore!
I am not going to create a tutorial (maybe later) because I am not 100% what exactly I did do get this show on the road!
At least, this is the content of the batch file:
// Note that you have to use your folder names!
// SET gamepath=D:GamesSteamSteamAppsdevmaps = where the GameInfo.txt is located, I think
%echo off
cls
echo =======================
echo compile of %~n1
echo =======================
echo.
cd D:GamesSteamSteamAppsdevmapsrc
del %~n1.log
SET toolpath=D:GamesSteamSteamAppsdevbin
SET gamepath=D:GamesSteamSteamAppsdevmaps
echo.
title working: bsp
%toolpath%vbsp.exe -game D:GamesSteamSteamAppsdevmaps %1
echo ==============================================
title working: vis
%toolpath%vvis.exe -game D:GamesSteamSteamAppsdevmaps %1
echo ==============================================
title working: rad
%toolpath%vrad.exe -bounce 0 -game D:GamesSteamSteamAppsdevmaps %1
echo delete unnecessary files
echo.
del %~n1.prt
echo copying files
echo.
copy %~n1.bsp %gamepath%%~n1.bsp
SET gamepath=
SET toolpath=
title finished compile of %~n1
pause
EDIT: It seems that it doesn't show the backslash - you know what I am talking about? On the directory locations like D:GamesSteamSteamApps, etc - add one!!
[addsig]



