-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' of https://github.com/Velaron/cs16-client
- Loading branch information
Showing
3 changed files
with
49 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
as_oilrig | ||
cs_747 | ||
cs_assault | ||
cs_backalley | ||
cs_estate | ||
cs_havana | ||
cs_italy | ||
cs_militia | ||
cs_office | ||
cs_siege | ||
de_airstrip | ||
de_aztec | ||
de_cbble | ||
de_chateau | ||
de_dust | ||
de_dust2 | ||
de_inferno | ||
de_nuke | ||
de_piranesi | ||
de_prodigy | ||
de_storm | ||
de_survivor | ||
de_torn | ||
de_train | ||
de_vertigo |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
#!/bin/bash | ||
|
||
# Specify the YaPB Graph Database URL | ||
DATABASE_URL="https://yapb.jeefo.net/graph/" | ||
|
||
# Specify the path to the file with the maps list | ||
LIST_FILE="scripts/official_maps.lst" | ||
|
||
# Checking the presence of the list file | ||
if [ ! -f $LIST_FILE ]; then | ||
echo "File $LIST_FILE not found." | ||
exit 1 | ||
fi | ||
|
||
# Read the map list line by line and download graphs for them | ||
while IFS= read -r graph_name; do | ||
file_url="${DATABASE_URL}${graph_name}.graph" | ||
wget "$file_url" -P "3rdparty/cs16client-extras/addons/yapb/data/graph" | ||
done < "$LIST_FILE" | ||
|
||
echo "YaPB Graphs have been downloaded for the maps specified in the list." |