Zoners Tools Legacy.bcs 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. // Specification: Zoners Tools Legacy
  2. // Written by: Ryan Gregg
  3. // Version: N/A
  4. // Created: August 4, 2004
  5. // Last updated: September 13, 2004
  6. // Updated by: Ryan Gregg
  7. // Date: September 13, 2004
  8. // Improved game execution.
  9. // Updated by: Ryan Gregg
  10. // Date: August 6, 2004
  11. // Added Zoners Tools Link.
  12. // Added Mapster Link.
  13. // Added Mapster Support.
  14. Include "Zoners Tools.bci"
  15. Include "Mapster.bci"
  16. Include "Batch.bci"
  17. Include "Half-Life.bci"
  18. Include "Steam.bci"
  19. Include "Templates.bci"
  20. Batch
  21. {
  22. Name "Zoners Tools Legacy"
  23. Priority "3"
  24. Links "Zoners Tools,http://dev.valve-erc.com/index.php?go=zhlt|"_
  25. "Mapster,http://countermap.counter-strike.net/Mapster/|"_
  26. "Steam,http://www.steampowered.com/|"_
  27. "Valve,http://www.valvesoftware.com/"
  28. Filter "Supported Files|*.map;*.bsp|MAP Files (*.map)|*.map|BSP Files (*.bsp)|*.bsp"
  29. Stages "CSG|BSP|VIS|NetVIS|Mapster|RAD|RipEnt|Shared|Batch|HL|Steam"
  30. LogFile "${FilePath}\\${FileName}.log"
  31. Template "@echo off\n"_
  32. "set WADROOT=${WADRoot}\n"_
  33. "${Splash}"_
  34. "\"${StagePath=CSG}\" ${StageParam=CSG} \"${FilePath}\\${FileName}\"\n"_
  35. "if ERRORLEVEL 1 goto failed\n"_
  36. "\"${StagePath=BSP}\" ${StageParam=BSP} \"${FilePath}\\${FileName}\"\n"_
  37. "if ERRORLEVEL 1 goto failed\n"_
  38. "\"${StagePath=VIS}\" ${StageParam=VIS} \"${FilePath}\\${FileName}\"\n"_
  39. "if ERRORLEVEL 1 goto failed\n"_
  40. "\"${StagePath=NetVIS}\" ${StageParam=NetVIS} \"${FilePath}\\${FileName}\"\n"_
  41. "if ERRORLEVEL 1 goto failed\n"_
  42. "\"${StagePath=Mapster}\" ${StageParam=Mapster} \"${FilePath}\\${FileName}\"\n"_
  43. "if ERRORLEVEL 1 goto failed\n"_
  44. "\"${StagePath=RAD}\" ${StageParam=RAD} \"${FilePath}\\${FileName}\"\n"_
  45. "if ERRORLEVEL 1 goto failed\n"_
  46. "\"${StagePath=RipEnt}\" ${StageParam=RipEnt} \"${FilePath}\\${FileName}\"\n"_
  47. "if ERRORLEVEL 1 goto failed\n"_
  48. "${StageCmd=Batch}\n"_
  49. "\"${StagePath=hl}\" ${StageParam=hl}\n"_
  50. "\"${StagePath=Steam}\" ${StageParam=Steam}\n"_
  51. "goto succeeded\n"_
  52. ":failed\n"_
  53. "echo.\n"_
  54. "echo There was a problem compiling your map, check your ${FileName}.log file for errors.\n"_
  55. ":succeeded\n"_
  56. "echo.\n"_
  57. "${LogViewerRun}\n"
  58. }