Fix/add gamepacks links; workarounds for some games
Updating routes. Merge pull request #1 from NeonKnightOA/patch-2 Updating routes. Adding remaining gamepacks with respective links and setups. Merge pull request #2 from NeonKnightOA/patch-3 Adding remaining gamepacks with respective links and setups. Last route fixing and updating. My bad. Merge pull request #4 from NeonKnightOA/patch-4 Last route fixing and updating. My bad. Last update. It is now in its own project. Merge pull request #5 from NeonKnightOA/patch-5 Last update. It is now in its own project. From the Xonotic version of NetRadiant (update to the Unvanquished pack). Merge pull request #6 from NeonKnightOA/patch-6 From the Xonotic version of NetRadiant (update to the Unvanquished pa… Even more updates and gamepacks brought from Gitlab. Thanks to @illwieckz for this. Even more updates + workarounds for some games. Last of @illwieckz updates to the packs. Merge pull request #8 from NeonKnightOA/patch-7 Even more updates and gamepacks brought from Gitlab. Merge pull request #9 from NeonKnightOA/patch-8 Even more updates + workarounds for some games. Merge pull request #10 from NeonKnightOA/patch-9 Last of @illwieckz updates to the packs.
This commit is contained in:
@@ -12,9 +12,19 @@ set -ex
|
||||
pack=$1
|
||||
dest=$2
|
||||
|
||||
if [ -d "$pack/tools" ]; then
|
||||
pack="$pack/tools"
|
||||
fi
|
||||
# Some per-game workaround for malformed gamepack
|
||||
case $pack in
|
||||
*/JediAcademyPack)
|
||||
pack="$pack/Tools"
|
||||
;;
|
||||
*/PreyPack|*/Q3Pack)
|
||||
pack="$pack/tools"
|
||||
;;
|
||||
*/WolfPack)
|
||||
pack="$pack/bin"
|
||||
;;
|
||||
esac
|
||||
|
||||
for GAMEFILE in "$pack/games"/*.game; do
|
||||
if [ x"$GAMEFILE" != x"$pack/games/*.game" ]; then
|
||||
$CP "$GAMEFILE" "$dest/games/"
|
||||
|
||||
Reference in New Issue
Block a user