@echo off echo ################################################### echo # Batch Compiler # echo ################################################### echo ################################################### echo # Please report bugs to: ryansgregg@hotmail.com # echo ################################################### echo. echo Written At: 2/13/2010 11:08 PM echo BC Version: 3.1.2.0 echo. if ERRORLEVEL 1 goto failed if ERRORLEVEL 1 goto failed "F:\HLDev\Goldsource\Hammer\batch2\SHLT3.7\x86-SSE2\hlcsg.exe" -wadautodetect -cliptype Simple -chart -estimate -texdata 8192 -lightdata 6144 "F:\HLDev\Goldsource\Hammer\Mecklenburg\Rain\MecklenburgV_RainB5" if ERRORLEVEL 1 goto failed "F:\HLDev\Goldsource\Hammer\batch2\SHLT3.7\x86-SSE2\hlbsp.exe" -maxnodesize 2048 -chart -estimate -texdata 8192 -lightdata 6144 "F:\HLDev\Goldsource\Hammer\Mecklenburg\Rain\MecklenburgV_RainB5" if ERRORLEVEL 1 goto failed "F:\HLDev\Goldsource\Hammer\batch2\SHLT3.7\x86-SSE2\hlvis.exe" -chart -estimate -texdata 8192 -lightdata 6144 "F:\HLDev\Goldsource\Hammer\Mecklenburg\Rain\MecklenburgV_RainB5" if ERRORLEVEL 1 goto failed "F:\HLDev\Goldsource\Hammer\batch2\SHLT3.7\x86-SSE2\hlrad.exe" -nopaque -notexscale -chop 128.0 -dscale 1.0 -chart -estimate -texdata 8192 -lightdata 6144 "F:\HLDev\Goldsource\Hammer\Mecklenburg\Rain\MecklenburgV_RainB5" if ERRORLEVEL 1 goto failed "F:\HLDev\Goldsource\Hammer\batch2\SHLT3.7\x86-SSE2\ripent.exe" -export -chart -texdata 8192 -lightdata 6144 "F:\HLDev\Goldsource\Hammer\Mecklenburg\Rain\MecklenburgV_RainB5" if ERRORLEVEL 1 goto failed if ERRORLEVEL 1 goto failed "F:\HLDev\Goldsource\Hammer\resgen.exe" -k -o -f "F:\HLDev\Goldsource\Hammer\Mecklenburg\Rain\MecklenburgV_RainB5" if ERRORLEVEL 1 goto failed if not exist "F:\HLDev\Goldsource\Hammer\Mecklenburg\Rain\MecklenburgV_RainB5.wic" goto nodelwic del "F:\HLDev\Goldsource\Hammer\Mecklenburg\Rain\MecklenburgV_RainB5.wic" echo F:\HLDev\Goldsource\Hammer\Mecklenburg\Rain\MecklenburgV_RainB5.wic deleted. :nodelwic if not exist "F:\HLDev\Goldsource\Hammer\Mecklenburg\Rain\MecklenburgV_RainB5.lin" goto nodellin del "F:\HLDev\Goldsource\Hammer\Mecklenburg\Rain\MecklenburgV_RainB5.lin" echo F:\HLDev\Goldsource\Hammer\Mecklenburg\Rain\MecklenburgV_RainB5.lin deleted. :nodellin if not exist "F:\HLDev\Goldsource\Hammer\Mecklenburg\Rain\MecklenburgV_RainB5.p0" goto nodelp0 del "F:\HLDev\Goldsource\Hammer\Mecklenburg\Rain\MecklenburgV_RainB5.p0" echo F:\HLDev\Goldsource\Hammer\Mecklenburg\Rain\MecklenburgV_RainB5.p0 deleted. :nodelp0 if not exist "F:\HLDev\Goldsource\Hammer\Mecklenburg\Rain\MecklenburgV_RainB5.p1" goto nodelp1 del "F:\HLDev\Goldsource\Hammer\Mecklenburg\Rain\MecklenburgV_RainB5.p1" echo F:\HLDev\Goldsource\Hammer\Mecklenburg\Rain\MecklenburgV_RainB5.p1 deleted. :nodelp1 if not exist "F:\HLDev\Goldsource\Hammer\Mecklenburg\Rain\MecklenburgV_RainB5.p2" goto nodelp2 del "F:\HLDev\Goldsource\Hammer\Mecklenburg\Rain\MecklenburgV_RainB5.p2" echo F:\HLDev\Goldsource\Hammer\Mecklenburg\Rain\MecklenburgV_RainB5.p2 deleted. :nodelp2 if not exist "F:\HLDev\Goldsource\Hammer\Mecklenburg\Rain\MecklenburgV_RainB5.p3" goto nodelp3 del "F:\HLDev\Goldsource\Hammer\Mecklenburg\Rain\MecklenburgV_RainB5.p3" echo F:\HLDev\Goldsource\Hammer\Mecklenburg\Rain\MecklenburgV_RainB5.p3 deleted. :nodelp3 if not exist "F:\HLDev\Goldsource\Hammer\Mecklenburg\Rain\MecklenburgV_RainB5.prt" goto nodelprt del "F:\HLDev\Goldsource\Hammer\Mecklenburg\Rain\MecklenburgV_RainB5.prt" echo F:\HLDev\Goldsource\Hammer\Mecklenburg\Rain\MecklenburgV_RainB5.prt deleted. :nodelprt if not exist "F:\HLDev\Goldsource\Hammer\Mecklenburg\Rain\MecklenburgV_RainB5.err" goto nodelerr del "F:\HLDev\Goldsource\Hammer\Mecklenburg\Rain\MecklenburgV_RainB5.err" echo F:\HLDev\Goldsource\Hammer\Mecklenburg\Rain\MecklenburgV_RainB5.err deleted. :nodelerr if not exist "F:\HLDev\Goldsource\Hammer\Mecklenburg\Rain\MecklenburgV_RainB5.ent.bak" goto nodelentbac del "F:\HLDev\Goldsource\Hammer\Mecklenburg\Rain\MecklenburgV_RainB5.ent.bak" echo F:\HLDev\Goldsource\Hammer\Mecklenburg\Rain\MecklenburgV_RainB5.ent.bak deleted. :nodelentbac if not exist "F:\HLDev\Goldsource\Hammer\Mecklenburg\Rain\MecklenburgV_RainB5.bsp" goto nocopybsp copy "F:\HLDev\Goldsource\Hammer\Mecklenburg\Rain\MecklenburgV_RainB5.bsp" "C:\steam\steamapps\_funjob_\half-life\ts\maps" echo MecklenburgV_RainB5.bsp copied to C:\steam\steamapps\_funjob_\half-life\ts\maps. :nocopybsp if not exist "F:\HLDev\Goldsource\Hammer\Mecklenburg\Rain\MecklenburgV_RainB5.res" goto nocopyres copy "F:\HLDev\Goldsource\Hammer\Mecklenburg\Rain\MecklenburgV_RainB5.res" "C:\steam\steamapps\_funjob_\half-life\ts\maps" echo MecklenburgV_RainB5.res copied to C:\steam\steamapps\_funjob_\half-life\ts\maps. :nocopyres if not exist "F:\HLDev\Goldsource\Hammer\Mecklenburg\Rain\MecklenburgV_RainB5.pts" goto nocopypts copy "F:\HLDev\Goldsource\Hammer\Mecklenburg\Rain\MecklenburgV_RainB5.pts" "C:\steam\steamapps\_funjob_\half-life\ts\maps" echo MecklenburgV_RainB5.pts copied to C:\steam\steamapps\_funjob_\half-life\ts\maps. :nocopypts goto succeeded :failed echo. echo There was a problem compiling your map, check your MecklenburgV_RainB5.log file for errors. :succeeded echo. if exist "F:\HLDev\Goldsource\Hammer\Mecklenburg\Rain\MecklenburgV_RainB5.log" "F:\WINDOWS\NOTEPAD.EXE" "F:\HLDev\Goldsource\Hammer\Mecklenburg\Rain\MecklenburgV_RainB5.log"