example-batch-file.bat 610 B

123456789101112131415161718
  1. @echo OFF
  2. SET MAP_PATH="D:\Programs\Hammer\maps\hl\mymap.map"
  3. SET TOOLS_PATH="D:\Programs\SHLT\SHLT 3.7 Binaries and Resources\x86 (32 bit) SSE2"
  4. SET CSG_PARAMS=-wadautodetect -cliptype precise
  5. SET BSP_PARAMS=
  6. SET VIS_PARAMS=-full
  7. SET RAD_PARAMS=-bounce 1 -extra -sparse -dscale 1
  8. SET ALL_PARAMS=-estimate -threads 2 -chart -low
  9. %TOOLS_PATH%\HLCSG.exe %MAP_PATH% %ALL_PARAMS% %CSG_PARAMS%
  10. %TOOLS_PATH%\HLBSP.exe %MAP_PATH% %ALL_PARAMS% %BSP_PARAMS%
  11. %TOOLS_PATH%\HLVIS.exe %MAP_PATH% %ALL_PARAMS% %VIS_PARAMS%
  12. %TOOLS_PATH%\HLRAD.exe %MAP_PATH% %ALL_PARAMS% %RAD_PARAMS%
  13. @echo End of compiler.bat.
  14. @pause>nul