Skip to content

Commit 38e1d4a

Browse files
committed
- ADDED: [Battle Royale - Sinking Islands](https://steamcommunity.com/sharedfiles/filedetails/?id=3462095803) to Battle Royale
- ADDED: [Mirage Bricks](https://steamcommunity.com/sharedfiles/filedetails/?id=3464733042) to Wingman, GunGame and Competitive - ADDED: [Minecraft HungerGame](https://steamcommunity.com/sharedfiles/filedetails/?id=3240933254) to Battle Royale - ADDED: [DE_RATS REMAKE](https://steamcommunity.com/sharedfiles/filedetails/?id=3460962520) to GunGame and Competitive - UPDATED: `get-map-names.sh` script to look for more `.vpk` files to extract to find map name
1 parent 7785c8c commit 38e1d4a

File tree

5 files changed

+36
-12
lines changed

5 files changed

+36
-12
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Large diffs are not rendered by default.

game/csgo/addons/counterstrikesharp/configs/plugins/GameModeManager/GameModeManager.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@
279279
{
280280
"Name": "Battle Royale",
281281
"Config": "br.cfg",
282-
"DefaultMap": "3330484099",
282+
"DefaultMap": "3462095803",
283283
"MapGroups": [
284284
"mg_battleroyale"
285285
]

game/csgo/gamemodes_server.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,8 @@
146146
"workshop/3073892687/de_season" ""
147147
"workshop/3386116667/de_ema" ""
148148
"workshop/3345551391/twofort_cs2" ""
149+
"workshop/3460962520/de_rats_remake" ""
150+
"workshop/3464733042/de_mirage_bricks" ""
149151
}
150152
}
151153
"mg_retake"
@@ -234,6 +236,7 @@
234236
"workshop/3309665004/skatepark" ""
235237
"workshop/3386116667/de_ema" ""
236238
"workshop/3360723913/paintit" ""
239+
"workshop/3464733042/de_mirage_bricks" ""
237240
}
238241
}
239242
"mg_dm"
@@ -282,6 +285,8 @@
282285
"workshop/3360723913/paintit" ""
283286
"workshop/3248340515/kloce" ""
284287
"workshop/3326465469/gulag" ""
288+
"workshop/3460962520/de_rats_remake" ""
289+
"workshop/3464733042/de_mirage_bricks" ""
285290
}
286291
}
287292
"mg_1v1"
@@ -369,10 +374,12 @@
369374
"displayname" "Battle Royale"
370375
"maps"
371376
{
377+
"workshop/3462095803/br_t2" ""
372378
"workshop/3330484099/br_electrified" ""
373379
"workshop/3297489255/br_stacks" ""
374380
"workshop/3267454508/br_flood" ""
375381
"workshop/3186779271/minecraft" ""
382+
"workshop/3240933254/minecraft_hungergame" ""
376383
}
377384
}
378385
"mg_deathrun"

game/csgo/subscribed_file_ids.txt

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@
1717
3073892687
1818
3386116667
1919
3345551391
20+
3460962520
21+
3464733042
2022
3413800427
2123
3402437047
2224
3414036782
@@ -29,27 +31,24 @@
2931
3165559377
3032
3309665004
3133
3360723913
34+
3443206318
3235
3070238628
3336
3072640420
37+
3134466699
3438
3070348309
35-
3077599381
3639
3088183343
3740
3082605693
3841
3070291913
39-
3134466699
4042
3082113929
4143
3080973179
4244
3086555291
4345
3074961197
4446
3095778105
4547
3071890065
4648
3109232789
47-
3112806723
48-
3257582863
4949
3343693110
5050
3248340515
5151
3326465469
52-
3443206318
5352
3070253400
5453
3077211069
5554
3077153735
@@ -89,10 +88,12 @@
8988
3082120895
9089
3202752274
9190
3076765511
91+
3462095803
9292
3330484099
9393
3297489255
9494
3267454508
9595
3186779271
96+
3240933254
9697
3164611860
9798
3311285877
9899
3188021118

scripts/get-map-names.sh

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,23 @@ while IFS= read -r id; do
4343
echo -e "Maps:"
4444

4545
# 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$'
4763

4864
# New line
4965
echo ""

0 commit comments

Comments
 (0)