From cb755136ca94049d888d68519ef892c15b3ad9f4 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Thu, 10 Aug 2023 02:08:06 -0400 Subject: [PATCH 01/44] Updated the documentation system to find more files. Please let me know if this is buggy. --- audiogame-manager.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/audiogame-manager.sh b/audiogame-manager.sh index 2e09288..1b13c0f 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -446,13 +446,14 @@ documentation() { fi if ! command -v w3m &> /dev/null ; then echo "This feature of audiogame-manager requires w3m. Please install it before continuing." + exit 1 fi get_bottle "$1" echo "Loading documentation, please wait..." # Try to find documentation based on common naming conventions. local gamePath="$(winepath -u "$2" 2> /dev/null)" gamePath="${gamePath%/*}" - local gameDoc="$(find "$gamePath" -type f -iname 'user_manual.html' -or -iname 'user_manual.htm' | head -1)" + local gameDoc="$(find "$gamePath" -type f -iname 'user_manual.htm*' -or -iname 'user manual.htm*' -or -iname '*user guide.htm*' | head -1)" # Game name specific docs, add the name to the for loop. if [[ -z "$gameDoc" ]]; then for i in "troopanum.txt" "superdeekout.txt" scw.html ; do From af90ba0550f87710ad78803402e2272fedb204d6 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Fri, 11 Aug 2023 17:57:25 -0400 Subject: [PATCH 02/44] Added Aprone's new game, "Rettou". --- audiogame-manager.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/audiogame-manager.sh b/audiogame-manager.sh index 1b13c0f..9766d5e 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -314,6 +314,7 @@ get_bottle() { "paw-prints"*) ;& "preludeamals"*) ;& "puzzle-divided"*) ;& + "rettou"*) ;& "revelation"*) ;& "swamp"*) ;& "triple-triad"*) @@ -1160,6 +1161,7 @@ gameList=( #"Psycho Strike" "Puzzle Divided" "Q9" + "Rettou" "Revelation" "Rhythm Rage" "River Raiders" @@ -2668,6 +2670,15 @@ EOF wine "${cache}/q9_english_installer.exe" /silent add_launcher "c:\Program Files\Q9 Action Game\q9.exe" ;; + "Rettou") + export bottle="aprone" + export winVer="win7" + export winetricksSettings="vd=1024x768" + download "http://www.kaldobsky.com/audiogames/rettou.zip" + install_wine_bottle vb6run dx8vb quartz speechsdk corefonts + unzip -d "$WINEPREFIX/drive_c/Program Files/rettou" "${cache}/rettou.zip" + add_launcher "c:\Program Files\rettou\Rettou.exe" + ;; "Revelation") export bottle="aprone" export winVer="win7" From be672157868dc42c514ff006593b81614012cc30 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Wed, 16 Aug 2023 16:11:20 -0400 Subject: [PATCH 03/44] Added update script for Rettou because it seems to update frequently. --- game-scripts/rettou-update.sh | 53 +++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100755 game-scripts/rettou-update.sh diff --git a/game-scripts/rettou-update.sh b/game-scripts/rettou-update.sh new file mode 100755 index 0000000..d9b1920 --- /dev/null +++ b/game-scripts/rettou-update.sh @@ -0,0 +1,53 @@ +#!/bin/bash +# +# âe contents of this file are subject to the Common Public Attribution +# License Version 1.0 (the âcenseâ you may not use this file except in +# compliance with the License. You may obtain a copy of the License at +# https://opensource.org/licenses/CPAL-1.0. The License is based on the Mozilla Public License Version +# 1.1 but Sections 14 and 15 have been added to cover use of software over a +# computer network and provide for limited attribution for the Original +# Developer. In addition, Exhibit A has been modified to be consistent with +# Exhibit B. +# +# Software distributed under the License is distributed on an â ISâasis, +# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License +# for THE SPecific language governing rights and limitations under the +# License. +# +# The Original Code is audiogame manager. +# +# The Original Developer is not the Initial Developer and is . If +# left blank, the Original Developer is the Initial Developer. +# +# The Initial Developer of the Original Code is Billy "Storm Dragon" Wolfe. All portions of +# the code written by Billy Wolfe are Copyright (c) 2020. All Rights +# Reserved. +# +# Contributor Michael Taboada. +# +# Attribution Copyright Notice: Audiogame manager copyright 2020 Storm Dragon. All rights reserved. +# +# Attribution Phrase (not exceeding 10 words): A Stormux project +# +# Attribution URL: https://stormgames.wolfe.casa +# +# Graphic Image as provided in the Covered Code, if any. +# +# Display of Attribution Information is required in Larger +# Works which are defined in the CPAL as a work which combines Covered Code +# or portions thereof with code not governed by the terms of the CPAL. + +cache="${XDG_CACHE_HOME:-$HOME/.cache}/audiogame-manager" +updateURL="https://www.kaldobsky.com/audiogames" +updateFiles=("rettou.zip") + + +# Download and extract updates +for i in "${updateFiles[@]}" ; do + rm -fv "${cache}/${i}" + curl -L4 -C - --retry 10 --output "${cache}/$i" "${updateURL}/$i" + unzip -o -d ~/".local/wine/aprone/drive_c/Program Files/rettou" "${cache}/${i}" +done | dialog --progressbox "Updating Rettou, please wait..." -1 -1 + + +exit 0 From 6d21a91df991e54ededf8bfa439b0a1d87622d85 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Sun, 27 Aug 2023 18:55:08 -0400 Subject: [PATCH 04/44] Wave of the Undead updated, but not working yet, so commented for now. --- audiogame-manager.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/audiogame-manager.sh b/audiogame-manager.sh index 9766d5e..6f526e9 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -3203,9 +3203,9 @@ export norh=false # Must install a voice, and rhvoice works easily with 64 bit. "Wave of the Undead") export WINEARCH=win64 export winVer="win7" - download "https://www.dropbox.com/s/x5ap56yevvvxzdh/Wave%20Of%20The%20Undead%20Setup.exe?dl=1" "https://github.com/RastislavKish/nvda2speechd/releases/download/v0.1/nvda2speechd64.dll" + download "https://dl.dropbox.com/scl/fi/ukvou0y4gwg21nhhdpj40/Wave-of-the-Undead-Setup.exe?rlkey=4xnuwicpmbkx6w2jo2i56mijg" "https://github.com/RastislavKish/nvda2speechd/releases/download/v0.1/nvda2speechd64.dll" install_wine_bottle - wine "${cache}/Wave Of The Undead Setup.exe" & + wine "${cache}/Wave-of-the-Undead-Setup.exe" & xdotool sleep 20 key Alt+n sleep 2 key Alt+n sleep 2 key Alt+n xdotool sleep 2 key Alt+i xdotool sleep 20 key Alt+n @@ -3213,7 +3213,7 @@ export norh=false # Must install a voice, and rhvoice works easily with 64 bit. xdotool sleep 2 key Alt+f wineserver -w find "${WINEPREFIX}" -type f -name 'nvdaControllerClient64.dll' -exec cp -v "${cache}/nvda2speechd64.dll" "{}" \; - add_launcher "c:\Program Files (x86)\Wave Of The Undead\Wave Of The Undead.exe" + add_launcher "c:\Program Files (x86)\Wave Of The Undead\wave_of_the_undead.exe" ;; "Wolf Games Launcher") download "https://sightlesswolf.com/wg-release.zip" "https://github.com/RastislavKish/nvda2speechd/releases/download/v0.1/nvda2speechd64.dll" From 35a7907d720abecf593393b91d7a19c94f07f65f Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Sat, 2 Sep 2023 19:11:39 -0400 Subject: [PATCH 05/44] Should no longer try to update if launched outside it's git directory. --- audiogame-manager.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/audiogame-manager.sh b/audiogame-manager.sh index 6f526e9..3136be7 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -75,6 +75,9 @@ check_news() { # Automatic update function update() { + if ! [[ -d ".git" ]]; then + return + fi local url="$(git ls-remote --get-url)" if [[ "$url" =~ ^ssh://|git@|gitea@ ]] || [[ -z "$url" ]]; then return From 3f5771c69ab4474d006a819d12391900b39f6a52 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Sat, 2 Sep 2023 23:39:39 -0400 Subject: [PATCH 06/44] Swamp seems to be fixed in wine 8.14. If you are using wine earlier than this version, please use the master branch, not testing. --- audiogame-manager.sh | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/audiogame-manager.sh b/audiogame-manager.sh index 3136be7..4504001 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -321,7 +321,6 @@ get_bottle() { "revelation"*) ;& "swamp"*) ;& "triple-triad"*) - install_wine "7.7" "32" export WINEPREFIX="${HOME}/.local/wine/aprone" ;; "bg-"*) export WINEPREFIX="${HOME}/.local/wine/bg";; # ESP Pinball games @@ -612,8 +611,8 @@ install_wine_bottle() { export WINEPREFIX="$HOME/.local/wine/${bottle}" # Arguments to the function are dependancies to be installed. # Get location of mono and gecko. - monoPath="$(find /usr/share/wine/mono -name "wine-mono*x86.msi" 2> /dev/null)" - geckoPath="$(find /usr/share/wine/gecko -name "wine-gecko*x86.msi" 2> /dev/null)" + monoPath="$(find /usr/share/wine/ -maxdepth 1 -type d -name mono 2> /dev/null)" + geckoPath="$(find /usr/share/wine/ -maxdepth 1 -type d "gecko" 2> /dev/null)" if [[ -z "$monoPath" ]]; then download 'http://dl.winehq.org/wine/wine-mono/6.0.0/wine-mono-6.0.0-x86.msi' monoPath="${cache}/wine-mono-6.0.0-x86.msi" @@ -2407,6 +2406,7 @@ EOF wine 'c:\Program Files\lunimals\checkup.exe' /verysilent add_launcher "c:\Program Files\lunimals\Lunimals.exe" echo "Note: Lunimals installed. Once you start the game, you must press tab until you hear sapi on to get speech." >&2 + alert ;; "Manamon") export winVer="win7" @@ -2959,14 +2959,12 @@ EOF alert ;; "Swamp") - export version="7.7" export bottle="aprone" export winVer="win7" export winetricksSettings="vd=1024x768" dialog --backtitle "Audiogame manager" --yesno "If you do not have a full 32 bit gstreamer installation, the Swamp music can cause stuttering and crashes. Would you like to remove the music directory after installation?" -1 -1 --stdout deleteMusic=$? download "https://www.kaldobsky.com/audiogames/Swamp.zip" - install_wine "${version}" "32" install_wine_bottle dx8vb quartz corefonts vb6run speechsdk unzip -d "$WINEPREFIX/drive_c/Program Files/swamp" "${cache}/Swamp.zip" # make sure the latest version is installed. @@ -2979,6 +2977,7 @@ EOF if [[ $deleteMusic -eq 0 ]]; then rm -frv "$WINEPREFIX/drive_c/Program Files/swamp/sounds/Music/" fi + rm -fv "$WINEPREFIX/drive_c/Program Files/swamp/maps/sub2" add_launcher "c:\Program Files\swamp\Swamp.exe" ;; "Tactical Battle") From 24d85389accacd58708a6eabb472577cef12c804 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Thu, 7 Sep 2023 17:21:08 -0400 Subject: [PATCH 07/44] Skateboarder Pro added, but not yet launching, so commented for now. --- audiogame-manager.sh | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/audiogame-manager.sh b/audiogame-manager.sh index 4504001..2bc5720 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -363,7 +363,8 @@ get_bottle() { "challenge-of-the-horse"*) export WINEPREFIX="${HOME}/.local/wine/tunmi13";; # tunmi13-64bit games group "battlefield-2d"*) ;& - "haunted-party"*) export WINEPREFIX="${HOME}/.local/wine/tunmi13-64bit";; + "haunted-party"*) ;& + "skateboarder-pro"*) export WINEPREFIX="${HOME}/.local/wine/tunmi13-64bit";; # Dan Z games group "lost"*) ;& "maze-craze"*) ;& @@ -1182,6 +1183,7 @@ gameList=( "Shadow Line" "Shooter" "Silver Dollar" + #"Skateboarder Pro" "Slender Lost Vision" "Sonic the Hedgehog" "Sonic Zoom" @@ -2858,6 +2860,16 @@ EOF find "${WINEPREFIX}" -type f -name 'nvdaControllerClient64.dll' -exec cp -v "${cache}/nvda2speechd64.dll" "{}" \; add_launcher "c:\Program Files\shooter\shooter.exe" ;; + "Skateboarder Pro") + download "https://tunmi13.com/projects/sb_pro_rw.zip" "https://github.com/RastislavKish/nvda2speechd/releases/download/v0.1/nvda2speechd64.dll" + export WINEARCH=win64 + export winVer="win8" + export bottle=tunmi13-64bit + install_wine_bottle sapi + unzip -d "$WINEPREFIX/drive_c/Program Files/" "${cache}/sb_pro_rw.zip" + find "${WINEPREFIX}/drive_c/Program Files/bf" -type f -name 'nvdaControllerClient64.dll' -exec cp -v "${cache}/nvda2speechd64.dll" "{}" \; + #add_launcher "c:\Program Files\" + ;; "Sonic the Hedgehog") export winVer="win7" download "https://www.agarchive.net/games/jeqoconGames/sonic%20the%20hedgehog.7z" From 875948264efdb0a5959222484d9cd94882fa1237 Mon Sep 17 00:00:00 2001 From: Michael Taboada Date: Sat, 9 Sep 2023 08:14:31 -0700 Subject: [PATCH 08/44] Skateboarder pro fully working. --- audiogame-manager.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/audiogame-manager.sh b/audiogame-manager.sh index 2bc5720..4c89c36 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -1183,7 +1183,7 @@ gameList=( "Shadow Line" "Shooter" "Silver Dollar" - #"Skateboarder Pro" + "Skateboarder Pro" "Slender Lost Vision" "Sonic the Hedgehog" "Sonic Zoom" @@ -2867,8 +2867,8 @@ EOF export bottle=tunmi13-64bit install_wine_bottle sapi unzip -d "$WINEPREFIX/drive_c/Program Files/" "${cache}/sb_pro_rw.zip" - find "${WINEPREFIX}/drive_c/Program Files/bf" -type f -name 'nvdaControllerClient64.dll' -exec cp -v "${cache}/nvda2speechd64.dll" "{}" \; - #add_launcher "c:\Program Files\" + find "${WINEPREFIX}/drive_c/Program Files/sb_pro_rw" -type f -name 'nvdaControllerClient64.dll' -exec cp -v "${cache}/nvda2speechd64.dll" "{}" \; + add_launcher "c:\Program Files\sb_pro_rw\sb_pro.exe" ;; "Sonic the Hedgehog") export winVer="win7" From 07d81e6a7407c80c866eac2ef41ab16c8beae8c0 Mon Sep 17 00:00:00 2001 From: Michael Taboada Date: Mon, 2 Oct 2023 05:26:52 -0700 Subject: [PATCH 09/44] Added game they'll come from the moon --- audiogame-manager.sh | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/audiogame-manager.sh b/audiogame-manager.sh index 4c89c36..25a71e8 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -1202,6 +1202,7 @@ gameList=( #"The Gate" "The Great Toy Robbery" "The Vale" + "They'll Come from the Moon" "Thief" "Traders of Known Space" "Three D velocity" @@ -3055,6 +3056,21 @@ EOF winetricks -q usetakefocus=n add_launcher "c:\Program Files\the-vale\TheVale.exe" ;; + "They'll Come from the Moon") + get_installer "theyll-come-from-the-moon-windows.zip" "https://soundrascal.itch.io/theyll-come-from-the-moon" + download "https://github.com/RastislavKish/nvda2speechd/releases/download/v0.1/nvda2speechd64.dll" + export WINEARCH=win64 + export winVer="win8" + install_wine_bottle + unzip -d "$WINEPREFIX/drive_c/Program Files/tcftm" "${cache}/theyll-come-from-the-moon-windows.zip" + # Weird work around to get keyboard working. + winetricks -q usetakefocus=y + winetricks -q usetakefocus=n + find "${WINEPREFIX}" -type f -name 'nvdaControllerClient.dll' -exec cp -v "${cache}/nvda2speechd64.dll" "{}" \; + add_launcher "c:\Program Files\tcftm\They'll Come from the Moon!.exe" + echo "When the game launches, press the enter key to load the game which will begin to speak." + alert + ;; "Thief") export bottle="oriol-gomez" export winVer="win7" From a0b7f80a3f67f06794c137011cb1e704d1f53709 Mon Sep 17 00:00:00 2001 From: Michael Taboada Date: Wed, 1 Nov 2023 03:54:02 -0700 Subject: [PATCH 10/44] Put a note in the grizly gulch installer about raising or lowering the combat speed. --- audiogame-manager.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/audiogame-manager.sh b/audiogame-manager.sh index 25a71e8..58f3b87 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -2222,6 +2222,8 @@ download "https://erion.cf/files/ag_103.zip" install_wine_bottle vb6run mfc42 unzip -d "$WINEPREFIX/drive_c/Program Files" "$cache/grizzly-gulch.zip" add_launcher "c:\Program Files\grizzly-gulch\Grizzly Gulch.exe" + echo "If the combat sequences happen too slow for your tastes, while in the town square, you can use f12 to turn up the combat speed and f11 to lower it." + alert ;; "Hammer of Glory") export bottle="oriol-gomez" From 5273d7c552c3a63320a4c45e7ea32e055bd594ae Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Sat, 2 Dec 2023 15:41:25 -0500 Subject: [PATCH 11/44] Started work on a function to get games from Steam. --- audiogame-manager.sh | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/audiogame-manager.sh b/audiogame-manager.sh index 25a71e8..f722a19 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -415,6 +415,38 @@ get_installer() { fi } +get_steam() { + # Arguments: $1 name of item for download, $2 url for game + trap "exit 0" SIGINT + # Check for steamcmd + if ! command -v steamcmd &> /dev/null ; then + dialog --backtitle "Audiogame Manager" \ + --infobox "This installer requires steamcmd. Please install steamcmd and try again." -1 -1 + exit 1 + fi + # Get Steam user name. + steamUser="$(dialog --ok-label "Continue" \ + --backtitle "Audiogame Manager" \ + --inputbox "Please enter your Steam user name:" -1 -1)" + # Create message for dialog. + local message="Make sure ${game} is available in your Steam library and press enter to continue. The URL for ${game} is $2" + if echo "$2" | xclip -selection clipboard 2> /dev/null ; then + message+="\n\nThe URL has been copied to the clipboard." + fi + dialog --ok-label "Continue" \ + --backtitle "Audiogame Manager" \ + --msgbox "$message" -1 -1 + # Download the game + steamcmd +@sSteamCmdForcePlatformType windows +force_install_dir "$HOME/.local/wine/$bottle/drive_c/Program Files/" +login "$steamUser" +app_update "$1" +quit || { dialog --backtitle "Audiogame Manager" \ + --infobox "Something went wrong. Please make sure you have a stable internet connection, and if the problem persists, contact audiogame-manager's developers." -1 -1 + exit 1; } + # If the file is still not available abort. + if [[ ! -f "${cache}/$1" ]]; then + echo "couldn't find $1. Please download the file and try again." + exit 1 + fi +} + help() { echo "${0##*/}" echo "Released under the terms of the Common Public Attribution License Version 1.0" From aedc053e5b29bb73e79cd0fedf3ceded211a2546 Mon Sep 17 00:00:00 2001 From: Michael Taboada Date: Sat, 2 Dec 2023 12:52:52 -0800 Subject: [PATCH 12/44] get_steam function potentially ready. --- audiogame-manager.sh | 53 ++++++++++++++++++++------------------------ 1 file changed, 24 insertions(+), 29 deletions(-) diff --git a/audiogame-manager.sh b/audiogame-manager.sh index cc8f52f..2228933 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -416,35 +416,30 @@ get_installer() { } get_steam() { - # Arguments: $1 name of item for download, $2 url for game - trap "exit 0" SIGINT - # Check for steamcmd - if ! command -v steamcmd &> /dev/null ; then - dialog --backtitle "Audiogame Manager" \ - --infobox "This installer requires steamcmd. Please install steamcmd and try again." -1 -1 - exit 1 - fi - # Get Steam user name. - steamUser="$(dialog --ok-label "Continue" \ - --backtitle "Audiogame Manager" \ - --inputbox "Please enter your Steam user name:" -1 -1)" - # Create message for dialog. - local message="Make sure ${game} is available in your Steam library and press enter to continue. The URL for ${game} is $2" - if echo "$2" | xclip -selection clipboard 2> /dev/null ; then - message+="\n\nThe URL has been copied to the clipboard." - fi - dialog --ok-label "Continue" \ - --backtitle "Audiogame Manager" \ - --msgbox "$message" -1 -1 - # Download the game - steamcmd +@sSteamCmdForcePlatformType windows +force_install_dir "$HOME/.local/wine/$bottle/drive_c/Program Files/" +login "$steamUser" +app_update "$1" +quit || { dialog --backtitle "Audiogame Manager" \ - --infobox "Something went wrong. Please make sure you have a stable internet connection, and if the problem persists, contact audiogame-manager's developers." -1 -1 - exit 1; } - # If the file is still not available abort. - if [[ ! -f "${cache}/$1" ]]; then - echo "couldn't find $1. Please download the file and try again." - exit 1 - fi + # Arguments: $1 id of item for download, $2 url for game + trap "exit 0" SIGINT + # Check for steamcmd + if ! command -v steamcmd &> /dev/null ; then + dialog --backtitle "Audiogame Manager" \ + --infobox "This installer requires steamcmd. Please install steamcmd and try again." -1 -1 + exit 1 + fi + # Get Steam user name. + steamUser="$(dialog --ok-label "Continue" \ + --backtitle "Audiogame Manager" \ + --inputbox "Please enter your Steam user name:" -1 -1)" + # Create message for dialog. + local message="Make sure ${game} is available in your Steam library and press enter to continue. The URL for ${game} is $2" + if echo "$2" | xclip -selection clipboard 2> /dev/null ; then + message+="\n\nThe URL has been copied to the clipboard." + fi + dialog --ok-label "Continue" \ + --backtitle "Audiogame Manager" \ + --msgbox "$message" -1 -1 + # Download the game + steamcmd +@sSteamCmdForcePlatformType windows +force_install_dir "$HOME/.local/wine/$bottle/drive_c/Program Files/" +login "$steamUser" +app_update "$1" +quit || { dialog --backtitle "Audiogame Manager" \ + --infobox "Something went wrong. Please make sure you have a stable internet connection, and if the problem persists, contact audiogame-manager's developers." -1 -1 + exit 1; } } help() { From a60513921023635df50e4df36c32b522d6276ffd Mon Sep 17 00:00:00 2001 From: Michael Taboada Date: Sat, 2 Dec 2023 13:20:20 -0800 Subject: [PATCH 13/44] Conjury fully added and working. --- audiogame-manager.sh | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/audiogame-manager.sh b/audiogame-manager.sh index 2228933..34d039e 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -418,6 +418,8 @@ get_installer() { get_steam() { # Arguments: $1 id of item for download, $2 url for game trap "exit 0" SIGINT + echo "The next steps will install through steamcmd." + alert # Check for steamcmd if ! command -v steamcmd &> /dev/null ; then dialog --backtitle "Audiogame Manager" \ @@ -427,7 +429,7 @@ get_steam() { # Get Steam user name. steamUser="$(dialog --ok-label "Continue" \ --backtitle "Audiogame Manager" \ - --inputbox "Please enter your Steam user name:" -1 -1)" + --inputbox "Please enter your Steam user name:" -1 -1 --stdout)" # Create message for dialog. local message="Make sure ${game} is available in your Steam library and press enter to continue. The URL for ${game} is $2" if echo "$2" | xclip -selection clipboard 2> /dev/null ; then @@ -437,7 +439,7 @@ get_steam() { --backtitle "Audiogame Manager" \ --msgbox "$message" -1 -1 # Download the game - steamcmd +@sSteamCmdForcePlatformType windows +force_install_dir "$HOME/.local/wine/$bottle/drive_c/Program Files/" +login "$steamUser" +app_update "$1" +quit || { dialog --backtitle "Audiogame Manager" \ + steamcmd +@sSteamCmdForcePlatformType windows +force_install_dir "$WINEPREFIX/drive_c/Program Files/" +login "$steamUser" +app_update "$1" +quit || { dialog --backtitle "Audiogame Manager" \ --infobox "Something went wrong. Please make sure you have a stable internet connection, and if the problem persists, contact audiogame-manager's developers." -1 -1 exit 1; } } @@ -1122,6 +1124,7 @@ gameList=( "Clashes of the Sky" "Code Dungeon" "Coin Collector" + "Conjury" #"Constant Battle" "Copter Mission" "Crazy Party" @@ -1942,6 +1945,15 @@ download "https://erion.cf/files/ag_103.zip" find "$WINEPREFIX/drive_c/Program Files/coin collector" -type f -name "nvdaControllerClient64.dll" -exec cp -v "$cache/nvda2speechd64.dll" "{}" \; add_launcher "c:\Program Files\coin collector\game.exe" ;; + "Conjury") + download "https://github.com/RastislavKish/nvda2speechd/releases/download/v0.1/nvda2speechd64.dll" + export WINEARCH=win64 + export winVer="win8" + install_wine_bottle + get_steam 2684520 "https://store.steampowered.com/app/2684520/Conjury/" + find "$WINEPREFIX" -type f -name 'nvdaControllerClient.dll' -exec cp -v "$cache/nvda2speechd64.dll" "{}" \; + add_launcher 'c:\Program Files\release\Conjury.exe' + ;; "Constant Battle") export winVer="win7" download "https://renovagames.com/bc/BC-Setup.exe" From b43f5a423c009be43d3ffd2e18c7cb6920578d6c Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Sat, 2 Dec 2023 16:39:06 -0500 Subject: [PATCH 14/44] Conjury updated to install to a directory under Program Files instead of just plopping everything into that folder. The code for getting this installed is still new, so please let me know if there are any problems. --- audiogame-manager.sh | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/audiogame-manager.sh b/audiogame-manager.sh index 34d039e..1e04b09 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -426,10 +426,6 @@ get_steam() { --infobox "This installer requires steamcmd. Please install steamcmd and try again." -1 -1 exit 1 fi - # Get Steam user name. - steamUser="$(dialog --ok-label "Continue" \ - --backtitle "Audiogame Manager" \ - --inputbox "Please enter your Steam user name:" -1 -1 --stdout)" # Create message for dialog. local message="Make sure ${game} is available in your Steam library and press enter to continue. The URL for ${game} is $2" if echo "$2" | xclip -selection clipboard 2> /dev/null ; then @@ -438,8 +434,13 @@ get_steam() { dialog --ok-label "Continue" \ --backtitle "Audiogame Manager" \ --msgbox "$message" -1 -1 + # Get Steam user name. + steamUser="$(dialog --ok-label "Continue" \ + --backtitle "Audiogame Manager" \ + --inputbox "Please enter your Steam user name:" -1 -1 --stdout)" # Download the game - steamcmd +@sSteamCmdForcePlatformType windows +force_install_dir "$WINEPREFIX/drive_c/Program Files/" +login "$steamUser" +app_update "$1" +quit || { dialog --backtitle "Audiogame Manager" \ + mkdir -p "${WINEPREFIX}/drive_c/Program Files/${game}" + steamcmd +@sSteamCmdForcePlatformType windows +force_install_dir "${WINEPREFIX}/drive_c/Program Files/" +login "$steamUser" +app_update "$1" +quit || { dialog --backtitle "Audiogame Manager" \ --infobox "Something went wrong. Please make sure you have a stable internet connection, and if the problem persists, contact audiogame-manager's developers." -1 -1 exit 1; } } @@ -1952,7 +1953,7 @@ download "https://erion.cf/files/ag_103.zip" install_wine_bottle get_steam 2684520 "https://store.steampowered.com/app/2684520/Conjury/" find "$WINEPREFIX" -type f -name 'nvdaControllerClient.dll' -exec cp -v "$cache/nvda2speechd64.dll" "{}" \; - add_launcher 'c:\Program Files\release\Conjury.exe' + add_launcher 'c:\Program Files\Conjury\release\Conjury.exe' ;; "Constant Battle") export winVer="win7" From 479a5651b63e826a4d0f728e4c7305d948a7e507 Mon Sep 17 00:00:00 2001 From: Michael Taboada Date: Sat, 2 Dec 2023 14:53:26 -0800 Subject: [PATCH 15/44] Slight bug fix to get_steam --- audiogame-manager.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/audiogame-manager.sh b/audiogame-manager.sh index 1e04b09..9aaaa89 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -440,7 +440,7 @@ get_steam() { --inputbox "Please enter your Steam user name:" -1 -1 --stdout)" # Download the game mkdir -p "${WINEPREFIX}/drive_c/Program Files/${game}" - steamcmd +@sSteamCmdForcePlatformType windows +force_install_dir "${WINEPREFIX}/drive_c/Program Files/" +login "$steamUser" +app_update "$1" +quit || { dialog --backtitle "Audiogame Manager" \ + steamcmd +@sSteamCmdForcePlatformType windows +force_install_dir "${WINEPREFIX}/drive_c/Program Files/$game" +login "$steamUser" +app_update "$1" +quit || { dialog --backtitle "Audiogame Manager" \ --infobox "Something went wrong. Please make sure you have a stable internet connection, and if the problem persists, contact audiogame-manager's developers." -1 -1 exit 1; } } From f85a11b54dd8e6314c6d39b64ed6549fe950b787 Mon Sep 17 00:00:00 2001 From: Michael Taboada Date: Sat, 2 Dec 2023 21:57:17 -0800 Subject: [PATCH 16/44] Very experimental changes to support running AGM functions, such as get_installer or get_steam, from other scripts. Please report if anything breaks. First script using this functionality, conjury-update, added. --- audiogame-manager.sh | 12 ++++++--- game-scripts/conjury-update.sh | 49 ++++++++++++++++++++++++++++++++++ 2 files changed, 57 insertions(+), 4 deletions(-) create mode 100755 game-scripts/conjury-update.sh diff --git a/audiogame-manager.sh b/audiogame-manager.sh index 9aaaa89..0db2225 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -54,6 +54,8 @@ alert() { # Check for latest news check_news() { + # For use by update scripts that want to source functions in this file. + [ "$AGM_NO_LAUNCH" == "yes" ] && return trap return INT # url for news file local newsFile="https://stormgames.wolfe.casa/media/agm.ogg" @@ -808,6 +810,8 @@ kill_game() { # launch games that are installed game_launcher() { + # For use by update scripts that want to source functions in this file. + [ "$AGM_NO_LAUNCH" == "yes" ] && return mapfile -t lines < <(sed '/^$/d' "${configFile}" 2> /dev/null) if [[ ${#lines} -eq 0 ]]; then echo "Install some games first." @@ -3311,10 +3315,10 @@ export norh=false # Must install a voice, and rhvoice works easily with 64 bit. open_url "https://2mb.games/product/2mb-patron/" ;; *) - [[ -n "${game}" ]] && echo "Game \"${game}\" not found." - exit 1 + [ "$AGM_NO_LAUNCH" != "yes" ] && [[ -n "${game}" ]] && echo "Game \"${game}\" not found." + [ "$AGM_NO_LAUNCH" != "yes" ] && exit 1 ;; esac -winetricks sandbox +[ "$AGM_NO_LAUNCH" != "yes" ] && winetricks sandbox -exit 0 +[ "$AGM_NO_LAUNCH" != "yes" ] && exit 0 diff --git a/game-scripts/conjury-update.sh b/game-scripts/conjury-update.sh new file mode 100755 index 0000000..c153260 --- /dev/null +++ b/game-scripts/conjury-update.sh @@ -0,0 +1,49 @@ +#!/bin/bash +# +# âe contents of this file are subject to the Common Public Attribution +# License Version 1.0 (the âcenseâ you may not use this file except in +# compliance with the License. You may obtain a copy of the License at +# https://opensource.org/licenses/CPAL-1.0. The License is based on the Mozilla Public License Version +# 1.1 but Sections 14 and 15 have been added to cover use of software over a +# computer network and provide for limited attribution for the Original +# Developer. In addition, Exhibit A has been modified to be consistent with +# Exhibit B. +# +# Software distributed under the License is distributed on an â ISâasis, +# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License +# for THE SPecific language governing rights and limitations under the +# License. +# +# The Original Code is audiogame manager. +# +# The Original Developer is not the Initial Developer and is . If +# left blank, the Original Developer is the Initial Developer. +# +# The Initial Developer of the Original Code is Billy "Storm Dragon" Wolfe. All portions of +# the code written by Billy Wolfe are Copyright (c) 2020. All Rights +# Reserved. +# +# Contributor Michael Taboada. +# +# Attribution Copyright Notice: Audiogame manager copyright 2020 Storm Dragon. All rights reserved. +# +# Attribution Phrase (not exceeding 10 words): A Stormux project +# +# Attribution URL: https://stormgames.wolfe.casa +# +# Graphic Image as provided in the Covered Code, if any. +# +# Display of Attribution Information is required in Larger +# Works which are defined in the CPAL as a work which combines Covered Code +# or portions thereof with code not governed by the terms of the CPAL. + +# Provisional new functionality to be able to source functions from agm: +export AGM_NO_LAUNCH=yes +source audiogame-manager.sh +# All functions should be available at this point. +export game="Conjury" +export WINEPREFIX="$HOME/.local/wine/conjury" +# Now it should be as simple as running get_steam to redownload the game. +get_steam 2684520 "https://store.steampowered.com/app/2684520/Conjury/" + +exit 0 From a3f84d2db6529c73f885a6061874c0b7c964c285 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Sun, 3 Dec 2023 08:16:55 -0500 Subject: [PATCH 17/44] A couple changes to update script for Conjury, changed the new source code for importing audiogame-manager to be more in line with coding style of the rest of the code. Also, update script will now correctly source agm no matter from where it is called. --- audiogame-manager.sh | 12 ++++++------ game-scripts/conjury-update.sh | 8 ++++++-- 2 files changed, 12 insertions(+), 8 deletions(-) diff --git a/audiogame-manager.sh b/audiogame-manager.sh index 0db2225..952cdfe 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -55,7 +55,7 @@ alert() { # Check for latest news check_news() { # For use by update scripts that want to source functions in this file. - [ "$AGM_NO_LAUNCH" == "yes" ] && return + [[ "$agmNoLaunch" == "true" ]] && return trap return INT # url for news file local newsFile="https://stormgames.wolfe.casa/media/agm.ogg" @@ -811,7 +811,7 @@ kill_game() { # launch games that are installed game_launcher() { # For use by update scripts that want to source functions in this file. - [ "$AGM_NO_LAUNCH" == "yes" ] && return + [[ "$agmNoLaunch" == "true" ]] && return mapfile -t lines < <(sed '/^$/d' "${configFile}" 2> /dev/null) if [[ ${#lines} -eq 0 ]]; then echo "Install some games first." @@ -3315,10 +3315,10 @@ export norh=false # Must install a voice, and rhvoice works easily with 64 bit. open_url "https://2mb.games/product/2mb-patron/" ;; *) - [ "$AGM_NO_LAUNCH" != "yes" ] && [[ -n "${game}" ]] && echo "Game \"${game}\" not found." - [ "$AGM_NO_LAUNCH" != "yes" ] && exit 1 + [[ "$agmNoLaunch" != "true" ]] && [[ -n "${game}" ]] && echo "Game \"${game}\" not found." + [[ "$agmNoLaunch" != "true" ]] && exit 1 ;; esac -[ "$AGM_NO_LAUNCH" != "yes" ] && winetricks sandbox +[[ "$agmNoLaunch" != "true" ]] && winetricks sandbox -[ "$AGM_NO_LAUNCH" != "yes" ] && exit 0 +[[ "$agmNoLaunch" != "true" ]] && exit 0 diff --git a/game-scripts/conjury-update.sh b/game-scripts/conjury-update.sh index c153260..a5d86db 100755 --- a/game-scripts/conjury-update.sh +++ b/game-scripts/conjury-update.sh @@ -38,11 +38,15 @@ # or portions thereof with code not governed by the terms of the CPAL. # Provisional new functionality to be able to source functions from agm: -export AGM_NO_LAUNCH=yes -source audiogame-manager.sh +export agmNoLaunch="true" +sourcePath="$(readlink -f "$0")" +sourcePath="${sourcePath%/*/*.sh}/audiogame-manager.sh" +source "${sourcePath}" + # All functions should be available at this point. export game="Conjury" export WINEPREFIX="$HOME/.local/wine/conjury" + # Now it should be as simple as running get_steam to redownload the game. get_steam 2684520 "https://store.steampowered.com/app/2684520/Conjury/" From 23627322dd6e4916f14eff293b80c03e71d5bf84 Mon Sep 17 00:00:00 2001 From: Michael Taboada Date: Sun, 3 Dec 2023 06:27:54 -0800 Subject: [PATCH 18/44] Fix conjury installer and updater to work with both 64 and 32 bit versions of the game, as it seems 64 bit was switched for 32 bit in the latest release. Please watch for bugs. --- audiogame-manager.sh | 5 +++-- game-scripts/conjury-update.sh | 6 ++++++ 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/audiogame-manager.sh b/audiogame-manager.sh index 952cdfe..477978d 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -1951,12 +1951,13 @@ download "https://erion.cf/files/ag_103.zip" add_launcher "c:\Program Files\coin collector\game.exe" ;; "Conjury") - download "https://github.com/RastislavKish/nvda2speechd/releases/download/v0.1/nvda2speechd64.dll" + download "https://github.com/RastislavKish/nvda2speechd/releases/download/v0.1/nvda2speechd64.dll" "https://github.com/RastislavKish/nvda2speechd/releases/download/v0.1/nvda2speechd32.dll" export WINEARCH=win64 export winVer="win8" install_wine_bottle get_steam 2684520 "https://store.steampowered.com/app/2684520/Conjury/" - find "$WINEPREFIX" -type f -name 'nvdaControllerClient.dll' -exec cp -v "$cache/nvda2speechd64.dll" "{}" \; + find "$WINEPREFIX/drive_c/Program Files/Conjury" -type f -path '*/x86_64/nvdaControllerClient.dll' -exec cp -v "$cache/nvda2speechd64.dll" "{}" \; + find "$WINEPREFIX/drive_c/Program Files/Conjury" -type f -path '*/x86/nvdaControllerClient.dll' -exec cp -v "$cache/nvda2speechd32.dll" "{}" \; add_launcher 'c:\Program Files\Conjury\release\Conjury.exe' ;; "Constant Battle") diff --git a/game-scripts/conjury-update.sh b/game-scripts/conjury-update.sh index a5d86db..41a4e49 100755 --- a/game-scripts/conjury-update.sh +++ b/game-scripts/conjury-update.sh @@ -47,7 +47,13 @@ source "${sourcePath}" export game="Conjury" export WINEPREFIX="$HOME/.local/wine/conjury" +# Make sure both nvda2speechd 64 and 32 bit are available. +# This is needed to work around the change from 64 bit to 32 bit game. +download "https://github.com/RastislavKish/nvda2speechd/releases/download/v0.1/nvda2speechd64.dll" "https://github.com/RastislavKish/nvda2speechd/releases/download/v0.1/nvda2speechd32.dll" + # Now it should be as simple as running get_steam to redownload the game. get_steam 2684520 "https://store.steampowered.com/app/2684520/Conjury/" +find "$WINEPREFIX/drive_c/Program Files/Conjury" -type f -path '*/x86_64/nvdaControllerClient.dll' -exec cp -v "$cache/nvda2speechd64.dll" "{}" \; +find "$WINEPREFIX/drive_c/Program Files/Conjury" -type f -path '*/x86/nvdaControllerClient.dll' -exec cp -v "$cache/nvda2speechd32.dll" "{}" \; exit 0 From 965308db8fa11cf56a5ae45823cdb094f39f2551 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Sun, 10 Dec 2023 12:55:09 -0500 Subject: [PATCH 19/44] Updated and disabled the Crazy Party update script. It is disabled currently because of breaking changes between versions of CP. --- game-scripts/crazy-party-update.sh | 25 ++++++++++++++++--------- 1 file changed, 16 insertions(+), 9 deletions(-) diff --git a/game-scripts/crazy-party-update.sh b/game-scripts/crazy-party-update.sh index 43993cd..02c0873 100755 --- a/game-scripts/crazy-party-update.sh +++ b/game-scripts/crazy-party-update.sh @@ -37,16 +37,23 @@ # Works which are defined in the CPAL as a work which combines Covered Code # or portions thereof with code not governed by the terms of the CPAL. +echo "The architecture has changed from beta 78 to 81 from 32 bit to 64 bit." +echo "If you still want to use this script, even though the update will break the installation, please remove these lines from the script, including the exit." +echo "Otherwise, uninstall and reinstall crazy party." +echo "As of yet, the new version is not ready in audiogame-manager because no speech." +exit 1 +oldVersion=78 +newVersion=81 cache="${XDG_CACHE_HOME:-$HOME/.cache}/audiogame-manager" configFile="${XDG_CONFIG_HOME:-$HOME/.config}/storm-games/audiogame-manager/games.conf" -url="http://pragmapragma.free.fr/crazy-party/Crazy-Party-beta78.zip" -(rm -v "${cache}/Crazy-Party-beta77.zip" -wget -O "${cache}/Crazy-Party-beta78.zip" "$url" || { echo "Could not download file."; exit 1; } -unzip -DDod "$HOME/.local/wine/crazy-party/drive_c/Program Files" "${cache}/Crazy-Party-beta78.zip" -rm -fv "$HOME/.local/wine/crazy-party/drive_c/Program Files/Crazy-Party-beta78/nvdaControllerClient32.dll" -sed -i 's/Crazy-Party-beta77/Crazy-Party-beta78/' "$configFile" -mv -v "$HOME/.local/wine/crazy-party/drive_c/Program Files/Crazy-Party-beta77/save.bin" "$HOME/.local/wine/crazy-party/drive_c/Program Files/Crazy-Party-beta78/" -cp -ruv "$HOME/.local/wine/crazy-party/drive_c/Program Files/Crazy-Party-beta77/"* "$HOME/.local/wine/crazy-party/drive_c/Program Files/Crazy-Party-beta78/" 2> /dev/null -rm -rf "$HOME/.local/wine/crazy-party/drive_c/Program Files/Crazy-Party-beta77/") | dialog --progressbox "updating Crazy Party, please wait..." -1 -1 +url="http://pragmapragma.free.fr/crazy-party/Crazy-Party-beta${newVersion}.zip" +(rm -v "${cache}/Crazy-Party-beta${oldVersion}.zip" +wget -O "${cache}/Crazy-Party-beta${newVersion}.zip" "$url" || { echo "Could not download file."; exit 1; } +unzip -DDod "$HOME/.local/wine/crazy-party/drive_c/Program Files" "${cache}/Crazy-Party-beta${newVersion}.zip" +rm -fv "$HOME/.local/wine/crazy-party/drive_c/Program Files/Crazy-Party-beta${newVersion}/nvdaControllerClient32.dll" +sed -i "s/Crazy-Party-beta${oldVersion}/Crazy-Party-beta${newVersion}/" "$configFile" +mv -v "$HOME/.local/wine/crazy-party/drive_c/Program Files/Crazy-Party-beta${oldVersion}/save.bin" "$HOME/.local/wine/crazy-party/drive_c/Program Files/Crazy-Party-beta${newVersion}/" +cp -ruv "$HOME/.local/wine/crazy-party/drive_c/Program Files/Crazy-Party-beta${oldVersion}/"* "$HOME/.local/wine/crazy-party/drive_c/Program Files/Crazy-Party-beta${newVersion}/" 2> /dev/null +rm -rf "$HOME/.local/wine/crazy-party/drive_c/Program Files/Crazy-Party-beta${oldVersion}/") | dialog --progressbox "updating Crazy Party, please wait..." -1 -1 exit 0 From a4f72962fdc1de13e10c45bf0ef5cd924da32dcb Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Mon, 11 Dec 2023 00:57:51 -0500 Subject: [PATCH 20/44] Latest version of Crazy Party, beta 81, in progress. Does not allow to set language, crashes at main menu. --- audiogame-manager.sh | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/audiogame-manager.sh b/audiogame-manager.sh index 477978d..c6c031c 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -2013,12 +2013,19 @@ download "https://erion.cf/files/ag_103.zip" add_launcher "c:\Program Files\copter mission\game.exe" ;; "Crazy Party") - export winVer="win7" - download "http://pragmapragma.free.fr/crazy-party/Crazy-Party-beta78.zip" - install_wine_bottle speechsdk - unzip -d "$WINEPREFIX/drive_c/Program Files" "${cache}/Crazy-Party-beta78.zip" - add_launcher "c:\Program Files\Crazy-Party-beta78\Crazy Party.exe" - rm -f "${WINEPREFIX}/drive_c/Program Files/Crazy-Party-beta78/nvdaControllerClient32.dll" + echo "This version of Crazy Party does not yet work with audiogame-manager." + echo "If you would like to install the working version, please do so from the master branch." + echo "Run: git checkout master" + echo "If you would like to work on beta 81, please remove the exit 0 after the alert." + alert + exit 0 + export WINEARCH=win64 + export winVer="win8" + download "http://pragmapragma.free.fr/crazy-party/Crazy-Party-beta81.zip" "https://stormgames.wolfe.casa/downloads/Tolk.dll" + install_wine_bottle sapi + unzip -d "$WINEPREFIX/drive_c/Program Files" "${cache}/Crazy-Party-beta81.zip" + find "${WINEPREFIX}" -type f -name 'Tolk.dll' -exec cp -v "${cache}/Tolk.dll" "{}" \; + add_launcher "c:\Program Files\Crazy-Party-beta81\Crazy Party.exe" ;; "Crazy Tennis") download "https://www.agarchive.net/games/VIP/crazy%20tennis%20setup.exe" From c70a3128a1da6fe9e7a07a0614572a20b55d4fec Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Sat, 23 Dec 2023 17:45:38 -0500 Subject: [PATCH 21/44] Skip loading qjoypad with games that cause conflicts. --- audiogame-manager.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/audiogame-manager.sh b/audiogame-manager.sh index c6c031c..efc7c1e 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -871,7 +871,9 @@ game_launcher() { if command -v qjoypad &> /dev/null ; then mkdir -p ~/.qjoypad3 touch "${HOME}/.qjoypad3/${game%|*}.lyt" - if [[ "${noqjoypad}" != "true" ]]; then + # A | separated list of games that should not start with qjoypad. + noQjoypadGames="a-hero's-call" + if [[ "${noqjoypad}" != "true" ]] && ! [[ "${game}" =~ ${noQjoypadGames} ]]; then if pgrep qjoypad &> /dev/null ; then qjoypad -T "${game%|*}" 2> /dev/null else From 18128ad9f2311f9de8bed0ef49d90aefb93294f7 Mon Sep 17 00:00:00 2001 From: Michael Taboada Date: Sun, 24 Dec 2023 17:13:49 -0800 Subject: [PATCH 22/44] Attempt to fix pipe2, blast chamber, hunter, and troopanum 2 installers. Also add inquisiter's heartbeat --- audiogame-manager.sh | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/audiogame-manager.sh b/audiogame-manager.sh index efc7c1e..a812308 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -1164,6 +1164,7 @@ gameList=( "haunted Party" #"Hearthstone" "Hunter" + "Inquisitor's Heartbeat" "Insect Therapy" "Interceptor" "Judgement Day" @@ -2314,7 +2315,7 @@ download "https://erion.cf/files/ag_103.zip" download "http://www.agarchive.net/games/bsc/HunterSetup.exe" "https://www.agarchive.net/games/bsc/BSC%20unlock%20code%20generator.7z" install_wine_bottle vb6run dx8vb # FIXME: Hacky, but it works. Install dotnet35 by itself so it actually doesn't hang. - winetricks -q dotnet35 + winetricks -q dotnet35sp1 wineserver -k # Damn you, dotnet. wine "${cache}/HunterSetup.exe" /silent & xdotool sleep 10 key --clearmodifiers alt+y 2> /dev/null @@ -2352,6 +2353,17 @@ download "https://erion.cf/files/ag_103.zip" fi add_launcher "c:\Program Files\Hunter\HunterRun.exe" ;; + "Inquisitor's Heartbeat") + get_installer "Inquisitor_windows_ENG.zip" "https://www.audiogame.store/en/products/inquisitors-heartbeat--windows/ios-only" + export WINEARCH=win64 + export winVer="win8" + install_wine_bottle + unzip -d "$WINEPREFIX/drive_c/Program Files" "${cache}/Inquisitor_windows_ENG.zip" + # Weird work around to get keyboard working. + winetricks -q usetakefocus=y + winetricks -q usetakefocus=n + add_launcher "c:\Program Files\Inquisitor_windows_ENG\Inquisitor's Heartbeat.exe" + ;; "Insect Therapy") export bottle="oriol-gomez" export winVer="win7" @@ -2662,7 +2674,7 @@ EOF "Pipe 2 Blast Chamber") install_wine_bottle vb6run dx8vb # FIXME: Hacky, but it works. Install dotnet35 by itself so it actually doesn't hang. - winetricks -q dotnet35 + winetricks -q dotnet35sp1 wineserver -k # Damn you, dotnet. download "http://www.agarchive.net/games/bsc/BlastChamberSetup.exe" "https://www.agarchive.net/games/bsc/BSC%20unlock%20code%20generator.7z" wine "${cache}/BlastChamberSetup.exe" /silent & @@ -3187,7 +3199,7 @@ export norh=false # Must install a voice, and rhvoice works easily with 64 bit. download "https://www.agarchive.net/games/bsc/Troopanum2Setup.exe" "https://www.agarchive.net/games/bsc/BSC%20unlock%20code%20generator.7z" install_wine_bottle vb6run dx8vb # FIXME: Hacky, but it works. Install dotnet35 by itself so it actually doesn't hang. - winetricks -q dotnet35 + winetricks -q dotnet35sp1 wineserver -k # Damn you, dotnet. wine "${cache}/Troopanum2Setup.exe" /silent & xdotool sleep 10 key --clearmodifiers alt+y 2> /dev/null @@ -3281,6 +3293,7 @@ export norh=false # Must install a voice, and rhvoice works easily with 64 bit. ;; "Warsim") get_installer "Warsim Full Game.zip" "https://huw2k8.itch.io/warsim" +export WINEARCH=win64 export winVer="win7" install_wine_bottle unzip -d "$WINEPREFIX/drive_c/Program Files/Warsim/" "${cache}/Warsim Full Game.zip" From 4e826bb9aea8daa53e8a4f13bcca60cef85b5715 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Fri, 19 Jan 2024 03:15:19 -0500 Subject: [PATCH 23/44] First go with ipfs for file download. --- audiogame-manager.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/audiogame-manager.sh b/audiogame-manager.sh index a812308..a1111a4 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -282,6 +282,7 @@ download() { for i in "${source[@]}" ; do local dest="${i##*/}" dest="${dest//%20/ }" + dest="${dest#*\?filename=}" dest="${dest%\?*}" # Remove the destination file if it is empty. test -s "${cache}/${dest}" || rm -f "${cache}/${dest}" 2> /dev/null @@ -1809,7 +1810,7 @@ download "https://erion.cf/files/ag_103.zip" add_launcher "c:\Program Files\blind-drive\Blind Drive.exe" ;; "Bloodshed") - download "http://www.samtupy.com/games/bloodshed.exe" + download "https://gateway.pinata.cloud/ipfs/QmcTCTMep4zp5zTw8ZaXYpjtu9inNPn8bNzwhW6cX97egw?filename=bloodshed.exe" export winVer="win7" install_wine_bottle speechsdk cp "${cache}/bloodshed.exe" "$WINEPREFIX/drive_c/Program Files/" From cde67d82ca5f352244e06cd8c89650317c3ba72b Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Fri, 19 Jan 2024 03:25:13 -0500 Subject: [PATCH 24/44] Christmas Chaos moved to ipfs. --- audiogame-manager.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/audiogame-manager.sh b/audiogame-manager.sh index a1111a4..4c79312 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -1974,7 +1974,7 @@ download "https://erion.cf/files/ag_103.zip" "Christmas Chaos") export WINEARCH=win64 export winVer="win7" - download "https://repo.accessiware.com/games/christmaschaos/ChristmasChaos.zip" "https://stormgames.wolfe.casa/downloads/Tolk.dll" + download "https://gateway.pinata.cloud/ipfs/QmYx11vsMDBgjPd1coZPGHxMXf2qtf4icqmB3Q9iUazyQv?filename=ChristmasChaos.zip" "https://stormgames.wolfe.casa/downloads/Tolk.dll" install_wine_bottle unzip -d "$WINEPREFIX/drive_c/Program Files" "${cache}/ChristmasChaos.zip" find "${WINEPREFIX}" -type f -name 'Tolk.dll' -exec cp -v "${cache}/Tolk.dll" "{}" \; From 69914107d2208003512184edcda6a848d8a731a0 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Fri, 19 Jan 2024 03:26:59 -0500 Subject: [PATCH 25/44] Kitchensinc games moved to ipfs. --- audiogame-manager.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/audiogame-manager.sh b/audiogame-manager.sh index 4c79312..22eff58 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -2395,7 +2395,7 @@ EOF add_launcher "c:\Program Files\Lworks\Judgment Day\judgmentday.exe" ;; "Kitchensinc Games") - download "https://stormgames.wolfe.casa/downloads/kitchen.tar.xz" + download "https://gateway.pinata.cloud/ipfs/QmdkLPig6Kp3AZTwKAhjrhhsEuvhFCFhm6SHLUQVeNNYCb?filename=kitchen.tar.xz" install_wine_bottle vb6run speechsdk dx8vb echo "Extracting files..." tar xf "${cache}/kitchen.tar.xz" -C "$WINEPREFIX/drive_c/Program Files/" From c7d94629ed6ff7108e3d8cbe5de62f824fa6dee5 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Fri, 19 Jan 2024 11:26:30 -0500 Subject: [PATCH 26/44] Make ipfs gateway configurable. Update help flag. --- audiogame-manager.sh | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/audiogame-manager.sh b/audiogame-manager.sh index 22eff58..785117e 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -463,6 +463,7 @@ help() { echo "${configFile%/*}/settings.conf" echo "The syntax is variable=\"value\"" echo + echo "ipfsGateway=\"https://gateway.pinata.cloud\" # Gateway to be used for ipfs downloads." echo "noCache=\"true\" # Do not keep downloaded items in the cache." echo "noqjoypad=\"true\" # Do not launch qjoypad." echo "norh=\"true\" # Do not install RHVoice." @@ -1051,6 +1052,8 @@ unset noCache # Manual installation is not default, make sure it's unset unset manualInstall unset version +# ipfs gateway +export ipfsGateway="${ipfsGateway:-https://gateway.pinata.cloud}" # The list of games available for installation. @@ -1810,7 +1813,7 @@ download "https://erion.cf/files/ag_103.zip" add_launcher "c:\Program Files\blind-drive\Blind Drive.exe" ;; "Bloodshed") - download "https://gateway.pinata.cloud/ipfs/QmcTCTMep4zp5zTw8ZaXYpjtu9inNPn8bNzwhW6cX97egw?filename=bloodshed.exe" + download "${ipfsGateway}/ipfs/QmcTCTMep4zp5zTw8ZaXYpjtu9inNPn8bNzwhW6cX97egw?filename=bloodshed.exe" export winVer="win7" install_wine_bottle speechsdk cp "${cache}/bloodshed.exe" "$WINEPREFIX/drive_c/Program Files/" @@ -1974,7 +1977,7 @@ download "https://erion.cf/files/ag_103.zip" "Christmas Chaos") export WINEARCH=win64 export winVer="win7" - download "https://gateway.pinata.cloud/ipfs/QmYx11vsMDBgjPd1coZPGHxMXf2qtf4icqmB3Q9iUazyQv?filename=ChristmasChaos.zip" "https://stormgames.wolfe.casa/downloads/Tolk.dll" + download "${ipfsGateway}/ipfs/QmYx11vsMDBgjPd1coZPGHxMXf2qtf4icqmB3Q9iUazyQv?filename=ChristmasChaos.zip" "https://stormgames.wolfe.casa/downloads/Tolk.dll" install_wine_bottle unzip -d "$WINEPREFIX/drive_c/Program Files" "${cache}/ChristmasChaos.zip" find "${WINEPREFIX}" -type f -name 'Tolk.dll' -exec cp -v "${cache}/Tolk.dll" "{}" \; @@ -2395,7 +2398,7 @@ EOF add_launcher "c:\Program Files\Lworks\Judgment Day\judgmentday.exe" ;; "Kitchensinc Games") - download "https://gateway.pinata.cloud/ipfs/QmdkLPig6Kp3AZTwKAhjrhhsEuvhFCFhm6SHLUQVeNNYCb?filename=kitchen.tar.xz" + download "${ipfsGateway}/ipfs/QmdkLPig6Kp3AZTwKAhjrhhsEuvhFCFhm6SHLUQVeNNYCb?filename=kitchen.tar.xz" install_wine_bottle vb6run speechsdk dx8vb echo "Extracting files..." tar xf "${cache}/kitchen.tar.xz" -C "$WINEPREFIX/drive_c/Program Files/" From 9dde8d4a9f3e087da02106c485762d49c7991b26 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Fri, 19 Jan 2024 19:11:03 -0500 Subject: [PATCH 27/44] Updated a game link. --- audiogame-manager.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/audiogame-manager.sh b/audiogame-manager.sh index 785117e..e73fc5a 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -2611,7 +2611,7 @@ EOF ;; "Oh Shit") export winVer="win7" - download "http://samtupy.com/stevend/oh_shit.zip" "https://stormgames.wolfe.casa/downloads/nvdaControllerClient32.dll" + download "${ipfsGateway}/ipfs/QmRrX6ZUMWuCRscDJsAHomJPaXJTvEW3BB1z2DPtJEJA3F?filename=oh_shit.zip" "https://stormgames.wolfe.casa/downloads/nvdaControllerClient32.dll" install_wine_bottle speechsdk unzip -d "$WINEPREFIX/drive_c/Program Files" "${cache}/oh_shit.zip" find "${WINEPREFIX}" -type f -name 'nvdaControllerClient32.dll' -exec cp -v "${cache}/nvdaControllerClient32.dll" "{}" \; From e61f9681c17da781c6b403e7ea71eb9942a4ba4e Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Thu, 25 Jan 2024 23:57:36 -0500 Subject: [PATCH 28/44] Many many games updated to use ipfs. --- audiogame-manager.sh | 225 +++++++++++++++++-------------------------- 1 file changed, 90 insertions(+), 135 deletions(-) diff --git a/audiogame-manager.sh b/audiogame-manager.sh index e73fc5a..20bd24c 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -1440,363 +1440,318 @@ download "https://erion.cf/files/ag_103.zip" add_launcher "c:\Program Files\Beatstar Pro\beatstar.exe" ;; "BG 2048") - bgInstaller="BG204832Setup10a.exe" export bottle="bg" - get_installer "$bgInstaller" "http://www.spoonbillsoftware.com.au/bggames.htm" + download "${ipfsGateway}/ipfs/QmPNt3c78UBgEMrTH3eJ5eD2mCMdth6jwes1iDKGW24Uj5?filename=BG204832Setup10a.exe" install_wine_bottle speechsdk - wine "${cache}/${bgInstaller}" /silent + wine "${cache}/BG204832Setup10a.exe" /silent add_launcher "c:\Program Files\Games\BG2048B\BG2048.exe" ;; "BG 15 Puzzle") - bgInstaller="FPB32Setup10a.exe" export bottle="bg" - get_installer "$bgInstaller" "http://www.spoonbillsoftware.com.au/bggames.htm" + download "${ipfsGateway}/ipfs/QmQiocMpMXoxejDftKKvmrR5xxpj1qcWcgkhBBwTcyijXg?filename=FPB32Setup10a.exe" install_wine_bottle speechsdk - wine "${cache}/${bgInstaller}" /silent + wine "${cache}/FPB32Setup10a.exe" /silent add_launcher "c:\Program Files\Games\FifteenB\FifteenB.exe" ;; "BG Aces Up Solitaire") - bgInstaller="ASB32Setup10.exe" export bottle="bg" - get_installer "$bgInstaller" "http://www.spoonbillsoftware.com.au/bggames.htm" + download "${ipfsGateway}/ipfs/QmTshtHBEV9dh7wFtaQpNUEYHZ3fBpuhSRZqc7k8HwmtPM?filename=ASB32Setup10.exe" install_wine_bottle speechsdk - wine "${cache}/${bgInstaller}" /silent + wine "${cache}/ASB32Setup10.exe" /silent add_launcher "c:\Program Files\Games\AcesUpB\AcesUpB.exe" ;; "BG Alchemy") - bgInstaller="BAC32Setup10.exe" export bottle="bg" - get_installer "$bgInstaller" "http://www.spoonbillsoftware.com.au/bggames.htm" + download "${ipfsGateway}/ipfs/Qma76HXBhmKgMDeHH1XLePsaWzzzLsBS2HRL3c7MVwDokg?filename=BAC32Setup10.exe" install_wine_bottle speechsdk - wine "${cache}/${bgInstaller}" /silent + wine "${cache}/BAC32Setup10.exe" /silent add_launcher "c:\Program Files\Games\AlchemyB\AlchemyB.exe" ;; "BG Battleship") - bgInstaller="BGB32Setup10.exe" export bottle="bg" - get_installer "$bgInstaller" "http://www.spoonbillsoftware.com.au/bggames.htm" + download "${ipfsGateway}/ipfs/Qmaq9P9fxdLTEFMGg4mhHrRuUbPg6HgU3eYVJNqZUimHjo?filename=BGB32Setup10.exe" install_wine_bottle speechsdk - wine "${cache}/${bgInstaller}" /silent + wine "${cache}/BGB32Setup10.exe" /silent add_launcher "c:\Program Files\Games\BattleshipB\BGBattleship.exe" ;; "BG Boggle") - bgInstaller="BGB32Setup10a.exe" export bottle="bg" - get_installer "$bgInstaller" "http://www.spoonbillsoftware.com.au/bggames.htm" + download "${ipfsGateway}/ipfs/QmQwWiJw9hDiPdfwDyL4XepeoD66ztVRi3HwbSjFFP4CNg?filename=BGB32Setup10a.exe" install_wine_bottle speechsdk - wine "${cache}/${bgInstaller}" /silent + wine "${cache}/BGB32Setup10a.exe" /silent add_launcher "c:\Program Files\Games\BoggleB\BoggleB.exe" ;; "BG Boxes") - bgInstaller="BXB32Setup10.exe" export bottle="bg" - get_installer "$bgInstaller" "http://www.spoonbillsoftware.com.au/bggames.htm" + download "${ipfsGateway}/ipfs/QmRn21tREXxXVSaDe9i54zEPzPSespjJAFBqu4DWocuagD?filename=BXB32Setup10.exe" install_wine_bottle speechsdk - wine "${cache}/${bgInstaller}" /silent + wine "${cache}/BXB32Setup10.exe" /silent add_launcher "c:\Program Files\Games\BoxesB\BoxesB.exe" ;; "BG Brainiac") - bgInstaller="BRN32Setup10a.exe" export bottle="bg" - get_installer "$bgInstaller" "http://www.spoonbillsoftware.com.au/bggames.htm" + download "${ipfsGateway}/ipfs/QmWEdmTkQsjSqBgWUgnDajMf8QvQBbEF4Nxo6mhkXYzBtQ?filename=BRN32Setup10a.exe" install_wine_bottle speechsdk - wine "${cache}/${bgInstaller}" /silent + wine "${cache}/BRN32Setup10a.exe" /silent add_launcher "c:\Program Files\Games\BrainiacB\BrainiacB.exe" ;; "BG Chess Challenge") - bgInstaller="BGC32Setup10d.exe" export bottle="bg" - get_installer "$bgInstaller" "http://www.spoonbillsoftware.com.au/bggames.htm" + download "${ipfsGateway}/ipfs/QmT2yBpU5Jqna18FxYtyWzi4xMGAY9PyJWStAskxCHqBDw?filename=BGC32Setup10d.exe" install_wine_bottle speechsdk - wine "${cache}/${bgInstaller}" /silent + wine "${cache}/BGC32Setup10d.exe" /silent add_launcher "c:\Program Files\Games\ChessB\BGChess.exe" ;; "BG Code Breaker") - bgInstaller="BCB32Setup10.exe" export bottle="bg" - get_installer "$bgInstaller" "http://www.spoonbillsoftware.com.au/bggames.htm" + download "${ipfsGateway}/ipfs/QmU486SssAdM7kPKwDyAKDLQs3Z92bG6wFjaLhzqDZCxAF?filename=BCB32Setup10.exe" install_wine_bottle speechsdk - wine "${cache}/${bgInstaller}" /silent + wine "${cache}/BCB32Setup10.exe" /silent add_launcher "c:\Program Files\Games\CodeBreakerB\BGCodeBreaker.exe" ;; "BG Cribbage") - bgInstaller="BGC32Setup12e.exe" export bottle="bg" - get_installer "$bgInstaller" "http://www.spoonbillsoftware.com.au/bggames.htm" + download "${ipfsGateway}/ipfs/QmeFud3EPHy7wQe8UENgvh96HdAazEkwqA2AutCNkYvB3t?filename=BGC32Setup12e.exe" install_wine_bottle speechsdk - wine "${cache}/${bgInstaller}" /silent + wine "${cache}/BGC32Setup12e.exe" /silent add_launcher "c:\Program Files\Games\CribbageB\CribbageB.exe" ;; "BG Cribbage Solitaire") - bgInstaller="BCS32Setup10.exe" export bottle="bg" - get_installer "$bgInstaller" "http://www.spoonbillsoftware.com.au/bggames.htm" + download "${ipfsGateway}/ipfs/QmbRUiknnNcibWD3NwK4DFZGNHWswBgsFidUzU1TFGJ5Ra?filename=BCS32Setup10.exe" install_wine_bottle speechsdk - wine "${cache}/${bgInstaller}" /silent + wine "${cache}/BCS32Setup10.exe" /silent add_launcher "c:\Program Files\Games\CribSolB\CribSolB.exe" ;; "BG Crossword Puzzle") - bgInstaller="BGX32Setup10h.exe" export bottle="bg" - get_installer "$bgInstaller" "http://www.spoonbillsoftware.com.au/bggames.htm" + download "${ipfsGateway}/ipfs/QmZQGY9CeATEiWrSqsKBz4AN6jPgQuvbBZSpQoLiMjoDr2?filename=BGX32Setup10h.exe" install_wine_bottle speechsdk - wine "${cache}/${bgInstaller}" /silent + wine "${cache}/BGX32Setup10h.exe" /silent add_launcher "c:\Program Files\Games\CrosswordB\CrosswordB.exe" ;; "BG Draw Dominoes") - bgInstaller="BDD32Setup10.exe" export bottle="bg" - get_installer "$bgInstaller" "http://www.spoonbillsoftware.com.au/bggames.htm" + download "${ipfsGateway}/ipfs/QmZQGY9CeATEiWrSqsKBz4AN6jPgQuvbBZSpQoLiMjoDr2?filename=BDD32Setup.exe" install_wine_bottle speechsdk - wine "${cache}/${bgInstaller}" /silent + wine "${cache}/BDD32Setup.exe" /silent add_launcher "c:\Program Files\Games\DrawDominoesB\DrawDominoesB.exe" ;; "BG Elevens Solitaire") - bgInstaller="ESB32Setup10.exe" export bottle="bg" - get_installer "$bgInstaller" "http://www.spoonbillsoftware.com.au/bggames.htm" + download "${ipfsGateway}/ipfs/QmWWZByYL5CsDSi6gQLGcMyBL7zqD5hWXbPXJr3shRt5AQ?filename=ESB32Setup10.exe" install_wine_bottle speechsdk - wine "${cache}/${bgInstaller}" /silent + wine "${cache}/ESB32Setup10.exe" /silent add_launcher "c:\Program Files\Games\ElevensB\ElevensB.exe" ;; "BG Fives Dominoes") - bgInstaller="BFD32Setup10.exe" export bottle="bg" - get_installer "$bgInstaller" "http://www.spoonbillsoftware.com.au/bggames.htm" + download "${ipfsGateway}/ipfs/QmSZt6dz7WQkNrFBmYq9n4WdYrrZyQAebTBPo46uHqCuNi?filename=BFD32Setup10.exe" install_wine_bottle speechsdk - wine "${cache}/${bgInstaller}" /silent + wine "${cache}/BFD32Setup10.exe" /silent add_launcher "c:\Program Files\Games\FivesDominoesB\FivesDominoesB.exe" ;; "BG Free Cell Solitaire") - bgInstaller="BGF32Setup20.exe" export bottle="bg" - get_installer "$bgInstaller" "http://www.spoonbillsoftware.com.au/bggames.htm" + download "${ipfsGateway}/ipfs/QmVfQMMnqTD9Zm8Xwv7rGrUTdS9FXToq7Fv6wtQQVgbQGR?filename=BGF32Setup20.exe" install_wine_bottle speechsdk - wine "${cache}/${bgInstaller}" /silent + wine "${cache}/BGF32Setup20.exe" /silent add_launcher "c:\Program Files\Games\FreecellB\FreecellB.exe" ;; "BG Golf Solitaire") - bgInstaller="GSB32Setup10a.exe" export bottle="bg" - get_installer "$bgInstaller" "http://www.spoonbillsoftware.com.au/bggames.htm" + download "${ipfsGateway}/ipfs/QmfAp9EYou1pndLwYSdpYdUCHBv2DR94oFccQh1ii9JVLD?filename=GSB32Setup10a.exe" install_wine_bottle speechsdk - wine "${cache}/${bgInstaller}" /silent + wine "${cache}/GSB32Setup10a.exe" /silent add_launcher "c:\Program Files\Games\GolfSolitaireB\GolfSolitaireB.exe" ;; "BG Hangman") - bgInstaller="HMB32Setup10.exe" export bottle="bg" - get_installer "${bgInstaller}" "http://www.spoonbillsoftware.com.au/bggames.htm" + download "${ipfsGateway}/ipfs/QmXTPMmvw7JE2eLuPBLGSpkZqUn12TX7QEQZbX8qtp7GBx?filename=HMB32Setup10.exe" install_wine_bottle speechsdk - wine "${cache}/${bgInstaller}" /silent + wine "${cache}/HMB32Setup10.exe" /silent add_launcher "c:\Program Files\Games\HangmanB\HangmanB.exe" ;; "BG Hearts") - bgInstaller="BGH32Setup10b.exe" export bottle="bg" - get_installer "${bgInstaller}" "http://www.spoonbillsoftware.com.au/bggames.htm" + download "${ipfsGateway}/ipfs/QmdU5ag1PRjvG28wNX7aNuJqZSVxaqEEKjgG6GoRoDT8k4?filename=BGH32Setup10b.exe" install_wine_bottle speechsdk - wine "${cache}/${bgInstaller}" /silent + wine "${cache}/${BGH32Setup10b.exe}" /silent add_launcher "c:\Program Files\Games\HeartsB\HeartsB.exe" ;; "BG Klondike Solitaire") - bgInstaller="BGK32Setup10b.exe" export bottle="bg" - get_installer "$bgInstaller" "http://www.spoonbillsoftware.com.au/bggames.htm" + download "${ipfsGateway}/ipfs/QmctBDvhQWwER94LvgauR7sMDxv9D1mS9cToV47orTCdzU?filename=BGK32Setup10b.exe" install_wine_bottle speechsdk - wine "${cache}/${bgInstaller}" /silent + wine "${cache}/BGK32Setup10b.exe" /silent add_launcher "c:\Program Files\Games\KlondikeB\KlondikeB.exe" ;; "BG LAP") - bgInstaller="LAP32Setup10.exe" export bottle="bg" - get_installer "${bgInstaller}" "http://www.spoonbillsoftware.com.au/bggames.htm" + download "${ipfsGateway}/ipfs/Qma5WeCC9B2P5abRGX9nGYV8Zi9F8vfCCr4ehejP2bgmNm?filename=LAP32Setup10.exe" install_wine_bottle speechsdk - wine "${cache}/${bgInstaller}" /silent + wine "${cache}/LAP32Setup10.exe" /silent add_launcher "c:\Program Files\Games\LAP\LAP.exe" ;; "BG Master Mind") - bgInstaller="BMM32Setup10.exe" export bottle="bg" - get_installer "${bgInstaller}" "http://www.spoonbillsoftware.com.au/bggames.htm" + download "${ipfsGateway}/ipfs/QmP6cwMbirbBqAaG9JLfNRnD2dvJfh6nq74kfwxs5hN2RQ?filename=BMM32Setup10.exe" install_wine_bottle speechsdk - wine "${cache}/${bgInstaller}" /silent + wine "${cache}/BMM32Setup10.exe" /silent add_launcher "c:\Program Files\Games\MastermindB\BGMasterMind.exe" ;; "BG Mine Sweeper") - bgInstaller="MSB32Setup10.exe" export bottle="bg" - get_installer "${bgInstaller}" "http://www.spoonbillsoftware.com.au/bggames.htm" + download "${ipfsGateway}/ipfs/QmRa54HroWjwxHYfKr6hdmP34sHW5G3ecuzcjMA5UBBVKa?filename=MSB32Setup10.exe" install_wine_bottle speechsdk - wine "${cache}/${bgInstaller}" /silent + wine "${cache}/MSB32Setup10.exe" /silent add_launcher "c:\Program Files\Games\MinesweeperB\MinesweeperB.exe" ;; "BG Nomination Whist") - bgInstaller="BNW32Setup10a.exe" export bottle="bg" - get_installer "${bgInstaller}" "http://www.spoonbillsoftware.com.au/bggames.htm" + download "${ipfsGateway}/ipfs/Qmb7eGTMDgiaDC9muMW9n8bHoistGcNm1VgHc6sr7dRyHU?filename=BNW32Setup10a.exe" install_wine_bottle speechsdk - wine "${cache}/${bgInstaller}" /silent + wine "${cache}/BNW32Setup10a.exe" /silent add_launcher "c:\Program Files\Games\NomWhistB\NomWhistB.exe" ;; "BG Penguin Solitaire") - bgInstaller="BPS32Setup10c.exe" export bottle="bg" - get_installer "$bgInstaller" "http://www.spoonbillsoftware.com.au/bggames.htm" + download "${ipfsGateway}/ipfs/QmXKvQ6WNNSnDiSyYmvAhZXVdALnuhUGK7dSMQVkQNReJr?filename=BPS32Setup10c.exe" install_wine_bottle speechsdk - wine "${cache}/${bgInstaller}" /silent + wine "${cache}/BPS32Setup10c.exe" /silent add_launcher "c:\Program Files\Games\PenguinB\PenguinB.exe" ;; "BG Poker Solitaire") - bgInstaller="BPS32Setup10.exe" export bottle="bg" - get_installer "$bgInstaller" "http://www.spoonbillsoftware.com.au/bggames.htm" + download "${ipfsGateway}/ipfs/QmPLv74LiDgVGuiGhu9HuPhx3uoMm9QyCYk6jgeFUHjj3S?filename=BPS32Setup10.exe" install_wine_bottle speechsdk - wine "${cache}/${bgInstaller}" /silent + wine "${cache}/BPS32Setup10.exe" /silent add_launcher "c:\Program Files\Games\PokerSolB\PokerSolB.exe" ;; "BG Pyramid Solitaire") - bgInstaller="PSB32Setup10a.exe" export bottle="bg" - get_installer "$bgInstaller" "http://www.spoonbillsoftware.com.au/bggames.htm" + download "${ipfsGateway}/ipfs/QmaqXaBKD3xY2smhU2LcejXRTPnWZHqaTW9se8yRepLsHu?filename=PSB32Setup10a.exe" install_wine_bottle speechsdk - wine "${cache}/${bgInstaller}" /silent + wine "${cache}/PSB32Setup10a.exe" /silent add_launcher "c:\Program Files\Games\PyramidB\PyramidB.exe" ;; "BG Scorpion Solitaire") - bgInstaller="BSS32Setup10.exe" export bottle="bg" - get_installer "$bgInstaller" "http://www.spoonbillsoftware.com.au/bggames.htm" + download "${ipfsGateway}/ipfs/QmSxJs2MiLQ61Fgx6vCpSD7GmQziLiCEU3sZ3mgWc7RsJ8?filename=BSS32Setup10.exe" install_wine_bottle speechsdk - wine "${cache}/${bgInstaller}" /silent + wine "${cache}/BSS32Setup10.exe" /silent add_launcher "c:\Program Files\Games\ScorpionB\ScorpionB.exe" ;; "BG Simon") - bgInstaller="BGS32Setup10.exe" export bottle="bg" - get_installer "$bgInstaller" "http://www.spoonbillsoftware.com.au/bggames.htm" + download "${ipfsGateway}/ipfs/QmXtBCqB6VCFPaDYuLaFNP1BDtJSLCJdJZzgm61zMtrsQt?filename=BGS32Setup10.exe" install_wine_bottle speechsdk - wine "${cache}/${bgInstaller}" /silent + wine "${cache}/BGS32Setup10.exe" /silent add_launcher "c:\Program Files\Games\SimonB\SimonB.exe" ;; "BG Spider Solitaire") - bgInstaller="SPB32Setup10b.exe" export bottle="bg" - get_installer "$bgInstaller" "http://www.spoonbillsoftware.com.au/bggames.htm" + download "${ipfsGateway}/ipfs/QmdWBaDnLVbKCJSpiqF675ew6nJ6KHUVXA5FEH3t3E7UAu?filename=SPB32Setup10b.exe" install_wine_bottle speechsdk - wine "${cache}/${bgInstaller}" /silent + wine "${cache}/SPB32Setup10b.exe" /silent add_launcher "c:\Program Files\Games\SpiderB\SpiderB.exe" ;; "BG Scrabble") - bgInstaller="BGS32Setup20.exe" export bottle="bg" - get_installer "$bgInstaller" "http://www.spoonbillsoftware.com.au/bggames.htm" + download "${ipfsGateway}/ipfs/QmVrwyPdJBnmc4wLW7oT2hexxXnXxs8bA7gfiqbnJsWJ16?filename=BGS32Setup20.exe" install_wine_bottle speechsdk - wine "${cache}/${bgInstaller}" /silent + wine "${cache}/BGS32Setup20.exe" /silent add_launcher "c:\Program Files\Games\ScrabbleB\ScrabbleB.exe" ;; "BG Sudoku") - bgInstaller="SDB32Setup10a.exe" export bottle="bg" - get_installer "$bgInstaller" "http://www.spoonbillsoftware.com.au/bggames.htm" + download "${ipfsGateway}/ipfs/QmXCAHEVRGZBc8t45Jgn2vkxicwF9Aox6yz9XrQBdkv7WY?filename=SDB32Setup10a.exe" install_wine_bottle speechsdk - wine "${cache}/${bgInstaller}" /silent + wine "${cache}/SDB32Setup10a.exe" /silent add_launcher "c:\Program Files\Games\SudokuB\SudokuB.exe" ;; "BG Tablic Solitaire") - bgInstaller="TSB32Setup10.exe" export bottle="bg" - get_installer "$bgInstaller" "http://www.spoonbillsoftware.com.au/bggames.htm" + download "${ipfsGateway}/ipfs/QmYoiFQ6JuSXfZfZXT3SQDsYzMWLBu9rW9yivi1xiPjqZx?filename=SDB32Setup10a.exe" install_wine_bottle speechsdk - wine "${cache}/${bgInstaller}" /silent + wine "${cache}/SDB32Setup10a.exe" /silent add_launcher "c:\Program Files\Games\TabSolB\BGTabSol.exe" ;; "BG Tri-Peaks Solitaire") - bgInstaller="TPB32Setup10a.exe" export bottle="bg" - get_installer "$bgInstaller" "http://www.spoonbillsoftware.com.au/bggames.htm" + download "${ipfsGateway}/ipfs/QmWJGvSR6iaQfMHM3XuGCkWxx285jkzSDdNSvvk3bSCH8S?filename=TPB32Setup10a.exe" install_wine_bottle speechsdk - wine "${cache}/${bgInstaller}" /silent + wine "${cache}/TPB32Setup10a.exe" /silent add_launcher "c:\Program Files\Games\TriPeaksB\TriPeaksB.exe" ;; "BG Twenty 20 Cricket") - bgInstaller="T20B32Setup10.exe" export bottle="bg" - get_installer "$bgInstaller" "http://www.spoonbillsoftware.com.au/bggames.htm" + download "${ipfsGateway}/ipfs/QmWAk2TMHMvW6Kjc1sZBEPsxmCNHfY3nF1K723PCqaTa57?filename=TPB32Setup10a.exe" install_wine_bottle speechsdk - wine "${cache}/${bgInstaller}" /silent + wine "${cache}/T20B32Setup10.exe" /silent add_launcher "c:\Program Files\Games\T20CricketB\CricketB.exe" ;; "BG Uno") - bgInstaller="BGU32Setup11a.exe" "http://www.spoonbillsoftware.com.au/bggames.htm" export bottle="bg" - get_installer "${bgInstaller}" + download "${ipfsGateway}/ipfs/QmVsfPkebSoTDwYSXF1n7y4P9eGJTgTcGXdrEjpcV8A3Dv?filename=BGU32Setup11a.exe" install_wine_bottle speechsdk - wine "${cache}/${bgInstaller}" /silent + wine "${cache}/BGU32Setup11a.exe" /silent add_launcher "c:\Program Files\Games\UnoB\UnoB.exe" ;; "BG Word Builder") - bgInstaller="BWB32Setup10.exe" export bottle="bg" - get_installer "${bgInstaller}" "http://www.spoonbillsoftware.com.au/bggames.htm" + download "${ipfsGateway}/ipfs/QmXtR49EZShyj15Tc9CXQpBYVmKNfZpp4515Epm16bviuH?filename=BWB32Setup10.exe" install_wine_bottle speechsdk - wine "${cache}/${bgInstaller}" /silent + wine "${cache}/BWB32Setup10.exe" /silent add_launcher "c:\Program Files\Games\WordBuilderB\WordBuilderB.exe" ;; "BG Word Candy") - bgInstaller="WCB32Setup10a.exe" export bottle="bg" - get_installer "${bgInstaller}" "http://www.spoonbillsoftware.com.au/bggames.htm" + download "${ipfsGateway}/ipfs/QmfTgfRzd4JMRqKSfDiz76iMorkaG19BqH1K7nRCCDwo4H?filename=WCB32Setup10a.exe" install_wine_bottle speechsdk - wine "${cache}/${bgInstaller}" /silent + wine "${cache}/WCB32Setup10a.exe" /silent add_launcher "c:\Program Files\Games\WordCandyB\WordCandyB.exe" ;; "BG Word Jumble") - bgInstaller="BWJ32Setup10.exe" export bottle="bg" - get_installer "${bgInstaller}" "http://www.spoonbillsoftware.com.au/bggames.htm" + download "${ipfsGateway}/ipfs/QmYQWZZifzKJSuVRCC1SabwRmEDz95GdFvbzRvsBMmTt6e?filename=BWJ32Setup10.exe" install_wine_bottle speechsdk - wine "${cache}/${bgInstaller}" /silent + wine "${cache}/BWJ32Setup10.wineExec" /silent add_launcher "c:\Program Files\Games\WordJumbleB\WordJumbleB.exe" ;; "BG Word Maze") - bgInstaller="BWM32Setup10.exe" export bottle="bg" - get_installer "${bgInstaller}" "http://www.spoonbillsoftware.com.au/bggames.htm" + download "${ipfsGateway}/ipfs/QmXPtj5PkVZjXpU3m6FAfm8MwVL6bQCvhEDoR385u6FGTL?filename=BWM32Setup10.exe" install_wine_bottle speechsdk - wine "${cache}/${bgInstaller}" /silent + wine "${cache}/BWM32Setup10.exe" /silent add_launcher "c:\Program Files\Games\WordMazeB\WordMazeB.exe" ;; "BG Word Solitaire") - bgInstaller="WSB32Setup10.exe" export bottle="bg" - get_installer "$bgInstaller" "http://www.spoonbillsoftware.com.au/bggames.htm" + download "${ipfsGateway}/ipfs/QmZp73ARDPqgnCz7zxfKeBHjNoHrgZSgg2NdQZR2sMyZGD?filename=WSB32Setup10.exe" install_wine_bottle speechsdk - wine "${cache}/${bgInstaller}" /silent + wine "${cache}/WSB32Setup10.exe" /silent add_launcher "c:\Program Files\Games\WordSolitaireB\WordSolitaireB.exe" ;; "BG Word Target") - bgInstaller="WTB32Setup10a.exe" export bottle="bg" - get_installer "${bgInstaller}" "http://www.spoonbillsoftware.com.au/bggames.htm" + download "${ipfsGateway}/ipfs/QmWWZFXVHNtmNkH55oermWWtrMcQ8qVqL687B7kGFyeezq?filename=WTB32Setup10a.exe" install_wine_bottle speechsdk - wine "${cache}/${bgInstaller}" /silent + wine "${cache}/WTB32Setup10a.exe" /silent add_launcher "c:\Program Files\Games\WordTargetB\WordTargetB.exe" ;; "BG Word Yahtzee") - bgInstaller="BWY32Setup10.exe" export bottle="bg" - get_installer "${bgInstaller}" "http://www.spoonbillsoftware.com.au/bggames.htm" + download "${ipfsGateway}/ipfs/QmdicAVDegDktY3euVAC2PPn4YBGz96KedxYXNe4WDQaoq?filename=BWY32Setup10.exe" install_wine_bottle speechsdk - wine "${cache}/${bgInstaller}" /silent + wine "${cache}/BWY32Setup10.exe" /silent add_launcher "c:\Program Files\Games\WordYahtzeeB\BGWordYahtzee.exe" ;; "BG Yahtzee") - bgInstaller="BGY32Setup10a.exe" export bottle="bg" - get_installer "${bgInstaller}" "http://www.spoonbillsoftware.com.au/bggames.htm" + download "${ipfsGateway}/ipfs/QmZebvkKgFAADnb1cgW6Bz7wTYdUh82X61QdtW66KcvmpF?filename=BGY32Setup10a.exe" install_wine_bottle speechsdk - wine "${cache}/${bgInstaller}" /silent + wine "${cache}/BGY32Setup10a.exe" /silent add_launcher "c:\Program Files\Games\yahtzeeB\BGYahtzee.exe" ;; "Blind Drive") From 123b648700486b119a6f4c771d414e6bcb386951 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Fri, 26 Jan 2024 04:11:26 -0500 Subject: [PATCH 29/44] More stuff moved to ipfs. --- audiogame-manager.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/audiogame-manager.sh b/audiogame-manager.sh index 20bd24c..d413ba0 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -3228,7 +3228,7 @@ export norh=false # Must install a voice, and rhvoice works easily with 64 bit. "Villains From Beyond") export bottle="oriol-gomez" export winVer="win7" - download "http://oriolgomez.com/games/villains_en.zip" + download "${ipfsGateway}/ipfs/QmWx271xuk3Mv9XTBoVu5BDJvXFZdasawC2nhtV21WAaUU?filename=villains_en.zip" install_wine_bottle speechsdk unzip -d "$WINEPREFIX/drive_c/Program Files/villains from beyond" "${cache}/villains_en.zip" find "${WINEPREFIX}" -type f -name "nvdaControllerClient32.dll" -exec rm -fv "{}" \; From ba4de73562ee0a3b6f1e4ca37786be465964673e Mon Sep 17 00:00:00 2001 From: Michael Taboada Date: Wed, 31 Jan 2024 16:31:35 -0800 Subject: [PATCH 30/44] Fixed mist world installer on wine 9, hopefully also swamp --- audiogame-manager.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/audiogame-manager.sh b/audiogame-manager.sh index d413ba0..4e2c28f 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -2505,7 +2505,7 @@ EOF export winVer="win7" get_installer "Mist World_Setup.exe" "https://drive.google.com/file/d/12YeUqorkkMT46ZSR5pcfWxSY8DHOLxZ-/view?usp=share_link" download "https://github.com/RastislavKish/nvda2speechd/releases/download/v0.1/nvda2speechd32.dll" - install_wine_bottle + install_wine_bottle ole32 7z x -o"$WINEPREFIX/drive_c/Program Files/Mist World" "$cache/Mist World_Setup.exe" sed -i 's/1024m/768m/g' "$WINEPREFIX/drive_c/Program Files/Mist World/mw.exe.vmoptions" cp "$WINEPREFIX/drive_c/Program Files/Mist World/"{mw.exe.vmoptions,update.exe.vmoptions} @@ -3005,7 +3005,7 @@ EOF dialog --backtitle "Audiogame manager" --yesno "If you do not have a full 32 bit gstreamer installation, the Swamp music can cause stuttering and crashes. Would you like to remove the music directory after installation?" -1 -1 --stdout deleteMusic=$? download "https://www.kaldobsky.com/audiogames/Swamp.zip" - install_wine_bottle dx8vb quartz corefonts vb6run speechsdk + install_wine_bottle dx8vb quartz corefonts vb6run speechsdk ole32 unzip -d "$WINEPREFIX/drive_c/Program Files/swamp" "${cache}/Swamp.zip" # make sure the latest version is installed. if curl -L --output "${cache}/SwampPatch.zip" "https://www.kaldobsky.com/audiogames/SwampPatch.zip" ; then From 9e257d1a0711828b2b7a0475fe831f103e8ff431 Mon Sep 17 00:00:00 2001 From: Hunter Jozwiak Date: Fri, 2 Feb 2024 16:35:18 -0500 Subject: [PATCH 31/44] Let's add Dreamland. This is not yet complete; it is simply to see if I have push access. --- audiogame-manager.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/audiogame-manager.sh b/audiogame-manager.sh index 4e2c28f..a06c013 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -1149,6 +1149,7 @@ gameList=( "Deathmatch" "Dog Who Hates Toast" "Dragon Pong" + "Dreamland" "Duck Hunt" "DynaMan" "Easter Quest" @@ -1272,7 +1273,7 @@ for i in curl sox wine winetricks ; do fi done # Get latest news if available -check_news +#check_news # With no arguments, open the game launcher. if [[ $# -eq 0 ]]; then game_launcher @@ -2075,6 +2076,8 @@ download "https://erion.cf/files/ag_103.zip" unzip -d "$WINEPREFIX/drive_c/Program Files" "${cache}/dragonpong.zip" add_launcher "c:\Program Files\dragonpong\DragonPong.exe" ;; + "Dreamland") + "Duck Hunt") export bottle="l-works" download "http://files.l-works.net/dhsetup.exe" From 006c63bdc89f6fbc6a7b5ae907a1bdea7fe8d53d Mon Sep 17 00:00:00 2001 From: Hunter Jozwiak Date: Fri, 2 Feb 2024 17:10:35 -0500 Subject: [PATCH 32/44] Further work on the installer. It does not work just yet, so don't get too excited. --- audiogame-manager.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/audiogame-manager.sh b/audiogame-manager.sh index a06c013..8e66f20 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -22,7 +22,7 @@ license() { left blank, the Original Developer is the Initial Developer. The Initial Developer of the Original Code is Billy "Storm Dragon" Wolfe. All portions of - the code written by Billy Wolfe are Copyright (c) 2020. All Rights + the code written by Billy Wolfe are Copyright (c) 2020, 2024. All Rights Reserved. Contributor Michael Taboada. @@ -2077,7 +2077,10 @@ download "https://erion.cf/files/ag_103.zip" add_launcher "c:\Program Files\dragonpong\DragonPong.exe" ;; "Dreamland") - + download https://scwl-1251129685.cos.ap-shanghai.myqcloud.com/dreamland/Win/DreamLandSetup.exe + install_wine_bottle speechsdk + $wine "${cach}/DreamLandSetup.exe" /silent + ;; "Duck Hunt") export bottle="l-works" download "http://files.l-works.net/dhsetup.exe" From 6acd7a27ffe1cbfa4388bef417d52f94e2e40c55 Mon Sep 17 00:00:00 2001 From: Hunter Jozwiak Date: Fri, 2 Feb 2024 18:10:50 -0500 Subject: [PATCH 33/44] Update to install ole32. --- audiogame-manager.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/audiogame-manager.sh b/audiogame-manager.sh index 8e66f20..9fa29f0 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -2078,8 +2078,8 @@ download "https://erion.cf/files/ag_103.zip" ;; "Dreamland") download https://scwl-1251129685.cos.ap-shanghai.myqcloud.com/dreamland/Win/DreamLandSetup.exe - install_wine_bottle speechsdk - $wine "${cach}/DreamLandSetup.exe" /silent + install_wine_bottle speechsdk ole32 + $wine "${cache}/DreamLandSetup.exe" /silent ;; "Duck Hunt") export bottle="l-works" From bef82cb96e797f2748a340ab3d4055b68e97eb5b Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Thu, 15 Feb 2024 10:46:43 -0500 Subject: [PATCH 34/44] Working version of game "Oh Shit" --- audiogame-manager.sh | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/audiogame-manager.sh b/audiogame-manager.sh index 9fa29f0..3029197 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -905,6 +905,9 @@ game_launcher() { "${0%/*}/speech/speak_window_title.sh" mw.exe & pgrep -u "$USER" nvda2speechd &> /dev/null || ${XDG_DATA_HOME:-$HOME/.local/share}/audiogame-manager/nvda2speechd & fi + if [[ "$game" =~ oh-shit ]]; then + pgrep -u "$USER" nvda2speechd &> /dev/null || ${XDG_DATA_HOME:-$HOME/.local/share}/audiogame-manager/nvda2speechd & + fi if [[ "$game" =~ ^bokurano-daibouken-2\| ]]; then "${0%/*}/speech/clipboard_translator.sh" play.exe bokurano-daibouken2 & fi @@ -2572,10 +2575,12 @@ EOF ;; "Oh Shit") export winVer="win7" - download "${ipfsGateway}/ipfs/QmRrX6ZUMWuCRscDJsAHomJPaXJTvEW3BB1z2DPtJEJA3F?filename=oh_shit.zip" "https://stormgames.wolfe.casa/downloads/nvdaControllerClient32.dll" + export norh="true" # Requires sapi even though uses nvda + download "${ipfsGateway}/ipfs/QmQnAJJrt5uABFziQc7enXYrJ74J9GKQSMi8Ry8ebsxfPV?filename=OhShit.zip" "https://stormgames.wolfe.casa/downloads/nvda2speechd32.dll" install_wine_bottle speechsdk - unzip -d "$WINEPREFIX/drive_c/Program Files" "${cache}/oh_shit.zip" - find "${WINEPREFIX}" -type f -name 'nvdaControllerClient32.dll' -exec cp -v "${cache}/nvdaControllerClient32.dll" "{}" \; + unzip -d "$WINEPREFIX/drive_c/Program Files" "${cache}/OhShit.zip" + find "${WINEPREFIX}" -type f -name 'nvdaControllerClient32.dll' -exec cp -v "${cache}/nvda2speechd32.dll" "{}" \; + find "${WINEPREFIX}" -type f -name 'nvdaControllerClient.dll' -exec cp -v "${cache}/nvda2speechd32.dll" "{}" \; add_launcher "c:\Program Files\oh_shit\OhShit.exe" ;; "Operation BlackSquare") From 7736b3a8a117f802ea9bdfe5c516f55f81fde25b Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Thu, 15 Feb 2024 10:52:59 -0500 Subject: [PATCH 35/44] Try to fix setting default voice if not available. --- audiogame-manager.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/audiogame-manager.sh b/audiogame-manager.sh index 3029197..d3b5a2a 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -677,7 +677,7 @@ install_wine_bottle() { echo "WINE=\"${WINE}\"" > "$HOME/.local/wine/${bottle}/agm.conf" echo "WINESERVER=\"${WINESERVER}\"" >> "$HOME/.local/wine/${bottle}/agm.conf" # If default voice is set, change it for the bottle - if [[ -n "${defaultVoice}" ]] && [[ "${*}" =~ (speechsdk|sapi) ]]; then + if [[ ${#defaultVoice} -ge 2 ]] && [[ "${*}" =~ (speechsdk|sapi) ]]; then echo "Setting default voice for bottle \"${bottle}\" to \"${defaultVoice}\"." "${0%/*}/speech/set-voice.sh" -b "${bottle}" -r "${defaultRate:-7}" -v "${defaultVoice}" fi From 25b720cea30147c9be8481cb4fbd2e8342d7467e Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Sat, 17 Feb 2024 01:33:09 -0500 Subject: [PATCH 36/44] Added new Aprone game "Penta Path". --- audiogame-manager.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/audiogame-manager.sh b/audiogame-manager.sh index d3b5a2a..4adae5a 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -318,6 +318,7 @@ get_bottle() { "dog-who-hates-toast"*) ;& "lunimals"*) ;& "paw-prints"*) ;& + "penta-path"*) ;& "preludeamals"*) ;& "puzzle-divided"*) ;& "rettou"*) ;& @@ -1202,6 +1203,7 @@ gameList=( "Paladin of the Sky" "Park Boss" "Paw Prints" + "Penta Path" "Perilous Hearts" "Pontes Kickups!" "Pigeon Panic" @@ -2628,6 +2630,16 @@ EOF wine 'c:\Program Files\pawprints\checkup.exe' /verysilent add_launcher "c:\Program Files\pawprints\PawPrints.exe" ;; + "Penta Path") + export bottle="aprone" + export winVer="win7" + export winetricksSettings="vd=1024x768" + download "http://www.kaldobsky.com/audiogames/pentapath.zip" + install_wine_bottle vb6run dx8vb quartz speechsdk corefonts + unzip -d "$WINEPREFIX/drive_c/Program Files/pentapath" "${cache}/pentapath.zip" + wine 'c:\Program Files\pentapath\checkup.exe' /verysilent + add_launcher "c:\Program Files\pentapath\PentaPath.exe" + ;; "Perilous Hearts") download "https://www.agarchive.net/games/blastbay/perilous%20hearts%20concept%20demo.exe" install_wine_bottle speechsdk From 2250718e8a98b7f1c7b9b158c091a5f98539e520 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Sat, 17 Feb 2024 16:34:33 -0500 Subject: [PATCH 37/44] Aprone game "Tarot Assistant" added. --- audiogame-manager.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/audiogame-manager.sh b/audiogame-manager.sh index 4adae5a..22aa7e9 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -324,6 +324,7 @@ get_bottle() { "rettou"*) ;& "revelation"*) ;& "swamp"*) ;& + "tarot-assistant"*) ;& "triple-triad"*) export WINEPREFIX="${HOME}/.local/wine/aprone" ;; "bg-"*) export WINEPREFIX="${HOME}/.local/wine/bg";; @@ -1257,6 +1258,7 @@ gameList=( "Tomb Hunter" "Top Speed 2" "Top Speed 3" + "Tarot Assistant" "Triple Triad" "Troopanum2" "Tube Sim" @@ -3168,6 +3170,15 @@ export norh=false # Must install a voice, and rhvoice works easily with 64 bit. find "${WINEPREFIX}" -type f -name 'nvdaControllerClient64.dll' -exec cp -v "${cache}/nvda2speechd64.dll" "{}" \; add_launcher "c:\Program Files\Three-D-Velocity-Binaries-master\tdv.exe" ;; + "Tarot Assistant") + export bottle="aprone" + export winVer="win7" + download "https://www.kaldobsky.com/audiogames/tarot.zip" + install_wine_bottle vb6run dx8vb speechsdk + unzip -d "$WINEPREFIX/drive_c/Program Files/Tarot Assistant" "${cache}/tarot.zip" + wine "c:\Program Files\Tarot Assistant\Checkup.exe" /verysilent + add_launcher "c:\Program Files\Tarot Assistant\TarotAssistant.exe" + ;; "Triple Triad") export bottle="aprone" export winVer="win7" From d10196cc31ee9a8f2fab1a7d71ad0b96bbee05a2 Mon Sep 17 00:00:00 2001 From: Michael Taboada Date: Sun, 18 Feb 2024 23:43:15 -0800 Subject: [PATCH 38/44] Game galactic strike added, but not yet working, keyboard issues. --- audiogame-manager.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/audiogame-manager.sh b/audiogame-manager.sh index 22aa7e9..4c09790 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -1168,6 +1168,7 @@ gameList=( #"Fartman" "Finger Panic" "Fuck That Bird" + #"Galactic Strike" "GMA Tank Commander" "Grizzly Gulch" "Hammer of Glory" @@ -2222,6 +2223,15 @@ download "https://erion.cf/files/ag_103.zip" unzip -d "$WINEPREFIX/drive_c/Program Files/fuck that bird" "${cache}/bird_en.zip" add_launcher "c:\Program Files\fuck that bird\game.exe" ;; + "Galactic Strike") + get_installer "Galactic Strike 1.1.zip" "https://fusion-forged-games.itch.io/galactic-strike" + install_wine_bottle + unzip -d "$WINEPREFIX/drive_c/Program Files/Galactic Strike" "${cache}/Galactic Strike 1.1.zip" + # Weird work around to get keyboard working. + winetricks -q usetakefocus=y + winetricks -q usetakefocus=n + add_launcher "c:\Program Files\Galactic Strike\Galactic Strike.exe" + ;; "GMA Tank Commander") download "http://www.gmagames.com/gtc120.exe" install_wine_bottle vb6run dx8vb speechsdk From d442acce6af35540b97c869ccb0dfb893c24b9d0 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Thu, 22 Feb 2024 15:48:43 -0500 Subject: [PATCH 39/44] More work on Galactic strike. It almost works, except for the instant completion of levels. --- audiogame-manager.sh | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/audiogame-manager.sh b/audiogame-manager.sh index 4c09790..8c23422 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -2224,12 +2224,10 @@ download "https://erion.cf/files/ag_103.zip" add_launcher "c:\Program Files\fuck that bird\game.exe" ;; "Galactic Strike") - get_installer "Galactic Strike 1.1.zip" "https://fusion-forged-games.itch.io/galactic-strike" - install_wine_bottle - unzip -d "$WINEPREFIX/drive_c/Program Files/Galactic Strike" "${cache}/Galactic Strike 1.1.zip" - # Weird work around to get keyboard working. - winetricks -q usetakefocus=y - winetricks -q usetakefocus=n + get_installer "Galactic Strike 1.2.zip" "https://fusion-forged-games.itch.io/galactic-strike" + export winVer="win10" + install_wine_bottle speechsdk + unzip -d "$WINEPREFIX/drive_c/Program Files/Galactic Strike" "${cache}/Galactic Strike 1.2.zip" add_launcher "c:\Program Files\Galactic Strike\Galactic Strike.exe" ;; "GMA Tank Commander") From b34086fb38939abe10c8890db687535bd4af0445 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Wed, 28 Feb 2024 00:31:11 -0500 Subject: [PATCH 40/44] Game "Executioner's Rage" added. --- audiogame-manager.sh | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/audiogame-manager.sh b/audiogame-manager.sh index 8c23422..1f0558b 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -1164,6 +1164,7 @@ gameList=( "ESP Pinball Extreme" "ESP Pinball Party Pack" #"Eurofly" + "Executioner's Rage" "Extant" #"Fartman" "Finger Panic" @@ -2197,6 +2198,22 @@ download "https://erion.cf/files/ag_103.zip" add_launcher "c:\Eurofly\launcher.exe" echo "Note: On first and sometimes later launch, Eurofly may take a very long time to download required files, please be patient..." ;; + "Executioner's Rage") + download "https://dl.tweesecake.app/rage/rage1.0.2.zip" "https://github.com/RastislavKish/nvda2speechd/releases/download/v0.1/nvda2speechd64.dll" + export WINEARCH=win64 + export winVer="win10" + install_wine_bottle + unzip -d "$WINEPREFIX/drive_c/Program Files/" "${cache}/rage1.0.2.zip" + find "${WINEPREFIX}/drive_c/Program Files" -type f -name 'nvdaControllerClient64.dll' -exec cp -v "${cache}/nvda2speechd64.dll" "{}" \; + add_launcher "c:\Program Files\rage\rage.exe" + url="https://techcake.games/games/executioners-rage/" + echo "Before you can login, you need to create an account at:" + echo "$url" + if echo "$url" | xclip -selection clipboard 2> /dev/null ; then + message+="\n\nThe URL has been copied to the clipboard." + fi + alert + ;; "Extant") download "https://agarchive.net/games/other/extant.zip" install_wine_bottle speechsdk From 16a635c3795a13faa2b4a9bfc677aaf49f13ae42 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Wed, 28 Feb 2024 00:40:30 -0500 Subject: [PATCH 41/44] Documentation updated to detect Executioner's Rage help file. --- audiogame-manager.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/audiogame-manager.sh b/audiogame-manager.sh index 1f0558b..46938fe 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -519,7 +519,7 @@ echo "Loading documentation, please wait..." gameDoc="$(find "$gamePath" -type f -iname 'manual.txt' | head -1)" fi if [[ -z "$gameDoc" ]]; then - gameDoc="$(find "$gamePath" -type f -iname 'readme.txt' | head -1)" + gameDoc="$(find "$gamePath" -type f -iname 'readme.txt' -or -iname 'help.txt' | head -1)" fi if [[ -z "$gameDoc" ]]; then gameDoc="$(find "$gamePath" -type f -iname '*.url' -exec grep -i 'url=' {} \; | grep -iv 'score' | head -1)" From 05f428d72250e00822bcde9e0950b84ef3800bad Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Wed, 28 Feb 2024 12:52:38 -0500 Subject: [PATCH 42/44] Galactic Strike ready to go. Apparently the problems with it were coming from my nvidia card and the wine driver for it. --- audiogame-manager.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/audiogame-manager.sh b/audiogame-manager.sh index 46938fe..1880561 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -1169,7 +1169,7 @@ gameList=( #"Fartman" "Finger Panic" "Fuck That Bird" - #"Galactic Strike" + "Galactic Strike" "GMA Tank Commander" "Grizzly Gulch" "Hammer of Glory" @@ -2246,6 +2246,9 @@ download "https://erion.cf/files/ag_103.zip" install_wine_bottle speechsdk unzip -d "$WINEPREFIX/drive_c/Program Files/Galactic Strike" "${cache}/Galactic Strike 1.2.zip" add_launcher "c:\Program Files\Galactic Strike\Galactic Strike.exe" + echo "Use controls wasd to movi and navigate the menu." + echo "Use m to fire and select items from the menu." + alert ;; "GMA Tank Commander") download "http://www.gmagames.com/gtc120.exe" From 715affe733f87679e72888d32b193ba23b6c4b3f Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Thu, 29 Feb 2024 04:10:48 -0500 Subject: [PATCH 43/44] Revert Crazy Party update script. --- game-scripts/crazy-party-update.sh | 25 +++++++++---------------- 1 file changed, 9 insertions(+), 16 deletions(-) diff --git a/game-scripts/crazy-party-update.sh b/game-scripts/crazy-party-update.sh index 02c0873..43993cd 100755 --- a/game-scripts/crazy-party-update.sh +++ b/game-scripts/crazy-party-update.sh @@ -37,23 +37,16 @@ # Works which are defined in the CPAL as a work which combines Covered Code # or portions thereof with code not governed by the terms of the CPAL. -echo "The architecture has changed from beta 78 to 81 from 32 bit to 64 bit." -echo "If you still want to use this script, even though the update will break the installation, please remove these lines from the script, including the exit." -echo "Otherwise, uninstall and reinstall crazy party." -echo "As of yet, the new version is not ready in audiogame-manager because no speech." -exit 1 -oldVersion=78 -newVersion=81 cache="${XDG_CACHE_HOME:-$HOME/.cache}/audiogame-manager" configFile="${XDG_CONFIG_HOME:-$HOME/.config}/storm-games/audiogame-manager/games.conf" -url="http://pragmapragma.free.fr/crazy-party/Crazy-Party-beta${newVersion}.zip" -(rm -v "${cache}/Crazy-Party-beta${oldVersion}.zip" -wget -O "${cache}/Crazy-Party-beta${newVersion}.zip" "$url" || { echo "Could not download file."; exit 1; } -unzip -DDod "$HOME/.local/wine/crazy-party/drive_c/Program Files" "${cache}/Crazy-Party-beta${newVersion}.zip" -rm -fv "$HOME/.local/wine/crazy-party/drive_c/Program Files/Crazy-Party-beta${newVersion}/nvdaControllerClient32.dll" -sed -i "s/Crazy-Party-beta${oldVersion}/Crazy-Party-beta${newVersion}/" "$configFile" -mv -v "$HOME/.local/wine/crazy-party/drive_c/Program Files/Crazy-Party-beta${oldVersion}/save.bin" "$HOME/.local/wine/crazy-party/drive_c/Program Files/Crazy-Party-beta${newVersion}/" -cp -ruv "$HOME/.local/wine/crazy-party/drive_c/Program Files/Crazy-Party-beta${oldVersion}/"* "$HOME/.local/wine/crazy-party/drive_c/Program Files/Crazy-Party-beta${newVersion}/" 2> /dev/null -rm -rf "$HOME/.local/wine/crazy-party/drive_c/Program Files/Crazy-Party-beta${oldVersion}/") | dialog --progressbox "updating Crazy Party, please wait..." -1 -1 +url="http://pragmapragma.free.fr/crazy-party/Crazy-Party-beta78.zip" +(rm -v "${cache}/Crazy-Party-beta77.zip" +wget -O "${cache}/Crazy-Party-beta78.zip" "$url" || { echo "Could not download file."; exit 1; } +unzip -DDod "$HOME/.local/wine/crazy-party/drive_c/Program Files" "${cache}/Crazy-Party-beta78.zip" +rm -fv "$HOME/.local/wine/crazy-party/drive_c/Program Files/Crazy-Party-beta78/nvdaControllerClient32.dll" +sed -i 's/Crazy-Party-beta77/Crazy-Party-beta78/' "$configFile" +mv -v "$HOME/.local/wine/crazy-party/drive_c/Program Files/Crazy-Party-beta77/save.bin" "$HOME/.local/wine/crazy-party/drive_c/Program Files/Crazy-Party-beta78/" +cp -ruv "$HOME/.local/wine/crazy-party/drive_c/Program Files/Crazy-Party-beta77/"* "$HOME/.local/wine/crazy-party/drive_c/Program Files/Crazy-Party-beta78/" 2> /dev/null +rm -rf "$HOME/.local/wine/crazy-party/drive_c/Program Files/Crazy-Party-beta77/") | dialog --progressbox "updating Crazy Party, please wait..." -1 -1 exit 0 From a70df6529ff5f5a9a7f6c36697d9d401c145b664 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Thu, 29 Feb 2024 04:29:16 -0500 Subject: [PATCH 44/44] Reverted experimental Crazy Party. For the foreseeable future, we are stuck on Beta 78. --- audiogame-manager.sh | 19 ++++++------------- 1 file changed, 6 insertions(+), 13 deletions(-) diff --git a/audiogame-manager.sh b/audiogame-manager.sh index 1880561..3ce28a1 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -1985,19 +1985,12 @@ download "https://erion.cf/files/ag_103.zip" add_launcher "c:\Program Files\copter mission\game.exe" ;; "Crazy Party") - echo "This version of Crazy Party does not yet work with audiogame-manager." - echo "If you would like to install the working version, please do so from the master branch." - echo "Run: git checkout master" - echo "If you would like to work on beta 81, please remove the exit 0 after the alert." - alert - exit 0 - export WINEARCH=win64 - export winVer="win8" - download "http://pragmapragma.free.fr/crazy-party/Crazy-Party-beta81.zip" "https://stormgames.wolfe.casa/downloads/Tolk.dll" - install_wine_bottle sapi - unzip -d "$WINEPREFIX/drive_c/Program Files" "${cache}/Crazy-Party-beta81.zip" - find "${WINEPREFIX}" -type f -name 'Tolk.dll' -exec cp -v "${cache}/Tolk.dll" "{}" \; - add_launcher "c:\Program Files\Crazy-Party-beta81\Crazy Party.exe" + export winVer="win7" + download "${ipfsGateway}/ipfs/QmZPsVdizDW6nrNj9czPTctAomYxafs7SYRw6YjqxPidvn?filename=Crazy-Party-beta78.zip" + install_wine_bottle speechsdk + unzip -d "$WINEPREFIX/drive_c/Program Files" "${cache}/Crazy-Party-beta78.zip" + add_launcher "c:\Program Files\Crazy-Party-beta78\Crazy Party.exe" + rm -f "${WINEPREFIX}/drive_c/Program Files/Crazy-Party-beta78/nvdaControllerClient32.dll" ;; "Crazy Tennis") download "https://www.agarchive.net/games/VIP/crazy%20tennis%20setup.exe"