MeckrainVB5A.bat 5.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. @echo off
  2. echo ###################################################
  3. echo # Batch Compiler #
  4. echo ###################################################
  5. echo ###################################################
  6. echo # Please report bugs to: [email protected] #
  7. echo ###################################################
  8. echo.
  9. echo Written At: 2/13/2010 11:10 PM
  10. echo BC Version: 3.1.2.0
  11. echo.
  12. if ERRORLEVEL 1 goto failed
  13. if ERRORLEVEL 1 goto failed
  14. "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"
  15. if ERRORLEVEL 1 goto failed
  16. "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"
  17. if ERRORLEVEL 1 goto failed
  18. "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"
  19. if ERRORLEVEL 1 goto failed
  20. "F:\HLDev\Goldsource\Hammer\batch2\SHLT3.7\x86-SSE2\hlrad.exe" -extra -notexscale -chop 128.0 -dscale 1.0 -chart -estimate -texdata 8192 -lightdata 6144 "F:\HLDev\Goldsource\Hammer\Mecklenburg\Rain\MecklenburgV_RainB5"
  21. if ERRORLEVEL 1 goto failed
  22. "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"
  23. if ERRORLEVEL 1 goto failed
  24. if ERRORLEVEL 1 goto failed
  25. "F:\HLDev\Goldsource\Hammer\resgen.exe" -k -o -f "F:\HLDev\Goldsource\Hammer\Mecklenburg\Rain\MecklenburgV_RainB5"
  26. if ERRORLEVEL 1 goto failed
  27. if not exist "F:\HLDev\Goldsource\Hammer\Mecklenburg\Rain\MecklenburgV_RainB5.wic" goto nodelwic
  28. del "F:\HLDev\Goldsource\Hammer\Mecklenburg\Rain\MecklenburgV_RainB5.wic"
  29. echo F:\HLDev\Goldsource\Hammer\Mecklenburg\Rain\MecklenburgV_RainB5.wic deleted.
  30. :nodelwic
  31. if not exist "F:\HLDev\Goldsource\Hammer\Mecklenburg\Rain\MecklenburgV_RainB5.lin" goto nodellin
  32. del "F:\HLDev\Goldsource\Hammer\Mecklenburg\Rain\MecklenburgV_RainB5.lin"
  33. echo F:\HLDev\Goldsource\Hammer\Mecklenburg\Rain\MecklenburgV_RainB5.lin deleted.
  34. :nodellin
  35. if not exist "F:\HLDev\Goldsource\Hammer\Mecklenburg\Rain\MecklenburgV_RainB5.p0" goto nodelp0
  36. del "F:\HLDev\Goldsource\Hammer\Mecklenburg\Rain\MecklenburgV_RainB5.p0"
  37. echo F:\HLDev\Goldsource\Hammer\Mecklenburg\Rain\MecklenburgV_RainB5.p0 deleted.
  38. :nodelp0
  39. if not exist "F:\HLDev\Goldsource\Hammer\Mecklenburg\Rain\MecklenburgV_RainB5.p1" goto nodelp1
  40. del "F:\HLDev\Goldsource\Hammer\Mecklenburg\Rain\MecklenburgV_RainB5.p1"
  41. echo F:\HLDev\Goldsource\Hammer\Mecklenburg\Rain\MecklenburgV_RainB5.p1 deleted.
  42. :nodelp1
  43. if not exist "F:\HLDev\Goldsource\Hammer\Mecklenburg\Rain\MecklenburgV_RainB5.p2" goto nodelp2
  44. del "F:\HLDev\Goldsource\Hammer\Mecklenburg\Rain\MecklenburgV_RainB5.p2"
  45. echo F:\HLDev\Goldsource\Hammer\Mecklenburg\Rain\MecklenburgV_RainB5.p2 deleted.
  46. :nodelp2
  47. if not exist "F:\HLDev\Goldsource\Hammer\Mecklenburg\Rain\MecklenburgV_RainB5.p3" goto nodelp3
  48. del "F:\HLDev\Goldsource\Hammer\Mecklenburg\Rain\MecklenburgV_RainB5.p3"
  49. echo F:\HLDev\Goldsource\Hammer\Mecklenburg\Rain\MecklenburgV_RainB5.p3 deleted.
  50. :nodelp3
  51. if not exist "F:\HLDev\Goldsource\Hammer\Mecklenburg\Rain\MecklenburgV_RainB5.prt" goto nodelprt
  52. del "F:\HLDev\Goldsource\Hammer\Mecklenburg\Rain\MecklenburgV_RainB5.prt"
  53. echo F:\HLDev\Goldsource\Hammer\Mecklenburg\Rain\MecklenburgV_RainB5.prt deleted.
  54. :nodelprt
  55. if not exist "F:\HLDev\Goldsource\Hammer\Mecklenburg\Rain\MecklenburgV_RainB5.err" goto nodelerr
  56. del "F:\HLDev\Goldsource\Hammer\Mecklenburg\Rain\MecklenburgV_RainB5.err"
  57. echo F:\HLDev\Goldsource\Hammer\Mecklenburg\Rain\MecklenburgV_RainB5.err deleted.
  58. :nodelerr
  59. if not exist "F:\HLDev\Goldsource\Hammer\Mecklenburg\Rain\MecklenburgV_RainB5.ent.bak" goto nodelentbac
  60. del "F:\HLDev\Goldsource\Hammer\Mecklenburg\Rain\MecklenburgV_RainB5.ent.bak"
  61. echo F:\HLDev\Goldsource\Hammer\Mecklenburg\Rain\MecklenburgV_RainB5.ent.bak deleted.
  62. :nodelentbac
  63. if not exist "F:\HLDev\Goldsource\Hammer\Mecklenburg\Rain\MecklenburgV_RainB5.bsp" goto nocopybsp
  64. copy "F:\HLDev\Goldsource\Hammer\Mecklenburg\Rain\MecklenburgV_RainB5.bsp" "C:\steam\steamapps\_funjob_\half-life\ts\maps"
  65. echo MecklenburgV_RainB5.bsp copied to C:\steam\steamapps\_funjob_\half-life\ts\maps.
  66. :nocopybsp
  67. if not exist "F:\HLDev\Goldsource\Hammer\Mecklenburg\Rain\MecklenburgV_RainB5.res" goto nocopyres
  68. copy "F:\HLDev\Goldsource\Hammer\Mecklenburg\Rain\MecklenburgV_RainB5.res" "C:\steam\steamapps\_funjob_\half-life\ts\maps"
  69. echo MecklenburgV_RainB5.res copied to C:\steam\steamapps\_funjob_\half-life\ts\maps.
  70. :nocopyres
  71. if not exist "F:\HLDev\Goldsource\Hammer\Mecklenburg\Rain\MecklenburgV_RainB5.pts" goto nocopypts
  72. copy "F:\HLDev\Goldsource\Hammer\Mecklenburg\Rain\MecklenburgV_RainB5.pts" "C:\steam\steamapps\_funjob_\half-life\ts\maps"
  73. echo MecklenburgV_RainB5.pts copied to C:\steam\steamapps\_funjob_\half-life\ts\maps.
  74. :nocopypts
  75. goto succeeded
  76. :failed
  77. echo.
  78. echo There was a problem compiling your map, check your MecklenburgV_RainB5.log file for errors.
  79. :succeeded
  80. echo.
  81. if exist "F:\HLDev\Goldsource\Hammer\Mecklenburg\Rain\MecklenburgV_RainB5.log" "F:\WINDOWS\NOTEPAD.EXE" "F:\HLDev\Goldsource\Hammer\Mecklenburg\Rain\MecklenburgV_RainB5.log"