From b6194fab54662c94026c737449c9e1ca9fe897bb Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Fri, 25 Dec 2020 16:16:55 -0500 Subject: [PATCH 01/11] Testing Super mario Bros. --- audiogame-manager.sh | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/audiogame-manager.sh b/audiogame-manager.sh index eb2e360..118f65c 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -521,6 +521,7 @@ gameList=( "Slender Lost Vision" "Super Egg Hunt" "Super Liam" + "Super Mario Bros" "Survive the Wild" "Swamp" "Technoshock" @@ -531,6 +532,7 @@ gameList=( "Top Speed 3" "Triple Triad" "Undead Assault" + "World of War" ) # With no arguments, open the game launcher. @@ -1009,6 +1011,13 @@ EOF wine "${cache}/superliamsetup.exe" /silent add_launcher "c:\Program Files\lWorks\Super Liam\sl.exe" ;; + "Super Mario Bros") + export winVer="win7" + install_wine_bottle speechsdk + download "https://www.agarchive.net/games/jeqoconGames/super%20mario%20bros.7z" + 7z e -o"$WINEPREFIX/drive_c/Program Files/Super Mario Bros" "${cache}/super mario bros.7z" + add_launcher "c:\Program Files\Super Mario Bros\Mario.exe" + ;; "Survive the Wild") export winVer="win7" install_wine_bottle speechsdk @@ -1092,6 +1101,13 @@ EOF find "${WINEPREFIX}" -type f -name 'nvdaControllerClient32.dll' -exec cp -v "${cache}/nvdaControllerClient32.dll" "{}" \; add_launcher "c:\Program Files\undead_assault\Undead Assault.exe" ;; + "World of War") + export winVer="win7" + install_wine_bottle speechsdk + download "https://www.agarchive.net/games/nyanchan/world%20of%20war%20English.7z" + 7z e -o"$WINEPREFIX/drive_c/Program Files/World of War" "${cache}/world of war English.7z" + #add_launcher "c:\Program Files\" + ;; "Make a One Time Donation") open_url "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" ;; From 31f3dda2c305a4b75cfc7b99104309c2e28677c8 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Tue, 29 Dec 2020 06:04:19 -0500 Subject: [PATCH 02/11] Testing Silver Dollar. --- audiogame-manager.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/audiogame-manager.sh b/audiogame-manager.sh index 118f65c..9bae26e 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -518,6 +518,7 @@ gameList=( "Run For Your Life" "Sequence Storm" "Shades of Doom" +"Silver Dollar" "Slender Lost Vision" "Super Egg Hunt" "Super Liam" @@ -992,6 +993,13 @@ EOF wine "${cache}/sod20022.exe" /silent add_launcher "c:\Program Files\Shades of Doom 2.0\sod.exe" ;; + "Silver Dollar") + export winVer="win7" + install_wine_bottle speechsdk + download "http://download.dracoent.com/Windows/SilverDollarSetup.exe" + wine "${cache}/SilverDollarSetup.exe" /silent + add_launcher "c:\Program Files\Draconis Entertainment\Silver Dollar\SilverDollarGui.exe" + ;; "Slender Lost Vision") export winVer="win7" install_wine_bottle From 130e42e6c20a278a2d66895223d780915a01cb78 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Tue, 29 Dec 2020 06:28:05 -0500 Subject: [PATCH 03/11] Added the -k flag for games that get stuck. --- audiogame-manager.sh | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) diff --git a/audiogame-manager.sh b/audiogame-manager.sh index 9bae26e..68ce86f 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -355,6 +355,45 @@ game_removal() { exit 0 } +# kill games that are stuck +kill_game() { + mapfile -t lines < <(sed '/^$/d' "${configFile}" 2> /dev/null) + if [[ ${#lines} -eq 0 ]]; then + echo "No games found." + exit 0 + fi + # Create the menu of installed games + declare -a menuList + for i in "${lines[@]}" ; do + menuList+=("${i%|*}" "${i##*|}") + done + menuList+=("Make a One Time Donation" "Make a One Time Donation") + menuList+=("Become a Patron" "Become a Patron") + local game="$(dialog --backtitle "Audio Game Killer" \ + --clear \ + --no-tags \ + --menu "Please select a game to force stop" 0 0 0 "${menuList[@]}" --stdout)" + if [[ ${#game} -gt 0 ]]; then + if [[ "$game" == "Make a One Time Donation" ]]; then + open_url "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" + exit 0 + fi + if [[ "$game" == "Become a Patron" ]]; then + open_url "https://patreon.com/stormux" + exit 0 + fi + local winePath="${game#*|}" + winePath="${winePath%\\*.exe}" + local wineExec="${game#*|}" + wineExec="${wineExec%|*}" + wineExec="${wineExec##*\\}" + # kill the wine server. + WINEPREFIX="${HOME}/.local/wine/${game%|*}" wineserver -k + echo "The selected game has been stopped." + fi + exit 0 +} + # launch games that are installed game_launcher() { mapfile -t lines < <(sed '/^$/d' "${configFile}" 2> /dev/null) @@ -548,6 +587,7 @@ declare -A command=( [d]="Debug mode, wine will be much more verbose when games are launched with this flag." [h]="This help screen." [i]="Install games." + [k]="Kill a running game that is stuck." [L]="Display license information." [l:]="Launch given game without interactive audiogame-manager menu specified by its wine bottle." [N]="No cache, delete the installer after it has been extracted." @@ -567,6 +607,7 @@ while getopts "${args}" i ; do ;; h) help;; i) game_installer;; + k) kill_game;; L) license;; l) game_launcher "${OPTARG}";; N) noCache="true";; From e4411ce1cdb5f4dbed22c05e8c5c6852d92834c2 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Wed, 30 Dec 2020 23:22:28 -0500 Subject: [PATCH 04/11] Added game Duck Hunt. --- audiogame-manager.sh | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/audiogame-manager.sh b/audiogame-manager.sh index 68ce86f..de7ad75 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -524,6 +524,7 @@ gameList=( "Crazy Party" "Crazy Tennis" "Death on the Road" + "Duck Hunt" "Easter Quest" #"Entombed" "Fantasy Story II" @@ -561,7 +562,7 @@ gameList=( "Slender Lost Vision" "Super Egg Hunt" "Super Liam" - "Super Mario Bros" + #"Super Mario Bros" "Survive the Wild" "Swamp" "Technoshock" @@ -712,6 +713,12 @@ case "${game}" in unzip -d "$WINEPREFIX/drive_c/Program Files/death on the road" "${cache}/road_en.zip" add_launcher "c:\Program Files\death on the road/game.exe" ;; + "Duck Hunt") + install_wine_bottle vb6run dx8vb speechsdk + download "http://files.l-works.net/dhsetup.exe" + wine "${cache}/dhsetup.exe" /silent + add_launcher "c:\Program Files\Lworks\Duck Hunt\duckhunt.exe" + ;; "Easter Quest") install_wine_bottle download "https://agarchive.net/games/mt/easter%20quest%20setup.exe" From d348a879e5f2424281e3cdb732ef0069667ebf13 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Thu, 31 Dec 2020 09:53:13 -0500 Subject: [PATCH 05/11] Working on lght cars and light battles. --- audiogame-manager.sh | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/audiogame-manager.sh b/audiogame-manager.sh index de7ad75..0e5d738 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -536,6 +536,7 @@ gameList=( "Judgement Day" "Kitchensinc Games" "Kringle Crash" + "Light Battles" "Light Cars" "Lockpick" "Lone Wolf" @@ -850,15 +851,20 @@ EOF tar xf "${cache}/kitchen.tar.xz" -C "$WINEPREFIX/drive_c/Program Files/" add_launcher "c:\Program Files\Kitchen's Sink\gamemenu.exe" ;; + "Light Battles") + export winVer="win7" + install_wine_bottle speechsdk + download "https://prometheus-enterprises.com/games/CoL.exe" + 7z e -o"$WINEPREFIX/drive_c/Program Files/Light Battles" "${cache}/CoL.exe" + rm -fv "${WINEPREFIX}/drive_c/Program Files/Light Battles/nvdaControllerClient.dll" + add_launcher "c:\Program Files\Light Battles\battles.exe" + ;; "Light Cars") install_wine_bottle dx8vb vb6run download "https://www.agarchive.net/games/lighttech/light%20cars%20setup.exe" - if [[ -n "$manualInstall" ]]; then - wine "${cache}/light cars setup.exe" - else - wine "${cache}/light cars setup.exe" & - automate_installer alt+n alt+a space alt+n alt+n alt+i alt+f - fi + wine "${cache}/light cars setup.exe" & + xdotool sleep 10 key --clearmodifiers alt+n sleep 1 key --clearmodifiers alt+a key --clearmodifiers space sleep 1 key --clearmodifiers alt+n sleep 1 key --clearmodifiers alt+n sleep 1 key --clearmodifiers alt+i sleep 30 key --clearmodifiers alt+f + wineserver -w echo -e "${USER} ${HOST}\nna@na.na\nUS" > ~/.local/wine/light-cars/drive_c/Program\ Files/Lighttech\ Interactive/Light\ Cars/config.dat unix2dos ~/.local/wine/light-cars/drive_c/Program\ Files/Lighttech\ Interactive/Light\ Cars/config.dat add_launcher "c:\Program Files\Lighttech Interactive\Light Cars\lightCars.exe" From 6d2eedb0fe22fe5e3fa26789bf18fdce52e679a5 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Thu, 31 Dec 2020 12:54:01 -0500 Subject: [PATCH 06/11] Light Cars installer works again. --- audiogame-manager.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/audiogame-manager.sh b/audiogame-manager.sh index 0e5d738..6f2db07 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -250,7 +250,7 @@ download() { dest="${dest//%20/ }" # Return if the game is in cache. test -e "${cache}/${dest}" && return - if ! wget -O "${cache}/${dest}" "${i}" ; then + if ! wget -4 -O "${cache}/${dest}" "${i}" ; then echo "Could not download game." exit 1 fi @@ -863,7 +863,7 @@ EOF install_wine_bottle dx8vb vb6run download "https://www.agarchive.net/games/lighttech/light%20cars%20setup.exe" wine "${cache}/light cars setup.exe" & - xdotool sleep 10 key --clearmodifiers alt+n sleep 1 key --clearmodifiers alt+a key --clearmodifiers space sleep 1 key --clearmodifiers alt+n sleep 1 key --clearmodifiers alt+n sleep 1 key --clearmodifiers alt+i sleep 30 key --clearmodifiers alt+f + xdotool sleep 10 key --clearmodifiers alt+n sleep 1 key --clearmodifiers alt+a key --clearmodifiers space sleep 1 key --clearmodifiers alt+n sleep 1 key --clearmodifiers alt+n sleep 1 key --clearmodifiers alt+i sleep 30 key --clearmodifiers Tab sleep 1 key --clearmodifiers Return 2> /dev/null wineserver -w echo -e "${USER} ${HOST}\nna@na.na\nUS" > ~/.local/wine/light-cars/drive_c/Program\ Files/Lighttech\ Interactive/Light\ Cars/config.dat unix2dos ~/.local/wine/light-cars/drive_c/Program\ Files/Lighttech\ Interactive/Light\ Cars/config.dat From df3f91ef66178a74b557bf3e9af42adf99295bab Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Sun, 3 Jan 2021 20:14:03 -0500 Subject: [PATCH 07/11] Fixed bug in download function. Working on Eurofly. --- audiogame-manager.sh | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/audiogame-manager.sh b/audiogame-manager.sh index 6f2db07..63c2f44 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -248,10 +248,10 @@ download() { for i in "${source[@]}" ; do local dest="${i##*/}" dest="${dest//%20/ }" - # Return if the game is in cache. - test -e "${cache}/${dest}" && return + # Skip if the item is in cache. + test -e "${cache}/${dest}" && continue if ! wget -4 -O "${cache}/${dest}" "${i}" ; then - echo "Could not download game." + echo "Could not download..." exit 1 fi done @@ -527,6 +527,7 @@ gameList=( "Duck Hunt" "Easter Quest" #"Entombed" + "Eurofly" "Fantasy Story II" #"Fartman" "Finger Panic" @@ -734,6 +735,14 @@ case "${game}" in wine "${cache}/EntombedSetup.exe" /silent add_launcher "c:\Program Files\Entombed\Entombed.exe" ;; + "Eurofly") + export winVer="win7" + install_wine_bottle speechsdk + download "http://www.stefankiss.sk/programy/eurofly/Launcher_1.2.zip" "http://www.stefankiss.sk/programy/eurofly/Eurofly_2_ful_setup.exe" + wine "${cache}/Eurofly_2_ful_setup.exe" /silent + #unzip -d "$WINEPREFIX/drive_c/Program Files/Eurofly" "${cache}/Launcher_1.2.zip" + #add_launcher "c:\Program Files\Eurofly\launcher.exe" + ;; "Fantasy Story II") export winVer="win10" install_wine_bottle speechsdk From 909c67f26ae2ee3a8f57de928310f6a185079b8d Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Sun, 3 Jan 2021 21:15:13 -0500 Subject: [PATCH 08/11] More work on Eurofly. --- audiogame-manager.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/audiogame-manager.sh b/audiogame-manager.sh index 63c2f44..8451745 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -737,11 +737,12 @@ case "${game}" in ;; "Eurofly") export winVer="win7" + export winetricksSettings="vd=1024x768" install_wine_bottle speechsdk download "http://www.stefankiss.sk/programy/eurofly/Launcher_1.2.zip" "http://www.stefankiss.sk/programy/eurofly/Eurofly_2_ful_setup.exe" wine "${cache}/Eurofly_2_ful_setup.exe" /silent - #unzip -d "$WINEPREFIX/drive_c/Program Files/Eurofly" "${cache}/Launcher_1.2.zip" - #add_launcher "c:\Program Files\Eurofly\launcher.exe" + unzip -d "$WINEPREFIX/drive_c/Eurofly" "${cache}/Launcher_1.2.zip" + add_launcher "c:\Eurofly\launcher.exe" ;; "Fantasy Story II") export winVer="win10" @@ -1099,7 +1100,7 @@ EOF ;; "Swamp") export winVer="win7" - winetricksSettings="vd=1024x768" + export winetricksSettings="vd=1024x768" install_wine_bottle vb6run dx8vb quartz speechsdk corefonts download "https://kaldobsky.com/audiogames/SwampPart1.zip" "https://kaldobsky.com/audiogames/SwampPart2.zip" unzip -d "$WINEPREFIX/drive_c/Program Files/swamp" "${cache}/SwampPart1.zip" From 9251a8caa1599b6bcaed338a5e488392141c885a Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Mon, 4 Jan 2021 08:36:24 -0500 Subject: [PATCH 09/11] Added VIP Mud. --- audiogame-manager.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/audiogame-manager.sh b/audiogame-manager.sh index 8451745..d00751b 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -575,6 +575,7 @@ gameList=( "Top Speed 3" "Triple Triad" "Undead Assault" + "VIP Mud" "World of War" ) @@ -1173,6 +1174,18 @@ EOF find "${WINEPREFIX}" -type f -name 'nvdaControllerClient32.dll' -exec cp -v "${cache}/nvdaControllerClient32.dll" "{}" \; add_launcher "c:\Program Files\undead_assault\Undead Assault.exe" ;; + "VIP Mud") + export winVer="win7" + install_wine_bottle vb6run dx8vb speechsdk + download "http://gmagames.com/vipmud20016.exe" + wine "${cache}/vipmud20016.exe" /silent + mkdir -p "${HOME}/.local/wine/vip-mud/drive_c/users/${USER}/Documents/VIP Mud" + add_launcher "c:\Program Files\VIPMud 2.0\vipmud2.exe" + echo + echo "When you first launch VIP Mud You will be presented with several inaccessible dialogs." + echo "To bypass these dialogs, press alt+o, then press enter until speech starts." + echo "To be sure that each new dialog has had time to complete, wait a second between each press of enter." + ;; "World of War") export winVer="win7" install_wine_bottle speechsdk From a3036ccf87be571b912d86c82b54932eac407d1d Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Mon, 4 Jan 2021 12:31:18 -0500 Subject: [PATCH 10/11] Updated VIP Mud installer. --- audiogame-manager.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/audiogame-manager.sh b/audiogame-manager.sh index d00751b..a001036 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -1185,6 +1185,7 @@ EOF echo "When you first launch VIP Mud You will be presented with several inaccessible dialogs." echo "To bypass these dialogs, press alt+o, then press enter until speech starts." echo "To be sure that each new dialog has had time to complete, wait a second between each press of enter." + echo "In each subsequent launch, you will need to hit enter a couple times before it starts speaking." ;; "World of War") export winVer="win7" From 1d0597fe4c2d322d6c02edc7be5f9f31eb2b3f4d Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Sun, 10 Jan 2021 12:46:26 -0500 Subject: [PATCH 11/11] preparing for new release --- audiogame-manager.sh | 23 ++++++++++++++++------- 1 file changed, 16 insertions(+), 7 deletions(-) diff --git a/audiogame-manager.sh b/audiogame-manager.sh index a001036..19cd649 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -527,7 +527,7 @@ gameList=( "Duck Hunt" "Easter Quest" #"Entombed" - "Eurofly" + #"Eurofly" "Fantasy Story II" #"Fartman" "Finger Panic" @@ -537,15 +537,15 @@ gameList=( "Judgement Day" "Kitchensinc Games" "Kringle Crash" - "Light Battles" + #"Light Battles" "Light Cars" "Lockpick" "Lone Wolf" "Manamon" "Manamon 2" - "MudSplat French" + #"MudSplat French" "MudSplat English" - "MudSplat Swedish" + #"MudSplat Swedish" "Oh Shit!" "Pacman Talks" "Palace Punch Up" @@ -558,10 +558,11 @@ gameList=( #"River raiders" "RS Games" "Run For Your Life" + #"Sammy Center" "Sequence Storm" "Shades of Doom" -"Silver Dollar" -"Slender Lost Vision" + #"Silver Dollar" + "Slender Lost Vision" "Super Egg Hunt" "Super Liam" #"Super Mario Bros" @@ -576,7 +577,7 @@ gameList=( "Triple Triad" "Undead Assault" "VIP Mud" - "World of War" + #"World of War" ) # With no arguments, open the game launcher. @@ -1034,6 +1035,14 @@ EOF unzip -d "$WINEPREFIX/drive_c/Program Files/run for your life" "${cache}/rfyl_en.zip" add_launcher "c:\Program Files\run for your life\game.exe" ;; + "Sammy Center") + export winVer="win7" + install_wine_bottle speechsdk + download "http://www.samtupy.com/games/SCSetup.exe" "https://stormgames.wolfe.casa/downloads/nvdaControllerClient32.dll" + wine "${cache}/SCSetup.exe" /silent + find "${WINEPREFIX}" -type f -name 'nvdaControllerClient32.dll' -exec cp -v "${cache}/nvdaControllerClient32.dll" "{}" \; + add_launcher "c:\Program Files\Sam Tupy\SammyCenter\SammyCenter.exe" + ;; "Sequence Storm") read -p "Make sure sequence-storm-win64.zip is available in either your Downloads or Desktop directory and press enter to continue." continue for i in ~/Downloads ~/Desktop ; do