ocnverv.bat 1.3 KB

12345678910111213141516171819202122232425262728293031
  1. @echo off
  2. set VPROJECT=C:\Steam\SteamApps\SourceMods\obsidian
  3. cd C:\Steam\SteamApps\_Funjob_\sourcesdk\bin\orangebox\bin
  4. echo ###################################################
  5. echo # Batch Compiler #
  6. echo ###################################################
  7. echo ###################################################
  8. echo # Please report bugs to: [email protected] #
  9. echo ###################################################
  10. echo.
  11. echo Written At: 12/6/2009 2:20 PM
  12. echo BC Version: 3.1.2.0
  13. echo.
  14. "C:\Steam\SteamApps\_Funjob_\sourcesdk\bin\orangebox\bin\vbsp.exe" -threads 3 "C:\Srcdevkit\OC\oc_nerv_ep2"
  15. "C:\Steam\SteamApps\_Funjob_\sourcesdk\bin\orangebox\bin\vvis.exe" -fast -threads 3 "C:\Srcdevkit\OC\oc_nerv_ep2"
  16. "C:\Steam\SteamApps\_Funjob_\sourcesdk\bin\orangebox\bin\vrad.exe" -noextra -hdr -threads 3 "C:\Srcdevkit\OC\oc_nerv_ep2"
  17. if not exist "C:\Srcdevkit\OC\oc_nerv_ep2.bsp" goto nocopybsp
  18. copy "C:\Srcdevkit\OC\oc_nerv_ep2.bsp" "C:\Steam\SteamApps\SourceMods\obsidian\maps"
  19. echo oc_nerv_ep2.bsp copied to C:\Steam\SteamApps\SourceMods\obsidian\maps.
  20. :nocopybsp
  21. goto succeeded
  22. :failed
  23. echo.
  24. echo There was a problem compiling your map, check your oc_nerv_ep2.log file for errors.
  25. :succeeded
  26. echo.
  27. if exist "C:\Srcdevkit\OC\oc_nerv_ep2.log" "F:\WINDOWS\system32\notepad.exe" "C:\Srcdevkit\OC\oc_nerv_ep2.log"