From 9f42469b890afe67a81b89c4b97a259d81887b05 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Sun, 8 Nov 2020 20:19:44 -0500 Subject: [PATCH] Merged to master. --- audiogame-manager.sh | 47 +++++++++++++++++++++++++++++++++++++------- 1 file changed, 40 insertions(+), 7 deletions(-) diff --git a/audiogame-manager.sh b/audiogame-manager.sh index 6db1edb..a1d11df 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -128,13 +128,9 @@ install_wine_bottle() { mkdir -p "$HOME/.local/wine/${bottle}" export WINEPREFIX="$HOME/.local/wine/${bottle}" # Arguments to the function are dependancies to be installed. - (wine msiexec /i z:/usr/share/wine/mono/$(ls -1 /usr/share/wine/mono/) /silent + (DISPLAY="" wineboot -u + wine msiexec /i z:/usr/share/wine/mono/$(ls -1 /usr/share/wine/mono/) /silent wine msiexec /i z:$(ls -1 /usr/share/wine/gecko/*x86.msi) /silent - # If the game requires speechsdk, get the espeak voices. - if [[ "$*" =~ speechsdk ]]; then - download "http://sourceforge.net/projects/espeak/files/espeak/espeak-1.48/setup_espeak-1.48.04.exe" - wine "${cache}/setup_espeak-1.48.04.exe" /silent - fi winetricks -q $@ ${winVer:-winxp} ${winetricksSettings}) | dialog --progressbox "Installing wine bottle, please wait..." -1 -1 } @@ -326,6 +322,7 @@ unset manualInstall # The list of games available for installation. # Use menu friendly names. gameList=( + "A Hero's Call" "Adrian's Doom" "Adventurers At C" "AudioDisc" @@ -341,9 +338,12 @@ gameList=( "Lockpick" "Manamon" "Manamon 2" + "Oh Shit!" "Paladin of the Sky" "Pontes Kickups!" + "Q9" "Revenge of the Undead" + "RS Games" "Run For Your Life" "Shades of Doom" "Super Egg Hunt" @@ -352,7 +352,7 @@ gameList=( "The Blind Swordsman" "Technoshock" "Top Speed 3" - "Q9" + "Undead Assault" ) # With no arguments, open the game launcher. @@ -386,6 +386,14 @@ done # Install game based on the selection above. case "${game}" in + "A Hero's Call") + export winVer="win7" + install_wine_bottle speechsdk corefonts dotnet40 xna31 + download "http://files.OutOfSightGames.com/files/a-heros-call.zip" "https://stormgames.wolfe.casa/downloads/nvdaControllerClient32.dll" + unzip -d "$WINEPREFIX/drive_c/Program Files" "${cache}/a-heros-call.zip" + find "${WINEPREFIX}" -type f -name 'nvdaControllerClient32.dll' -exec cp -v "${cache}/nvdaControllerClient32.dll" "{}" \; + add_launcher "c:\Program Files\a-heros-call\A Hero's Call.exe" + ;; "Adrian's Doom") install_wine_bottle speechsdk download "https://agarchive.net/games/mt/adrian's%20doom.exe" @@ -499,6 +507,14 @@ case "${game}" in wine "${cache}/manamon2_installer.exe" /silent add_launcher "c:\Program Files\VGStorm.com\Manamon 2\rpg.exe" ;; + "Oh Shit!") + export winVer="win7" + install_wine_bottle speechsdk + download "http://samtupy.com/stevend/oh_shit.zip" "https://stormgames.wolfe.casa/downloads/nvdaControllerClient32.dll" + unzip -d "$WINEPREFIX/drive_c/Program Files" "${cache}/oh_shit.zip" + find "${WINEPREFIX}" -type f -name 'nvdaControllerClient32.dll' -exec cp -v "${cache}/nvdaControllerClient32.dll" "{}" \; + add_launcher "c:\Program Files\oh_shit\OhShit.exe" + ;; "Paladin of the Sky") export winVer="win7" install_wine_bottle speechsdk @@ -528,6 +544,14 @@ case "${game}" in rm -fv "${WINEPREFIX}/drive_c/Program Files/rotu/nvdaControllerClient32.dll" add_launcher "c:\Program Files\rotu\rotu.exe" ;; + "RS Games") + export winVer="win7" + install_wine_bottle speechsdk + download "http://rsgames.org/rsdownloads/rsgclient/rsgames-client-setup-2.01.exe" + wine "${cache}/rsgames-client-setup-2.01.exe" /silent + find "${WINEPREFIX}" -type f -name 'nvdaControllerClient32.dll' -exec cp -v "${cache}/nvdaControllerClient32.dll" "{}" \; + add_launcher "c:\Program Files\RS Games Client\rsg.exe" + ;; "Run For Your Life") export winVer="win7" install_wine_bottle @@ -554,6 +578,7 @@ case "${game}" in add_launcher "c:\Program Files\lWorks\Super Liam\sl.exe" ;; "Swamp") + export winVer="win7" winetricksSettings="vd=1024x768" install_wine_bottle vb6run dx8vb quartz speechsdk corefonts download "https://kaldobsky.com/audiogames/SwampPart1.zip" "https://kaldobsky.com/audiogames/SwampPart2.zip" @@ -588,6 +613,14 @@ case "${game}" in wine "${cache}/Tspeed_3.0.3.exe" /silent add_launcher "c:\Program Files\Playing in the dark\Top Speed 3\TopSpeed.exe" ;; + "Undead Assault") + export winVer="win7" + install_wine_bottle speechsdk + download "http://undead-assault.com/static/files/public/undead_assault.zip" "https://stormgames.wolfe.casa/downloads/nvdaControllerClient32.dll" + unzip -d "$WINEPREFIX/drive_c/Program Files/undead_assault" "${cache}/undead_assault.zip" + find "${WINEPREFIX}" -type f -name 'nvdaControllerClient32.dll' -exec cp -v "${cache}/nvdaControllerClient32.dll" "{}" \; + add_launcher "c:\Program Files\undead_assault\Undead Assault.exe" + ;; "Make a One Time Donation") xdg-open "https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=stormdragon2976@gmail.com&lc=US&item_name=Donation+to+Storm+Games&no_note=0&cn=¤cy_code=USD&bn=PP-DonationsBF:btn_donateCC_LG.gif:NonHosted" ;;