File tree 5 files changed +36
-12
lines changed
addons/counterstrikesharp/configs/plugins/GameModeManager 5 files changed +36
-12
lines changed Load Diff Large diffs are not rendered by default.
Original file line number Diff line number Diff line change 279
279
{
280
280
"Name" : " Battle Royale" ,
281
281
"Config" : " br.cfg" ,
282
- "DefaultMap" : " 3330484099 " ,
282
+ "DefaultMap" : " 3462095803 " ,
283
283
"MapGroups" : [
284
284
" mg_battleroyale"
285
285
]
Original file line number Diff line number Diff line change 146
146
"workshop/3073892687/de_season" ""
147
147
"workshop/3386116667/de_ema" ""
148
148
"workshop/3345551391/twofort_cs2" ""
149
+ "workshop/3460962520/de_rats_remake" ""
150
+ "workshop/3464733042/de_mirage_bricks" ""
149
151
}
150
152
}
151
153
"mg_retake"
234
236
"workshop/3309665004/skatepark" ""
235
237
"workshop/3386116667/de_ema" ""
236
238
"workshop/3360723913/paintit" ""
239
+ "workshop/3464733042/de_mirage_bricks" ""
237
240
}
238
241
}
239
242
"mg_dm"
282
285
"workshop/3360723913/paintit" ""
283
286
"workshop/3248340515/kloce" ""
284
287
"workshop/3326465469/gulag" ""
288
+ "workshop/3460962520/de_rats_remake" ""
289
+ "workshop/3464733042/de_mirage_bricks" ""
285
290
}
286
291
}
287
292
"mg_1v1"
369
374
"displayname" "Battle Royale"
370
375
"maps"
371
376
{
377
+ "workshop/3462095803/br_t2" ""
372
378
"workshop/3330484099/br_electrified" ""
373
379
"workshop/3297489255/br_stacks" ""
374
380
"workshop/3267454508/br_flood" ""
375
381
"workshop/3186779271/minecraft" ""
382
+ "workshop/3240933254/minecraft_hungergame" ""
376
383
}
377
384
}
378
385
"mg_deathrun"
Original file line number Diff line number Diff line change 17
17
3073892687
18
18
3386116667
19
19
3345551391
20
+ 3460962520
21
+ 3464733042
20
22
3413800427
21
23
3402437047
22
24
3414036782
29
31
3165559377
30
32
3309665004
31
33
3360723913
34
+ 3443206318
32
35
3070238628
33
36
3072640420
37
+ 3134466699
34
38
3070348309
35
- 3077599381
36
39
3088183343
37
40
3082605693
38
41
3070291913
39
- 3134466699
40
42
3082113929
41
43
3080973179
42
44
3086555291
43
45
3074961197
44
46
3095778105
45
47
3071890065
46
48
3109232789
47
- 3112806723
48
- 3257582863
49
49
3343693110
50
50
3248340515
51
51
3326465469
52
- 3443206318
53
52
3070253400
54
53
3077211069
55
54
3077153735
89
88
3082120895
90
89
3202752274
91
90
3076765511
91
+ 3462095803
92
92
3330484099
93
93
3297489255
94
94
3267454508
95
95
3186779271
96
+ 3240933254
96
97
3164611860
97
98
3311285877
98
99
3188021118
Original file line number Diff line number Diff line change @@ -43,7 +43,23 @@ while IFS= read -r id; do
43
43
echo -e " Maps:"
44
44
45
45
# Run the vpk command
46
- vpk -l " steamcmd/steamapps/content/app_730/item_$id /$id .vpk" | grep ' ^maps/.*\.vpk$'
46
+ # Check to see if $id.vpk exists or $id_dir.vpk or $id_000.vpk"
47
+ vpkfile=" steamcmd/steamapps/content/app_730/item_$id /$id .vpk"
48
+ if [[ ! -f " $vpkfile " ]]; then
49
+ vpkfile=" steamcmd/steamapps/content/app_730/item_$id /${id} _dir.vpk"
50
+ fi
51
+ if [[ ! -f " $vpkfile " ]]; then
52
+ vpkfile=" steamcmd/steamapps/content/app_730/item_$id /${id} _000.vpk"
53
+ fi
54
+ # Check if the vpk file exists
55
+ if [[ ! -f " $vpkfile " ]]; then
56
+ echo " Error: $vpkfile not found."
57
+ continue
58
+ fi
59
+ # Extract the vpk file and list the contents
60
+ echo " Extracting $vpkfile ..."
61
+ # Extract the vpk file
62
+ vpk -l " $vpkfile " | grep ' ^maps/.*\.vpk$' # grep '^maps/' # grep '^maps/.*\.vpk$'
47
63
48
64
# New line
49
65
echo " "
You can’t perform that action at this time.
0 commit comments