From 7daee10e5fc0f91f0bd32e53a0626194074fd554 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Thu, 8 Oct 2020 10:42:47 -0400 Subject: [PATCH] Added game "Finger Panic" --- audiogame-manager.sh | 29 ++++++++++++++++++++++------- 1 file changed, 22 insertions(+), 7 deletions(-) diff --git a/audiogame-manager.sh b/audiogame-manager.sh index 57323e7..1e721ac 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -74,6 +74,11 @@ checklist() { else errorList+=("Warning: Wine mono not found, some games may not work.") fi + if command -v xdotool &> /dev/null ; then + echo "Xdotool is installed." + else + errorList+=("Warning: Xdotool is not installed. Some installlers may not work or may need manual intervention.") + fi # Show the results if [[ ${#errorList[@]} -eq 0 ]]; then echo "No problems found, you are good to go." @@ -324,11 +329,12 @@ gameList=( "Crazy Party" "Easter Quest" "Entombed" + "Finger Panic" "Fuck That Bird" "Kitchensinc Games" "Light Cars" "Lockpick" - "Oh Shit!" + "Lone Wolf" "Pontes Kickups!" "Run For Your Life" "Shades of Doom" @@ -426,6 +432,16 @@ case "${game}" in wine "${cache}/EntombedUpdate.exe" /silent #add_launcher "c:\Program Files\MTGames\Easter Quest\easter.exe" ;; + "Finger Panic") + install_wine_bottle dx8vb vb6run + download "http://www.agarchive.net/games/bsc/FingerPanicSetup.exe" + if command -v xdotool &> /dev/null ; then + wine "${cache}/FingerPanicSetup.exe" /silent | xdotool sleep 10 key alt+y --clearmodifiers + else + wine "${cache}/FingerPanicSetup.exe" /silent + fi + add_launcher "c:\Program Files\Finger Panic 1.0\FingerPanic.exe" + ;; "Fuck That Bird") export winVer="win7" install_wine_bottle @@ -459,12 +475,11 @@ case "${game}" in wine "${cache}/lockpicksetup.exe" /silent add_launcher "c:\Program Files\lWorks\Lockpick\lockpick.exe" ;; - "Oh Shit!") - export winVer="win7" - install_wine_bottle msvcrt40 speechsdk - download "http://samtupy.com/stevend/oh_shit.zip" - unzip -d "$WINEPREFIX/drive_c/Program Files" "${cache}/oh_shit.zip" - add_launcher "c:\Program Files\oh_shit\OhShit.exe" + "Lone Wolf") + install_wine_bottle + download "http://gmagames.com/lw350.exe" + wine "${cache}/lw350.exe" /silent + #add_launcher "c:\Program Files\lWorks\Lockpick\lockpick.exe" ;; "Pontes Kickups!") export winVer="win7"