blob: b28682af8e6bb3cbe6e1aae6b89abcc38ad20858 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
|
// Specification: Batch
// Written by: Ryan Gregg
// Version: N/A
// Created: August 4, 2004
// Last updated: October 17, 2004
// Updated by: Ryan Gregg
// Date: October 17, 2004
// Added Batch Batch.
// Updated by: Ryan Gregg
// Date: September 5, 2004
// Thanks to: Matt 'Bluefang' Turnbull
// Added Delete .INC After Compile
// Moved Delete .ERR After Compile
// Fixed Delete .ENT.BAK After Compile
// Updated by: Ryan Gregg
// Date: August 9, 2004
// Thanks to: Anders Jenbo
// Added Delete .ENT.BAK After Compile
Variable
{
Name "Output"
Type "Folder"
Optional "False"
Hint "File output directory."
}
Batch
{
Name "Batch"
Priority "1"
Stages "Batch"
Template "@echo off\n"_
"${StageCmd=Batch}\n"
}
//
// Batch
//
Stage
{
Name "Batch"
Title "Batch Operations"
Type "CommandList"
//
// Recommended File Deletions
//
LabelBox
{
Name "Recommended File Deletions:"
Bold "True"
}
CheckBox
{
Name "Delete .WIC After Compile"
Param "if not exist \"${FilePath}\\${FileName}.wic\" goto nodelwic\n"_
"del \"${FilePath}\\${FileName}.wic\"\n"_
"echo ${FilePath}\\${FileName}.wic deleted.\n"_
":nodelwic"
}
CheckBox
{
Name "Delete .LIN After Compile"
Param "if not exist \"${FilePath}\\${FileName}.lin\" goto nodellin\n"_
"del \"${FilePath}\\${FileName}.lin\"\n"_
"echo ${FilePath}\\${FileName}.lin deleted.\n"_
":nodellin"
}
CheckBox
{
Name "Delete .P0 After Compile"
Param "if not exist \"${FilePath}\\${FileName}.p0\" goto nodelp0\n"_
"del \"${FilePath}\\${FileName}.p0\"\n"_
"echo ${FilePath}\\${FileName}.p0 deleted.\n"_
":nodelp0"
}
CheckBox
{
Name "Delete .P1 After Compile"
Param "if not exist \"${FilePath}\\${FileName}.p1\" goto nodelp1\n"_
"del \"${FilePath}\\${FileName}.p1\"\n"_
"echo ${FilePath}\\${FileName}.p1 deleted.\n"_
":nodelp1"
}
CheckBox
{
Name "Delete .P2 After Compile"
Param "if not exist \"${FilePath}\\${FileName}.p2\" goto nodelp2\n"_
"del \"${FilePath}\\${FileName}.p2\"\n"_
"echo ${FilePath}\\${FileName}.p2 deleted.\n"_
":nodelp2"
}
CheckBox
{
Name "Delete .P3 After Compile"
Param "if not exist \"${FilePath}\\${FileName}.p3\" goto nodelp3\n"_
"del \"${FilePath}\\${FileName}.p3\"\n"_
"echo ${FilePath}\\${FileName}.p3 deleted.\n"_
":nodelp3"
}
CheckBox
{
Name "Delete .PRT After Compile"
Param "if not exist \"${FilePath}\\${FileName}.prt\" goto nodelprt\n"_
"del \"${FilePath}\\${FileName}.prt\"\n"_
"echo ${FilePath}\\${FileName}.prt deleted.\n"_
":nodelprt"
}
CheckBox
{
Name "Delete .ERR After Compile"
Param "if not exist \"${FilePath}\\${FileName}.err\" goto nodelerr\n"_
"del \"${FilePath}\\${FileName}.err\"\n"_
"echo ${FilePath}\\${FileName}.err deleted.\n"_
":nodelerr"
Hint "Note: If you delete this file you won't be able to view the compiler's error file."
}
CheckBox
{
Name "Delete .ENT.BAK After Compile"
Param "if not exist \"${FilePath}\\${FileName}.ent.bak\" goto nodelentbac\n"_
"del \"${FilePath}\\${FileName}.ent.bak\"\n"_
"echo ${FilePath}\\${FileName}.ent.bak deleted.\n"_
":nodelentbac"
}
Space
{
Size "1"
}
//
// Recommended File Functions
//
LabelBox
{
Name "Recommended File Functions:"
Bold "True"
}
CheckBox
{
Name "Copy .BSP After Compile"
Bold "True"
Param "if not exist \"${FilePath}\\${FileName}.bsp\" goto nocopybsp\n"_
"copy \"${FilePath}\\${FileName}.bsp\" \"${Output}\"\n"_
"echo ${FileName}.bsp copied to ${Output}.\n"_
":nocopybsp"
Hint "Copy your .BSP file to your map destination folder."
}
CheckBox
{
Name "Copy .RES After Compile"
Bold "True"
Param "if not exist \"${FilePath}\\${FileName}.res\" goto nocopyres\n"_
"copy \"${FilePath}\\${FileName}.res\" \"${Output}\"\n"_
"echo ${FileName}.res copied to ${Output}.\n"_
":nocopyres"
Hint "Copy your .RES file to your map destination folder."
}
CheckBox
{
Name "Copy .PTS After Compile"
Bold "True"
Param "if not exist \"${FilePath}\\${FileName}.pts\" goto nocopypts\n"_
"copy \"${FilePath}\\${FileName}.pts\" \"${Output}\"\n"_
"echo ${FileName}.pts copied to ${Output}.\n"_
":nocopypts"
Hint "Copy your .PTS file to your map destination folder."
}
Space
{
Size "7"
}
//
// Unrecommended File Deletions
//
LabelBox
{
Name "Unrecommended File Deletions:"
Bold "True"
}
CheckBox
{
Name "Delete .LOG After Compile"
Param "if not exist \"${FilePath}\\${FileName}.log\" goto nodellog\n"_
"del \"${FilePath}\\${FileName}.log\"\n"_
"echo ${FilePath}\\${FileName}.log deleted.\n"_
":nodellog"
Hint "Note: If you delete this file you won't be able to view the compiler's log file."
}
CheckBox
{
Name "Delete .PTS After Compile"
Param "if not exist \"${FilePath}\\${FileName}.pts\" goto nodelpts\n"_
"del \"${FilePath}\\${FileName}.pts\"\n"_
"echo ${FilePath}\\${FileName}.pts deleted.\n"_
":nodelpts"
Hint "Note: If you delete this file without copying it you won't be able to view the compiler's pts file."
}
CheckBox
{
Name "Delete .MAP After Compile"
Param "if not exist \"${FilePath}\\${FileName}.map\" goto nodelmap\n"_
"del \"${FilePath}\\${FileName}.map\"\n"_
"echo ${FilePath}\\${FileName}.map deleted.\n"_
":nodelmap"
}
CheckBox
{
Name "Delete .MAX After Compile"
Param "if not exist \"${FilePath}\\${FileName}.max\" goto nodelmax\n"_
"del \"${FilePath}\\${FileName}.max\"\n"_
"echo ${FilePath}\\${FileName}.max deleted.\n"_
":nodelmax"
}
CheckBox
{
Name "Delete .RMF After Compile"
Param "if not exist \"${FilePath}\\${FileName}.rmf\" goto nodelrmf\n"_
"del \"${FilePath}\\${FileName}.rmf\"\n"_
"echo ${FilePath}\\${FileName}.rmf deleted.\n"_
":nodelrmf"
}
CheckBox
{
Name "Delete .RMX After Compile"
Param "if not exist \"${FilePath}\\${FileName}.rmx\" goto nodelrmx\n"_
"del \"${FilePath}\\${FileName}.rmx\"\n"_
"echo ${FilePath}\\${FileName}.rmx deleted.\n"_
":nodelrmx"
}
CheckBox
{
Name "Delete .BSP After Compile"
Param "if not exist \"${FilePath}\\${FileName}.bsp\" goto nodelbsp\n"_
"del \"${FilePath}\\${FileName}.bsp\"\n"_
"echo ${FilePath}\\${FileName}.bsp deleted.\n"_
":nodelbsp"
Hint "Note: If you delete this file without copying it you won't be able to play your bsp file."
}
CheckBox
{
Name "Delete .RES After Compile"
Param "if not exist \"${FilePath}\\${FileName}.res\" goto nodelres\n"_
"del \"${FilePath}\\${FileName}.res\"\n"_
"echo ${FilePath}\\${FileName}.res deleted.\n"_
":nodelres"
}
CheckBox
{
Name "Delete .ENT After Compile"
Param "if not exist \"${FilePath}\\${FileName}.ent\" goto nodelent\n"_
"del \"${FilePath}\\${FileName}.ent\"\n"_
"echo ${FilePath}\\${FileName}.ent deleted.\n"_
":nodelent"
}
CheckBox
{
Name "Delete .INC After Compile"
Param "if not exist \"${FilePath}\\${FileName}.inc\" goto nodelinc\n"_
"del \"${FilePath}\\${FileName}.inc\"\n"_
"echo ${FilePath}\\${FileName}.inc deleted.\n"_
":nodelinc"
}
}
|