Merged to master.

This commit is contained in:
Storm Dragon 2020-11-08 20:19:44 -05:00
parent 8a17939f3c
commit 9f42469b89

View File

@ -128,13 +128,9 @@ install_wine_bottle() {
mkdir -p "$HOME/.local/wine/${bottle}" mkdir -p "$HOME/.local/wine/${bottle}"
export WINEPREFIX="$HOME/.local/wine/${bottle}" export WINEPREFIX="$HOME/.local/wine/${bottle}"
# Arguments to the function are dependancies to be installed. # 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 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 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. # The list of games available for installation.
# Use menu friendly names. # Use menu friendly names.
gameList=( gameList=(
"A Hero's Call"
"Adrian's Doom" "Adrian's Doom"
"Adventurers At C" "Adventurers At C"
"AudioDisc" "AudioDisc"
@ -341,9 +338,12 @@ gameList=(
"Lockpick" "Lockpick"
"Manamon" "Manamon"
"Manamon 2" "Manamon 2"
"Oh Shit!"
"Paladin of the Sky" "Paladin of the Sky"
"Pontes Kickups!" "Pontes Kickups!"
"Q9"
"Revenge of the Undead" "Revenge of the Undead"
"RS Games"
"Run For Your Life" "Run For Your Life"
"Shades of Doom" "Shades of Doom"
"Super Egg Hunt" "Super Egg Hunt"
@ -352,7 +352,7 @@ gameList=(
"The Blind Swordsman" "The Blind Swordsman"
"Technoshock" "Technoshock"
"Top Speed 3" "Top Speed 3"
"Q9" "Undead Assault"
) )
# With no arguments, open the game launcher. # With no arguments, open the game launcher.
@ -386,6 +386,14 @@ done
# Install game based on the selection above. # Install game based on the selection above.
case "${game}" in 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") "Adrian's Doom")
install_wine_bottle speechsdk install_wine_bottle speechsdk
download "https://agarchive.net/games/mt/adrian's%20doom.exe" download "https://agarchive.net/games/mt/adrian's%20doom.exe"
@ -499,6 +507,14 @@ case "${game}" in
wine "${cache}/manamon2_installer.exe" /silent wine "${cache}/manamon2_installer.exe" /silent
add_launcher "c:\Program Files\VGStorm.com\Manamon 2\rpg.exe" 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") "Paladin of the Sky")
export winVer="win7" export winVer="win7"
install_wine_bottle speechsdk install_wine_bottle speechsdk
@ -528,6 +544,14 @@ case "${game}" in
rm -fv "${WINEPREFIX}/drive_c/Program Files/rotu/nvdaControllerClient32.dll" rm -fv "${WINEPREFIX}/drive_c/Program Files/rotu/nvdaControllerClient32.dll"
add_launcher "c:\Program Files\rotu\rotu.exe" 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") "Run For Your Life")
export winVer="win7" export winVer="win7"
install_wine_bottle install_wine_bottle
@ -554,6 +578,7 @@ case "${game}" in
add_launcher "c:\Program Files\lWorks\Super Liam\sl.exe" add_launcher "c:\Program Files\lWorks\Super Liam\sl.exe"
;; ;;
"Swamp") "Swamp")
export winVer="win7"
winetricksSettings="vd=1024x768" winetricksSettings="vd=1024x768"
install_wine_bottle vb6run dx8vb quartz speechsdk corefonts install_wine_bottle vb6run dx8vb quartz speechsdk corefonts
download "https://kaldobsky.com/audiogames/SwampPart1.zip" "https://kaldobsky.com/audiogames/SwampPart2.zip" 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 wine "${cache}/Tspeed_3.0.3.exe" /silent
add_launcher "c:\Program Files\Playing in the dark\Top Speed 3\TopSpeed.exe" 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") "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=&currency_code=USD&bn=PP-DonationsBF:btn_donateCC_LG.gif:NonHosted" 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=&currency_code=USD&bn=PP-DonationsBF:btn_donateCC_LG.gif:NonHosted"
;; ;;