Merged crazy pparty changes.

This commit is contained in:
Storm Dragon 2020-09-20 11:23:03 -04:00
commit 14093c80ca
2 changed files with 59 additions and 0 deletions

View File

@ -272,6 +272,7 @@ unset manualInstall
gameList=( gameList=(
"Adrian's Doom" "Adrian's Doom"
"Bloodshed" "Bloodshed"
"Crazy Party"
"Easter Quest" "Easter Quest"
"Kitchensinc Games" "Kitchensinc Games"
"Light Cars" "Light Cars"
@ -281,6 +282,7 @@ gameList=(
"Super Liam" "Super Liam"
"Swamp" "Swamp"
"The Blind Swordsman" "The Blind Swordsman"
"The Road to Rage"
"Technoshock" "Technoshock"
"Top Speed 3" "Top Speed 3"
"Q9" "Q9"
@ -328,6 +330,14 @@ case "${game}" in
download "http://www.samtupy.com/games/bloodshed.exe" download "http://www.samtupy.com/games/bloodshed.exe"
cp "${cache}/bloodshed.exe" "$WINEPREFIX/drive_c/Program Files/" cp "${cache}/bloodshed.exe" "$WINEPREFIX/drive_c/Program Files/"
;; ;;
"Crazy Party")
export winVer="win7"
install_wine_bottle speechsdk
download "http://pragmapragma.free.fr/crazy-party/Crazy-Party-beta73.zip"
unzip -d "$WINEPREFIX/drive_c/Program Files" "${cache}/Crazy-Party-beta73.zip"
rm -f "$WINEPREFIX/drive_c/Program Files/Crazy-Party-beta73/nvdaControllerClient32.dll"
add_launcher "c:\Program Files\Crazy-Party-beta73\Crazy Party.exe"
;;
"Easter Quest") "Easter Quest")
install_wine_bottle install_wine_bottle
download "https://agarchive.net/games/mt/easter%20quest%20setup.exe" download "https://agarchive.net/games/mt/easter%20quest%20setup.exe"
@ -397,6 +407,17 @@ case "${game}" in
unzip -d "$WINEPREFIX/drive_c/Program Files" "${cache}/theblindswordsmanPC.zip" unzip -d "$WINEPREFIX/drive_c/Program Files" "${cache}/theblindswordsmanPC.zip"
add_launcher "c:\Program Files\TheBlindSwordsman.exe" add_launcher "c:\Program Files\TheBlindSwordsman.exe"
;; ;;
"The Road to Rage")
if [[ "$(uname -m)" != "x86_64" ]]; then
echo "Sorry, this game is only supported on 64 bit systems."
exit 0
fi
export WINEARCH=win64
install_wine_bottle speechsdk
download "https://iamtalon.me/games/rtr_ultimate.zip"
unzip -d "$WINEPREFIX/drive_c/Program Files" "${cache}/rtr_ultimate.zip"
add_launcher "c:\Program Files\rtr_Ultimate\trtr.exe"
;;
"Technoshock") "Technoshock")
install_wine_bottle install_wine_bottle
download "http://tiflocomp.ru/download/games/technoshock_140b_en.zip" "http://tiflocomp.ru/download/games/technoshock140b_en_update.zip" download "http://tiflocomp.ru/download/games/technoshock_140b_en.zip" "http://tiflocomp.ru/download/games/technoshock140b_en_update.zip"

38
setup.sh Executable file
View File

@ -0,0 +1,38 @@
#!/bin/bash
# Installer/configuration tool for wine
# If this fails on your system, please contact storm_dragon@linux-a11y.org
is_function() {
LC_ALL=C type "$1" 2> /dev/null | grep -q "$1 is a function"
}
configure_arch() {
declare -a packageList=(cabextract dos2unix unzip wget wine winetricks wine_gecko wine-mono sdl2 ncurses mpg123 libpulse libpng libjpeg-turbo gnutls alsa-plugins alsa-lib mesa openal xz)
if [[ "$(uname -m)" == "x86_64" ]]; then
# Enable multilib
sudo sed -i '/^#\[multilib\]$/{{N;s/^#\[multilib\]\n#Include = \/etc\/pacman.d\/mirrorlist$/[multilib]\nInclude = \/etc\/pacman.d\/mirrorlist/;t;P;D}}' /etc/pacman.conf
# include lib32 packages.
packageList+=(lib32-sdl2 lib32-ncurses lib32-mpg123 lib32-libpulse lib32-libpng lib32-libjpeg-turbo lib32-gnutls lib32-alsa-plugins lib32-alsa-lib lib32-mesa lib32-openal)
fi
sudo pacman -Sy --needed ${packageList[*]}
}
configure_debian() {
declare -a packageList=(winehq-stable)
# make sure 32 bit libraries are available
sudo dpkg --add-architecture i386
sudo apt install --install-recommends ${packageList[*]}
}
distro="$(head -1 /etc/issue | cut -d ' ' -f1)"
distro="${distro,,}"
if is_function configure_${distro} ; then
configure_${distro}
else
echo "${distro^} is not yet supported. If you want it added, please contact storm_dragon@linux-a11y.org" | fold -s -w 72
fi
exit 0