aboutsummaryrefslogtreecommitdiff
path: root/files/batch-compiler-spec/HLExtract.bcs
blob: e1c6c25e1950227a700a376abc0e7bed7129c521 (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
// Specification: HLExtract
// Written by: Ryan Gregg
// Version: 1.1.3
// Created: September 19, 2004
// Last updated: September 19, 2004

Variable
{
  Name		"Output"
  Type		"Folder"
  Optional	"False"
  Hint		"File output directory."
}

Batch
{
  Name		"HLExtract"
  Priority	"1"
  Stages	"HLExtract"
  Filter	"Package Files (*.bsp;*.gcf;*.pak;*.wad)|*.bsp;*.gcf;*.pak;*.wad|BSP Files (*.bsp)|*.bsp|GCF Files (*.gcf)|*.gcf|PAK Files (*.pak)|*.pak|WAD Files (*.wad)|*.wad"
  Template	"@echo off\n"_
  		"\"${StagePath=HLExtract}\" -p \"${FilePath}\\${FileName}.${FileExt}\" -d \"${Output}\" ${StageParam=HLExtract}"
}

//
// HLExtract
//
Stage
{
  Name		"HLExtract"
  Title		"Half-Life Extract"
  Type		"Program"
  Filter	"HLExtract (hlextract.exe)|hlextract.exe"

  CheckBox
  {
    Name	"Console"
    Param	"-c"
    Hint	"\tUse the interactive console."
  }

  CheckBox
  {
    Name	"Silent"
    Param	"-s"
    Hint	"\tDisplay error messages only (not success messages)."
  }

  CheckBox
  {
    Name	"File Mapping"
    Param	"-m"
    Checked	"True"
    Hint	"\tUse Windows file mapping.\n\n"_
		"\tThis can be more effecient and memory usage friendly but can also fail on systems with primitive file mapping."
  }

  CheckBox
  {
    Name	"Volatile Access"
    Param	"-v"
    Hint	"\tAllow for volatile access.\n\n"_
		"\tThis will allow HLLib to open files that Steam already has open but can make HLLib unstable."
  }

  TextBox
  {
    Name	"Extract"
    Param	"-e"
    Size	"2"
    Type	"String"
    Hint	"\tSpecify an item to extract in the format \"root\\folder\\file.ext\" or \"root\\folder\"."
  }

  TextBox
  {
    Name	"Extract"
    Param	"-e"
    Size	"2"
    Type	"String"
    Hint	"\tSpecify an item to extract in the format \"root\\folder\\file.ext\" or \"root\\folder\"."
  }

  TextBox
  {
    Name	"Extract"
    Param	"-e"
    Size	"2"
    Type	"String"
    Hint	"\tSpecify an item to extract in the format \"root\\folder\\file.ext\" or \"root\\folder\"."
  }

  TextBox
  {
    Name	"Extract"
    Param	"-e"
    Size	"2"
    Type	"String"
    Hint	"\tSpecify an item to extract in the format \"root\\folder\\file.ext\" or \"root\\folder\"."
  }

  TextBox
  {
    Name	"Extract"
    Param	"-e"
    Size	"2"
    Type	"String"
    Hint	"\tSpecify an item to extract in the format \"root\\folder\\file.ext\" or \"root\\folder\"."
  }

  Space
  {
    Size	"1"
  }

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