forked from CubeCoders/AMPTemplates
-
Notifications
You must be signed in to change notification settings - Fork 0
/
counter-strike-czeroupdates.json
184 lines (184 loc) · 7.92 KB
/
counter-strike-czeroupdates.json
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
[
{
"UpdateStageName":"SteamCMD Server Download",
"UpdateSourcePlatform":"All",
"UpdateSource":"SteamCMD",
"UpdateSourceData":"90",
"UpdateSourceArgs":"80",
"UpdateSourceVersion":"{{ServerBranch}}",
"UpdateSourceExtra":"czero"
},
{
"UpdateStageName":"ReHLDS Download",
"UpdateSourcePlatform":"All",
"UpdateSource":"GithubRelease",
"UpdateSourceArgs":"dreamstalker/rehlds",
"UpdateSourceTarget":"{{$FullBaseDir}}",
"UnzipUpdateSource":true,
"OverwriteExistingFiles":true,
"DeleteAfterExtract":true,
"UpdateSourceConditionSetting":"InstallreHLDS",
"UpdateSourceConditionValue":"true"
},
{
"UpdateStageName":"ReHLDS Files Copy",
"UpdateSourcePlatform":"Windows",
"UpdateSource":"Executable",
"UpdateSourceData":"cmd.exe",
"UpdateSourceArgs":"/C xcopy /E /Y /I counter-strike-czero\\90\\bin\\win32\\* counter-strike-czero\\90\\ && rd /S /Q counter-strike-czero\\90\\bin counter-strike-czero\\90\\hlsdk",
"UpdateSourceConditionSetting":"InstallreHLDS",
"UpdateSourceConditionValue":"true",
"SkipOnFailure":false
},
{
"UpdateStageName":"ReHLDS Files Copy",
"UpdateSourcePlatform":"Linux",
"UpdateSource":"Executable",
"UpdateSourceData":"/bin/bash",
"UpdateSourceArgs":"-c '\\cp -rf ./counter-strike-czero/90/bin/linux32/* ./counter-strike-czero/90/ && rm -rf ./counter-strike-czero/90/bin/ ./counter-strike-czero/90/hlsdk/'",
"UpdateSourceConditionSetting":"InstallreHLDS",
"UpdateSourceConditionValue":"true",
"SkipOnFailure":false
},
{
"UpdateStageName":"Server.cfg Template File Download",
"UpdateSourcePlatform":"All",
"UpdateSource":"FetchURL",
"UpdateSourceData":"https://raw.githubusercontent.com/CubeCoders/AMPTemplates/main/counter-strike-czeroserver.cfg",
"UpdateSourceArgs":"AMP_server.cfg",
"UpdateSourceTarget":"{{$FullRootDir}}",
"OverwriteExistingFiles":true
},
{
"UpdateStageName":"Metamod Download",
"UpdateSourcePlatform":"All",
"UpdateSource":"FetchURL",
"UpdateSourceData":"https://www.amxmodx.org/release/metamod-1.21.1-am.zip",
"UpdateSourceTarget":"{{$FullBaseDir}}czero",
"UnzipUpdateSource":true,
"OverwriteExistingFiles":true,
"DeleteAfterExtract":true,
"UpdateSourceConditionSetting":"InstallMetamod",
"UpdateSourceConditionValue":"metamod-amx"
},
{
"UpdateStageName":"Metamod Download",
"UpdateSourcePlatform":"All",
"UpdateSource":"GithubRelease",
"UpdateSourceArgs":"theAsmodai/metamod-r",
"UpdateSourceTarget":"{{$FullBaseDir}}czero",
"UnzipUpdateSource":true,
"OverwriteExistingFiles":true,
"DeleteAfterExtract":true,
"UpdateSourceConditionSetting":"InstallMetamod",
"UpdateSourceConditionValue":"metamod-r"
},
{
"UpdateStageName":"Metamod Download Cleanup",
"UpdateSourcePlatform":"Windows",
"UpdateSource":"Executable",
"UpdateSourceData":"cmd.exe",
"UpdateSourceArgs":"/C rd /S /Q counter-strike-czero\\90\\czero\\sdk counter-strike-czero\\90\\czero\\example_plugin",
"UpdateSourceConditionSetting":"InstallMetamod",
"UpdateSourceConditionValue":"metamod-r",
"SkipOnFailure":true
},
{
"UpdateStageName":"Metamod Download Cleanup",
"UpdateSourcePlatform":"Linux",
"UpdateSource":"Executable",
"UpdateSourceData":"/bin/bash",
"UpdateSourceArgs":"-c 'rm -rf ./counter-strike-czero/90/czero/sdk/ ./counter-strike-czero/90/czero/example_plugin/'",
"UpdateSourceConditionSetting":"InstallMetamod",
"UpdateSourceConditionValue":"metamod-r",
"SkipOnFailure":true
},
{
"UpdateStageName":"Activate Metamod",
"UpdateSourcePlatform":"Linux",
"UpdateSource":"Executable",
"UpdateSourceData":"/bin/bash",
"UpdateSourceArgs":"-c \"sed -i '/^gamedll_linux .*$/ { s//gamedll_linux \\\"addons\\/metamod\\/dlls\\/metamod.so\\\"/ }' counter-strike-czero/90/czero/liblist.gam\"",
"UpdateSourceConditionSetting":"InstallMetamod",
"UpdateSourceConditionValue":"metamod-amx",
"SkipOnFailure":false
},
{
"UpdateStageName":"Activate Metamod",
"UpdateSourcePlatform":"Windows",
"UpdateSource":"Executable",
"UpdateSourceData":"cmd.exe",
"UpdateSourceArgs":"/C start powershell -Command \"(Get-Content 'counter-strike-czero\\90\\czero\\liblist.gam') -replace '^gamedll .+$', 'gamedll \\\"addons\\metamod\\dlls\\metamod.dll\\\"' | Set-Content 'counter-strike-czero\\90\\czero\\liblist.gam'\"",
"UpdateSourceConditionSetting":"InstallMetamod",
"UpdateSourceConditionValue":"metamod-amx",
"SkipOnFailure":false
},
{
"UpdateStageName":"Activate Metamod",
"UpdateSourcePlatform":"Linux",
"UpdateSource":"Executable",
"UpdateSourceData":"/bin/bash",
"UpdateSourceArgs":"-c \"sed -i '/^gamedll_linux .*$/ { s//gamedll_linux \\\"addons\\/metamod\\/metamod_i386.so\\\"/ }' counter-strike-czero/90/czero/liblist.gam\"",
"UpdateSourceConditionSetting":"InstallMetamod",
"UpdateSourceConditionValue":"metamod-r",
"SkipOnFailure":false
},
{
"UpdateStageName":"Activate Metamod",
"UpdateSourcePlatform":"Windows",
"UpdateSource":"Executable",
"UpdateSourceData":"cmd.exe",
"UpdateSourceArgs":"/C start powershell -Command \"(Get-Content 'counter-strike-czero\\90\\czero\\liblist.gam') -replace '^gamedll .+$', 'gamedll \\\"addons\\metamod\\metamod.dll\\\"' | Set-Content 'counter-strike-czero\\90\\czero\\liblist.gam'\"",
"UpdateSourceConditionSetting":"InstallMetamod",
"UpdateSourceConditionValue":"metamod-r",
"SkipOnFailure":false
},
{
"UpdateStageName":"AMX Mod X Plugin Download",
"UpdateSourcePlatform":"Linux",
"UpdateSource":"FetchURL",
"UpdateSourceData":"https://www.amxmodx.org/release/amxmodx-1.8.2-base-linux.tar.gz",
"UpdateSourceTarget":"{{$FullBaseDir}}czero",
"UnzipUpdateSource":true,
"OverwriteExistingFiles":true,
"DeleteAfterExtract":true,
"UpdateSourceConditionSetting":"InstallAMXModX",
"UpdateSourceConditionValue":"true"
},
{
"UpdateStageName":"AMX Mod X Plugin Download",
"UpdateSourcePlatform":"Windows",
"UpdateSource":"FetchURL",
"UpdateSourceData":"https://www.amxmodx.org/release/amxmodx-1.8.2-base-windows.zip",
"UpdateSourceTarget":"{{$FullBaseDir}}czero",
"UnzipUpdateSource":true,
"OverwriteExistingFiles":true,
"DeleteAfterExtract":true,
"UpdateSourceConditionSetting":"InstallAMXModX",
"UpdateSourceConditionValue":"true"
},
{
"UpdateStageName":"AMX Mod X CS Addon Download",
"UpdateSourcePlatform":"Linux",
"UpdateSource":"FetchURL",
"UpdateSourceData":"https://www.amxmodx.org/release/amxmodx-1.8.2-cstrike-linux.tar.gz",
"UpdateSourceTarget":"{{$FullBaseDir}}czero",
"UnzipUpdateSource":true,
"OverwriteExistingFiles":true,
"DeleteAfterExtract":true,
"UpdateSourceConditionSetting":"InstallAMXModX",
"UpdateSourceConditionValue":"true"
},
{
"UpdateStageName":"AMX Mod X CS Addon Download",
"UpdateSourcePlatform":"Windows",
"UpdateSource":"FetchURL",
"UpdateSourceData":"https://www.amxmodx.org/release/amxmodx-1.8.2-cstrike-windows.zip",
"UpdateSourceTarget":"{{$FullBaseDir}}czero",
"UnzipUpdateSource":true,
"OverwriteExistingFiles":true,
"DeleteAfterExtract":true,
"UpdateSourceConditionSetting":"InstallAMXModX",
"UpdateSourceConditionValue":"true"
}
]