Skip to content

Commit 2277d40

Browse files
committed
CS2: add beta branch selector
1 parent cbb766f commit 2277d40

3 files changed

Lines changed: 43 additions & 1 deletion

File tree

counter-strike2.kvp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Meta.Prerequisites=[]
2121
Meta.ExtraContainerPackages=[]
2222
Meta.ConfigReleaseState=NotSpecified
2323
Meta.NoCommercialUsage=False
24-
Meta.ConfigVersion=4
24+
Meta.ConfigVersion=5
2525
Meta.ReleaseNotes=
2626
Meta.BreakingReleaseNotes=
2727
Meta.AppConfigId=3446bb16-65ea-45fc-993b-cac42f15bd2b

counter-strike2config.json

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -304,6 +304,34 @@
304304
"Placeholder": "",
305305
"EnumValues": {}
306306
},
307+
{
308+
"DisplayName": "Enable Beta Branch",
309+
"Category": "Updates",
310+
"Subcategory": "Steam Downloads:download",
311+
"Description": "If enabled, allows beta branches (branches other than \"public\") to be installed. Specify the branch under \"Selected Beta Branch\". Update the server after switching branches",
312+
"Keywords": "enable,beta,branch",
313+
"FieldName": "EnableBeta",
314+
"InputType": "checkbox",
315+
"ParamFieldName": "EnableBeta",
316+
"DefaultValue": "false",
317+
"EnumValues": {
318+
"False": "false",
319+
"True": "true"
320+
}
321+
},
322+
{
323+
"DisplayName": "Selected Beta Branch",
324+
"Category": "Updates",
325+
"Subcategory": "Steam Downloads:download",
326+
"Description": "Sets the [beta branch](https://steamdb.info/app/730/depots/) to install. Requires \"Enable Beta Branch\" to be enabled. Set any required password under \"Beta Password\". Update the server after switching branches",
327+
"Keywords": "beta,branch",
328+
"FieldName": "BetaBranch",
329+
"InputType": "text",
330+
"ParamFieldName": "BetaBranch",
331+
"DefaultValue": "",
332+
"Placeholder": "animgraph_2_beta",
333+
"EnumValues": {}
334+
},
307335
{
308336
"DisplayName": "Install Metamod",
309337
"Category": "Updates",

counter-strike2updates.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,20 @@
55
"UpdateSource": "SteamCMD",
66
"UpdateSourceData": "730",
77
"UpdateSourceArgs": "730",
8+
"UpdateSourceVersion": "public",
9+
"UpdateSourceConditionSetting": "EnableBeta",
10+
"UpdateSourceConditionValue": "false",
11+
"SkipOnFailure": false
12+
},
13+
{
14+
"UpdateStageName": "SteamCMD Server Download",
15+
"UpdateSourcePlatform": "All",
16+
"UpdateSource": "SteamCMD",
17+
"UpdateSourceData": "730",
18+
"UpdateSourceArgs": "730",
19+
"UpdateSourceVersion": "{{BetaBranch}}",
20+
"UpdateSourceConditionSetting": "EnableBeta",
21+
"UpdateSourceConditionValue": "true",
822
"SkipOnFailure": false
923
},
1024
{

0 commit comments

Comments
 (0)