aboutsummaryrefslogtreecommitdiff
path: root/files/batch-compiler-spec/Source_Tools_Normal.bcs
diff options
context:
space:
mode:
authorMaxxiii <[email protected]>2020-09-02 17:56:51 +0300
committerMaxxiii <[email protected]>2020-09-02 17:56:51 +0300
commit209bbebcdd641d4ad2b53e78478ad68b99501b52 (patch)
treed12bdced7c56c86a3750f9b011873a7888dace49 /files/batch-compiler-spec/Source_Tools_Normal.bcs
parentUpdate README.md (diff)
downloadnemstools.github.io-209bbebcdd641d4ad2b53e78478ad68b99501b52.tar.xz
nemstools.github.io-209bbebcdd641d4ad2b53e78478ad68b99501b52.zip
Add Batch Compiler spec files, update links to them, ...
update some internal links for subpages, fix subpages menu for Batch_Compiler-Tutorials and Terrain_Generator-Tutorials
Diffstat (limited to 'files/batch-compiler-spec/Source_Tools_Normal.bcs')
-rw-r--r--files/batch-compiler-spec/Source_Tools_Normal.bcs51
1 files changed, 51 insertions, 0 deletions
diff --git a/files/batch-compiler-spec/Source_Tools_Normal.bcs b/files/batch-compiler-spec/Source_Tools_Normal.bcs
new file mode 100644
index 0000000..898bffd
--- /dev/null
+++ b/files/batch-compiler-spec/Source_Tools_Normal.bcs
@@ -0,0 +1,51 @@
+// Specification: Source Tools Normal
+// Written by: Ryan Gregg
+// Version: N/A
+// Created: November 5, 2004
+// Last updated: April 27, 2005
+
+// Updated by: Ryan Gregg
+// Date: April 27, 2005
+// Added CST link.
+
+Include "Source Tools.bci"
+Include "Source Batch.bci"
+Include "Steam.bci"
+Include "Templates.bci"
+
+Batch
+{
+ Name "Source Tools Normal"
+ Priority "3"
+ Links "Custom Source Tools,http://www.zhlt.tk/|"_
+ "Source SDK,http://www.valve-erc.com/srcsdk/|"_
+ "Steam,http://www.steampowered.com/|"_
+ "Valve,http://www.valvesoftware.com/"
+ Filter "Supported Files|*.vmf;*.bsp|VMF Files (*.vmf)|*.vmf|BSP Files (*.bsp)|*.bsp"
+ Stages "BSP|VIS|RAD|Shared|Batch|Steam"
+ LogFile "${FilePath}\\${FileName}.log"
+ Template "@echo off\n"_
+ "set VPROJECT=${ValveProject}\n"_
+ "cd ${BinRoot}\n"_
+
+ "${Splash}"_
+
+ "\"${StagePath=BSP}\" ${StageParam=BSP} \"${FilePath}\\${FileName}\"\n"_
+ "if ERRORLEVEL 1 goto failed\n"_
+ "\"${StagePath=VIS}\" ${StageParam=VIS} \"${FilePath}\\${FileName}\"\n"_
+ "if ERRORLEVEL 1 goto failed\n"_
+ "\"${StagePath=RAD}\" ${StageParam=RAD} \"${FilePath}\\${FileName}\"\n"_
+ "if ERRORLEVEL 1 goto failed\n"_
+
+ "${StageCmd=Batch}\n"_
+ "\"${StagePath=Steam}\" ${StageParam=Steam}\n"_
+ "goto succeeded\n"_
+
+ ":failed\n"_
+ "echo.\n"_
+ "echo There was a problem compiling your map, check your ${FileName}.log file for errors.\n"_
+ ":succeeded\n"_
+ "echo.\n"_
+
+ "${LogViewerRun}\n"
+} \ No newline at end of file