aboutsummaryrefslogtreecommitdiff
path: root/files/batch-compiler-spec/RESGen.bci
blob: 2f8ecfb5dda5667bcdbf7a0f193daf39bf9289ce (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
// Specification: RESGen
// Written by: Ryan Gregg
// Version: 2.0b3
// Created: August 4, 2004
// Last updated: August 4, 2004

Batch
{
  Name		"RESGen"
  Priority	"1"
  Links		"RESGen,http://www.unitedadmins.com/resgen.php"
  Stages	"RESGen"
  Filter	"BSP Files (*.bsp)|*.bsp"
  Template	"@echo off\n"_
  		"\"${StagePath=RESGen}\" -k ${StageParam=RESGen} -f \"${FilePath}\\${FileName}\"\n"
}

//
// RESGen
//
Stage
{
  Name		"RESGen"
  Title		"Resource Generator"
  Type		"Program"
  Filter	"RESGen (RESGen.exe)|RESGen.exe"

  CheckBox
  {
    Name	"Minimal Output"
    Param	"-v"
    Hint	"\tMakes RESGen only give minimal output.\n\n"_
    		"\tIt's recommended you use this if you want to create res files as fast as possible. RESGen will still report any error."
  }

  CheckBox
  {
    Name	"No Status Line"
    Param	"-s"
    Hint	"\tRESGen will not display it's status line.\n\n"_
    		"\tThis might considerably speed up res file generation, especially on smaller maps."
  }

  CheckBox
  {
    Name	"No Folder Info"
    Param	"-i"
    Hint	"\tRESGen will only report the base folder it's searching, but not the subfolders. Useful with -r option."
  }

  CheckBox
  {
    Name	"No Resource Info"
    Param	"-j"
    Hint	"\tResources found while building the resource list will not be displayed. Useful with -e option."
  }

  CheckBox
  {
    Name	"No Lowercase"
    Param	"-l"
    Hint	"\tTurns off converting all res file entries to lowercase.\n\n"_
    		"\tRESGen converts all res file entries to lowercase since this is the default for Half-Life files. It has to do this because a lot of resource files in maps don't have the proper case that matches the actual resources. Only use this option if you know what you are doing."
  }

  CheckBox
  {
    Name	"Overwrite .RES Files"
    Param	"-o"
    Checked	"True"
    Hint	"\tIf a res file already exists it will be overwritten."
  }

  CheckBox
  {
    Name	"Don't Check .PAK"
    Param	"-p"
    Hint	"\tPrevents RESGen from using the contents of any pakfile for resource verification.\n\n"_
    		"\tThus, any resource that is available, but in a pakfile is excluded from the res file. This option is only useful when the -e option is also used. Please note that if a map comes with it's own pakfile, using this option will generate a res file that is incomplete."
  }

  Space
  {
    Size	"3"
  }

  TextBox
  {
    Name	"Additional Parameters"
    Type	"String"
    Size	"3"
    Hint	"\tAdd additional parameters here as you would a command line."
  }

  FolderBox
  {
    Name	"Folder"
    Param	"-d"
    Hint	"\tSpecify a folder that will be searched for bsp files."
  }

  FolderBox
  {
    Name	"Recursive Folder"
    Param	"-r"
    Hint	"\tSpecify a folder that will be searched for bsp files.  The folder's sub folders will also be searched."
  }

  FolderBox
  {
    Name	"MOD Folder"
    Param	"-e"
    Hint	"\tMakes RESGen verify that all resources in the res file actually exist.\n\n"_
    		"\tResources that can't be found will be excluded from the res file. RESGen expects modpath to point to a valid mod directory structure. If the modpath isn't the valve folder, RESGen will try to find the valve folder too, so a complete resource list can be established."
  }

  FileBox
  {
    Name	"RFA File"
    Param	"-a"
    FullPath	"True"
    Filter	"RFA Files (*.rfa)|*.rfa|Text Files (*.txt)|*.txt"
    Hint	"\tThe contents of the rfa file will be added to the end of the res file.\n\n"_
    		"\tThis is useful when adding custom resources, like the StatsMe sound pack. The .rfa file extension is optional."
  }

  Space
  {
    Size	"7"
  }

  FileBox
  {
    Name	"Exclude .BSP"
    Param	"-x"
    FullPath	"True"
    Filter	"BSP Files (*.bsp)|*.bsp"
    Hint	"\tExclude this map from res file generation.\n\n"_
    		"\tOnly works on maps found with -d or -r options. The .bsp file extension is optional."
  }

  FileBox
  {
    Name	"Exclude .BSP"
    Param	"-x"
    FullPath	"True"
    Filter	"BSP Files (*.bsp)|*.bsp"
    Hint	"\tExclude this map from res file generation.\n\n"_
    		"\tOnly works on maps found with -d or -r options. The .bsp file extension is optional."
  }

  FileBox
  {
    Name	"Exclude .BSP"
    Param	"-x"
    FullPath	"True"
    Filter	"BSP Files (*.bsp)|*.bsp"
    Hint	"\tExclude this map from res file generation.\n\n"_
    		"\tOnly works on maps found with -d or -r options. The .bsp file extension is optional."
  }

  FileBox
  {
    Name	"Exclude .BSP"
    Param	"-x"
    FullPath	"True"
    Filter	"BSP Files (*.bsp)|*.bsp"
    Hint	"\tExclude this map from res file generation.\n\n"_
    		"\tOnly works on maps found with -d or -r options. The .bsp file extension is optional."
  }
}