From 7ec0035fb4d3989f3c8256200a8dd004d9a48ae1 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Thu, 12 Dec 2024 19:13:55 -0500 Subject: [PATCH 01/51] Experimental code for supporting aarch64 architecture. --- audiogame-manager.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/audiogame-manager.sh b/audiogame-manager.sh index 90a3e61..fe077d8 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -566,7 +566,10 @@ install_wine() { fi # Figure out wineInstallationPath wineInstallationPath="${XDG_DATA_HOME:-$HOME/.local/share}/audiogame-manager/wine_$2/$1" - export wine="${wineInstallationPath}/bin/wine" + wine="${wineInstallationPath}/bin/wine" + if [[ "$(uname -m)" == "aarch64" ]]; then + wine="FEXLoader -- ${wine}" + fi # If the path exists, wine should already be installed. # Just make sure we didn't wind up with a empty directory for some reason rmdir "${wineInstallationPath}" 2> /dev/null From a595a9bf1a212f929dff24359501b005f2700581 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Thu, 12 Dec 2024 19:28:29 -0500 Subject: [PATCH 02/51] Updated minimum dependencie checker to account for aarch64. --- audiogame-manager.sh | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/audiogame-manager.sh b/audiogame-manager.sh index fe077d8..4f33c29 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -1341,8 +1341,13 @@ gameList=( "World of War" ) -# Make sure the minimum of curl, sox, wine, and winetricks are installed -for i in curl sox wine winetricks ; do +# Make sure the minimum of curl, sox, wine, and winetricks are installed or fex-emu on aarch64 +if [[ "$(uname -m)" == "aarch64" ]]; then + minimumDependencies=("FEXLoader") +else + minimumDependencies=("curl" "sox" "wine") +fi +for i in "${minimumDependencies[@]}" ; do if ! command -v $i &> /dev/null ; then echo "Please install $i before continuing." exit 1 From 9f8fd947c9fe208ab0d13ad9257bdc40bf3b7c56 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Thu, 12 Dec 2024 20:54:22 -0500 Subject: [PATCH 03/51] Hopefully fixed bug with wine not properly being called. --- audiogame-manager.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/audiogame-manager.sh b/audiogame-manager.sh index 4f33c29..d432591 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -570,6 +570,7 @@ install_wine() { if [[ "$(uname -m)" == "aarch64" ]]; then wine="FEXLoader -- ${wine}" fi + export wine # If the path exists, wine should already be installed. # Just make sure we didn't wind up with a empty directory for some reason rmdir "${wineInstallationPath}" 2> /dev/null From e017284d800098f2bdbea3c489135ff60bac4f36 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Thu, 12 Dec 2024 21:47:32 -0500 Subject: [PATCH 04/51] Updated FEXLoader to use /usr/bin/wine because it should be in that path, and using command to locate it will not work. --- audiogame-manager.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/audiogame-manager.sh b/audiogame-manager.sh index d432591..bfd17e0 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -568,7 +568,7 @@ install_wine() { wineInstallationPath="${XDG_DATA_HOME:-$HOME/.local/share}/audiogame-manager/wine_$2/$1" wine="${wineInstallationPath}/bin/wine" if [[ "$(uname -m)" == "aarch64" ]]; then - wine="FEXLoader -- ${wine}" + wine="FEXLoader -- /usr/bin/wine" fi export wine # If the path exists, wine should already be installed. From 72dcf570ad33a622cf5a0041adc0f468e9082f91 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Thu, 12 Dec 2024 22:12:55 -0500 Subject: [PATCH 05/51] Moved the check for wine for FEXLoader to the right place. Oops. --- audiogame-manager.sh | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/audiogame-manager.sh b/audiogame-manager.sh index bfd17e0..a54c357 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -566,11 +566,7 @@ install_wine() { fi # Figure out wineInstallationPath wineInstallationPath="${XDG_DATA_HOME:-$HOME/.local/share}/audiogame-manager/wine_$2/$1" - wine="${wineInstallationPath}/bin/wine" - if [[ "$(uname -m)" == "aarch64" ]]; then - wine="FEXLoader -- /usr/bin/wine" - fi - export wine + export wine="${wineInstallationPath}/bin/wine" # If the path exists, wine should already be installed. # Just make sure we didn't wind up with a empty directory for some reason rmdir "${wineInstallationPath}" 2> /dev/null @@ -1345,6 +1341,7 @@ gameList=( # Make sure the minimum of curl, sox, wine, and winetricks are installed or fex-emu on aarch64 if [[ "$(uname -m)" == "aarch64" ]]; then minimumDependencies=("FEXLoader") + wine="FEXLoader -- /usr/bin/wine" else minimumDependencies=("curl" "sox" "wine") fi From b868c732cf90ea1e12a70a5b7461784a222f9075 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Fri, 13 Dec 2024 00:15:08 -0500 Subject: [PATCH 06/51] Updated wineserver calls to use the wine determined in variable form. Installers may be broken for now. --- audiogame-manager.sh | 82 ++++++++++++++++++++++---------------------- 1 file changed, 41 insertions(+), 41 deletions(-) diff --git a/audiogame-manager.sh b/audiogame-manager.sh index a54c357..1851937 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -782,7 +782,7 @@ game_removal() { if [[ "${HOME}/.local/wine/${game%|*}" == "${WINEPREFIX}" ]]; then read -rp "To remove the wine bottle \"${WINEPREFIX##*/}\" and all of its contents press enter. To cancel press control+c. " continue # kill any previous existing wineservers for this prefix in case they didn't shut down properly. - wineserver -k + ${wine}server -k # remove the game rm -rf "${WINEPREFIX}" else @@ -832,7 +832,7 @@ kill_game() { wineExec="${wineExec##*\\}" # kill the wine server. get_bottle "${game%|*}" - wineserver -k + ${wine}server -k echo "The selected game has been stopped." fi exit 0 @@ -1430,7 +1430,7 @@ case "${game}" in install_wine_bottle speechsdk corefonts # Dotnet is evil. That is all. LC_ALL=C DISPLAY="" winetricks -q dotnet462 xna40 - wineserver -k # Really! + ${wine}server -k # Really! unzip -d "$WINEPREFIX/drive_c/Program Files" "${cache}/a-heros-call-freeware.zip" find "${WINEPREFIX}" -type f -name 'nvdaControllerClient32.dll' -exec cp -v "${cache}/nvdaControllerClient32.dll" "{}" \; add_launcher "c:\Program Files\a-heros-call\A Hero's Call.exe" @@ -1459,7 +1459,7 @@ case "${game}" in # warning warning warning: Do not change location, or installer will not function. # FIXME: Hacky, but it works. Install dotnet20 by itself so it actually doesn't hang. winetricks -q dotnet20 - wineserver -k # Damn you, dotnet. + ${wine}server -k # Damn you, dotnet. add_launcher "c:\Program Files\Draconis Entertainment\Alien Outback\ao.exe" ;; "Angel Gift") @@ -2001,7 +2001,7 @@ download "https://erion.cf/files/ag_103.zip" # warning warning warning: Do not change location, or installer will not function. # FIXME: Hacky, but it works. Install dotnet20 by itself so it actually doesn't hang. winetricks -q dotnet20 - wineserver -k # Damn you, dotnet. + ${wine}server -k # Damn you, dotnet. add_launcher "c:\Program Files\Draconis Entertainment\Change Reaction\ChangeReactionGui.exe" ;; "Chillingham") @@ -2016,7 +2016,7 @@ download "https://erion.cf/files/ag_103.zip" install_wine_bottle vb6run dx8vb speechsdk wine "${cache}/chopper challenge setup.exe" /silent & xdotool sleep 5 key y 2> /dev/null - wineserver -w + ${wine}server -w echo "$USER|n/a" >> "$WINEPREFIX/drive_c/Program Files/x-sight interactive/chopper challenge/config.dat" add_launcher "c:\Program Files\x-sight interactive\chopper challenge\Chopper.exe" ;; @@ -2124,7 +2124,7 @@ download "https://erion.cf/files/ag_103.zip" xdotool sleep 5 key --clearmodifiers --delay 200 Return 2> /dev/null xdotool sleep 5key --clearmodifiers --delay 200 Return 2> /dev/null xdotool sleep 10 --clearmodifiers --delay 200 Return 2> /dev/null - wineserver -w + ${wine}server -w add_launcher 'c:\Program Files\Danger City\dc.exe' ;; "Danger on the Wheel") @@ -2210,7 +2210,7 @@ download "https://erion.cf/files/ag_103.zip" # warning warning warning: Do not change location, or installer will not function. # FIXME: Hacky, but it works. Install dotnet20 by itself so it actually doesn't hang. winetricks -q dotnet20 - wineserver -k # Damn you, dotnet. + ${wine}server -k # Damn you, dotnet. add_launcher "c:\Program Files\Draconis Entertainment\DynaMan\dm.exe" ;; "Easter Quest") @@ -2267,7 +2267,7 @@ download "https://erion.cf/files/ag_103.zip" # warning warning warning: Do not change location, or installer will not function. # FIXME: Hacky, but it works. Install dotnet20 by itself so it actually doesn't hang. winetricks -q dotnet20 - wineserver -k # Damn you, dotnet. + ${wine}server -k # Damn you, dotnet. add_launcher "c:\Program Files\Draconis Entertainment\ESP Pinball Classic\pbc.exe" ;; "ESP Pinball Extreme") @@ -2281,7 +2281,7 @@ download "https://erion.cf/files/ag_103.zip" # warning warning warning: Do not change location, or installer will not function. # FIXME: Hacky, but it works. Install dotnet20 by itself so it actually doesn't hang. winetricks -q dotnet20 - wineserver -k # Damn you, dotnet. + ${wine}server -k # Damn you, dotnet. add_launcher "c:\Program Files\Draconis Entertainment\ESP Pinball Xtreme\pbx.exe" ;; "ESP Pinball Party Pack") @@ -2376,7 +2376,7 @@ download "https://erion.cf/files/ag_103.zip" xdotool key --clearmodifiers Tab 2> /dev/null xdotool key --clearmodifiers Return 2> /dev/null xdotool sleep 10 key --clearmodifiers Return 2> /dev/null - wineserver -w + ${wine}server -w echo "To accurately set your information, edit the file:" echo "${WINEPREFIX}/drive_c/Program\ Files/GMA\ Tank\ Commander/config.dat" echo "The default country is US. The fields are:" @@ -2427,10 +2427,10 @@ download "https://erion.cf/files/ag_103.zip" install_wine_bottle vb6run dx8vb # FIXME: Hacky, but it works. Install dotnet35 by itself so it actually doesn't hang. winetricks -q dotnet35sp1 - wineserver -k # Damn you, dotnet. + ${wine}server -k # Damn you, dotnet. wine "${cache}/HunterSetup.exe" /silent & xdotool sleep 10 key --clearmodifiers alt+y 2> /dev/null - sleep 30 && wineserver -k # Sometimes the installer finishes but the wineserver has more processes that don't exit, so we can't depend on wineserver -w. + sleep 30 && ${wine}server -k # Sometimes the installer finishes but the ${wine}server has more processes that don't exit, so we can't depend on ${wine}server -w. mkdir -p "$WINEPREFIX/drive_c/Program Files/bsc-key-generator" 7z x -o"$WINEPREFIX/drive_c/Program Files/bsc-key-generator" "${cache}/BSC unlock code generator.7z" echo "$USER"$'\n'"$(hostname)"$'\n'"none"$'\n'"US" > "$WINEPREFIX/drive_c/Program Files/Hunter/config.dat" @@ -2443,7 +2443,7 @@ download "https://erion.cf/files/ag_103.zip" xdotool sleep 1 key Shift+Tab sleep 1 key Return # FIXME: Kind of hacky, but let's make sure it actually exitted. sleep 5 - wineserver -k + ${wine}server -k wine "c:\Program Files\bsc-key-generator\BlindsoftwareUnlockCodeGenerator.exe" & xdotool sleep 10 key Return sleep 2 type h xdotool sleep 1 key Tab sleep 1 type $regcode @@ -2452,13 +2452,13 @@ download "https://erion.cf/files/ag_103.zip" regcode="$(xclip -selection clipboard -o)" # Might as well reuse the variable. # FIXME: Kind of hacky, but let's make sure it actually exitted since I can't find a good way to exit this program. sleep 5 - wineserver -k + ${wine}server -k wine "c:\Program Files\Hunter\HunterRegistration.exe" & echo "$regcode" | xclip -selection clipboard xdotool sleep 10 key Return sleep 2 key Shift+Tab sleep 1 key Shift+Tab sleep 1 key Return # FIXME: Kind of hacky, but let's make sure it actually exitted. sleep 5 - wineserver -k + ${wine}server -k else echo "Warning: You need xclip and xdotool for this installer to finish the registration process, however, you don't have them. Either remove the program, install the stated tools, and reinstall it, or go on your own. Caveat Emptor, go to jail, do not pass go, do not collect audiogame rewards and all that stuff." fi @@ -2541,7 +2541,7 @@ EOF install_wine_bottle dx8vb vb6run wine "${cache}/light cars setup.exe" & xdotool sleep 10 key --clearmodifiers alt+n sleep 1 key --clearmodifiers alt+a key --clearmodifiers space sleep 1 key --clearmodifiers alt+n sleep 1 key --clearmodifiers alt+n sleep 1 key --clearmodifiers alt+i sleep 30 key --clearmodifiers Tab sleep 1 key --clearmodifiers Return 2> /dev/null - wineserver -w + ${wine}server -w echo -e "${USER} ${HOST}\nna@na.na\nUS" > ~/.local/wine/light-cars/drive_c/Program\ Files/Lighttech\ Interactive/Light\ Cars/config.dat unix2dos ~/.local/wine/light-cars/drive_c/Program\ Files/Lighttech\ Interactive/Light\ Cars/config.dat add_launcher "c:\Program Files\Lighttech Interactive\Light Cars\lightCars.exe" @@ -2567,7 +2567,7 @@ EOF xdotool type --clearmodifiers --delay 100 "uuuuuu" 2> /dev/null xdotool key --clearmodifiers Tab 2> /dev/null xdotool key --clearmodifiers Return 2> /dev/null - wineserver -w + ${wine}server -w add_launcher "c:\Program Files\Lone Wolf\lw.exe" ;; "Lost") @@ -2611,7 +2611,7 @@ EOF install_wine_bottle speechsdk wine "${cache}/MbSetupE.exe" & xdotool sleep 10 key Return - wineserver -w + ${wine}server -w find "${WINEPREFIX}" -type f -name "nvdaControllerClient.dll" -exec cp -v "$cache/nvda2speechd32.dll" "{}" \; add_launcher "c:\nyanchangame\MarinaBreak\marinabreak.exe" ;; @@ -2686,7 +2686,7 @@ EOF # warning warning warning: Do not change location, or installer will not function. # FIXME: Hacky, but it works. Install dotnet20 by itself so it actually doesn't hang. winetricks -q dotnet20 - wineserver -k # Damn you, dotnet. + ${wine}server -k # Damn you, dotnet. add_launcher "c:\Program Files\Draconis Entertainment\Monkey Business\mb.exe" ;; "MudSplat English") @@ -2714,7 +2714,7 @@ EOF # Select the language. xdotool sleep 10 type --clearmodifiers ${game:9:1} 2> /dev/null xdotool sleep 1 key --clearmodifiers Return sleep 1 key alt+${n} sleep 1 key alt+${a} sleep 1 key alt+${n} sleep 1 key space sleep 1 key alt+${n} sleep 1 key alt+${n} sleep 1 key alt+${i} sleep 10 key space sleep 1 key alt+${f} 2> /dev/null - wineserver -w + ${wine}server -w mudsplatLauncher="$(find "$WINEPREFIX/drive_c/Program Files/TiM/MudSplat" -name 'mudsplat-*.exe')" mudsplatLauncher="${mudsplatLauncher##*/}" add_launcher "c:\Program Files\TiM\MudSplat\\${mudsplatLauncher}" @@ -2761,7 +2761,7 @@ EOF install_wine_bottle speechsdk wine "${cache}/Park Boss 1.01 setup.exe" /silent & xdotool sleep 10 key --clearmodifiers Return sleep 1 key alt+n sleep 1 key alt+a sleep 1 key alt+i sleep 10 key alt+f 2> /dev/null - wineserver -w + ${wine}server -w add_launcher "c:\Program Files\NASoft\ParkBoss\pbMain.exe" ;; "Paw Prints") @@ -2801,11 +2801,11 @@ EOF install_wine_bottle vb6run dx8vb # FIXME: Hacky, but it works. Install dotnet35 by itself so it actually doesn't hang. winetricks -q dotnet35sp1 - wineserver -k # Damn you, dotnet. + ${wine}server -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 & xdotool sleep 10 key --clearmodifiers alt+y 2> /dev/null - sleep 30 && wineserver -k # Sometimes the installer finishes but the wineserver has more processes that don't exit, so we can't depend on wineserver -w. + sleep 30 && ${wine}server -k # Sometimes the installer finishes but the ${wine}server has more processes that don't exit, so we can't depend on ${wine}server -w. mkdir -p "$WINEPREFIX/drive_c/Program Files/bsc-key-generator" 7z x -o"$WINEPREFIX/drive_c/Program Files/bsc-key-generator" "${cache}/BSC unlock code generator.7z" echo "$USER"$'\n'"$(hostname)"$'\n'"none"$'\n'"US" > "$WINEPREFIX/drive_c/Program Files/Blast Chamber/config.dat" @@ -2818,7 +2818,7 @@ EOF xdotool sleep 1 key Shift+Tab sleep 1 key Return # FIXME: Kind of hacky, but let's make sure it actually exitted. sleep 5 - wineserver -k + ${wine}server -k wine "c:\Program Files\bsc-key-generator\BlindsoftwareUnlockCodeGenerator.exe" & xdotool sleep 10 key Return sleep 2 type b xdotool sleep 1 key Tab sleep 1 type $regcode @@ -2827,13 +2827,13 @@ EOF regcode="$(xclip -selection clipboard -o)" # Might as well reuse the variable. # FIXME: Kind of hacky, but let's make sure it actually exitted since I can't find a good way to exit this program. sleep 5 - wineserver -k + ${wine}server -k wine "c:\Program Files\Blast Chamber\register.exe" & echo "$regcode" | xclip -selection clipboard xdotool sleep 10 key Return sleep 2 key Shift+Tab sleep 1 key Shift+Tab sleep 1 key Return # FIXME: Kind of hacky, but let's make sure it actually exitted. sleep 5 - wineserver -k + ${wine}server -k else echo "Warning: You need xclip and xdotool for this installer to finish the registration process, however, you don't have them. Either remove the program, install the stated tools, and reinstall it, or go on your own. Caveat Emptor, go to jail, do not pass go, do not collect audiogame rewards and all that stuff." fi @@ -2905,7 +2905,7 @@ EOF xdotool sleep 10 type y 2> /dev/null xdotool sleep 2 type y 2> /dev/null xdotool sleep 2 key --clearmodifiers alt+n sleep 2 key alt+n sleep 2 key alt+n sleep 2 key alt+i sleep 10 key alt+f 2> /dev/null - wineserver -w + ${wine}server -w add_launcher "c:\Program Files\River Raiders\raid.exe" ;; "Road to Rage") @@ -2973,7 +2973,7 @@ EOF install_wine_bottle fakejapanese speechsdk wine "${cache}/screamingStrike2.exe" & xdotool sleep 10 key Return - wineserver -w + ${wine}server -w find "${WINEPREFIX}" -type f -name 'nvdaControllerClient32.dll' -exec cp -v "${cache}/nvdaControllerClient32.dll" "{}" \; add_launcher "c:\nyanchangame\Screaming Strike 2\play.exe" ;; @@ -3077,7 +3077,7 @@ EOF # warning warning warning: Do not change location, or installer will not function. # FIXME: Hacky, but it works. Install dotnet40 by itself so it actually doesn't hang. DISPLAY="" winetricks -q dotnet40 - wineserver -k # Damn you, dotnet. + ${wine}server -k # Damn you, dotnet. add_launcher "c:\Program Files\Draconis Entertainment\Silver Dollar\SilverDollarGui.exe" ;; "Simple Fighter") @@ -3263,7 +3263,7 @@ EOF unzip -d "$WINEPREFIX/drive_c/Program Files" "${cache}/technoshock_140b_en.zip" unzip -d "$WINEPREFIX/drive_c/Program Files" "${cache}/technoshock_140b_en_update.zip" wine "$WINEPREFIX/drive_c/Program Files/setup_eng.exe" /silent - wineserver -w + ${wine}server -w wine "$WINEPREFIX/drive_c/Program Files/setup_eng_update_pack.exe" /silent add_launcher "c:\Program Files\Tiflocomp Games\Technoshock\ts.exe" ;; @@ -3279,7 +3279,7 @@ EOF # warning warning warning: Do not change location, or installer will not function. # FIXME: Hacky, but it works. Install dotnet20 by itself so it actually doesn't hang. winetricks -q dotnet20 - wineserver -k # Damn you, dotnet. + ${wine}server -k # Damn you, dotnet. add_launcher "c:\Program Files\Draconis Entertainment\Ten Pin Alley\tpa.exe" ;; "The Blind Swordsman") @@ -3371,7 +3371,7 @@ export norh=false # Must install a voice, and rhvoice works easily with 64 bit. install_wine_bottle sapi vcrun2008 gdiplus xact dotnet48 xna40 # Dotnet is evil. That is all. # LC_ALL=C winetricks -q dotnet48 -# wineserver -k # Ha ha ha. +# ${wine}server -k # Ha ha ha. unzip -d "$WINEPREFIX/drive_c/Program Files" "${cache}/master.zip" find "${WINEPREFIX}" -type f -name 'nvdaControllerClient32.dll' -exec cp -v "${cache}/nvda2speechd32.dll" "{}" \; find "${WINEPREFIX}" -type f -name 'nvdaControllerClient64.dll' -exec cp -v "${cache}/nvda2speechd64.dll" "{}" \; @@ -3400,10 +3400,10 @@ export norh=false # Must install a voice, and rhvoice works easily with 64 bit. install_wine_bottle vb6run dx8vb # FIXME: Hacky, but it works. Install dotnet35 by itself so it actually doesn't hang. winetricks -q dotnet35sp1 - wineserver -k # Damn you, dotnet. + ${wine}server -k # Damn you, dotnet. wine "${cache}/Troopanum2Setup.exe" /silent & xdotool sleep 10 key --clearmodifiers alt+y 2> /dev/null - sleep 30 && wineserver -k # Sometimes the installer finishes but the wineserver has more processes that don't exit, so we can't depend on wineserver -w. + sleep 30 && ${wine}server -k # Sometimes the installer finishes but the ${wine}server has more processes that don't exit, so we can't depend on ${wine}server -w. mkdir -p "$WINEPREFIX/drive_c/Program Files/bsc-key-generator" 7z x -o"$WINEPREFIX/drive_c/Program Files/bsc-key-generator" "${cache}/BSC unlock code generator.7z" echo "$USER"$'\n'"$(hostname)"$'\n'"none"$'\n'"US" > "$WINEPREFIX/drive_c/Program Files/Troopanum 2.0/config.dat" @@ -3416,7 +3416,7 @@ export norh=false # Must install a voice, and rhvoice works easily with 64 bit. xdotool sleep 1 key Shift+Tab sleep 1 key Return # FIXME: Kind of hacky, but let's make sure it actually exitted. sleep 5 - wineserver -k + ${wine}server -k wine "c:\Program Files\bsc-key-generator\BlindsoftwareUnlockCodeGenerator.exe" & xdotool sleep 10 key Return sleep 2 type t xdotool sleep 1 type t @@ -3426,13 +3426,13 @@ export norh=false # Must install a voice, and rhvoice works easily with 64 bit. regcode="$(xclip -selection clipboard -o)" # Might as well reuse the variable. # FIXME: Kind of hacky, but let's make sure it actually exitted since I can't find a good way to exit this program. sleep 5 - wineserver -k + ${wine}server -k wine "c:\Program Files\Troopanum 2.0\register.exe" & echo "$regcode" | xclip -selection clipboard xdotool sleep 10 key Return sleep 2 key Shift+Tab sleep 1 key Shift+Tab sleep 1 key Return # FIXME: Kind of hacky, but let's make sure it actually exitted. sleep 5 - wineserver -k + ${wine}server -k else echo "Warning: You need xclip and xdotool for this installer to finish the registration process, however, you don't have them. Either remove the program, install the stated tools, and reinstall it, or go on your own. Caveat Emptor, go to jail, do not pass go, do not collect audiogame rewards and all that stuff." fi @@ -3444,7 +3444,7 @@ export norh=false # Must install a voice, and rhvoice works easily with 64 bit. install_wine_bottle speechsdk wine "${cache}/TubeSim1_1_Install.exe" /silent & xdotool sleep 10 key --clearmodifiers Return sleep 1 key alt+n sleep 1 key alt+a sleep 1 key alt+i sleep 10 key alt+f 2> /dev/null - wineserver -w + ${wine}server -w add_launcher "c:\Program Files\NASoft\TubeSim\tsMain.exe" ;; "Ultimate SounDoku") @@ -3458,7 +3458,7 @@ export norh=false # Must install a voice, and rhvoice works easily with 64 bit. # warning warning warning: Do not change location, or installer will not function. # FIXME: Hacky, but it works. Install dotnet20 by itself so it actually doesn't hang. winetricks -q dotnet20 - wineserver -k # Damn you, dotnet. + ${wine}server -k # Damn you, dotnet. add_launcher "c:\Program Files\Draconis Entertainment\Ultimate Soundoku\soundoku.exe" ;; "Undead Assault") @@ -3513,7 +3513,7 @@ export WINEARCH=win64 xdotool sleep 20 key Alt+n xdotool sleep 2 key space xdotool sleep 2 key Alt+f - wineserver -w + ${wine}server -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" ;; From 407cc8985b7a58ee500a4650becfe44c780a8f8c Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Fri, 13 Dec 2024 04:00:57 -0500 Subject: [PATCH 07/51] Fixed wineserver for installers so that something is always present. May need more tweaks for aarch64. --- audiogame-manager.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/audiogame-manager.sh b/audiogame-manager.sh index 1851937..69fdf4b 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -1422,6 +1422,8 @@ while getopts "${args}" i ; do done # Install game based on the selection above. +# make sure wine is actually set to something +export wine="${wine:-wine}" case "${game}" in "A Hero's Call") download "https://blindgamers.com/downloads/a-heros-call-freeware.zip" "${nvdaControllerClientDll}" From b804d48188f37d65ad6276d676ea364767cc7c9d Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Fri, 13 Dec 2024 05:06:58 -0500 Subject: [PATCH 08/51] WARNING! Possibly horribly broken. For stability, switch to master branch. Completely changed the way the installer system works. --- .install/A Hero's Call.sh | 10 + .install/Adrian's Doom.sh | 4 + .install/Adventurers At C.sh | 5 + .install/Alien Outback.sh | 12 + .install/Angel Gift.sh | 4 + .install/AudioDisc.sh | 4 + .install/AudioQuake.sh | 9 + .install/BG 15 Puzzle.sh | 5 + .install/BG 2048.sh | 5 + .install/BG Aces Up Solitaire.sh | 5 + .install/BG Alchemy.sh | 5 + .install/BG Battleship.sh | 5 + .install/BG Boggle.sh | 5 + .install/BG Boxes.sh | 5 + .install/BG Brainiac.sh | 5 + .install/BG Chess Challenge.sh | 5 + .install/BG Code Breaker.sh | 5 + .install/BG Cribbage Solitaire.sh | 5 + .install/BG Cribbage.sh | 5 + .install/BG Crossword Puzzle.sh | 5 + .install/BG Draw Dominoes.sh | 5 + .install/BG Elevens Solitaire.sh | 5 + .install/BG Fives Dominoes.sh | 5 + .install/BG Free Cell Solitaire.sh | 5 + .install/BG Golf Solitaire.sh | 5 + .install/BG Hangman.sh | 5 + .install/BG Hearts.sh | 5 + .install/BG Klondike Solitaire.sh | 5 + .install/BG LAP.sh | 5 + .install/BG Master Mind.sh | 5 + .install/BG Mine Sweeper.sh | 5 + .install/BG Nomination Whist.sh | 5 + .install/BG Penguin Solitaire.sh | 5 + .install/BG Poker Solitaire.sh | 5 + .install/BG Pyramid Solitaire.sh | 5 + .install/BG Scorpion Solitaire.sh | 5 + .install/BG Scrabble.sh | 5 + .install/BG Simon.sh | 5 + .install/BG Spider Solitaire.sh | 5 + .install/BG Sudoku.sh | 5 + .install/BG Tablic Solitaire.sh | 5 + .install/BG Tri-Peaks Solitaire.sh | 5 + .install/BG Twenty 20 Cricket.sh | 5 + .install/BG Uno.sh | 5 + .install/BG Word Builder.sh | 5 + .install/BG Word Candy.sh | 5 + .install/BG Word Jumble.sh | 5 + .install/BG Word Maze.sh | 5 + .install/BG Word Solitaire.sh | 5 + .install/BG Word Target.sh | 5 + .install/BG Word Yahtzee.sh | 5 + .install/BG Yahtzee.sh | 5 + .install/Balatro.sh | 18 + .install/Battle Zone.sh | 6 + .install/Battle of the Hunter.sh | 7 + .install/Battlefield 2D.sh | 9 + .install/Beatstar Pro.sh | 7 + .install/Become a Patron.sh | 1 + .install/Blind Drive.sh | 11 + .install/Bloodshed.sh | 5 + .install/Bokurano Daibouken 2.sh | 7 + .install/Bokurano Daibouken 3.sh | 22 + .install/Bokurano Daibouken.sh | 7 + .install/Bombercats.sh | 7 + .install/Bop It Emulator.sh | 5 + .install/Bounce Bounce.sh | 8 + .install/Breed Memorial.sh | 6 + .install/Breu2 Shadow Hunt.sh | 8 + .install/Castaways 2.sh | 7 + .install/Castaways.sh | 7 + .install/Challenge of the Horse.sh | 7 + .install/Change Reaction.sh | 12 + .install/Chillingham.sh | 4 + .install/Chopper Challenge.sh | 8 + .install/Christmas Chaos.sh | 7 + .install/Christmas WhoopAss.sh | 4 + .install/Clashes of the Sky.sh | 7 + .install/Code Dungeon.sh | 11 + .install/Coin Collector.sh | 7 + .install/Conjury.sh | 8 + .install/Constant Battle.sh | 5 + .install/Copter Mission.sh | 6 + .install/Crazy Party.sh | 8 + .install/Crazy Tennis.sh | 4 + .install/Crime Hunter.sh | 7 + .install/Danger City.sh | 9 + .install/Danger on the Wheel.sh | 7 + .install/Dark Destroyer.sh | 5 + .install/Daytona and the Book of Gold.sh | 15 + .install/Deathmatch.sh | 6 + .install/Dog Who Hates Toast.sh | 15 + .install/Donate.sh | 1 + .install/Dreamland.sh | 9 + .install/DynaMan.sh | 12 + .install/ESP Pinball Classic.sh | 12 + .install/ESP Pinball Extreme.sh | 12 + .install/ESP Pinball Party Pack.sh | 13 + .install/Easter Quest.sh | 4 + .install/Endless Runner.sh | 5 + .install/Entombed.sh | 28 + .install/Eurofly.sh | 8 + .install/Executioner's Rage.sh | 14 + .install/Extant.sh | 4 + .install/Fartman.sh | 4 + .install/Finger Panic.sh | 4 + .install/Fuck That Bird.sh | 6 + .install/GMA Tank Commander.sh | 20 + .install/Galactic Strike.sh | 8 + .install/Grizzly Gulch.sh | 6 + .install/Hammer of Glory.sh | 7 + .install/Hearthstone.sh | 9 + .install/Hunter.sh | 40 + .install/Inquisitor's Heartbeat.sh | 9 + .install/Insect Therapy.sh | 6 + .install/Interceptor.sh | 4 + .install/Judgement Day.sh | 13 + .install/Kitchensinc Games.sh | 5 + .install/Kringle Crash.sh | 4 + .install/Laser Breakout.sh | 9 + .install/Light Battles.sh | 6 + .install/Light Cars.sh | 8 + .install/Lockpick.sh | 5 + .install/Lone Wolf.sh | 15 + .install/Lost.sh | 6 + .install/Lunimals.sh | 10 + .install/Manamon 2.sh | 5 + .install/Manamon.sh | 5 + .install/Marina Break.sh | 9 + .install/Maze Craze.sh | 16 + .install/Minecraft.sh | 39 + .install/Monkey Business.sh | 12 + .install/MudSplat English.sh | 28 + .install/Oh Shit.sh | 8 + .install/Operation BlackSquare.sh | 5 + .install/Pacman Talks.sh | 4 + .install/Palace Punch Up.sh | 4 + .install/Paladin of the Sky.sh | 5 + .install/Park Boss.sh | 7 + .install/Paw Prints.sh | 8 + .install/Penta Path.sh | 8 + .install/Perilous Hearts.sh | 4 + .install/Pigeon Panic.sh | 5 + .install/Pipe 2 Blast Chamber.sh | 40 + .install/Preludeamals.sh | 8 + .install/Psycho Strike.sh | 4 + .install/Puzzle Divided.sh | 7 + .install/Q9.sh | 4 + .install/RS Games.sh | 8 + .install/Rettou.sh | 7 + .install/Revelation.sh | 7 + .install/Rhythm Rage.sh | 7 + .install/River Raiders.sh | 9 + .install/Road to Rage Offline.sh | 6 + .install/Road to Rage.sh | 6 + .install/Run For Your Life.sh | 6 + .install/Sammy Center.sh | 6 + ...d the Castle of Witchcraft and Wizardry.sh | 5 + .install/Scramble!.sh | 7 + .install/Screaming Strike 2.sh | 9 + .install/Scrolling Battles.sh | 8 + .install/Sequence Storm.sh | 8 + .install/Shades of Doom 1.2.sh | 4 + .install/Shades of Doom.sh | 5 + .install/Shadow Line.sh | 24 + .install/Side Party.sh | 31 + .install/Simple Fighter.sh | 12 + .install/Sketchbook.sh | 8 + .install/Slender Lost Vision.sh | 23 + .install/Sonic Zoom.sh | 18 + .install/Sonic the Hedgehog.sh | 5 + .install/Super Deekout.sh | 34 + .install/Super Dogs Bone Hunt.sh | 4 + .install/Super Egg Hunt.sh | 5 + .install/Super Liam.sh | 5 + .install/Super Mario Bros.sh | 5 + .install/Swamp.sh | 20 + .install/Tactical Battle.sh | 6 + .install/Tarot Assistant.sh | 7 + .install/Technoshock.sh | 8 + .install/Ten Pin Alley.sh | 13 + .install/The Blind Swordsman.sh | 4 + .install/The Gate.sh | 5 + .install/The Great Toy Robbery.sh | 7 + .install/The Vale.sh | 9 + .install/They'll Come from the Moon.sh | 13 + .install/Thief.sh | 6 + .install/Three D velocity.sh | 12 + .install/Tomb Hunter.sh | 5 + .install/Top Speed 2.sh | 4 + .install/Top Speed 3.sh | 4 + .install/Traders of Known Space.sh | 4 + .install/Triple Triad.sh | 7 + .install/Troopanum2.sh | 41 + .install/Tube Sim.sh | 7 + .install/Ultimate SounDoku.sh | 12 + .install/Undead Assault.sh | 6 + .install/VIP Mud.sh | 14 + .install/Villains From Beyond.sh | 7 + .install/Warsim.sh | 6 + .install/Wave of the Undead.sh | 13 + .install/Wolf Games Launcher.sh | 7 + .install/World of War.sh | 6 + .install/haunted Party.sh | 9 + audiogame-manager.sh | 2172 +---------------- 204 files changed, 1732 insertions(+), 2128 deletions(-) create mode 100644 .install/A Hero's Call.sh create mode 100644 .install/Adrian's Doom.sh create mode 100644 .install/Adventurers At C.sh create mode 100644 .install/Alien Outback.sh create mode 100644 .install/Angel Gift.sh create mode 100644 .install/AudioDisc.sh create mode 100644 .install/AudioQuake.sh create mode 100644 .install/BG 15 Puzzle.sh create mode 100644 .install/BG 2048.sh create mode 100644 .install/BG Aces Up Solitaire.sh create mode 100644 .install/BG Alchemy.sh create mode 100644 .install/BG Battleship.sh create mode 100644 .install/BG Boggle.sh create mode 100644 .install/BG Boxes.sh create mode 100644 .install/BG Brainiac.sh create mode 100644 .install/BG Chess Challenge.sh create mode 100644 .install/BG Code Breaker.sh create mode 100644 .install/BG Cribbage Solitaire.sh create mode 100644 .install/BG Cribbage.sh create mode 100644 .install/BG Crossword Puzzle.sh create mode 100644 .install/BG Draw Dominoes.sh create mode 100644 .install/BG Elevens Solitaire.sh create mode 100644 .install/BG Fives Dominoes.sh create mode 100644 .install/BG Free Cell Solitaire.sh create mode 100644 .install/BG Golf Solitaire.sh create mode 100644 .install/BG Hangman.sh create mode 100644 .install/BG Hearts.sh create mode 100644 .install/BG Klondike Solitaire.sh create mode 100644 .install/BG LAP.sh create mode 100644 .install/BG Master Mind.sh create mode 100644 .install/BG Mine Sweeper.sh create mode 100644 .install/BG Nomination Whist.sh create mode 100644 .install/BG Penguin Solitaire.sh create mode 100644 .install/BG Poker Solitaire.sh create mode 100644 .install/BG Pyramid Solitaire.sh create mode 100644 .install/BG Scorpion Solitaire.sh create mode 100644 .install/BG Scrabble.sh create mode 100644 .install/BG Simon.sh create mode 100644 .install/BG Spider Solitaire.sh create mode 100644 .install/BG Sudoku.sh create mode 100644 .install/BG Tablic Solitaire.sh create mode 100644 .install/BG Tri-Peaks Solitaire.sh create mode 100644 .install/BG Twenty 20 Cricket.sh create mode 100644 .install/BG Uno.sh create mode 100644 .install/BG Word Builder.sh create mode 100644 .install/BG Word Candy.sh create mode 100644 .install/BG Word Jumble.sh create mode 100644 .install/BG Word Maze.sh create mode 100644 .install/BG Word Solitaire.sh create mode 100644 .install/BG Word Target.sh create mode 100644 .install/BG Word Yahtzee.sh create mode 100644 .install/BG Yahtzee.sh create mode 100644 .install/Balatro.sh create mode 100644 .install/Battle Zone.sh create mode 100644 .install/Battle of the Hunter.sh create mode 100644 .install/Battlefield 2D.sh create mode 100644 .install/Beatstar Pro.sh create mode 100644 .install/Become a Patron.sh create mode 100644 .install/Blind Drive.sh create mode 100644 .install/Bloodshed.sh create mode 100644 .install/Bokurano Daibouken 2.sh create mode 100644 .install/Bokurano Daibouken 3.sh create mode 100644 .install/Bokurano Daibouken.sh create mode 100644 .install/Bombercats.sh create mode 100644 .install/Bop It Emulator.sh create mode 100644 .install/Bounce Bounce.sh create mode 100644 .install/Breed Memorial.sh create mode 100644 .install/Breu2 Shadow Hunt.sh create mode 100644 .install/Castaways 2.sh create mode 100644 .install/Castaways.sh create mode 100644 .install/Challenge of the Horse.sh create mode 100644 .install/Change Reaction.sh create mode 100644 .install/Chillingham.sh create mode 100644 .install/Chopper Challenge.sh create mode 100644 .install/Christmas Chaos.sh create mode 100644 .install/Christmas WhoopAss.sh create mode 100644 .install/Clashes of the Sky.sh create mode 100644 .install/Code Dungeon.sh create mode 100644 .install/Coin Collector.sh create mode 100644 .install/Conjury.sh create mode 100644 .install/Constant Battle.sh create mode 100644 .install/Copter Mission.sh create mode 100644 .install/Crazy Party.sh create mode 100644 .install/Crazy Tennis.sh create mode 100644 .install/Crime Hunter.sh create mode 100644 .install/Danger City.sh create mode 100644 .install/Danger on the Wheel.sh create mode 100644 .install/Dark Destroyer.sh create mode 100644 .install/Daytona and the Book of Gold.sh create mode 100644 .install/Deathmatch.sh create mode 100644 .install/Dog Who Hates Toast.sh create mode 100644 .install/Donate.sh create mode 100644 .install/Dreamland.sh create mode 100644 .install/DynaMan.sh create mode 100644 .install/ESP Pinball Classic.sh create mode 100644 .install/ESP Pinball Extreme.sh create mode 100644 .install/ESP Pinball Party Pack.sh create mode 100644 .install/Easter Quest.sh create mode 100644 .install/Endless Runner.sh create mode 100644 .install/Entombed.sh create mode 100644 .install/Eurofly.sh create mode 100644 .install/Executioner's Rage.sh create mode 100644 .install/Extant.sh create mode 100644 .install/Fartman.sh create mode 100644 .install/Finger Panic.sh create mode 100644 .install/Fuck That Bird.sh create mode 100644 .install/GMA Tank Commander.sh create mode 100644 .install/Galactic Strike.sh create mode 100644 .install/Grizzly Gulch.sh create mode 100644 .install/Hammer of Glory.sh create mode 100644 .install/Hearthstone.sh create mode 100644 .install/Hunter.sh create mode 100644 .install/Inquisitor's Heartbeat.sh create mode 100644 .install/Insect Therapy.sh create mode 100644 .install/Interceptor.sh create mode 100644 .install/Judgement Day.sh create mode 100644 .install/Kitchensinc Games.sh create mode 100644 .install/Kringle Crash.sh create mode 100644 .install/Laser Breakout.sh create mode 100644 .install/Light Battles.sh create mode 100644 .install/Light Cars.sh create mode 100644 .install/Lockpick.sh create mode 100644 .install/Lone Wolf.sh create mode 100644 .install/Lost.sh create mode 100644 .install/Lunimals.sh create mode 100644 .install/Manamon 2.sh create mode 100644 .install/Manamon.sh create mode 100644 .install/Marina Break.sh create mode 100644 .install/Maze Craze.sh create mode 100644 .install/Minecraft.sh create mode 100644 .install/Monkey Business.sh create mode 100644 .install/MudSplat English.sh create mode 100644 .install/Oh Shit.sh create mode 100644 .install/Operation BlackSquare.sh create mode 100644 .install/Pacman Talks.sh create mode 100644 .install/Palace Punch Up.sh create mode 100644 .install/Paladin of the Sky.sh create mode 100644 .install/Park Boss.sh create mode 100644 .install/Paw Prints.sh create mode 100644 .install/Penta Path.sh create mode 100644 .install/Perilous Hearts.sh create mode 100644 .install/Pigeon Panic.sh create mode 100644 .install/Pipe 2 Blast Chamber.sh create mode 100644 .install/Preludeamals.sh create mode 100644 .install/Psycho Strike.sh create mode 100644 .install/Puzzle Divided.sh create mode 100644 .install/Q9.sh create mode 100644 .install/RS Games.sh create mode 100644 .install/Rettou.sh create mode 100644 .install/Revelation.sh create mode 100644 .install/Rhythm Rage.sh create mode 100644 .install/River Raiders.sh create mode 100644 .install/Road to Rage Offline.sh create mode 100644 .install/Road to Rage.sh create mode 100644 .install/Run For Your Life.sh create mode 100644 .install/Sammy Center.sh create mode 100644 .install/Sarah and the Castle of Witchcraft and Wizardry.sh create mode 100644 .install/Scramble!.sh create mode 100644 .install/Screaming Strike 2.sh create mode 100644 .install/Scrolling Battles.sh create mode 100644 .install/Sequence Storm.sh create mode 100644 .install/Shades of Doom 1.2.sh create mode 100644 .install/Shades of Doom.sh create mode 100644 .install/Shadow Line.sh create mode 100644 .install/Side Party.sh create mode 100644 .install/Simple Fighter.sh create mode 100644 .install/Sketchbook.sh create mode 100644 .install/Slender Lost Vision.sh create mode 100644 .install/Sonic Zoom.sh create mode 100644 .install/Sonic the Hedgehog.sh create mode 100644 .install/Super Deekout.sh create mode 100644 .install/Super Dogs Bone Hunt.sh create mode 100644 .install/Super Egg Hunt.sh create mode 100644 .install/Super Liam.sh create mode 100644 .install/Super Mario Bros.sh create mode 100644 .install/Swamp.sh create mode 100644 .install/Tactical Battle.sh create mode 100644 .install/Tarot Assistant.sh create mode 100644 .install/Technoshock.sh create mode 100644 .install/Ten Pin Alley.sh create mode 100644 .install/The Blind Swordsman.sh create mode 100644 .install/The Gate.sh create mode 100644 .install/The Great Toy Robbery.sh create mode 100644 .install/The Vale.sh create mode 100644 .install/They'll Come from the Moon.sh create mode 100644 .install/Thief.sh create mode 100644 .install/Three D velocity.sh create mode 100644 .install/Tomb Hunter.sh create mode 100644 .install/Top Speed 2.sh create mode 100644 .install/Top Speed 3.sh create mode 100644 .install/Traders of Known Space.sh create mode 100644 .install/Triple Triad.sh create mode 100644 .install/Troopanum2.sh create mode 100644 .install/Tube Sim.sh create mode 100644 .install/Ultimate SounDoku.sh create mode 100644 .install/Undead Assault.sh create mode 100644 .install/VIP Mud.sh create mode 100644 .install/Villains From Beyond.sh create mode 100644 .install/Warsim.sh create mode 100644 .install/Wave of the Undead.sh create mode 100644 .install/Wolf Games Launcher.sh create mode 100644 .install/World of War.sh create mode 100644 .install/haunted Party.sh diff --git a/.install/A Hero's Call.sh b/.install/A Hero's Call.sh new file mode 100644 index 0000000..51ca200 --- /dev/null +++ b/.install/A Hero's Call.sh @@ -0,0 +1,10 @@ +download "https://blindgamers.com/downloads/a-heros-call-freeware.zip" "${nvdaControllerClientDll}" +export winVer="win7" +export winetricksSettings="vd=1024x768" +install_wine_bottle speechsdk corefonts +# Dotnet is evil. That is all. +LC_ALL=C DISPLAY="" winetricks -q dotnet462 xna40 +${wine}server -k # Really! +unzip -d "$WINEPREFIX/drive_c/Program Files" "${cache}/a-heros-call-freeware.zip" +find "${WINEPREFIX}" -type f -name 'nvdaControllerClient32.dll' -exec cp -v "${cache}/nvdaControllerClient32.dll" "{}" \; +add_launcher "c:\Program Files\a-heros-call\A Hero's Call.exe" diff --git a/.install/Adrian's Doom.sh b/.install/Adrian's Doom.sh new file mode 100644 index 0000000..6d6167f --- /dev/null +++ b/.install/Adrian's Doom.sh @@ -0,0 +1,4 @@ +download "https://agarchive.net/games/mt/adrian's%20doom.exe" +install_wine_bottle speechsdk +wine "${cache}/adrian's doom.exe" /silent +add_launcher "c:\Program Files\Two Caring Citizens\Adrian's Doom!\adrian.exe" diff --git a/.install/Adventurers At C.sh b/.install/Adventurers At C.sh new file mode 100644 index 0000000..5ea7e8d --- /dev/null +++ b/.install/Adventurers At C.sh @@ -0,0 +1,5 @@ +download "http://www.vgstorm.com/aac/aac.zip" "https://www.agarchive.net/games/vg/adventure%20at%20c%20stages.7z" +install_wine_bottle speechsdk +unzip -d "$WINEPREFIX/drive_c/Program Files/aac" "${cache}/aac.zip" +7z x -o"$WINEPREFIX/drive_c/Program Files/aac/stages" "${cache}/adventure at c stages.7z" +add_launcher "c:\Program Files\aac\aac.exe" diff --git a/.install/Alien Outback.sh b/.install/Alien Outback.sh new file mode 100644 index 0000000..1a41a7c --- /dev/null +++ b/.install/Alien Outback.sh @@ -0,0 +1,12 @@ +download "http://download.dracoent.com/Windows/classic/AOSetup.exe" +export bottle="draconis" +export winVer="win7" +install_wine_bottle vb6run dx8vb speechsdk quartz +cp -v "${cache}/AOSetup.exe" "$WINEPREFIX/drive_c/windows/temp/" +wine "c:/windows/temp/AOSetup.exe" /sp- /silent +rm -fv "$WINEPREFIX/drive_c/windows/temp/AOSetup.exe" +# warning warning warning: Do not change location, or installer will not function. +# FIXME: Hacky, but it works. Install dotnet20 by itself so it actually doesn't hang. +winetricks -q dotnet20 +${wine}server -k # Damn you, dotnet. +add_launcher "c:\Program Files\Draconis Entertainment\Alien Outback\ao.exe" diff --git a/.install/Angel Gift.sh b/.install/Angel Gift.sh new file mode 100644 index 0000000..278334a --- /dev/null +++ b/.install/Angel Gift.sh @@ -0,0 +1,4 @@ +download "https://erion.cf/files/ag_103.zip" +install_wine_bottle speechsdk +unzip -d "$WINEPREFIX/drive_c/Program Files/Angel Gift" "$cache/ag_103.zip" +add_launcher 'c:\Program Files\Angel Gift\ag.exe' diff --git a/.install/AudioDisc.sh b/.install/AudioDisc.sh new file mode 100644 index 0000000..4b4e4dd --- /dev/null +++ b/.install/AudioDisc.sh @@ -0,0 +1,4 @@ +download "https://agarchive.net/games/other/audiodisc.zip" +install_wine_bottle +unzip -d "$WINEPREFIX/drive_c/Program Files" "${cache}/audiodisc.zip" +add_launcher "c:\Program Files\audiodisc\disco.exe" diff --git a/.install/AudioQuake.sh b/.install/AudioQuake.sh new file mode 100644 index 0000000..7f4f84a --- /dev/null +++ b/.install/AudioQuake.sh @@ -0,0 +1,9 @@ +download "https://github.com/matatk/agrip/releases/download/2020.0-beta1/AudioQuake+LDL_2020.0-beta1_Windows.zip" "https://stormgames.wolfe.casa/downloads/quake.zip" +export winVer="win7" +install_wine_bottle speechsdk +unzip -d "$WINEPREFIX/drive_c/Program Files" "${cache}/AudioQuake+LDL_2020.0-beta1_Windows.zip" +unzip -d "$WINEPREFIX/drive_c/Program Files/AudioQuake/id1" "${cache}/quake.zip" +add_launcher "c:\Program Files\AudioQuake\AudioQuake.exe" +echo +echo "After you launch the game, press tab then enter and it should begin speaking." +alert diff --git a/.install/BG 15 Puzzle.sh b/.install/BG 15 Puzzle.sh new file mode 100644 index 0000000..702588e --- /dev/null +++ b/.install/BG 15 Puzzle.sh @@ -0,0 +1,5 @@ +export bottle="bg" +download "${ipfsGateway}/ipfs/QmQiocMpMXoxejDftKKvmrR5xxpj1qcWcgkhBBwTcyijXg?filename=FPB32Setup10a.exe" +install_wine_bottle speechsdk +wine "${cache}/FPB32Setup10a.exe" /silent +add_launcher "c:\Program Files\Games\FifteenB\FifteenB.exe" diff --git a/.install/BG 2048.sh b/.install/BG 2048.sh new file mode 100644 index 0000000..2e8de3f --- /dev/null +++ b/.install/BG 2048.sh @@ -0,0 +1,5 @@ +export bottle="bg" +download "${ipfsGateway}/ipfs/QmPNt3c78UBgEMrTH3eJ5eD2mCMdth6jwes1iDKGW24Uj5?filename=BG204832Setup10a.exe" +install_wine_bottle speechsdk +wine "${cache}/BG204832Setup10a.exe" /silent +add_launcher "c:\Program Files\Games\BG2048B\BG2048.exe" diff --git a/.install/BG Aces Up Solitaire.sh b/.install/BG Aces Up Solitaire.sh new file mode 100644 index 0000000..66eabab --- /dev/null +++ b/.install/BG Aces Up Solitaire.sh @@ -0,0 +1,5 @@ +export bottle="bg" +download "${ipfsGateway}/ipfs/QmTshtHBEV9dh7wFtaQpNUEYHZ3fBpuhSRZqc7k8HwmtPM?filename=ASB32Setup10.exe" +install_wine_bottle speechsdk +wine "${cache}/ASB32Setup10.exe" /silent +add_launcher "c:\Program Files\Games\AcesUpB\AcesUpB.exe" diff --git a/.install/BG Alchemy.sh b/.install/BG Alchemy.sh new file mode 100644 index 0000000..61c7640 --- /dev/null +++ b/.install/BG Alchemy.sh @@ -0,0 +1,5 @@ +export bottle="bg" +download "${ipfsGateway}/ipfs/Qma76HXBhmKgMDeHH1XLePsaWzzzLsBS2HRL3c7MVwDokg?filename=BAC32Setup10.exe" +install_wine_bottle speechsdk +wine "${cache}/BAC32Setup10.exe" /silent +add_launcher "c:\Program Files\Games\AlchemyB\AlchemyB.exe" diff --git a/.install/BG Battleship.sh b/.install/BG Battleship.sh new file mode 100644 index 0000000..092fc96 --- /dev/null +++ b/.install/BG Battleship.sh @@ -0,0 +1,5 @@ +export bottle="bg" +download "${ipfsGateway}/ipfs/Qmaq9P9fxdLTEFMGg4mhHrRuUbPg6HgU3eYVJNqZUimHjo?filename=BGB32Setup10.exe" +install_wine_bottle speechsdk +wine "${cache}/BGB32Setup10.exe" /silent +add_launcher "c:\Program Files\Games\BattleshipB\BGBattleship.exe" diff --git a/.install/BG Boggle.sh b/.install/BG Boggle.sh new file mode 100644 index 0000000..504d952 --- /dev/null +++ b/.install/BG Boggle.sh @@ -0,0 +1,5 @@ +export bottle="bg" +download "${ipfsGateway}/ipfs/QmQwWiJw9hDiPdfwDyL4XepeoD66ztVRi3HwbSjFFP4CNg?filename=BGB32Setup10a.exe" +install_wine_bottle speechsdk +wine "${cache}/BGB32Setup10a.exe" /silent +add_launcher "c:\Program Files\Games\BoggleB\BoggleB.exe" diff --git a/.install/BG Boxes.sh b/.install/BG Boxes.sh new file mode 100644 index 0000000..c080c97 --- /dev/null +++ b/.install/BG Boxes.sh @@ -0,0 +1,5 @@ +export bottle="bg" +download "${ipfsGateway}/ipfs/QmRn21tREXxXVSaDe9i54zEPzPSespjJAFBqu4DWocuagD?filename=BXB32Setup10.exe" +install_wine_bottle speechsdk +wine "${cache}/BXB32Setup10.exe" /silent +add_launcher "c:\Program Files\Games\BoxesB\BoxesB.exe" diff --git a/.install/BG Brainiac.sh b/.install/BG Brainiac.sh new file mode 100644 index 0000000..7e48002 --- /dev/null +++ b/.install/BG Brainiac.sh @@ -0,0 +1,5 @@ +export bottle="bg" +download "${ipfsGateway}/ipfs/QmWEdmTkQsjSqBgWUgnDajMf8QvQBbEF4Nxo6mhkXYzBtQ?filename=BRN32Setup10a.exe" +install_wine_bottle speechsdk +wine "${cache}/BRN32Setup10a.exe" /silent +add_launcher "c:\Program Files\Games\BrainiacB\BrainiacB.exe" diff --git a/.install/BG Chess Challenge.sh b/.install/BG Chess Challenge.sh new file mode 100644 index 0000000..757d0ca --- /dev/null +++ b/.install/BG Chess Challenge.sh @@ -0,0 +1,5 @@ +export bottle="bg" +download "${ipfsGateway}/ipfs/QmT2yBpU5Jqna18FxYtyWzi4xMGAY9PyJWStAskxCHqBDw?filename=BGC32Setup10d.exe" +install_wine_bottle speechsdk +wine "${cache}/BGC32Setup10d.exe" /silent +add_launcher "c:\Program Files\Games\ChessB\BGChess.exe" diff --git a/.install/BG Code Breaker.sh b/.install/BG Code Breaker.sh new file mode 100644 index 0000000..cdc3170 --- /dev/null +++ b/.install/BG Code Breaker.sh @@ -0,0 +1,5 @@ +export bottle="bg" +download "${ipfsGateway}/ipfs/QmU486SssAdM7kPKwDyAKDLQs3Z92bG6wFjaLhzqDZCxAF?filename=BCB32Setup10.exe" +install_wine_bottle speechsdk +wine "${cache}/BCB32Setup10.exe" /silent +add_launcher "c:\Program Files\Games\CodeBreakerB\BGCodeBreaker.exe" diff --git a/.install/BG Cribbage Solitaire.sh b/.install/BG Cribbage Solitaire.sh new file mode 100644 index 0000000..ffa8408 --- /dev/null +++ b/.install/BG Cribbage Solitaire.sh @@ -0,0 +1,5 @@ +export bottle="bg" +download "${ipfsGateway}/ipfs/QmbRUiknnNcibWD3NwK4DFZGNHWswBgsFidUzU1TFGJ5Ra?filename=BCS32Setup10.exe" +install_wine_bottle speechsdk +wine "${cache}/BCS32Setup10.exe" /silent +add_launcher "c:\Program Files\Games\CribSolB\CribSolB.exe" diff --git a/.install/BG Cribbage.sh b/.install/BG Cribbage.sh new file mode 100644 index 0000000..fa9d97d --- /dev/null +++ b/.install/BG Cribbage.sh @@ -0,0 +1,5 @@ +export bottle="bg" +download "${ipfsGateway}/ipfs/QmeFud3EPHy7wQe8UENgvh96HdAazEkwqA2AutCNkYvB3t?filename=BGC32Setup12e.exe" +install_wine_bottle speechsdk +wine "${cache}/BGC32Setup12e.exe" /silent +add_launcher "c:\Program Files\Games\CribbageB\CribbageB.exe" diff --git a/.install/BG Crossword Puzzle.sh b/.install/BG Crossword Puzzle.sh new file mode 100644 index 0000000..8608898 --- /dev/null +++ b/.install/BG Crossword Puzzle.sh @@ -0,0 +1,5 @@ +export bottle="bg" +download "${ipfsGateway}/ipfs/QmZQGY9CeATEiWrSqsKBz4AN6jPgQuvbBZSpQoLiMjoDr2?filename=BGX32Setup10h.exe" +install_wine_bottle speechsdk +wine "${cache}/BGX32Setup10h.exe" /silent +add_launcher "c:\Program Files\Games\CrosswordB\CrosswordB.exe" diff --git a/.install/BG Draw Dominoes.sh b/.install/BG Draw Dominoes.sh new file mode 100644 index 0000000..6aab34b --- /dev/null +++ b/.install/BG Draw Dominoes.sh @@ -0,0 +1,5 @@ +export bottle="bg" +download "${ipfsGateway}/ipfs/QmZQGY9CeATEiWrSqsKBz4AN6jPgQuvbBZSpQoLiMjoDr2?filename=BDD32Setup.exe" +install_wine_bottle speechsdk +wine "${cache}/BDD32Setup.exe" /silent +add_launcher "c:\Program Files\Games\DrawDominoesB\DrawDominoesB.exe" diff --git a/.install/BG Elevens Solitaire.sh b/.install/BG Elevens Solitaire.sh new file mode 100644 index 0000000..e7411a3 --- /dev/null +++ b/.install/BG Elevens Solitaire.sh @@ -0,0 +1,5 @@ +export bottle="bg" +download "${ipfsGateway}/ipfs/QmWWZByYL5CsDSi6gQLGcMyBL7zqD5hWXbPXJr3shRt5AQ?filename=ESB32Setup10.exe" +install_wine_bottle speechsdk +wine "${cache}/ESB32Setup10.exe" /silent +add_launcher "c:\Program Files\Games\ElevensB\ElevensB.exe" diff --git a/.install/BG Fives Dominoes.sh b/.install/BG Fives Dominoes.sh new file mode 100644 index 0000000..cafd61a --- /dev/null +++ b/.install/BG Fives Dominoes.sh @@ -0,0 +1,5 @@ +export bottle="bg" +download "${ipfsGateway}/ipfs/QmSZt6dz7WQkNrFBmYq9n4WdYrrZyQAebTBPo46uHqCuNi?filename=BFD32Setup10.exe" +install_wine_bottle speechsdk +wine "${cache}/BFD32Setup10.exe" /silent +add_launcher "c:\Program Files\Games\FivesDominoesB\FivesDominoesB.exe" diff --git a/.install/BG Free Cell Solitaire.sh b/.install/BG Free Cell Solitaire.sh new file mode 100644 index 0000000..93cc67d --- /dev/null +++ b/.install/BG Free Cell Solitaire.sh @@ -0,0 +1,5 @@ +export bottle="bg" +download "${ipfsGateway}/ipfs/QmVfQMMnqTD9Zm8Xwv7rGrUTdS9FXToq7Fv6wtQQVgbQGR?filename=BGF32Setup20.exe" +install_wine_bottle speechsdk +wine "${cache}/BGF32Setup20.exe" /silent +add_launcher "c:\Program Files\Games\FreecellB\FreecellB.exe" diff --git a/.install/BG Golf Solitaire.sh b/.install/BG Golf Solitaire.sh new file mode 100644 index 0000000..74dbf71 --- /dev/null +++ b/.install/BG Golf Solitaire.sh @@ -0,0 +1,5 @@ +export bottle="bg" +download "${ipfsGateway}/ipfs/QmfAp9EYou1pndLwYSdpYdUCHBv2DR94oFccQh1ii9JVLD?filename=GSB32Setup10a.exe" +install_wine_bottle speechsdk +wine "${cache}/GSB32Setup10a.exe" /silent +add_launcher "c:\Program Files\Games\GolfSolitaireB\GolfSolitaireB.exe" diff --git a/.install/BG Hangman.sh b/.install/BG Hangman.sh new file mode 100644 index 0000000..73731b0 --- /dev/null +++ b/.install/BG Hangman.sh @@ -0,0 +1,5 @@ +export bottle="bg" +download "${ipfsGateway}/ipfs/QmXTPMmvw7JE2eLuPBLGSpkZqUn12TX7QEQZbX8qtp7GBx?filename=HMB32Setup10.exe" +install_wine_bottle speechsdk +wine "${cache}/HMB32Setup10.exe" /silent +add_launcher "c:\Program Files\Games\HangmanB\HangmanB.exe" diff --git a/.install/BG Hearts.sh b/.install/BG Hearts.sh new file mode 100644 index 0000000..7f199aa --- /dev/null +++ b/.install/BG Hearts.sh @@ -0,0 +1,5 @@ +export bottle="bg" +download "${ipfsGateway}/ipfs/QmdU5ag1PRjvG28wNX7aNuJqZSVxaqEEKjgG6GoRoDT8k4?filename=BGH32Setup10b.exe" +install_wine_bottle speechsdk +wine "${cache}/${BGH32Setup10b.exe}" /silent +add_launcher "c:\Program Files\Games\HeartsB\HeartsB.exe" diff --git a/.install/BG Klondike Solitaire.sh b/.install/BG Klondike Solitaire.sh new file mode 100644 index 0000000..4fd82ef --- /dev/null +++ b/.install/BG Klondike Solitaire.sh @@ -0,0 +1,5 @@ +export bottle="bg" +download "${ipfsGateway}/ipfs/QmctBDvhQWwER94LvgauR7sMDxv9D1mS9cToV47orTCdzU?filename=BGK32Setup10b.exe" +install_wine_bottle speechsdk +wine "${cache}/BGK32Setup10b.exe" /silent +add_launcher "c:\Program Files\Games\KlondikeB\KlondikeB.exe" diff --git a/.install/BG LAP.sh b/.install/BG LAP.sh new file mode 100644 index 0000000..89c8b5b --- /dev/null +++ b/.install/BG LAP.sh @@ -0,0 +1,5 @@ +export bottle="bg" +download "${ipfsGateway}/ipfs/Qma5WeCC9B2P5abRGX9nGYV8Zi9F8vfCCr4ehejP2bgmNm?filename=LAP32Setup10.exe" +install_wine_bottle speechsdk +wine "${cache}/LAP32Setup10.exe" /silent +add_launcher "c:\Program Files\Games\LAP\LAP.exe" diff --git a/.install/BG Master Mind.sh b/.install/BG Master Mind.sh new file mode 100644 index 0000000..53835cd --- /dev/null +++ b/.install/BG Master Mind.sh @@ -0,0 +1,5 @@ +export bottle="bg" +download "${ipfsGateway}/ipfs/QmP6cwMbirbBqAaG9JLfNRnD2dvJfh6nq74kfwxs5hN2RQ?filename=BMM32Setup10.exe" +install_wine_bottle speechsdk +wine "${cache}/BMM32Setup10.exe" /silent +add_launcher "c:\Program Files\Games\MastermindB\BGMasterMind.exe" diff --git a/.install/BG Mine Sweeper.sh b/.install/BG Mine Sweeper.sh new file mode 100644 index 0000000..e6ddce3 --- /dev/null +++ b/.install/BG Mine Sweeper.sh @@ -0,0 +1,5 @@ +export bottle="bg" +download "${ipfsGateway}/ipfs/QmRa54HroWjwxHYfKr6hdmP34sHW5G3ecuzcjMA5UBBVKa?filename=MSB32Setup10.exe" +install_wine_bottle speechsdk +wine "${cache}/MSB32Setup10.exe" /silent +add_launcher "c:\Program Files\Games\MinesweeperB\MinesweeperB.exe" diff --git a/.install/BG Nomination Whist.sh b/.install/BG Nomination Whist.sh new file mode 100644 index 0000000..10654ae --- /dev/null +++ b/.install/BG Nomination Whist.sh @@ -0,0 +1,5 @@ +export bottle="bg" +download "${ipfsGateway}/ipfs/Qmb7eGTMDgiaDC9muMW9n8bHoistGcNm1VgHc6sr7dRyHU?filename=BNW32Setup10a.exe" +install_wine_bottle speechsdk +wine "${cache}/BNW32Setup10a.exe" /silent +add_launcher "c:\Program Files\Games\NomWhistB\NomWhistB.exe" diff --git a/.install/BG Penguin Solitaire.sh b/.install/BG Penguin Solitaire.sh new file mode 100644 index 0000000..06ff077 --- /dev/null +++ b/.install/BG Penguin Solitaire.sh @@ -0,0 +1,5 @@ +export bottle="bg" +download "${ipfsGateway}/ipfs/QmXKvQ6WNNSnDiSyYmvAhZXVdALnuhUGK7dSMQVkQNReJr?filename=BPS32Setup10c.exe" +install_wine_bottle speechsdk +wine "${cache}/BPS32Setup10c.exe" /silent +add_launcher "c:\Program Files\Games\PenguinB\PenguinB.exe" diff --git a/.install/BG Poker Solitaire.sh b/.install/BG Poker Solitaire.sh new file mode 100644 index 0000000..f39f52e --- /dev/null +++ b/.install/BG Poker Solitaire.sh @@ -0,0 +1,5 @@ +export bottle="bg" +download "${ipfsGateway}/ipfs/QmPLv74LiDgVGuiGhu9HuPhx3uoMm9QyCYk6jgeFUHjj3S?filename=BPS32Setup10.exe" +install_wine_bottle speechsdk +wine "${cache}/BPS32Setup10.exe" /silent +add_launcher "c:\Program Files\Games\PokerSolB\PokerSolB.exe" diff --git a/.install/BG Pyramid Solitaire.sh b/.install/BG Pyramid Solitaire.sh new file mode 100644 index 0000000..14e1840 --- /dev/null +++ b/.install/BG Pyramid Solitaire.sh @@ -0,0 +1,5 @@ +export bottle="bg" +download "${ipfsGateway}/ipfs/QmaqXaBKD3xY2smhU2LcejXRTPnWZHqaTW9se8yRepLsHu?filename=PSB32Setup10a.exe" +install_wine_bottle speechsdk +wine "${cache}/PSB32Setup10a.exe" /silent +add_launcher "c:\Program Files\Games\PyramidB\PyramidB.exe" diff --git a/.install/BG Scorpion Solitaire.sh b/.install/BG Scorpion Solitaire.sh new file mode 100644 index 0000000..93668ec --- /dev/null +++ b/.install/BG Scorpion Solitaire.sh @@ -0,0 +1,5 @@ +export bottle="bg" +download "${ipfsGateway}/ipfs/QmSxJs2MiLQ61Fgx6vCpSD7GmQziLiCEU3sZ3mgWc7RsJ8?filename=BSS32Setup10.exe" +install_wine_bottle speechsdk +wine "${cache}/BSS32Setup10.exe" /silent +add_launcher "c:\Program Files\Games\ScorpionB\ScorpionB.exe" diff --git a/.install/BG Scrabble.sh b/.install/BG Scrabble.sh new file mode 100644 index 0000000..09d42d6 --- /dev/null +++ b/.install/BG Scrabble.sh @@ -0,0 +1,5 @@ +export bottle="bg" +download "${ipfsGateway}/ipfs/QmVrwyPdJBnmc4wLW7oT2hexxXnXxs8bA7gfiqbnJsWJ16?filename=BGS32Setup20.exe" +install_wine_bottle speechsdk +wine "${cache}/BGS32Setup20.exe" /silent +add_launcher "c:\Program Files\Games\ScrabbleB\ScrabbleB.exe" diff --git a/.install/BG Simon.sh b/.install/BG Simon.sh new file mode 100644 index 0000000..451175a --- /dev/null +++ b/.install/BG Simon.sh @@ -0,0 +1,5 @@ +export bottle="bg" +download "${ipfsGateway}/ipfs/QmXtBCqB6VCFPaDYuLaFNP1BDtJSLCJdJZzgm61zMtrsQt?filename=BGS32Setup10.exe" +install_wine_bottle speechsdk +wine "${cache}/BGS32Setup10.exe" /silent +add_launcher "c:\Program Files\Games\SimonB\SimonB.exe" diff --git a/.install/BG Spider Solitaire.sh b/.install/BG Spider Solitaire.sh new file mode 100644 index 0000000..1406e10 --- /dev/null +++ b/.install/BG Spider Solitaire.sh @@ -0,0 +1,5 @@ +export bottle="bg" +download "${ipfsGateway}/ipfs/QmdWBaDnLVbKCJSpiqF675ew6nJ6KHUVXA5FEH3t3E7UAu?filename=SPB32Setup10b.exe" +install_wine_bottle speechsdk +wine "${cache}/SPB32Setup10b.exe" /silent +add_launcher "c:\Program Files\Games\SpiderB\SpiderB.exe" diff --git a/.install/BG Sudoku.sh b/.install/BG Sudoku.sh new file mode 100644 index 0000000..dc6c3b4 --- /dev/null +++ b/.install/BG Sudoku.sh @@ -0,0 +1,5 @@ +export bottle="bg" +download "${ipfsGateway}/ipfs/QmXCAHEVRGZBc8t45Jgn2vkxicwF9Aox6yz9XrQBdkv7WY?filename=SDB32Setup10a.exe" +install_wine_bottle speechsdk +wine "${cache}/SDB32Setup10a.exe" /silent +add_launcher "c:\Program Files\Games\SudokuB\SudokuB.exe" diff --git a/.install/BG Tablic Solitaire.sh b/.install/BG Tablic Solitaire.sh new file mode 100644 index 0000000..61f57b5 --- /dev/null +++ b/.install/BG Tablic Solitaire.sh @@ -0,0 +1,5 @@ +export bottle="bg" +download "${ipfsGateway}/ipfs/QmYoiFQ6JuSXfZfZXT3SQDsYzMWLBu9rW9yivi1xiPjqZx?filename=SDB32Setup10a.exe" +install_wine_bottle speechsdk +wine "${cache}/SDB32Setup10a.exe" /silent +add_launcher "c:\Program Files\Games\TabSolB\BGTabSol.exe" diff --git a/.install/BG Tri-Peaks Solitaire.sh b/.install/BG Tri-Peaks Solitaire.sh new file mode 100644 index 0000000..142c912 --- /dev/null +++ b/.install/BG Tri-Peaks Solitaire.sh @@ -0,0 +1,5 @@ +export bottle="bg" +download "${ipfsGateway}/ipfs/QmWJGvSR6iaQfMHM3XuGCkWxx285jkzSDdNSvvk3bSCH8S?filename=TPB32Setup10a.exe" +install_wine_bottle speechsdk +wine "${cache}/TPB32Setup10a.exe" /silent +add_launcher "c:\Program Files\Games\TriPeaksB\TriPeaksB.exe" diff --git a/.install/BG Twenty 20 Cricket.sh b/.install/BG Twenty 20 Cricket.sh new file mode 100644 index 0000000..c796654 --- /dev/null +++ b/.install/BG Twenty 20 Cricket.sh @@ -0,0 +1,5 @@ +export bottle="bg" +download "${ipfsGateway}/ipfs/QmWAk2TMHMvW6Kjc1sZBEPsxmCNHfY3nF1K723PCqaTa57?filename=TPB32Setup10a.exe" +install_wine_bottle speechsdk +wine "${cache}/T20B32Setup10.exe" /silent +add_launcher "c:\Program Files\Games\T20CricketB\CricketB.exe" diff --git a/.install/BG Uno.sh b/.install/BG Uno.sh new file mode 100644 index 0000000..6c76415 --- /dev/null +++ b/.install/BG Uno.sh @@ -0,0 +1,5 @@ +export bottle="bg" +download "${ipfsGateway}/ipfs/QmVsfPkebSoTDwYSXF1n7y4P9eGJTgTcGXdrEjpcV8A3Dv?filename=BGU32Setup11a.exe" +install_wine_bottle speechsdk +wine "${cache}/BGU32Setup11a.exe" /silent +add_launcher "c:\Program Files\Games\UnoB\UnoB.exe" diff --git a/.install/BG Word Builder.sh b/.install/BG Word Builder.sh new file mode 100644 index 0000000..5d112cc --- /dev/null +++ b/.install/BG Word Builder.sh @@ -0,0 +1,5 @@ +export bottle="bg" +download "${ipfsGateway}/ipfs/QmXtR49EZShyj15Tc9CXQpBYVmKNfZpp4515Epm16bviuH?filename=BWB32Setup10.exe" +install_wine_bottle speechsdk +wine "${cache}/BWB32Setup10.exe" /silent +add_launcher "c:\Program Files\Games\WordBuilderB\WordBuilderB.exe" diff --git a/.install/BG Word Candy.sh b/.install/BG Word Candy.sh new file mode 100644 index 0000000..795dc64 --- /dev/null +++ b/.install/BG Word Candy.sh @@ -0,0 +1,5 @@ +export bottle="bg" +download "${ipfsGateway}/ipfs/QmfTgfRzd4JMRqKSfDiz76iMorkaG19BqH1K7nRCCDwo4H?filename=WCB32Setup10a.exe" +install_wine_bottle speechsdk +wine "${cache}/WCB32Setup10a.exe" /silent +add_launcher "c:\Program Files\Games\WordCandyB\WordCandyB.exe" diff --git a/.install/BG Word Jumble.sh b/.install/BG Word Jumble.sh new file mode 100644 index 0000000..fa6942e --- /dev/null +++ b/.install/BG Word Jumble.sh @@ -0,0 +1,5 @@ +export bottle="bg" +download "${ipfsGateway}/ipfs/QmYQWZZifzKJSuVRCC1SabwRmEDz95GdFvbzRvsBMmTt6e?filename=BWJ32Setup10.exe" +install_wine_bottle speechsdk +wine "${cache}/BWJ32Setup10.wineExec" /silent +add_launcher "c:\Program Files\Games\WordJumbleB\WordJumbleB.exe" diff --git a/.install/BG Word Maze.sh b/.install/BG Word Maze.sh new file mode 100644 index 0000000..20e019e --- /dev/null +++ b/.install/BG Word Maze.sh @@ -0,0 +1,5 @@ +export bottle="bg" +download "${ipfsGateway}/ipfs/QmXPtj5PkVZjXpU3m6FAfm8MwVL6bQCvhEDoR385u6FGTL?filename=BWM32Setup10.exe" +install_wine_bottle speechsdk +wine "${cache}/BWM32Setup10.exe" /silent +add_launcher "c:\Program Files\Games\WordMazeB\WordMazeB.exe" diff --git a/.install/BG Word Solitaire.sh b/.install/BG Word Solitaire.sh new file mode 100644 index 0000000..077146f --- /dev/null +++ b/.install/BG Word Solitaire.sh @@ -0,0 +1,5 @@ +export bottle="bg" +download "${ipfsGateway}/ipfs/QmZp73ARDPqgnCz7zxfKeBHjNoHrgZSgg2NdQZR2sMyZGD?filename=WSB32Setup10.exe" +install_wine_bottle speechsdk +wine "${cache}/WSB32Setup10.exe" /silent +add_launcher "c:\Program Files\Games\WordSolitaireB\WordSolitaireB.exe" diff --git a/.install/BG Word Target.sh b/.install/BG Word Target.sh new file mode 100644 index 0000000..14e9bd6 --- /dev/null +++ b/.install/BG Word Target.sh @@ -0,0 +1,5 @@ +export bottle="bg" +download "${ipfsGateway}/ipfs/QmWWZFXVHNtmNkH55oermWWtrMcQ8qVqL687B7kGFyeezq?filename=WTB32Setup10a.exe" +install_wine_bottle speechsdk +wine "${cache}/WTB32Setup10a.exe" /silent +add_launcher "c:\Program Files\Games\WordTargetB\WordTargetB.exe" diff --git a/.install/BG Word Yahtzee.sh b/.install/BG Word Yahtzee.sh new file mode 100644 index 0000000..e7bc6a5 --- /dev/null +++ b/.install/BG Word Yahtzee.sh @@ -0,0 +1,5 @@ +export bottle="bg" +download "${ipfsGateway}/ipfs/QmdicAVDegDktY3euVAC2PPn4YBGz96KedxYXNe4WDQaoq?filename=BWY32Setup10.exe" +install_wine_bottle speechsdk +wine "${cache}/BWY32Setup10.exe" /silent +add_launcher "c:\Program Files\Games\WordYahtzeeB\BGWordYahtzee.exe" diff --git a/.install/BG Yahtzee.sh b/.install/BG Yahtzee.sh new file mode 100644 index 0000000..5ea200d --- /dev/null +++ b/.install/BG Yahtzee.sh @@ -0,0 +1,5 @@ +export bottle="bg" +download "${ipfsGateway}/ipfs/QmZebvkKgFAADnb1cgW6Bz7wTYdUh82X61QdtW66KcvmpF?filename=BGY32Setup10a.exe" +install_wine_bottle speechsdk +wine "${cache}/BGY32Setup10a.exe" /silent +add_launcher "c:\Program Files\Games\yahtzeeB\BGYahtzee.exe" diff --git a/.install/Balatro.sh b/.install/Balatro.sh new file mode 100644 index 0000000..df0057b --- /dev/null +++ b/.install/Balatro.sh @@ -0,0 +1,18 @@ +download "https://github.com/RastislavKish/nvda2speechd/releases/download/v0.1/nvda2speechd64.dll" "https://stormgames.wolfe.casa/downloads/Tolk.dll" "https://github.com/Aurelius7309/BlackHole/releases/download/0.3.1/BlackHole-Release.zip" +export WINEARCH=win64 +export winVer="win10" +install_wine_bottle +get_steam "2379780" "https://store.steampowered.com/app/2379780/Balatro/" +mkdir -p "$WINEPREFIX/drive_c/users/$USER/AppData/Roaming/Balatro/Mods" +unzip -d "$WINEPREFIX/drive_c/users/$USER/AppData/Roaming/Balatro" "$cache/BlackHole-Release.zip" +pushd "$WINEPREFIX/drive_c/users/$USER/AppData/Roaming/Balatro/Mods" +(cat mod_urls.txt ; echo) | while read -r x ; do + git clone "$x" +done +cp -v BlackHole/bin/*.dll "$WINEPREFIX/drive_c/Program Files/Balatro" +cp -v "$cache/Tolk.dll" "$WINEPREFIX/drive_c/Program Files/Balatro/tolk.dll" +cp -v "$cache/Tolk.dll" BlackHole/bin/tolk.dll +cp -v "$cache/nvda2speechd64.dll" "$WINEPREFIX/drive_c/Program Files/Balatro/nvdaControllerClient64.dll" +cp -v "$cache/nvda2speechd64.dll" BlackHole/bin/nvdaControllerClient64.dll +cp -v ../version.dll "$WINEPREFIX/drive_c/Program Files/Balatro" +add_launcher 'c:\Program Files\Balatro\Balatro.exe' 'export WINEDLLOVERRIDES=version=n,b' diff --git a/.install/Battle Zone.sh b/.install/Battle Zone.sh new file mode 100644 index 0000000..7a12769 --- /dev/null +++ b/.install/Battle Zone.sh @@ -0,0 +1,6 @@ +download "https://www.agarchive.net/games/gameMadnessInteractive/battle%20zone%2013.5%20setup.exe" +export winVer="win7" +install_wine_bottle speechsdk +wine "${cache}/battle zone 13.5 setup.exe" /silent +find "${WINEPREFIX}" -type f -name "nvdaControllerClient32.dll" -exec rm -fv "{}" \; +add_launcher "c:\Program Files\Battle Zone\ss.exe" diff --git a/.install/Battle of the Hunter.sh b/.install/Battle of the Hunter.sh new file mode 100644 index 0000000..29cbda3 --- /dev/null +++ b/.install/Battle of the Hunter.sh @@ -0,0 +1,7 @@ +download "http://tunmi13.ddns.net/projects/bth.zip" +export bottle="tunmi13" +export winVer="win7" +install_wine_bottle speechsdk +unzip -d "$WINEPREFIX/drive_c/Program Files/$game" "${cache}/bth.zip" +find "${WINEPREFIX}" -type f -name "nvdaControllerClient32.dll" -exec rm -fv "{}" \; +add_launcher "c:\Program Files\\${game}\bth.exe" diff --git a/.install/Battlefield 2D.sh b/.install/Battlefield 2D.sh new file mode 100644 index 0000000..7914fe8 --- /dev/null +++ b/.install/Battlefield 2D.sh @@ -0,0 +1,9 @@ +get_installer "bf.zip" "https://tunmi13.itch.io/battlefield-2d" +download "https://github.com/RastislavKish/nvda2speechd/releases/download/v0.1/nvda2speechd64.dll" +export WINEARCH=win64 +export winVer="win8" +export bottle=tunmi13-64bit +install_wine_bottle +unzip -d "$WINEPREFIX/drive_c/Program Files/" "${cache}/bf.zip" +find "${WINEPREFIX}/drive_c/Program Files/bf" -type f -name 'nvdaControllerClient64.dll' -exec cp -v "${cache}/nvda2speechd64.dll" "{}" \; +add_launcher "c:\Program Files\bf\bf.exe" diff --git a/.install/Beatstar Pro.sh b/.install/Beatstar Pro.sh new file mode 100644 index 0000000..ab1deb2 --- /dev/null +++ b/.install/Beatstar Pro.sh @@ -0,0 +1,7 @@ +download "https://oriolgomez.com/games/beat_windows.zip" +# Sapi is broken on win64 for now, and this game doesn't support nvda it seems. +export WINEARCH=win64 +export winVer="win7" +install_wine_bottle mf +unzip -d "$WINEPREFIX/drive_c/Program Files/Beatstar Pro" "${cache}/beat_windows.zip" +add_launcher "c:\Program Files\Beatstar Pro\beatstar.exe" diff --git a/.install/Become a Patron.sh b/.install/Become a Patron.sh new file mode 100644 index 0000000..f1c998c --- /dev/null +++ b/.install/Become a Patron.sh @@ -0,0 +1 @@ +open_url "https://2mb.games/product/2mb-patron/" diff --git a/.install/Blind Drive.sh b/.install/Blind Drive.sh new file mode 100644 index 0000000..4288450 --- /dev/null +++ b/.install/Blind Drive.sh @@ -0,0 +1,11 @@ +get_installer "Blind Drive 1.1.112.00i-win64.zip" "https://lofipeople.itch.io/blind-drive" +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/blind-drive" "${cache}/Blind Drive 1.1.112.00i-win64.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\blind-drive\Blind Drive.exe" diff --git a/.install/Bloodshed.sh b/.install/Bloodshed.sh new file mode 100644 index 0000000..87f838a --- /dev/null +++ b/.install/Bloodshed.sh @@ -0,0 +1,5 @@ +download "${ipfsGateway}/ipfs/QmcTCTMep4zp5zTw8ZaXYpjtu9inNPn8bNzwhW6cX97egw?filename=bloodshed.exe" +export winVer="win7" +install_wine_bottle speechsdk +cp "${cache}/bloodshed.exe" "$WINEPREFIX/drive_c/Program Files/" +add_launcher "c:\Program Files\bloodshed.exe" diff --git a/.install/Bokurano Daibouken 2.sh b/.install/Bokurano Daibouken 2.sh new file mode 100644 index 0000000..85b5e50 --- /dev/null +++ b/.install/Bokurano Daibouken 2.sh @@ -0,0 +1,7 @@ +download "https://www.nyanchangames.com/softs/nn2_setup.exe" +export bottle="nyanchan" +export winVer="win7" +install_wine_bottle +7z x -o"$WINEPREFIX/drive_c/nyanchangame/bk2" "${cache}/nn2_setup.exe" +find "${WINEPREFIX}/drive_c/nyanchangame/bk2/" -type f -name 'nvdaControllerClient.dll' -exec rm -v "{}" \; +add_launcher "c:\nyanchangame\bk2\play.exe" diff --git a/.install/Bokurano Daibouken 3.sh b/.install/Bokurano Daibouken 3.sh new file mode 100644 index 0000000..4d1ed95 --- /dev/null +++ b/.install/Bokurano Daibouken 3.sh @@ -0,0 +1,22 @@ +if [[ ! -r "${cache}/bk3-dict.dat" ]]; then + echo "http://www.nyanchangames.com/order/bk3translate.html" | xclip -selection clipboard 2> /dev/null + dialog --backtitle "Audiogame manager" --msgbox "If you would like English translations, the file is available at http://www.nyanchangames.com/order/bk3translate.html. Save the dict.dat file to your Downloads or Desktop directory. For convenience the url has been copied to your clipboard. Press enter when you are ready to continue." -1 -1 --stdout +fi +dictFile="" +for i in "${HOME}/Downloads/dict.dat" "${HOME}/Desktop/dict.dat" ; do + if [[ -r "$i" ]]; then + dictFile="$i" + fi +done +if [[ "${#dictFile}" -ge 3 ]] && [[ ! -r "${cache}/bk3-dict.dat" ]]; then + dialog --backtitle "Audiogame manager" --yesno "Possible English translation file found at $dictFile. Would you like to use it for BK3?" -1 -1 --stdout && cp -v "$dictFile" "${cache}/bk3-dict.dat" +fi +download "https://www.nyanchangames.com/softs/nn3_setup.exe" "https://github.com/RastislavKish/nvda2speechd/releases/download/v0.1/nvda2speechd" "https://github.com/RastislavKish/nvda2speechd/releases/download/v0.1/nvda2speechd32.dll" +export bottle="nyanchan" +export winVer="win7" +install_wine_bottle +cp "${cache}/nvda2speechd" "${XDG_DATA_HOME:-$HOME/.local/share}/audiogame-manager/nvda2speechd" +chmod +x "${XDG_DATA_HOME:-$HOME/.local/share}/audiogame-manager/nvda2speechd" +7z x -o"$WINEPREFIX/drive_c/nyanchangame/bk3" "${cache}/nn3_setup.exe" +find "${WINEPREFIX}" -type f -name 'nvdaControllerClient.dll' -exec cp -v "${cache}/nvda2speechd32.dll" "{}" \; +add_launcher "c:\nyanchangame\bk3\play.exe" diff --git a/.install/Bokurano Daibouken.sh b/.install/Bokurano Daibouken.sh new file mode 100644 index 0000000..4402fb5 --- /dev/null +++ b/.install/Bokurano Daibouken.sh @@ -0,0 +1,7 @@ +download "https://www.nyanchangames.com/softs/nn_setup.exe" +export bottle="nyanchan" +export winVer="win7" +install_wine_bottle +7z x -o"$WINEPREFIX/drive_c/nyanchangame/bk" "${cache}/nn_setup.exe" +find "${WINEPREFIX}/drive_c/nyanchangame/bk/" -type f -name 'nvdaControllerClient.dll' -exec rm -v "{}" \; +add_launcher "c:\nyanchangame\bk\play.exe" diff --git a/.install/Bombercats.sh b/.install/Bombercats.sh new file mode 100644 index 0000000..1f206fc --- /dev/null +++ b/.install/Bombercats.sh @@ -0,0 +1,7 @@ +download "http://oriolgomez.com/games/bombercats_en.zip" +export bottle="oriol-gomez" +export winVer="win7" +install_wine_bottle +unzip -d "$WINEPREFIX/drive_c/Program Files/bomvercats" "${cache}/bombercats_en.zip" +find "${WINEPREFIX}" -type f -name "nvdaControllerClient32.dll" -exec rm -fv "{}" \; +add_launcher "c:\Program Files\bomvercats\game.exe" diff --git a/.install/Bop It Emulator.sh b/.install/Bop It Emulator.sh new file mode 100644 index 0000000..a11abf7 --- /dev/null +++ b/.install/Bop It Emulator.sh @@ -0,0 +1,5 @@ +download "http://www.masonasons.me/softs/BopItEmulator3.1PasswordIsBopIt.7z" +export winVer="win7" +install_wine_bottle +7z x -o"$WINEPREFIX/drive_c/Program Files/Bop It" "${cache}/BopItEmulator3.1PasswordIsBopIt.7z" -pBopIt +add_launcher "c:\Program Files\Bop It\bop.exe" diff --git a/.install/Bounce Bounce.sh b/.install/Bounce Bounce.sh new file mode 100644 index 0000000..01ab3e3 --- /dev/null +++ b/.install/Bounce Bounce.sh @@ -0,0 +1,8 @@ +get_installer "bounce_bounce.rar" "https://kavyapriya.itch.io/bounce-bounce" +download "https://github.com/RastislavKish/nvda2speechd/releases/download/v0.1/nvda2speechd64.dll" +export winVer="win7" +export WINEARCH=win64 +install_wine_bottle +unrar x "${cache}/bounce_bounce.rar" -op"$WINEPREFIX/drive_c/Program Files" +find "${WINEPREFIX}/drive_c/Program Files/bounce_bounce" -type f -name 'nvdaControllerClient64.dll' -exec cp -v "${cache}/nvda2speechd64.dll" "{}" \; +add_launcher "c:\Program Files\bounce_bounce\bounce.exe" diff --git a/.install/Breed Memorial.sh b/.install/Breed Memorial.sh new file mode 100644 index 0000000..55233e9 --- /dev/null +++ b/.install/Breed Memorial.sh @@ -0,0 +1,6 @@ +download "https://hirotaka2014.sakura.ne.jp/mh0406/game/breed_memorial.zip" "${nvdaControllerClientDll}" +export winVer="win7" +install_wine_bottle cjkfonts speechsdk +unzip -d "$WINEPREFIX/drive_c/Program Files/" "${cache}/breed_memorial.zip" +#find "${WINEPREFIX}" -type f -name 'nvdaControllerClient32.dll' -exec cp -v "${cache}/nvdaControllerClient32.dll" "{}" \; +add_launcher "c:\Program Files\Breed memorial\Breed memorial\breed memorial.exe" diff --git a/.install/Breu2 Shadow Hunt.sh b/.install/Breu2 Shadow Hunt.sh new file mode 100644 index 0000000..4b2c94d --- /dev/null +++ b/.install/Breu2 Shadow Hunt.sh @@ -0,0 +1,8 @@ +download "https://github.com/RastislavKish/nvda2speechd/releases/download/v0.1/nvda2speechd64.dll" +get_installer "breu2.zip" "https://breu.itch.io/shadowhunt" +export WINEARCH=win64 +export winVer="win8" +install_wine_bottle +unzip -d "$WINEPREFIX/drive_c/Program Files/" "${cache}/breu2.zip" +find "${WINEPREFIX}" -type f -name 'nvdaControllerClient.dll' -exec cp -v "${cache}/nvda2speechd64.dll" "{}" \; +add_launcher "c:\Program Files\breu2\breu2.exe" diff --git a/.install/Castaways 2.sh b/.install/Castaways 2.sh new file mode 100644 index 0000000..adeecca --- /dev/null +++ b/.install/Castaways 2.sh @@ -0,0 +1,7 @@ +download "http://www.kaldobsky.com/audiogames/castaways2beta.zip" +export bottle="aprone" +export winVer="win7" +install_wine_bottle vb6run dx8vb speechsdk +unzip -d "$WINEPREFIX/drive_c/Program Files/castaways2" "${cache}/castaways2beta.zip" +wine "c:\Program Files\castaways2\Checkup.exe" /verysilent +add_launcher "c:\Program Files\castaways2\Castaways2.exe" diff --git a/.install/Castaways.sh b/.install/Castaways.sh new file mode 100644 index 0000000..82cf9ea --- /dev/null +++ b/.install/Castaways.sh @@ -0,0 +1,7 @@ +download "https://www.kaldobsky.com/audiogames/castaways.zip" +export bottle="aprone" +export winVer="win7" +install_wine_bottle vb6run dx8vb speechsdk +unzip -d "$WINEPREFIX/drive_c/Program Files/castaways" "${cache}/castaways.zip" +wine "c:\Program Files\castaways\Checkup.exe" /verysilent +add_launcher "c:\Program Files\castaways\Castaways.exe" diff --git a/.install/Challenge of the Horse.sh b/.install/Challenge of the Horse.sh new file mode 100644 index 0000000..563f245 --- /dev/null +++ b/.install/Challenge of the Horse.sh @@ -0,0 +1,7 @@ +download "http://tunmi13.ddns.net/projects/coth.zip" +export bottle="tunmi13" +export winVer="win7" +install_wine_bottle speechsdk +unzip -d "$WINEPREFIX/drive_c/Program Files/$game" "${cache}/coth.zip" +find "${WINEPREFIX}" -type f -name "nvdaControllerClient32.dll" -exec rm -fv "{}" \; +add_launcher "c:\Program Files\\${game}\game.exe" diff --git a/.install/Change Reaction.sh b/.install/Change Reaction.sh new file mode 100644 index 0000000..af5df01 --- /dev/null +++ b/.install/Change Reaction.sh @@ -0,0 +1,12 @@ +download "https://download.dracoent.com/Windows/ChangeReactionSetup.exe" +export bottle="draconis" +export winVer="win7" +install_wine_bottle vb6run dx8vb speechsdk quartz +cp -v "${cache}/ChangeReactionSetup.exe" "$WINEPREFIX/drive_c/windows/temp/" +wine "c:/windows/temp/ChangeReactionSetup.exe" /sp- /silent +rm -fv "$WINEPREFIX/drive_c/windows/temp/ChangeReactionSetup.exe" +# warning warning warning: Do not change location, or installer will not function. +# FIXME: Hacky, but it works. Install dotnet20 by itself so it actually doesn't hang. +winetricks -q dotnet20 +${wine}server -k # Damn you, dotnet. +add_launcher "c:\Program Files\Draconis Entertainment\Change Reaction\ChangeReactionGui.exe" diff --git a/.install/Chillingham.sh b/.install/Chillingham.sh new file mode 100644 index 0000000..7408129 --- /dev/null +++ b/.install/Chillingham.sh @@ -0,0 +1,4 @@ +download "https://stormgames.wolfe.casa/downloads/chillingham.zip" +install_wine_bottle vb6run mfc42 +unzip -d "$WINEPREFIX/drive_c/Program Files" "$cache/chillingham.zip" +add_launcher "c:\Program Files\chillingham\Chillingham.exe" diff --git a/.install/Chopper Challenge.sh b/.install/Chopper Challenge.sh new file mode 100644 index 0000000..1c999e6 --- /dev/null +++ b/.install/Chopper Challenge.sh @@ -0,0 +1,8 @@ +# Freezes at menu +download "https://www.agarchive.net/games/XSight/chopper%20challenge%20setup.exe" +install_wine_bottle vb6run dx8vb speechsdk +wine "${cache}/chopper challenge setup.exe" /silent & +xdotool sleep 5 key y 2> /dev/null +${wine}server -w +echo "$USER|n/a" >> "$WINEPREFIX/drive_c/Program Files/x-sight interactive/chopper challenge/config.dat" +add_launcher "c:\Program Files\x-sight interactive\chopper challenge\Chopper.exe" diff --git a/.install/Christmas Chaos.sh b/.install/Christmas Chaos.sh new file mode 100644 index 0000000..b5a562f --- /dev/null +++ b/.install/Christmas Chaos.sh @@ -0,0 +1,7 @@ +export WINEARCH=win64 +export winVer="win7" +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" "{}" \; +add_launcher "c:\Program Files\ChristmasChaos\ChristmasChaos.exe" diff --git a/.install/Christmas WhoopAss.sh b/.install/Christmas WhoopAss.sh new file mode 100644 index 0000000..310b66c --- /dev/null +++ b/.install/Christmas WhoopAss.sh @@ -0,0 +1,4 @@ +download "https://www.agarchive.net/games/draconis/christmas%20whoopass%20setup.exe" +install_wine_bottle vb6run dx8vb +wine "${cache}/christmas whoopass setup.exe" /sp- /silent +add_launcher "c:\Program Files\Draconis Entertainment\Christmas Whoop Ass\wa.exe" diff --git a/.install/Clashes of the Sky.sh b/.install/Clashes of the Sky.sh new file mode 100644 index 0000000..94b4ee1 --- /dev/null +++ b/.install/Clashes of the Sky.sh @@ -0,0 +1,7 @@ +get_installer "clashes_of_the_sky.zip" "https://tunmi13.itch.io/clashes-of-the-sky" +export bottle="tunmi13" +export winVer="win7" +install_wine_bottle speechsdk +unzip -d "$WINEPREFIX/drive_c/Program Files" "${cache}/clashes_of_the_sky.zip" +find "${WINEPREFIX}" -type f -name "nvdaControllerClient32.dll" -exec rm -fv "{}" \; +add_launcher 'c:\Program Files\clashes_of_the_sky\clash.exe' diff --git a/.install/Code Dungeon.sh b/.install/Code Dungeon.sh new file mode 100644 index 0000000..cf1055f --- /dev/null +++ b/.install/Code Dungeon.sh @@ -0,0 +1,11 @@ +get_installer "codedungeon-win-64.zip" "https://stealcase.itch.io/codedungeon" +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/code-dungeon" "${cache}/codedungeon-win-64.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\code-dungeon\Code Dungeon.exe" diff --git a/.install/Coin Collector.sh b/.install/Coin Collector.sh new file mode 100644 index 0000000..666ecf1 --- /dev/null +++ b/.install/Coin Collector.sh @@ -0,0 +1,7 @@ +export WINEARCH=win64 +export winVer="win7" +download "https://www.dropbox.com/s/v55q7t9n84otmcd/coin%20collector.rar?dl=1" "https://github.com/RastislavKish/nvda2speechd/releases/download/v0.1/nvda2speechd64.dll" +install_wine_bottle +unrar x "$cache/coin collector.rar" -op"$WINEPREFIX/drive_c/Program Files" +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" diff --git a/.install/Conjury.sh b/.install/Conjury.sh new file mode 100644 index 0000000..234fd43 --- /dev/null +++ b/.install/Conjury.sh @@ -0,0 +1,8 @@ +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/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' diff --git a/.install/Constant Battle.sh b/.install/Constant Battle.sh new file mode 100644 index 0000000..5283ca6 --- /dev/null +++ b/.install/Constant Battle.sh @@ -0,0 +1,5 @@ +export winVer="win7" +download "https://renovagames.com/bc/BC-Setup.exe" +install_wine_bottle cjkfonts speechsdk +wine "${cache}/BC-Setup.exe" /silent +#add_launcher "c:\Program Files\" diff --git a/.install/Copter Mission.sh b/.install/Copter Mission.sh new file mode 100644 index 0000000..14ac50e --- /dev/null +++ b/.install/Copter Mission.sh @@ -0,0 +1,6 @@ +export bottle="oriol-gomez" +export winVer="win7" +download "http://oriolgomez.com/games/copter_en.zip" +install_wine_bottle +unzip -d "$WINEPREFIX/drive_c/Program Files/copter mission" "${cache}/copter_en.zip" +add_launcher "c:\Program Files\copter mission\game.exe" diff --git a/.install/Crazy Party.sh b/.install/Crazy Party.sh new file mode 100644 index 0000000..53abb00 --- /dev/null +++ b/.install/Crazy Party.sh @@ -0,0 +1,8 @@ +export WINEARCH=win64 +export winVer="win8" +download "http://pragmapragma.free.fr/crazy-party/Crazy-Party-beta82.zip" "https://stormgames.wolfe.casa/downloads/Tolk.dll" "https://github.com/RastislavKish/nvda2speechd/releases/download/v0.1/nvda2speechd64.dll" +install_wine_bottle +unzip -d "$WINEPREFIX/drive_c/Program Files" "${cache}/Crazy-Party-beta82.zip" +find "${WINEPREFIX}" -type f -name 'Tolk.dll' -exec cp -v "${cache}/Tolk.dll" "{}" \; +find "${WINEPREFIX}" -type f -name 'nvdaControllerClient64.dll' -exec cp -v "${cache}/nvda2speechd64.dll" "{}" \; +add_launcher "c:\Program Files\Crazy-Party-beta82\Crazy Party.exe" diff --git a/.install/Crazy Tennis.sh b/.install/Crazy Tennis.sh new file mode 100644 index 0000000..24b3188 --- /dev/null +++ b/.install/Crazy Tennis.sh @@ -0,0 +1,4 @@ +download "https://www.agarchive.net/games/VIP/crazy%20tennis%20setup.exe" +install_wine_bottle speechsdk +wine "${cache}/crazy tennis setup.exe" /sp- /silent +add_launcher "c:\Program Files\Crazytennis\crazytennis.exe" diff --git a/.install/Crime Hunter.sh b/.install/Crime Hunter.sh new file mode 100644 index 0000000..3f9fa78 --- /dev/null +++ b/.install/Crime Hunter.sh @@ -0,0 +1,7 @@ +export WINEARCH=win64 +export winVer="win7" +download "http://masonasons.me/softs/CH2.0Win.zip" "https://github.com/RastislavKish/nvda2speechd/releases/download/v0.1/nvda2speechd64.dll" +install_wine_bottle +unzip -d "$WINEPREFIX/drive_c/Program Files/crime-hunter" "${cache}/CH2.0Win.zip" +find "${WINEPREFIX}" -type f -name 'nvdaControllerClient64.dll' -exec cp -v "${cache}/nvda2speechd64.dll" "{}" \; +add_launcher "c:\Program Files\crime-hunter\ch.exe" diff --git a/.install/Danger City.sh b/.install/Danger City.sh new file mode 100644 index 0000000..bfcb3d2 --- /dev/null +++ b/.install/Danger City.sh @@ -0,0 +1,9 @@ +download "https://www.agarchive.net/games/xl/DangerCityBeta2.exe" +install_wine_bottle vb6run dx8vb +wine "$cache/DangerCityBeta2.exe" /silent & +xdotool sleep 15 key --clearmodifiers --delay 200 Return 2> /dev/null +xdotool sleep 5 key --clearmodifiers --delay 200 Return 2> /dev/null +xdotool sleep 5key --clearmodifiers --delay 200 Return 2> /dev/null +xdotool sleep 10 --clearmodifiers --delay 200 Return 2> /dev/null +${wine}server -w +add_launcher 'c:\Program Files\Danger City\dc.exe' diff --git a/.install/Danger on the Wheel.sh b/.install/Danger on the Wheel.sh new file mode 100644 index 0000000..0dfe23b --- /dev/null +++ b/.install/Danger on the Wheel.sh @@ -0,0 +1,7 @@ +download "http://oriolgomez.com/games/wheel_en.zip" +export bottle="oriol-gomez" +export winVer="win7" +install_wine_bottle speechsdk +unzip -d "$WINEPREFIX/drive_c/Program Files/danger on the wheel" "${cache}/wheel_en.zip" +find "${WINEPREFIX}" -type f -name "nvdaControllerClient32.dll" -exec rm -fv "{}" \; +add_launcher "c:\Program Files\danger on the wheel\game.exe" diff --git a/.install/Dark Destroyer.sh b/.install/Dark Destroyer.sh new file mode 100644 index 0000000..88f985b --- /dev/null +++ b/.install/Dark Destroyer.sh @@ -0,0 +1,5 @@ +export bottle=pbgames +download "https://www.agarchive.net/games/pb/Dark-Destroyer-Setup.exe" +install_wine_bottle speechsdk ie6 +wine "$cache/Dark-Destroyer-Setup.exe" /silent +add_launcher 'c:\Pbgames\Dark_destroyer\darkdestroyer.exe' diff --git a/.install/Daytona and the Book of Gold.sh b/.install/Daytona and the Book of Gold.sh new file mode 100644 index 0000000..4180f8f --- /dev/null +++ b/.install/Daytona and the Book of Gold.sh @@ -0,0 +1,15 @@ +export bottle="aprone" +export winVer="win7" +export winetricksSettings="vd=1024x768" +download "https://kaldobsky.com/audiogames/Daytona.zip" +install_wine_bottle vb6run dx8vb quartz corefonts +unzip -d "$WINEPREFIX/drive_c/Program Files/daytona" "${cache}/Daytona.zip" +wine 'c:\Program Files\daytona\checkup.exe' /verysilent +add_launcher "c:\Program Files\daytona\Daytona.exe" +"Death on the Road") +export bottle="oriol-gomez" +export winVer="win7" +download "http://oriolgomez.com/games/road_en.zip" +install_wine_bottle +unzip -d "$WINEPREFIX/drive_c/Program Files/death on the road" "${cache}/road_en.zip" +add_launcher "c:\Program Files\death on the road\game.exe" diff --git a/.install/Deathmatch.sh b/.install/Deathmatch.sh new file mode 100644 index 0000000..4cb0cb2 --- /dev/null +++ b/.install/Deathmatch.sh @@ -0,0 +1,6 @@ +export winVer="win7" +export winetricksSettings="vd=1024x768" +download "https://www.agarchive.net/games/realitySoftware/death%20match%20project%20alpha%20setup.exe" +install_wine_bottle quartz speechsdk +wine "${cache}/death match project alpha setup.exe" /silent +add_launcher "c:\Program Files\reality software\death match project alpha\dm1.exe" diff --git a/.install/Dog Who Hates Toast.sh b/.install/Dog Who Hates Toast.sh new file mode 100644 index 0000000..423e9e8 --- /dev/null +++ b/.install/Dog Who Hates Toast.sh @@ -0,0 +1,15 @@ +export bottle="aprone" +export winVer="win7" +export winetricksSettings="vd=1024x768" +download "https://www.kaldobsky.com/audiogames/dogwhohatestoast.zip" +install_wine_bottle vb6run dx8vb quartz speechsdk corefonts +unzip -d "$WINEPREFIX/drive_c/Program Files/dogwhohatestoast" "${cache}/dogwhohatestoast.zip" +wine 'c:\Program Files\dogwhohatestoast\checkup.exe' /verysilent +add_launcher "c:\Program Files\dogwhohatestoast\DogwhoHatesToast.exe" +echo "Note: Dog who Hates Toast installed. Once you start the game, you must press tab until you hear sapi on to get speech." >&2 + "Dragon Pong") +export winVer="win7" +install_wine_bottle +download "https://www.iamtalon.me/games/dragonpong.zip" +unzip -d "$WINEPREFIX/drive_c/Program Files" "${cache}/dragonpong.zip" +add_launcher "c:\Program Files\dragonpong\DragonPong.exe" diff --git a/.install/Donate.sh b/.install/Donate.sh new file mode 100644 index 0000000..931bc3f --- /dev/null +++ b/.install/Donate.sh @@ -0,0 +1 @@ + open_url "https://ko-fi.com/stormux" diff --git a/.install/Dreamland.sh b/.install/Dreamland.sh new file mode 100644 index 0000000..8013107 --- /dev/null +++ b/.install/Dreamland.sh @@ -0,0 +1,9 @@ +download https://scwl-1251129685.cos.ap-shanghai.myqcloud.com/dreamland/Win/DreamLandSetup.exe +install_wine_bottle speechsdk ole32 +$wine "${cache}/DreamLandSetup.exe" /silent + "Duck Hunt") +export bottle="l-works" +download "http://files.l-works.net/dhsetup.exe" +install_wine_bottle vb6run dx8vb speechsdk +wine "${cache}/dhsetup.exe" /silent +add_launcher "c:\Program Files\Lworks\Duck Hunt\duckhunt.exe" diff --git a/.install/DynaMan.sh b/.install/DynaMan.sh new file mode 100644 index 0000000..25c768c --- /dev/null +++ b/.install/DynaMan.sh @@ -0,0 +1,12 @@ +export winVer="win7" +export bottle="draconis" +download "http://download.dracoent.com/Windows/classic/DMSetup.exe" +install_wine_bottle vb6run dx8vb speechsdk quartz +cp -v "${cache}/DMSetup.exe" "$WINEPREFIX/drive_c/windows/temp/" +wine "c:/windows/temp/DMSetup.exe" /sp- /silent +rm -fv "$WINEPREFIX/drive_c/windows/temp/DMSetup.exe" +# warning warning warning: Do not change location, or installer will not function. +# FIXME: Hacky, but it works. Install dotnet20 by itself so it actually doesn't hang. +winetricks -q dotnet20 +${wine}server -k # Damn you, dotnet. +add_launcher "c:\Program Files\Draconis Entertainment\DynaMan\dm.exe" diff --git a/.install/ESP Pinball Classic.sh b/.install/ESP Pinball Classic.sh new file mode 100644 index 0000000..ac46a98 --- /dev/null +++ b/.install/ESP Pinball Classic.sh @@ -0,0 +1,12 @@ +export winVer="win7" +export bottle="draconis" +download "http://download.dracoent.com/Windows/classic/PBCSetup.exe" +install_wine_bottle vb6run dx8vb speechsdk quartz +cp -v "${cache}/PBCSetup.exe" "$WINEPREFIX/drive_c/windows/temp/" +wine "c:/windows/temp/PBCSetup.exe" /sp- /silent +rm -fv "$WINEPREFIX/drive_c/windows/temp/PBCSetup.exe" +# warning warning warning: Do not change location, or installer will not function. +# FIXME: Hacky, but it works. Install dotnet20 by itself so it actually doesn't hang. +winetricks -q dotnet20 +${wine}server -k # Damn you, dotnet. +add_launcher "c:\Program Files\Draconis Entertainment\ESP Pinball Classic\pbc.exe" diff --git a/.install/ESP Pinball Extreme.sh b/.install/ESP Pinball Extreme.sh new file mode 100644 index 0000000..4079c97 --- /dev/null +++ b/.install/ESP Pinball Extreme.sh @@ -0,0 +1,12 @@ +export winVer="win7" +export bottle="draconis" +download "http://download.dracoent.com/Windows/classic/PBXSetup.exe" +install_wine_bottle vb6run dx8vb speechsdk quartz +cp -v "${cache}/PBXSetup.exe" "$WINEPREFIX/drive_c/windows/temp/" +wine "c:/windows/temp/PBXSetup.exe" /sp- /silent +rm -fv "$WINEPREFIX/drive_c/windows/temp/PBXSetup.exe" +# warning warning warning: Do not change location, or installer will not function. +# FIXME: Hacky, but it works. Install dotnet20 by itself so it actually doesn't hang. +winetricks -q dotnet20 +${wine}server -k # Damn you, dotnet. +add_launcher "c:\Program Files\Draconis Entertainment\ESP Pinball Xtreme\pbx.exe" diff --git a/.install/ESP Pinball Party Pack.sh b/.install/ESP Pinball Party Pack.sh new file mode 100644 index 0000000..c4701d9 --- /dev/null +++ b/.install/ESP Pinball Party Pack.sh @@ -0,0 +1,13 @@ +export winVer="win7" +export bottle="draconis" +export WINEPREFIX="$HOME/.local/wine/draconis" +# Only works in conjunction with esp pinball extreme. +if ! [ -f "$HOME/.local/wine/$bottle/drive_c/Program Files/Draconis Entertainment/ESP Pinball Xtreme/pbx.exe" ] ; then + echo "Error: You need to install ESP Pinball Extreme first to use this game. Please do so before continuing." >&2 + exit 1 +fi +download "http://download.dracoent.com/Windows/classic/PP1Setup.exe" +cp -v "${cache}/PP1Setup.exe" "$WINEPREFIX/drive_c/windows/temp/" +wine "c:/windows/temp/PP1Setup.exe" /sp- /silent +rm -fv "$WINEPREFIX/drive_c/windows/temp/PP1Setup.exe" +add_launcher "c:\Program Files\Draconis Entertainment\ESP Pinball Xtreme\pbx.exe" diff --git a/.install/Easter Quest.sh b/.install/Easter Quest.sh new file mode 100644 index 0000000..d966123 --- /dev/null +++ b/.install/Easter Quest.sh @@ -0,0 +1,4 @@ +download "https://agarchive.net/games/mt/easter%20quest%20setup.exe" +install_wine_bottle +wine "${cache}/easter quest setup.exe" /silent +add_launcher "c:\Program Files\MTGames\Easter Quest\easter.exe" diff --git a/.install/Endless Runner.sh b/.install/Endless Runner.sh new file mode 100644 index 0000000..6558aa3 --- /dev/null +++ b/.install/Endless Runner.sh @@ -0,0 +1,5 @@ +download "http://www.masonasons.me/softs/EndlessRunner.7z" +install_wine_bottle speechsdk +7z x -y -o"$WINEPREFIX/drive_c/Program Files/Endless Runner" "${cache}/EndlessRunner.7z" -prunner +find "${WINEPREFIX}" -type f -name "nvdaControllerClient32.dll" -exec rm -fv "{}" \; +add_launcher "c:\Program Files\Endless Runner\runner.exe" diff --git a/.install/Entombed.sh b/.install/Entombed.sh new file mode 100644 index 0000000..f07746e --- /dev/null +++ b/.install/Entombed.sh @@ -0,0 +1,28 @@ +export version="6.18" +download "http://blind-games.com/newentombed/EntombedSetup.exe" "https://download.microsoft.com/download/E/C/1/EC1B2340-67A0-4B87-85F0-74D987A27160/SSCERuntime-ENU.exe" "https://stormgames.wolfe.casa/downloads/Entombed.exe.config" "https://stormgames.wolfe.casa/downloads/mfplat.dll" +install_wine "$version" "32" +export winVer="win7" +install_wine_bottle speechsdk msvcrt40 gdiplus ie7 wmp11 mf +# Ok, more dotnet. +LC_ALL=C DISPLAY="" winetricks -q dotnet40 xna40 +${wine}server -k # Sigh. +mkdir -p "${WINEPREFIX}/drive_c/temp" +pushd "${WINEPREFIX}/drive_c/temp" +7z x "${cache}/SSCERuntime-ENU.exe" +${wine} msiexec /i "${WINEPREFIX}/drive_c/temp/SSCERuntime_x86-ENU.msi" /q +rm * +popd +pushd "${WINEPREFIX}/drive_c/Program Files/Microsoft SQL Server Compact Edition/v3.5" +${wine} regsvr32 sqlceoledb35.dll +${wine} regsvr32 sqlceca35.dll +popd +${wine} "${cache}/EntombedSetup.exe" /silent +pushd "${WINEPREFIX}/drive_c/Program Files/Entombed" +cp ../Microsoft\ SQL\ Server\ Compact\ Edition/v3.5/Private/System.Data.SqlServerCe.Entity.dll ../Microsoft\ SQL\ Server\ Compact\ Edition/v3.5/Private/System.Data.SqlServerCe.dll . +cp ../Microsoft\ SQL\ Server\ Compact\ Edition/v3.5/sql* . +cp "${cache}/Entombed.exe.config" . +popd +if [ ! -f "${WINEPREFIX}/drive_c/windows/system32/mfplat.dll" ] ; then + cp "${cache}/mfplat.dll" "${WINEPREFIX}/drive_c/windows/system32/" +fi +add_launcher "c:\Program Files\Entombed\Entombed.exe" diff --git a/.install/Eurofly.sh b/.install/Eurofly.sh new file mode 100644 index 0000000..837962d --- /dev/null +++ b/.install/Eurofly.sh @@ -0,0 +1,8 @@ +export winVer="win7" +export winetricksSettings="vd=1024x768" +download "https://www.stefankiss.sk/files/eurofly2/Launcher_1.2.zip" "https://www.stefankiss.sk/files/eurofly2/Eurofly_2_ful_setup.exe" +install_wine_bottle speechsdk comctl32 +wine "${cache}/Eurofly_2_ful_setup.exe" /silent +unzip -o -d "$WINEPREFIX/drive_c/Eurofly" "${cache}/Launcher_1.2.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..." diff --git a/.install/Executioner's Rage.sh b/.install/Executioner's Rage.sh new file mode 100644 index 0000000..e078946 --- /dev/null +++ b/.install/Executioner's Rage.sh @@ -0,0 +1,14 @@ +download "https://dl.tweesecake.app/rage/rage1.5.0.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.5.0.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 diff --git a/.install/Extant.sh b/.install/Extant.sh new file mode 100644 index 0000000..a93028d --- /dev/null +++ b/.install/Extant.sh @@ -0,0 +1,4 @@ +download "https://agarchive.net/games/other/extant.zip" +install_wine_bottle speechsdk +unzip -d "$WINEPREFIX/drive_c/Program Files/extant" "${cache}/extant.zip" +add_launcher "c:\Program Files\extant\Extant.exe" diff --git a/.install/Fartman.sh b/.install/Fartman.sh new file mode 100644 index 0000000..97fdb25 --- /dev/null +++ b/.install/Fartman.sh @@ -0,0 +1,4 @@ +download "http://www.agarchive.net/games/bpc/fartman.exe" +install_wine_bottle dx8vb vb6run +wine "${cache}/fartman.exe" /silent +#add_launcher "c:\Program Files\" diff --git a/.install/Finger Panic.sh b/.install/Finger Panic.sh new file mode 100644 index 0000000..99c92f8 --- /dev/null +++ b/.install/Finger Panic.sh @@ -0,0 +1,4 @@ +download "http://www.agarchive.net/games/bsc/FingerPanicSetup.exe" +install_wine_bottle dx8vb vb6run +wine "${cache}/FingerPanicSetup.exe" /sp- /silent +add_launcher "c:\Program Files\Finger Panic 1.0\FingerPanic.exe" diff --git a/.install/Fuck That Bird.sh b/.install/Fuck That Bird.sh new file mode 100644 index 0000000..0fad3e2 --- /dev/null +++ b/.install/Fuck That Bird.sh @@ -0,0 +1,6 @@ +export bottle="oriol-gomez" +export winVer="win7" +download "http://oriolgomez.com/games/bird_en.zip" +install_wine_bottle +unzip -d "$WINEPREFIX/drive_c/Program Files/fuck that bird" "${cache}/bird_en.zip" +add_launcher "c:\Program Files\fuck that bird\game.exe" diff --git a/.install/GMA Tank Commander.sh b/.install/GMA Tank Commander.sh new file mode 100644 index 0000000..df356ac --- /dev/null +++ b/.install/GMA Tank Commander.sh @@ -0,0 +1,20 @@ +download "http://www.gmagames.com/gtc120.exe" +install_wine_bottle vb6run dx8vb speechsdk +wine "${cache}/gtc120.exe" /silent & +xdotool sleep 10 key --clearmodifiers alt+y 2> /dev/null +xdotool sleep 15 type --clearmodifiers --delay 100 "${USER^}" 2> /dev/null +xdotool key --clearmodifiers Tab 2> /dev/null +xdotool sleep 10 type --clearmodifiers --delay 100 "${HOSTNAME^}" 2> /dev/null +xdotool key --clearmodifiers Tab 2> /dev/null +xdotool sleep 10 type --clearmodifiers --delay 100 "na@na.na" 2> /dev/null +xdotool key --clearmodifiers Tab 2> /dev/null +xdotool sleep 10 type --clearmodifiers --delay 100 "uuuuuuu" 2> /dev/null +xdotool key --clearmodifiers Tab 2> /dev/null +xdotool key --clearmodifiers Return 2> /dev/null +xdotool sleep 10 key --clearmodifiers Return 2> /dev/null +${wine}server -w +echo "To accurately set your information, edit the file:" +echo "${WINEPREFIX}/drive_c/Program\ Files/GMA\ Tank\ Commander/config.dat" +echo "The default country is US. The fields are:" +echo -e "\"Firstname Lastname\"\n\"Email address\"\n\"Country code\"" +add_launcher "c:\Program Files\GMA Tank Commander\gtc.exe" diff --git a/.install/Galactic Strike.sh b/.install/Galactic Strike.sh new file mode 100644 index 0000000..db17486 --- /dev/null +++ b/.install/Galactic Strike.sh @@ -0,0 +1,8 @@ +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" +echo "Use controls wasd to movi and navigate the menu." +echo "Use m to fire and select items from the menu." +alert diff --git a/.install/Grizzly Gulch.sh b/.install/Grizzly Gulch.sh new file mode 100644 index 0000000..834b374 --- /dev/null +++ b/.install/Grizzly Gulch.sh @@ -0,0 +1,6 @@ +download "https://stormgames.wolfe.casa/downloads/grizzly-gulch.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 diff --git a/.install/Hammer of Glory.sh b/.install/Hammer of Glory.sh new file mode 100644 index 0000000..520dc73 --- /dev/null +++ b/.install/Hammer of Glory.sh @@ -0,0 +1,7 @@ +export bottle="oriol-gomez" +export winVer="win7" +download "http://oriolgomez.com/games/hammer_en.zip" +install_wine_bottle speechsdk +unzip -d "$WINEPREFIX/drive_c/Program Files/hammer of glory" "${cache}/hammer_en.zip" +find "${WINEPREFIX}" -type f -name "nvdaControllerClient32.dll" -exec rm -fv "{}" \; +add_launcher "c:\Program Files\hammer of glory\game.exe" diff --git a/.install/Hearthstone.sh b/.install/Hearthstone.sh new file mode 100644 index 0000000..b388690 --- /dev/null +++ b/.install/Hearthstone.sh @@ -0,0 +1,9 @@ +export winVer="win10" +install_wine_bottle ie8 vcrun2015 speechsdk +# This download url breaks the download function, so grab it manually. +curl -L --output "${cache}/Hearthstone.exe" "https://us.battle.net/download/getInstaller?os=win&installer=Hearthstone-Setup.exe" +curl -L --output "${cache}/Hearthstone_patch.zip" "https://github.com/HearthstoneAccess/HearthstoneAccess/releases/latest/download/patch.zip" +wine "${cache}/Hearthstone.exe" /silent +unzip -o "${cache}/Hearthstone_patch.zip" -d "${WINEPREFIX}/drive_c/Program Files/Hearthstone" +find "${WINEPREFIX}" -type f -name "nvdaControllerClient32.dll" -exec rm -fv "{}" \; +#add_launcher "c:\Program Files\" diff --git a/.install/Hunter.sh b/.install/Hunter.sh new file mode 100644 index 0000000..ced7ec7 --- /dev/null +++ b/.install/Hunter.sh @@ -0,0 +1,40 @@ +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 dotnet35sp1 +${wine}server -k # Damn you, dotnet. +wine "${cache}/HunterSetup.exe" /silent & +xdotool sleep 10 key --clearmodifiers alt+y 2> /dev/null +sleep 30 && ${wine}server -k # Sometimes the installer finishes but the ${wine}server has more processes that don't exit, so we can't depend on ${wine}server -w. +mkdir -p "$WINEPREFIX/drive_c/Program Files/bsc-key-generator" +7z x -o"$WINEPREFIX/drive_c/Program Files/bsc-key-generator" "${cache}/BSC unlock code generator.7z" +echo "$USER"$'\n'"$(hostname)"$'\n'"none"$'\n'"US" > "$WINEPREFIX/drive_c/Program Files/Hunter/config.dat" +unix2dos "$WINEPREFIX/drive_c/Program Files/Hunter/config.dat" +if command -v xclip &> /dev/null && command -v xdotool &> /dev/null ; then + wine "c:\Program Files\Hunter\HunterRegistration.exe" & + xdotool sleep 10 key Return sleep 2 key Return sleep 2 key Alt+n + sleep 1 + regcode="$(xclip -selection clipboard -o)" + xdotool sleep 1 key Shift+Tab sleep 1 key Return + # FIXME: Kind of hacky, but let's make sure it actually exitted. + sleep 5 + ${wine}server -k + wine "c:\Program Files\bsc-key-generator\BlindsoftwareUnlockCodeGenerator.exe" & + xdotool sleep 10 key Return sleep 2 type h + xdotool sleep 1 key Tab sleep 1 type $regcode + xdotool sleep 1 key Tab sleep 1 key Return + sleep 2 + regcode="$(xclip -selection clipboard -o)" # Might as well reuse the variable. + # FIXME: Kind of hacky, but let's make sure it actually exitted since I can't find a good way to exit this program. + sleep 5 + ${wine}server -k + wine "c:\Program Files\Hunter\HunterRegistration.exe" & + echo "$regcode" | xclip -selection clipboard + xdotool sleep 10 key Return sleep 2 key Shift+Tab sleep 1 key Shift+Tab sleep 1 key Return + # FIXME: Kind of hacky, but let's make sure it actually exitted. + sleep 5 + ${wine}server -k +else + echo "Warning: You need xclip and xdotool for this installer to finish the registration process, however, you don't have them. Either remove the program, install the stated tools, and reinstall it, or go on your own. Caveat Emptor, go to jail, do not pass go, do not collect audiogame rewards and all that stuff." +fi +add_launcher "c:\Program Files\Hunter\HunterRun.exe" diff --git a/.install/Inquisitor's Heartbeat.sh b/.install/Inquisitor's Heartbeat.sh new file mode 100644 index 0000000..cd45831 --- /dev/null +++ b/.install/Inquisitor's Heartbeat.sh @@ -0,0 +1,9 @@ +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" diff --git a/.install/Insect Therapy.sh b/.install/Insect Therapy.sh new file mode 100644 index 0000000..7aa5925 --- /dev/null +++ b/.install/Insect Therapy.sh @@ -0,0 +1,6 @@ +export bottle="oriol-gomez" +export winVer="win7" +download "http://oriolgomez.com/games/insect_en.zip" +install_wine_bottle +unzip -d "$WINEPREFIX/drive_c/Program Files/insect therapy" "${cache}/insect_en.zip" +add_launcher "c:\Program Files\insect therapy\game.exe" diff --git a/.install/Interceptor.sh b/.install/Interceptor.sh new file mode 100644 index 0000000..6f92f50 --- /dev/null +++ b/.install/Interceptor.sh @@ -0,0 +1,4 @@ +download "http://www.valiantgalaxy.com/interceptor/Interceptor0.0.2.0Installer.exe" +install_wine_bottle +wine "${cache}/Interceptor0.0.2.0Installer.exe" /silent +add_launcher "c:\Program Files\VGA\interceptor\launch_interceptor.exe" diff --git a/.install/Judgement Day.sh b/.install/Judgement Day.sh new file mode 100644 index 0000000..60ae578 --- /dev/null +++ b/.install/Judgement Day.sh @@ -0,0 +1,13 @@ +export bottle="l-works" +download "http://files.l-works.net/judgmentdayfullsetup.exe" +install_wine_bottle vb6run dx8vb quartz +wine "${cache}/judgmentdayfullsetup.exe" /silent +cat << EOF > /tmp/judgementday.reg +Windows Registry Editor Version 5.00 + +[HKEY_CURRENT_USER\Software\VB and VBA Program Settings\judgmentday\config] +"name"="$USER" +EOF +wine regedit /s /tmp/judgementday.reg +rm /tmp/judgementday.reg +add_launcher "c:\Program Files\Lworks\Judgment Day\judgmentday.exe" diff --git a/.install/Kitchensinc Games.sh b/.install/Kitchensinc Games.sh new file mode 100644 index 0000000..987389e --- /dev/null +++ b/.install/Kitchensinc Games.sh @@ -0,0 +1,5 @@ +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/" +add_launcher "c:\Program Files\Kitchen's Sink\gamemenu.exe" diff --git a/.install/Kringle Crash.sh b/.install/Kringle Crash.sh new file mode 100644 index 0000000..3c2f86f --- /dev/null +++ b/.install/Kringle Crash.sh @@ -0,0 +1,4 @@ +download "https://www.agarchive.net/games/blastbay/kringle%20crash%20setup.exe" +install_wine_bottle +wine "${cache}/kringle crash setup.exe" /silent +add_launcher "c:\Program Files\Kringle Crash\kringlecrash.exe" diff --git a/.install/Laser Breakout.sh b/.install/Laser Breakout.sh new file mode 100644 index 0000000..1833bf8 --- /dev/null +++ b/.install/Laser Breakout.sh @@ -0,0 +1,9 @@ +# Currently only speaks in japanese, looking to see if we can find an english version. +export bottle="nyanchan" +export winVer="win7" +download "https://www.agarchive.net/games/nyanchan/laser%20breakout.7z" "https://github.com/RastislavKish/nvda2speechd/releases/download/v0.1/nvda2speechd32.dll" "https://stormgames.wolfe.casa/downloads/laser-breakout-options.dat" +install_wine_bottle +7z x -o"$WINEPREFIX/drive_c/nyanchangame/" "$cache/laser breakout.7z" +find "${WINEPREFIX}" -type f -name 'nvdaControllerClient.dll' -exec cp -v "${cache}/nvda2speechd32.dll" "{}" \; +cp -v "$cache/laser-breakout-options.dat" "$WINEPREFIX/drive_c/nyanchangame/laser breakout/options.dat" +add_launcher "c:\nyanchangame\laser breakout\play.exe" diff --git a/.install/Light Battles.sh b/.install/Light Battles.sh new file mode 100644 index 0000000..2c6cbfc --- /dev/null +++ b/.install/Light Battles.sh @@ -0,0 +1,6 @@ +export winVer="win7" +download "https://prometheus-enterprises.com/games/CoL.exe" "https://github.com/RastislavKish/nvda2speechd/releases/download/v0.1/nvda2speechd32.dll" +install_wine_bottle +7z x -o"$WINEPREFIX/drive_c/Program Files/Light Battles" "${cache}/CoL.exe" +find "${WINEPREFIX}" -type f -name "nvdaControllerClient.dll" -exec cp -v "$cache/nvda2speechd32.dll" "{}" \; +add_launcher "c:\Program Files\Light Battles\battles.exe" diff --git a/.install/Light Cars.sh b/.install/Light Cars.sh new file mode 100644 index 0000000..3f485b0 --- /dev/null +++ b/.install/Light Cars.sh @@ -0,0 +1,8 @@ +download "https://www.agarchive.net/games/lighttech/light%20cars%20setup.exe" +install_wine_bottle dx8vb vb6run +wine "${cache}/light cars setup.exe" & +xdotool sleep 10 key --clearmodifiers alt+n sleep 1 key --clearmodifiers alt+a key --clearmodifiers space sleep 1 key --clearmodifiers alt+n sleep 1 key --clearmodifiers alt+n sleep 1 key --clearmodifiers alt+i sleep 30 key --clearmodifiers Tab sleep 1 key --clearmodifiers Return 2> /dev/null +${wine}server -w +echo -e "${USER} ${HOST}\nna@na.na\nUS" > ~/.local/wine/light-cars/drive_c/Program\ Files/Lighttech\ Interactive/Light\ Cars/config.dat +unix2dos ~/.local/wine/light-cars/drive_c/Program\ Files/Lighttech\ Interactive/Light\ Cars/config.dat +add_launcher "c:\Program Files\Lighttech Interactive\Light Cars\lightCars.exe" diff --git a/.install/Lockpick.sh b/.install/Lockpick.sh new file mode 100644 index 0000000..427142b --- /dev/null +++ b/.install/Lockpick.sh @@ -0,0 +1,5 @@ +export bottle="l-works" +download "http://files.l-works.net/lockpicksetup.exe" +install_wine_bottle vb6run dx8vb +wine "${cache}/lockpicksetup.exe" /silent +add_launcher "c:\Program Files\lWorks\Lockpick\lockpick.exe" diff --git a/.install/Lone Wolf.sh b/.install/Lone Wolf.sh new file mode 100644 index 0000000..8aa6f21 --- /dev/null +++ b/.install/Lone Wolf.sh @@ -0,0 +1,15 @@ +download "http://www.gmagames.com/lw350.exe" +install_wine_bottle vb6run dx8vb speechsdk +wine "${cache}/lw350.exe" /silent & +xdotool sleep 10 key --clearmodifiers alt+y 2> /dev/null +xdotool sleep 10 type --clearmodifiers --delay 100 "$USER" 2> /dev/null +xdotool key --clearmodifiers Tab 2> /dev/null +xdotool type --clearmodifiers --delay 100 "$HOSTNAME" 2> /dev/null +xdotool key --clearmodifiers Tab 2> /dev/null +xdotool type --clearmodifiers --delay 100 "na@na.na" 2> /dev/null +xdotool key --clearmodifiers Tab 2> /dev/null +xdotool type --clearmodifiers --delay 100 "uuuuuu" 2> /dev/null +xdotool key --clearmodifiers Tab 2> /dev/null +xdotool key --clearmodifiers Return 2> /dev/null +${wine}server -w +add_launcher "c:\Program Files\Lone Wolf\lw.exe" diff --git a/.install/Lost.sh b/.install/Lost.sh new file mode 100644 index 0000000..2313d07 --- /dev/null +++ b/.install/Lost.sh @@ -0,0 +1,6 @@ +export bottle=dan-z +download "https://agarchive.net/games/danZ/lost.zip" +install_wine_bottle speechsdk +unzip -d "$WINEPREFIX/drive_c/Program Files/lost" "$cache/lost.zip" +find "$WINEPREFIX/drive_c/Program Files/lost" -name "nvdaControllerClient32.dll" -exec rm -fv "{}" \; +add_launcher 'c:\Program Files\lost\lost.exe' diff --git a/.install/Lunimals.sh b/.install/Lunimals.sh new file mode 100644 index 0000000..349ce03 --- /dev/null +++ b/.install/Lunimals.sh @@ -0,0 +1,10 @@ +export bottle="aprone" +export winVer="win7" +export winetricksSettings="vd=1024x768" +download "https://kaldobsky.com/audiogames/lunimals.zip" +install_wine_bottle vb6run dx8vb quartz speechsdk corefonts +unzip -d "$WINEPREFIX/drive_c/Program Files/lunimals" "${cache}/lunimals.zip" +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 diff --git a/.install/Manamon 2.sh b/.install/Manamon 2.sh new file mode 100644 index 0000000..8f0ed39 --- /dev/null +++ b/.install/Manamon 2.sh @@ -0,0 +1,5 @@ +export winVer="win7" +download "http://www.vgstorm.com/manamon2/manamon2_installer.exe" +install_wine_bottle speechsdk +wine "${cache}/manamon2_installer.exe" /silent +add_launcher "c:\Program Files\VGStorm.com\Manamon 2\rpg.exe" diff --git a/.install/Manamon.sh b/.install/Manamon.sh new file mode 100644 index 0000000..47fe1ed --- /dev/null +++ b/.install/Manamon.sh @@ -0,0 +1,5 @@ +export winVer="win7" +download "https://www.vgstorm.com/manamon/manamon_installer.exe" +install_wine_bottle speechsdk +wine "${cache}/manamon_installer.exe" /silent +add_launcher "c:\Program Files\VGStorm.com\Manamon\rpg.exe" diff --git a/.install/Marina Break.sh b/.install/Marina Break.sh new file mode 100644 index 0000000..e77f9bc --- /dev/null +++ b/.install/Marina Break.sh @@ -0,0 +1,9 @@ +export bottle="nyanchan" +export winVer="win7" +download "https://www.nyanchangames.com/softs/MbSetupE.exe" "https://github.com/RastislavKish/nvda2speechd/releases/download/v0.1/nvda2speechd32.dll" +install_wine_bottle speechsdk +wine "${cache}/MbSetupE.exe" & +xdotool sleep 10 key Return +${wine}server -w +find "${WINEPREFIX}" -type f -name "nvdaControllerClient.dll" -exec cp -v "$cache/nvda2speechd32.dll" "{}" \; +add_launcher "c:\nyanchangame\MarinaBreak\marinabreak.exe" diff --git a/.install/Maze Craze.sh b/.install/Maze Craze.sh new file mode 100644 index 0000000..5db7775 --- /dev/null +++ b/.install/Maze Craze.sh @@ -0,0 +1,16 @@ +export bottle=dan-z +download "http://www.danielzingaro.com/maze_craze_setup.exe" +install_wine_bottle vb6run dx8vb +${wine} "${cache}/maze_craze_setup.exe" & +xdotool sleep 15 key --delay 100 y 2> /dev/null +xdotool sleep 3 key --delay 250 alt+n 2> /dev/null +xdotool key --delay 250 alt+a 2> /dev/null +xdotool key --delay 250 space 2> /dev/null +xdotool key --delay 250 alt+n 2> /dev/null +xdotool key --delay 250 alt+n 2> /dev/null +xdotool key --delay 250 alt+n 2> /dev/null +xdotool key --delay 250 alt+i 2> /dev/null +xdotool sleep 15 key --delay 250 alt+f 2> /dev/null +xdotool sleep 3 key --delay 250 n 2> /dev/null +${wine}server -k +add_launcher "c:\Program Files\Maze Craze 1.4\mazecraze.exe" diff --git a/.install/Minecraft.sh b/.install/Minecraft.sh new file mode 100644 index 0000000..89d4622 --- /dev/null +++ b/.install/Minecraft.sh @@ -0,0 +1,39 @@ +export WINEARCH=win64 +export winVer="win7" +get_installer "accessibility-plus-extended-1.18-curseforge-v1.9.0.jar" "https://www.curseforge.com/minecraft/mc-mods/accessibility-plus-extended/download" +get_installer "Mambience-5.2.0+1.19.jar" "https://www.curseforge.com/minecraft/mc-mods/mambience/download" +get_installer "easy-life-1.18-v1.5.1.jar" "https://www.curseforge.com/minecraft/mc-mods/easy-life/download" +get_installer "numpad-camera-controls-1.18-v1.5.1.jar" "https://www.curseforge.com/minecraft/mc-mods/numpad-keypad-camera-controls/download" +download "https://www.python.org/ftp/python/3.7.9/python-3.7.9-amd64.exe" +install_wine_bottle +wine "$cache/python-3.7.9-amd64.exe" /silent +wine 'c:\windows\py.exe' -m pip install portablemc portablemc-fabric +# Now just need to install latest fabric, portablemc start --dry fabric +wine 'c:\users\'"$USER"'\AppData\Local\Programs\Python\Python37\Scripts\portablemc.exe' start --dry fabric: +# Also need to copy all mods into right place. +mkdir "$WINEPREFIX/drive_c/users/$USER/AppData/Roaming/.minecraft/mods" +for x in "accessibility-plus-extended-1.18-curseforge-v1.9.0.jar" "Mambience-5.2.0+1.19.jar" "easy-life-1.18-v1.5.1.jar" "numpad-camera-controls-1.18-v1.5.1.jar" ; do + cp "$cache/$x" "$WINEPREFIX/drive_c/users/$USER/AppData/Roaming/.minecraft/mods" +done +# And of course, add the launcher. + "Mist World") +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 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} +find "$WINEPREFIX/drive_c/Program Files/Mist World" -iname "nvdaControllerClient32.dll" -exec cp "$cache/nvda2speechd32.dll" "{}" \; +mkdir "$WINEPREFIX/drive_c/Program Files/Mist World/"{user,users} +add_launcher 'c:\Program Files\Mist World\mw.exe' +echo +echo "If you do not have an account, There is a script in game-scripts to help." +echo "Launch the game, press enter on create account, then drop into a console so the game window does not lose focus." +echo "Change to the game-scripts directory and run" +echo "./mist_world_account_creator.sh and follow the prompts." +echo +echo "To login, type your email address, press tab, and type your password." +echo "If you want to enable automatic login, press tab two times followed by space, then tab and enter." +echo "If you do not want to auto login, you can just press enter after typing your password." +alert diff --git a/.install/Monkey Business.sh b/.install/Monkey Business.sh new file mode 100644 index 0000000..c277831 --- /dev/null +++ b/.install/Monkey Business.sh @@ -0,0 +1,12 @@ +export winVer="win7" +export bottle="draconis" +download "http://download.dracoent.com/Windows/classic/MBSetup.exe" +install_wine_bottle vb6run dx8vb speechsdk quartz +cp -v "${cache}/MBSetup.exe" "$WINEPREFIX/drive_c/windows/temp/" +wine "c:/windows/temp/MBSetup.exe" /sp- /silent +rm -fv "$WINEPREFIX/drive_c/windows/temp/MBSetup.exe" +# warning warning warning: Do not change location, or installer will not function. +# FIXME: Hacky, but it works. Install dotnet20 by itself so it actually doesn't hang. +winetricks -q dotnet20 +${wine}server -k # Damn you, dotnet. +add_launcher "c:\Program Files\Draconis Entertainment\Monkey Business\mb.exe" diff --git a/.install/MudSplat English.sh b/.install/MudSplat English.sh new file mode 100644 index 0000000..630d5e6 --- /dev/null +++ b/.install/MudSplat English.sh @@ -0,0 +1,28 @@ +a="a" +f="f" +i="i" +n="n" + ;& + "MudSplat French") +# Variables may be already set for English installation, so make sure not to overwrite them. +a="${a:-j}" +f="${f:-t}" +i="${i:-i}" +n="${n:-s}" + ;& + "MudSplat Swedish") +# Variables may be already set for French installation, so make sure not to overwrite them. +a="${a:-a}" +f="${f:-f}" +i="${i:-i}" +n="${n:-n}" +download "https://www.agarchive.net/games/other/Mudsplat-install.exe" +install_wine_bottle +wine "${cache}/Mudsplat-install.exe" & +# Select the language. +xdotool sleep 10 type --clearmodifiers ${game:9:1} 2> /dev/null +xdotool sleep 1 key --clearmodifiers Return sleep 1 key alt+${n} sleep 1 key alt+${a} sleep 1 key alt+${n} sleep 1 key space sleep 1 key alt+${n} sleep 1 key alt+${n} sleep 1 key alt+${i} sleep 10 key space sleep 1 key alt+${f} 2> /dev/null +${wine}server -w +mudsplatLauncher="$(find "$WINEPREFIX/drive_c/Program Files/TiM/MudSplat" -name 'mudsplat-*.exe')" +mudsplatLauncher="${mudsplatLauncher##*/}" +add_launcher "c:\Program Files\TiM\MudSplat\\${mudsplatLauncher}" diff --git a/.install/Oh Shit.sh b/.install/Oh Shit.sh new file mode 100644 index 0000000..89d2a2a --- /dev/null +++ b/.install/Oh Shit.sh @@ -0,0 +1,8 @@ +export winVer="win7" +export norh="true" # Requires sapi even though uses nvda +download "${ipfsGateway}/ipfs/QmQnAJJrt5uABFziQc7enXYrJ74J9GKQSMi8Ry8ebsxfPV?filename=OhShit.zip" "https://github.com/RastislavKish/nvda2speechd/releases/download/v0.1/nvda2speechd" "https://github.com/RastislavKish/nvda2speechd/releases/download/v0.1/nvda2speechd32.dll" +install_wine_bottle speechsdk +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" diff --git a/.install/Operation BlackSquare.sh b/.install/Operation BlackSquare.sh new file mode 100644 index 0000000..35b6ef2 --- /dev/null +++ b/.install/Operation BlackSquare.sh @@ -0,0 +1,5 @@ +export winVer="win7" +download "https://www.iamtalon.me/games/blacksquare.zip" +install_wine_bottle +unzip -d "$WINEPREFIX/drive_c/Program Files" "${cache}/blacksquare.zip" +add_launcher "c:\Program Files\blacksquare\OperationBlackSquare.exe" diff --git a/.install/Pacman Talks.sh b/.install/Pacman Talks.sh new file mode 100644 index 0000000..55e6005 --- /dev/null +++ b/.install/Pacman Talks.sh @@ -0,0 +1,4 @@ +download "http://www.gmagames.com/pmt101.exe" +install_wine_bottle +wine "${cache}/pmt101.exe" /sp- /silent +add_launcher "c:\Program Files\Pacman Talks\pmt.exe" diff --git a/.install/Palace Punch Up.sh b/.install/Palace Punch Up.sh new file mode 100644 index 0000000..9ca20eb --- /dev/null +++ b/.install/Palace Punch Up.sh @@ -0,0 +1,4 @@ +download "https://www.agarchive.net/games/blastbay/palace%20punch-up%20setup.exe" +install_wine_bottle speechsdk +wine "${cache}/palace punch-up setup.exe" /silent +add_launcher "c:\Program Files\Palace Punch-up\palace.exe" diff --git a/.install/Paladin of the Sky.sh b/.install/Paladin of the Sky.sh new file mode 100644 index 0000000..6d68821 --- /dev/null +++ b/.install/Paladin of the Sky.sh @@ -0,0 +1,5 @@ +export winVer="win7" +download "http://www.vgstorm.com/cod/pots/paladin_installer.exe" +install_wine_bottle speechsdk +wine "${cache}/paladin_installer.exe" /silent +add_launcher "c:\Program Files\VGStorm.com\Paladin of the Sky\game.exe" diff --git a/.install/Park Boss.sh b/.install/Park Boss.sh new file mode 100644 index 0000000..99963cd --- /dev/null +++ b/.install/Park Boss.sh @@ -0,0 +1,7 @@ +export winVer="win7" +download "http://www.ndadamson.com/downloads/Park%20Boss%201.01%20setup.exe" +install_wine_bottle speechsdk +wine "${cache}/Park Boss 1.01 setup.exe" /silent & +xdotool sleep 10 key --clearmodifiers Return sleep 1 key alt+n sleep 1 key alt+a sleep 1 key alt+i sleep 10 key alt+f 2> /dev/null +${wine}server -w +add_launcher "c:\Program Files\NASoft\ParkBoss\pbMain.exe" diff --git a/.install/Paw Prints.sh b/.install/Paw Prints.sh new file mode 100644 index 0000000..933a3be --- /dev/null +++ b/.install/Paw Prints.sh @@ -0,0 +1,8 @@ +export bottle="aprone" +export winVer="win7" +export winetricksSettings="vd=1024x768" +download "https://www.kaldobsky.com/audiogames/pawprints.zip" +install_wine_bottle vb6run dx8vb quartz speechsdk corefonts +unzip -d "$WINEPREFIX/drive_c/Program Files/pawprints" "${cache}/pawprints.zip" +wine 'c:\Program Files\pawprints\checkup.exe' /verysilent +add_launcher "c:\Program Files\pawprints\PawPrints.exe" diff --git a/.install/Penta Path.sh b/.install/Penta Path.sh new file mode 100644 index 0000000..f4ba764 --- /dev/null +++ b/.install/Penta Path.sh @@ -0,0 +1,8 @@ +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" diff --git a/.install/Perilous Hearts.sh b/.install/Perilous Hearts.sh new file mode 100644 index 0000000..77f3766 --- /dev/null +++ b/.install/Perilous Hearts.sh @@ -0,0 +1,4 @@ +download "https://www.agarchive.net/games/blastbay/perilous%20hearts%20concept%20demo.exe" +install_wine_bottle speechsdk +wine "${cache}/perilous hearts concept demo.exe" /silent +add_launcher "c:\Program Files\Perilous Hearts Concept Demo\perilous_hearts.exe" diff --git a/.install/Pigeon Panic.sh b/.install/Pigeon Panic.sh new file mode 100644 index 0000000..32b4e1e --- /dev/null +++ b/.install/Pigeon Panic.sh @@ -0,0 +1,5 @@ +export bottle="l-works" +download "http://agarchive.net/games/lworks/pigeon%20panic%20setup.exe" +install_wine_bottle vb6run dx8vb +wine "${cache}/pigeon panic setup.exe" /silent +add_launcher "c:\Program Files\Lworks\Pigeon Panic\pigeonPanic.exe" diff --git a/.install/Pipe 2 Blast Chamber.sh b/.install/Pipe 2 Blast Chamber.sh new file mode 100644 index 0000000..d3616ba --- /dev/null +++ b/.install/Pipe 2 Blast Chamber.sh @@ -0,0 +1,40 @@ +install_wine_bottle vb6run dx8vb +# FIXME: Hacky, but it works. Install dotnet35 by itself so it actually doesn't hang. +winetricks -q dotnet35sp1 +${wine}server -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 & +xdotool sleep 10 key --clearmodifiers alt+y 2> /dev/null +sleep 30 && ${wine}server -k # Sometimes the installer finishes but the ${wine}server has more processes that don't exit, so we can't depend on ${wine}server -w. +mkdir -p "$WINEPREFIX/drive_c/Program Files/bsc-key-generator" +7z x -o"$WINEPREFIX/drive_c/Program Files/bsc-key-generator" "${cache}/BSC unlock code generator.7z" +echo "$USER"$'\n'"$(hostname)"$'\n'"none"$'\n'"US" > "$WINEPREFIX/drive_c/Program Files/Blast Chamber/config.dat" +unix2dos "$WINEPREFIX/drive_c/Program Files/Blast Chamber/config.dat" +if command -v xclip &> /dev/null && command -v xdotool &> /dev/null ; then + wine "c:\Program Files\Blast Chamber\register.exe" & + xdotool sleep 10 key Return sleep 2 key Return sleep 2 key Alt+n + sleep 1 + regcode="$(xclip -selection clipboard -o)" + xdotool sleep 1 key Shift+Tab sleep 1 key Return + # FIXME: Kind of hacky, but let's make sure it actually exitted. + sleep 5 + ${wine}server -k + wine "c:\Program Files\bsc-key-generator\BlindsoftwareUnlockCodeGenerator.exe" & + xdotool sleep 10 key Return sleep 2 type b + xdotool sleep 1 key Tab sleep 1 type $regcode + xdotool sleep 1 key Tab sleep 1 key Return + sleep 2 + regcode="$(xclip -selection clipboard -o)" # Might as well reuse the variable. + # FIXME: Kind of hacky, but let's make sure it actually exitted since I can't find a good way to exit this program. + sleep 5 + ${wine}server -k + wine "c:\Program Files\Blast Chamber\register.exe" & + echo "$regcode" | xclip -selection clipboard + xdotool sleep 10 key Return sleep 2 key Shift+Tab sleep 1 key Shift+Tab sleep 1 key Return + # FIXME: Kind of hacky, but let's make sure it actually exitted. + sleep 5 + ${wine}server -k +else + echo "Warning: You need xclip and xdotool for this installer to finish the registration process, however, you don't have them. Either remove the program, install the stated tools, and reinstall it, or go on your own. Caveat Emptor, go to jail, do not pass go, do not collect audiogame rewards and all that stuff." +fi +add_launcher "c:\Program Files\Blast Chamber\pipe.exe" diff --git a/.install/Preludeamals.sh b/.install/Preludeamals.sh new file mode 100644 index 0000000..67230ce --- /dev/null +++ b/.install/Preludeamals.sh @@ -0,0 +1,8 @@ +export bottle="aprone" +export winVer="win7" +export winetricksSettings="vd=1024x768" +download "https://www.kaldobsky.com/audiogames/Preludeamals.zip" +install_wine_bottle vb6run dx8vb quartz speechsdk corefonts +unzip -d "$WINEPREFIX/drive_c/Program Files/preludeamals" "${cache}/Preludeamals.zip" +wine 'c:\Program Files\preludeamals\checkup.exe' /verysilent +add_launcher "c:\Program Files\preludeamals\Preludeamals.exe" diff --git a/.install/Psycho Strike.sh b/.install/Psycho Strike.sh new file mode 100644 index 0000000..f206d9b --- /dev/null +++ b/.install/Psycho Strike.sh @@ -0,0 +1,4 @@ +download "http://www.vgstorm.com/psycho_strike_installer.exe" +install_wine_bottle speechsdk +wine "${cache}/psycho_strike_installer.exe" /silent +add_launcher "c:\Program Files\VGStorm.com\Psycho Strike\strike.exe" diff --git a/.install/Puzzle Divided.sh b/.install/Puzzle Divided.sh new file mode 100644 index 0000000..c616527 --- /dev/null +++ b/.install/Puzzle Divided.sh @@ -0,0 +1,7 @@ +export bottle="aprone" +export winVer="win7" +export winetricksSettings="vd=1024x768" +download "https://www.kaldobsky.com/audiogames/puzzledivided.zip" +install_wine_bottle vb6run dx8vb quartz corefonts +unzip -d "$WINEPREFIX/drive_c/Program Files/puzzledivided" "${cache}/puzzledivided.zip" +add_launcher "c:\Program Files\puzzledivided\PuzzleDivided.exe" diff --git a/.install/Q9.sh b/.install/Q9.sh new file mode 100644 index 0000000..953cf97 --- /dev/null +++ b/.install/Q9.sh @@ -0,0 +1,4 @@ +download "http://www.blastbay.com/q9_english_installer.exe" +install_wine_bottle +wine "${cache}/q9_english_installer.exe" /silent +add_launcher "c:\Program Files\Q9 Action Game\q9.exe" diff --git a/.install/RS Games.sh b/.install/RS Games.sh new file mode 100644 index 0000000..2a0907c --- /dev/null +++ b/.install/RS Games.sh @@ -0,0 +1,8 @@ +export version="7.0" +download "http://rsgames.org/rsdownloads/rsgclient/rsgames-client-setup-2.01.exe" "${nvdaControllerClientDll}" +install_wine "$version" "32" +export winVer="win7" +install_wine_bottle speechsdk +${wine} "${cache}/rsgames-client-setup-2.01.exe" /silent +find "${WINEPREFIX}" -type f -name 'nvdaControllerClient32.dll' -exec cp -v "${cache}/nvdaControllerClient32.dll" "{}" \; +add_launcher "c:\Program Files\RS Games Client\rsg.exe" diff --git a/.install/Rettou.sh b/.install/Rettou.sh new file mode 100644 index 0000000..7f6c1bc --- /dev/null +++ b/.install/Rettou.sh @@ -0,0 +1,7 @@ +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" diff --git a/.install/Revelation.sh b/.install/Revelation.sh new file mode 100644 index 0000000..cb288a6 --- /dev/null +++ b/.install/Revelation.sh @@ -0,0 +1,7 @@ +export bottle="aprone" +export winVer="win7" +export winetricksSettings="vd=1024x768" +download "https://www.kaldobsky.com/audiogames/revelation.zip" +install_wine_bottle vb6run dx8vb quartz speechsdk corefonts +unzip -d "$WINEPREFIX/drive_c/Program Files/revelation" "${cache}/revelation.zip" +add_launcher "c:\Program Files\revelation\Revelation.exe" diff --git a/.install/Rhythm Rage.sh b/.install/Rhythm Rage.sh new file mode 100644 index 0000000..b926ce0 --- /dev/null +++ b/.install/Rhythm Rage.sh @@ -0,0 +1,7 @@ +export bottle="oriol-gomez" +export winVer="win7" +download "http://oriolgomez.com/games/rr_en.zip" "${nvdaControllerClientDll}" +install_wine_bottle speechsdk +unzip -d "$WINEPREFIX/drive_c/Program Files/rhythm rage" "${cache}/rr_en.zip" +find "${WINEPREFIX}" -type f -name 'nvdaControllerClient32.dll' -exec cp -v "${cache}/nvdaControllerClient32.dll" "{}" \; +add_launcher "c:\Program Files\rhythm rage\game.exe" diff --git a/.install/River Raiders.sh b/.install/River Raiders.sh new file mode 100644 index 0000000..971b9e4 --- /dev/null +++ b/.install/River Raiders.sh @@ -0,0 +1,9 @@ +# No more choppy sound under water, woot! +download "https://www.agarchive.net/games/XSight/River%20Raiders%201.3.5.exe" +install_wine_bottle dsound directmusic +wine "$cache/River Raiders 1.3.5.exe" & +xdotool sleep 10 type y 2> /dev/null +xdotool sleep 2 type y 2> /dev/null +xdotool sleep 2 key --clearmodifiers alt+n sleep 2 key alt+n sleep 2 key alt+n sleep 2 key alt+i sleep 10 key alt+f 2> /dev/null +${wine}server -w +add_launcher "c:\Program Files\River Raiders\raid.exe" diff --git a/.install/Road to Rage Offline.sh b/.install/Road to Rage Offline.sh new file mode 100644 index 0000000..783432a --- /dev/null +++ b/.install/Road to Rage Offline.sh @@ -0,0 +1,6 @@ +export winVer="win7" +download "https://agarchive.net/games/talon/the%20road%20to%20rage%20offline.7z" +install_wine_bottle speechsdk +7z x -o"$WINEPREFIX/drive_c/Program Files" "${cache}/the road to rage offline.7z" +find "${WINEPREFIX}" -type f -name "nvdaControllerClient.dll" -exec rm -fv "{}" \; +add_launcher "c:\Program Files\RTR Offline\rtr.exe" diff --git a/.install/Road to Rage.sh b/.install/Road to Rage.sh new file mode 100644 index 0000000..130aeea --- /dev/null +++ b/.install/Road to Rage.sh @@ -0,0 +1,6 @@ +export WINEARCH=win64 +export winVer="win7" +download "https://iamtalon.me/games/rtr_ultimate.zip" +install_wine_bottle +unzip -d "$WINEPREFIX/drive_c/Program Files" "${cache}/rtr_ultimate.zip" +add_launcher "c:\Program Files\rtr_Ultimate\trtr.exe" diff --git a/.install/Run For Your Life.sh b/.install/Run For Your Life.sh new file mode 100644 index 0000000..d7f2a1a --- /dev/null +++ b/.install/Run For Your Life.sh @@ -0,0 +1,6 @@ +export bottle="oriol-gomez" +export winVer="win7" +download "http://oriolgomez.com/games/rfyl_en.zip" +install_wine_bottle +unzip -d "$WINEPREFIX/drive_c/Program Files/run for your life" "${cache}/rfyl_en.zip" +add_launcher "c:\Program Files\run for your life\game.exe" diff --git a/.install/Sammy Center.sh b/.install/Sammy Center.sh new file mode 100644 index 0000000..b840b66 --- /dev/null +++ b/.install/Sammy Center.sh @@ -0,0 +1,6 @@ +export winVer="win7" +download "http://www.samtupy.com/games/SCSetup.exe" "${nvdaControllerClientDll}" +install_wine_bottle speechsdk +wine "${cache}/SCSetup.exe" /silent +find "${WINEPREFIX}" -type f -name 'nvdaControllerClient32.dll' -exec cp -v "${cache}/nvdaControllerClient32.dll" "{}" \; +add_launcher "c:\Program Files\Sam Tupy\SammyCenter\SammyCenter.exe" diff --git a/.install/Sarah and the Castle of Witchcraft and Wizardry.sh b/.install/Sarah and the Castle of Witchcraft and Wizardry.sh new file mode 100644 index 0000000..6155c74 --- /dev/null +++ b/.install/Sarah and the Castle of Witchcraft and Wizardry.sh @@ -0,0 +1,5 @@ +download "http://www.pcs-games.net/Sarah10.exe" "http://www.pcs-games.net/Sarah-Patch4.exe" +install_wine_bottle vb6run dx8vb speechsdk +wine "${cache}/Sarah10.exe" /sp- /verysilent +wine "${cache}/Sarah-Patch4.exe" /sp- /verysilent +add_launcher "c:\Program Files\Sarah and the Castle of Witchcraft and Wizardry 10\scw.exe" diff --git a/.install/Scramble!.sh b/.install/Scramble!.sh new file mode 100644 index 0000000..470cc6c --- /dev/null +++ b/.install/Scramble!.sh @@ -0,0 +1,7 @@ +winetricksSettings="vd=1024x768" +export winVer="win7" +download "https://stevend.net/downloads/scramble_win32.zip" "${nvdaControllerClientDll}" +install_wine_bottle speechsdk +unzip -d "$WINEPREFIX/drive_c/Program Files/" "${cache}/scramble_win32.zip" +find "${WINEPREFIX}" -type f -name 'nvdaControllerClient32.dll' -exec cp -v "${cache}/nvdaControllerClient32.dll" "{}" \; +add_launcher "c:\Program Files\scramble_win32\scramble.exe" diff --git a/.install/Screaming Strike 2.sh b/.install/Screaming Strike 2.sh new file mode 100644 index 0000000..d4592f5 --- /dev/null +++ b/.install/Screaming Strike 2.sh @@ -0,0 +1,9 @@ +export bottle="nyanchan" +export winVer="win7" +download "https://www.nyanchangames.com/softs/screamingStrike2.exe" "${nvdaControllerClientDll}" +install_wine_bottle fakejapanese speechsdk +wine "${cache}/screamingStrike2.exe" & +xdotool sleep 10 key Return +${wine}server -w +find "${WINEPREFIX}" -type f -name 'nvdaControllerClient32.dll' -exec cp -v "${cache}/nvdaControllerClient32.dll" "{}" \; +add_launcher "c:\nyanchangame\Screaming Strike 2\play.exe" diff --git a/.install/Scrolling Battles.sh b/.install/Scrolling Battles.sh new file mode 100644 index 0000000..36ef1f3 --- /dev/null +++ b/.install/Scrolling Battles.sh @@ -0,0 +1,8 @@ +export WINEARCH=win64 +export winVer="win7" +get_installer "sbrw-win.zip" "https://masonasons.itch.io/sbrw" +download "https://stormgames.wolfe.casa/downloads/Tolk.dll" +install_wine_bottle +unzip -d "$WINEPREFIX/drive_c/Program Files/sbrw" "${cache}/sbrw-win.zip" +find "${WINEPREFIX}" -type f -name 'Tolk.dll' -exec cp -v "${cache}/Tolk.dll" "{}" \; +add_launcher "c:\Program Files\sbrw\sb.exe" diff --git a/.install/Sequence Storm.sh b/.install/Sequence Storm.sh new file mode 100644 index 0000000..08e74c2 --- /dev/null +++ b/.install/Sequence Storm.sh @@ -0,0 +1,8 @@ +get_installer "sequence-storm-win64.zip" "https://special-magic-games-llc.itch.io/sequence-storm" +export WINEARCH=win64 +export winVer="win10" +install_wine_bottle +unzip -d "$WINEPREFIX/drive_c/Program Files/sequence-storm" "${cache}/sequence-storm-win64.zip" +write_sequence_storm_reader +curl -L --output "$WINEPREFIX/drive_c/Program Files/sequence-storm/settings.json" "https://stormgames.wolfe.casa/downloads/sequencestorm-settings.json" +add_launcher "c:\Program Files\sequence-storm\SequenceStorm.exe" diff --git a/.install/Shades of Doom 1.2.sh b/.install/Shades of Doom 1.2.sh new file mode 100644 index 0000000..057d231 --- /dev/null +++ b/.install/Shades of Doom 1.2.sh @@ -0,0 +1,4 @@ +download "http://gmagames.com/sod1208.exe" +install_wine_bottle vb6run dx8vb speechsdk +wine "${cache}/sod1208.exe" /sp- /verysilent +add_launcher "c:\Program Files\Shades of Doom 1.2\sod.exe" diff --git a/.install/Shades of Doom.sh b/.install/Shades of Doom.sh new file mode 100644 index 0000000..fd8eedd --- /dev/null +++ b/.install/Shades of Doom.sh @@ -0,0 +1,5 @@ +export winVer="win7" +download "http://www.gmagames.com/sod20022.exe" +install_wine_bottle vb6run dx8vb speechsdk +wine "${cache}/sod20022.exe" /silent +add_launcher "c:\Program Files\Shades of Doom 2.0\sod.exe" diff --git a/.install/Shadow Line.sh b/.install/Shadow Line.sh new file mode 100644 index 0000000..4f02b80 --- /dev/null +++ b/.install/Shadow Line.sh @@ -0,0 +1,24 @@ +export version="7.7" +download "https://www.mm-galabo.com/sr/Download_files_srfv/shadowrine_fullvoice3.171.exe" "https://raw.githubusercontent.com/LordLuceus/sr-english-localization/master/language_en.dat" +install_wine "$version" "32" +export winVer="win8" +install_wine_bottle +$wine "${cache}/shadowrine_fullvoice3.171.exe" /sp- & +xdotool sleep 30 key --clearmodifiers --delay=500 Return +xdotool key --clearmodifiers --delay=500 Return +xdotool key --clearmodifiers --delay=500 Return +xdotool key --clearmodifiers --delay=500 Return +echo "Running installer, this will take approximately 3 minutes..." +xdotool sleep 180 key --clearmodifiers --delay=500 Down +xdotool key --clearmodifiers --delay=500 space +xdotool key --clearmodifiers --delay=500 alt+f +${wine}server -w +mv -v "${cache}/language_en.dat" "${WINEPREFIX}/drive_c/Program Files/GalaxyLaboratory/ShadowRine_FullVoice/SystemData/language_en.dat" +add_launcher "c:\Program Files\GalaxyLaboratory\ShadowRine_FullVoice\play_sr.exe" +echo "Please set the language to English when the game opens." +echo "Go to options and press enter." +echo "Press down arrow 5 times and press enter." +echo "Press down arrow 1 time and press enter." +echo "Press up arrow 2 times and press enter." +echo "If everything worked as expected you should be back on the game menu and speech should work." +alert diff --git a/.install/Side Party.sh b/.install/Side Party.sh new file mode 100644 index 0000000..4b5fa17 --- /dev/null +++ b/.install/Side Party.sh @@ -0,0 +1,31 @@ +export WINEARCH=win64 +export winVer="win7" +get_installer "sideparty-win.zip" "https://masonasons.itch.io/sideparty" +download "https://github.com/RastislavKish/nvda2speechd/releases/download/v0.1/nvda2speechd64.dll" \ + "https://stormgames.wolfe.casa/downloads/SidePartySettings.dat" +install_wine_bottle +unzip -d "$WINEPREFIX/drive_c/Program Files/Side Party" "${cache}/sideparty-win.zip" +find "${WINEPREFIX}" -type f -name 'nvdaControllerClient64.dll' -exec cp -v "${cache}/nvda2speechd64.dll" "{}" \; +add_launcher "c:\Program Files\Side Party\SideParty.exe" +alert +sidePartyUser="$(dialog --ok-label "Continue" \ + --backtitle "Audiogame Manager" \ + --inputbox "Please enter a user name for Side Party score board:" -1 -1 --stdout)" +mkdir -p "$WINEPREFIX/drive_c/Program Files/Side Party/masonasons.me/SideParty" +cp -v "${cache}/SidePartySettings.dat" "$WINEPREFIX/drive_c/Program Files/Side Party/masonasons.me/SideParty/settings.dat" +if [[ ${#sidePartyUser} -gt 3 ]]; then + sed -i "s/Anonymous/${sidePartyUser}/" "$WINEPREFIX/drive_c/Program Files/Side Party/masonasons.me/SideParty/settings.dat" +fi + "Silver Dollar") +export winVer="win7" +export bottle="draconis" +download "http://download.dracoent.com/Windows/SilverDollarSetup.exe" +install_wine_bottle speechsdk +cp -v "${cache}/SilverDollarSetup.exe" "$WINEPREFIX/drive_c/windows/temp/" +wine "c:/windows/temp/SilverDollarSetup.exe" /sp- /silent +rm -fv "$WINEPREFIX/drive_c/windows/temp/SilverDollarSetup.exe" +# warning warning warning: Do not change location, or installer will not function. +# FIXME: Hacky, but it works. Install dotnet40 by itself so it actually doesn't hang. +DISPLAY="" winetricks -q dotnet40 +${wine}server -k # Damn you, dotnet. +add_launcher "c:\Program Files\Draconis Entertainment\Silver Dollar\SilverDollarGui.exe" diff --git a/.install/Simple Fighter.sh b/.install/Simple Fighter.sh new file mode 100644 index 0000000..1f08087 --- /dev/null +++ b/.install/Simple Fighter.sh @@ -0,0 +1,12 @@ +export WINEARCH=win64 +export winVer="win7" +get_installer "simple fighter.exe" "https://tsatria03.itch.io/simple-fighter" +if [[ ! -r "${cache}/simple-fighter-sounds.7z" ]] && [[ ! -r "${cache}/sounds.7z" ]]; then + get_installer "sounds.7z" "https://tsatria03.itch.io/simple-fighter" + mv "${cache}/sounds.7z" "${cache}/simple-fighter-sounds.7z" +fi +install_wine_bottle +7z x -o"$WINEPREFIX/drive_c/Program Files/simple fighter" "${cache}/simple fighter.exe" +7z x -o"$WINEPREFIX/drive_c/Program Files/simple fighter/sounds" "${cache}/simple-fighter-sounds.7z" +find "${WINEPREFIX}/drive_c/Program Files/bf" -type f -name 'nvdaControllerClient64.dll' -exec cp -v "${cache}/nvda2speechd64.dll" "{}" \; +add_launcher "c:\Program Files\simple fighter\game.exe" diff --git a/.install/Sketchbook.sh b/.install/Sketchbook.sh new file mode 100644 index 0000000..e5bf662 --- /dev/null +++ b/.install/Sketchbook.sh @@ -0,0 +1,8 @@ +export winVer="win7" +download "http://sbyw.games/SBYW/SBYW.zip" "http://sbyw.games/SBYW/sounds.zip" "${nvdaControllerClientDll}" +install_wine_bottle speechsdk +mv -v "${cache}/sounds.zip" "${cache}/SBYW-sounds.zip" +unzip -d "$WINEPREFIX/drive_c/Program Files/sketchbook" "${cache}/SBYW.zip" +unzip -d "$WINEPREFIX/drive_c/Program Files/sketchbook" "${cache}/SBYW-sounds.zip" +find "${WINEPREFIX}" -type f -name 'nvdaControllerClient32.dll' -exec cp -v "${cache}/nvdaControllerClient32.dll" "{}" \; +add_launcher "c:\Program Files\sketchbook\SBYW.exe" diff --git a/.install/Slender Lost Vision.sh b/.install/Slender Lost Vision.sh new file mode 100644 index 0000000..3b4f4ab --- /dev/null +++ b/.install/Slender Lost Vision.sh @@ -0,0 +1,23 @@ +export winVer="win7" +download "https://www.iamtalon.me/games/slender.zip" +install_wine_bottle +unzip -d "$WINEPREFIX/drive_c/Program Files/" "${cache}/slender.zip" +add_launcher "c:\Program Files\slender\slender.exe" + "Shooter") +export WINEARCH=win64 +export winVer="win7" +get_installer "shooter-win.zip" "https://brynify.itch.io/shooter" +download "https://github.com/RastislavKish/nvda2speechd/releases/download/v0.1/nvda2speechd64.dll" +install_wine_bottle +unzip -d "$WINEPREFIX/drive_c/Program Files/shooter" "${cache}/shooter-win.zip" +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/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" diff --git a/.install/Sonic Zoom.sh b/.install/Sonic Zoom.sh new file mode 100644 index 0000000..e78f2cc --- /dev/null +++ b/.install/Sonic Zoom.sh @@ -0,0 +1,18 @@ +export winVer="win7" +download "http://wwwx.cs.unc.edu/Research/assist/et/projects/SonicZoom/soniczoom11.zip" +install_wine_bottle speechsdk +unzip -d "$WINEPREFIX/drive_c/Program Files/" "${cache}/soniczoom11.zip" +add_launcher "c:\Program Files\Sonic Zoom\SonicZoom.exe" + "Space Defender") +export WINEARCH="win64" +export winVer="win7" +download "http://tunmi13.ddns.net/projects/space_defender.zip" "https://stormgames.wolfe.casa/downloads/nvdaControllerClient64.dll" +install_wine_bottle +unzip -d "$WINEPREFIX/drive_c/Program Files/" "${cache}/space_defender.zip" +find "${WINEPREFIX}" -type f -name 'nvdaControllerClient64.dll' -exec cp -v "${cache}/nvdaControllerClient64.dll" "{}" \; +add_launcher "c:\Program Files\space_defender\sdefender.exe" + "Star Treck Final Conflict") +download "https://agarchive.net/games/USA/star%20trek%20final%20conflict%20Setup.exe" +install_wine_bottle speechsdk +wine "${cache}/star trek final conflict Setup.exe" /silent +add_launcher "c:\Program Files\USA Games\Final Conflict\stfc.exe" diff --git a/.install/Sonic the Hedgehog.sh b/.install/Sonic the Hedgehog.sh new file mode 100644 index 0000000..5c041aa --- /dev/null +++ b/.install/Sonic the Hedgehog.sh @@ -0,0 +1,5 @@ +export winVer="win7" +download "https://www.agarchive.net/games/jeqoconGames/sonic%20the%20hedgehog.7z" +install_wine_bottle speechsdk +7z x -o"$WINEPREFIX/drive_c/Program Files/Sonic the Hedgehog" "${cache}/sonic the hedgehog.7z" +add_launcher "c:\Program Files\Sonic the Hedgehog\sth.exe" diff --git a/.install/Super Deekout.sh b/.install/Super Deekout.sh new file mode 100644 index 0000000..92f96e6 --- /dev/null +++ b/.install/Super Deekout.sh @@ -0,0 +1,34 @@ +export bottle=dan-z +download "http://www.danielzingaro.com/superdeekout_setup.exe" "http://www.danielzingaro.com/sd_full.exe" +install_wine_bottle vb6run dx8vb +${wine} "${cache}/superdeekout_setup.exe" & +xdotool sleep 15 key --delay 100 y 2> /dev/null +xdotool sleep 3 key --delay 250 alt+n 2> /dev/null +xdotool key --delay 250 alt+a 2> /dev/null +xdotool key --delay 250 space 2> /dev/null +xdotool key --delay 250 alt+n 2> /dev/null +xdotool key --delay 250 alt+n 2> /dev/null +xdotool key --delay 250 alt+n 2> /dev/null +xdotool key --delay 250 alt+i 2> /dev/null +xdotool sleep 15 key --delay 250 alt+f 2> /dev/null +xdotool sleep 3 key --delay 250 n 2> /dev/null +${wine}server -k +7z x -y -o"$WINEPREFIX/drive_c/Program Files/Super Deekout" "${cache}/sd_full.exe" +echo "Super Deekout needs some information before it will run:" +alert +read -erp "Please enter your first name: " fname +read -erp "Please enter your last name: " lname +read -erp "Please enter your email address: " email +${wine} "c:\Program Files\Super Deekout\config.exe" & +xdotool sleep 5 key --delay 100 Return 2> /dev/null +xdotool sleep 3 type --clearmodifiers --delay 100 "${fname}" +xdotool key --clearmodifiers --delay 100 Tab 2> /dev/null +xdotool sleep 1 type --clearmodifiers --delay 100 "${lname}" +xdotool key --clearmodifiers --delay 100 Tab 2> /dev/null +xdotool sleep 1 type --clearmodifiers --delay 100 "${email}" +xdotool key --clearmodifiers --delay 100 Tab 2> /dev/null +xdotool sleep 15 key --delay 100 u 2> /dev/null +xdotool key --clearmodifiers --delay 100 Tab 2> /dev/null +xdotool sleep 1 key --delay 250 Return 2> /dev/null +${wine}server -k +add_launcher "c:\Program Files\Super Deekout\super.exe" diff --git a/.install/Super Dogs Bone Hunt.sh b/.install/Super Dogs Bone Hunt.sh new file mode 100644 index 0000000..0ff58a1 --- /dev/null +++ b/.install/Super Dogs Bone Hunt.sh @@ -0,0 +1,4 @@ +download "http://www.pcs-games.net/SBH11.exe" +install_wine_bottle vb6run dx8vb speechsdk +wine "${cache}/SBH11.exe" /sp- /silent +add_launcher "c:\Program Files\SuperDog's Bone Hunt\sbh.exe" diff --git a/.install/Super Egg Hunt.sh b/.install/Super Egg Hunt.sh new file mode 100644 index 0000000..75138e6 --- /dev/null +++ b/.install/Super Egg Hunt.sh @@ -0,0 +1,5 @@ +export bottle="l-works" +download "http://files.l-works.net/superegghuntsetup.exe" +install_wine_bottle +wine "${cache}/superegghuntsetup.exe" /silent +add_launcher "c:\Program Files\Lworks\super egg hunt\superegghunt.exe" diff --git a/.install/Super Liam.sh b/.install/Super Liam.sh new file mode 100644 index 0000000..2d47580 --- /dev/null +++ b/.install/Super Liam.sh @@ -0,0 +1,5 @@ +export bottle="l-works" +download "http://files.l-works.net/superliamsetup.exe" +install_wine_bottle vb6run dx8vb +wine "${cache}/superliamsetup.exe" /silent +add_launcher "c:\Program Files\lWorks\Super Liam\sl.exe" diff --git a/.install/Super Mario Bros.sh b/.install/Super Mario Bros.sh new file mode 100644 index 0000000..baccca8 --- /dev/null +++ b/.install/Super Mario Bros.sh @@ -0,0 +1,5 @@ +export winVer="win7" +download "https://www.agarchive.net/games/jeqoconGames/super%20mario%20bros.7z" +install_wine_bottle speechsdk +7z x -o"$WINEPREFIX/drive_c/Program Files/Super Mario Bros" "${cache}/super mario bros.7z" +add_launcher "c:\Program Files\Super Mario Bros\Mario.exe" diff --git a/.install/Swamp.sh b/.install/Swamp.sh new file mode 100644 index 0000000..5e5f270 --- /dev/null +++ b/.install/Swamp.sh @@ -0,0 +1,20 @@ +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_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 + unzip -o -d "$WINEPREFIX/drive_c/Program Files/swamp" "${cache}/SwampPatch.zip" +fi +$wine 'c:\Program Files\swamp\checkup.exe' /verysilent +#$wine cmd.exe /c 'cd /d c:\Program Files\swamp && Windows32bit.bat' +# Delete music if requested. +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" diff --git a/.install/Tactical Battle.sh b/.install/Tactical Battle.sh new file mode 100644 index 0000000..14290ba --- /dev/null +++ b/.install/Tactical Battle.sh @@ -0,0 +1,6 @@ +download "https://blindgamers.com/downloads/Tactical%20Battle%20Dev.zip" +install_wine_bottle speechsdk +LC_ALL=C DISPLAY="" winetricks -q dotnet462 +${wine}server -k +unzip -d "$WINEPREFIX/drive_c/Program Files/Tactical Battle" "${cache}/Tactical Battle Dev.zip" +add_launcher "c:\Program Files\Tactical Battle\Tactical Battle.exe" diff --git a/.install/Tarot Assistant.sh b/.install/Tarot Assistant.sh new file mode 100644 index 0000000..5430bfe --- /dev/null +++ b/.install/Tarot Assistant.sh @@ -0,0 +1,7 @@ +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" diff --git a/.install/Technoshock.sh b/.install/Technoshock.sh new file mode 100644 index 0000000..0b239c3 --- /dev/null +++ b/.install/Technoshock.sh @@ -0,0 +1,8 @@ +download "http://tiflocomp.ru/download/games/technoshock_140b_en.zip" "http://tiflocomp.ru/download/games/technoshock140b_en_update.zip" +install_wine_bottle +unzip -d "$WINEPREFIX/drive_c/Program Files" "${cache}/technoshock_140b_en.zip" +unzip -d "$WINEPREFIX/drive_c/Program Files" "${cache}/technoshock_140b_en_update.zip" +wine "$WINEPREFIX/drive_c/Program Files/setup_eng.exe" /silent +${wine}server -w +wine "$WINEPREFIX/drive_c/Program Files/setup_eng_update_pack.exe" /silent +add_launcher "c:\Program Files\Tiflocomp Games\Technoshock\ts.exe" diff --git a/.install/Ten Pin Alley.sh b/.install/Ten Pin Alley.sh new file mode 100644 index 0000000..743f197 --- /dev/null +++ b/.install/Ten Pin Alley.sh @@ -0,0 +1,13 @@ +export winVer="win7" +export bottle="draconis" +download "http://download.dracoent.com/Windows/classic/TPAXPSetup.exe" +install_wine_bottle vb6run dx8vb speechsdk quartz +cp -v "${cache}/TPAXPSetup.exe" "$WINEPREFIX/drive_c/windows/temp/" +wine "c:/windows/temp/TPAXPSetup.exe" /sp- /silent +rm -fv "$WINEPREFIX/drive_c/windows/temp/TPAXPSetup.exe" +#winetricks -q msdxmocx # I think having this installed first breaks things. +# warning warning warning: Do not change location, or installer will not function. +# FIXME: Hacky, but it works. Install dotnet20 by itself so it actually doesn't hang. +winetricks -q dotnet20 +${wine}server -k # Damn you, dotnet. +add_launcher "c:\Program Files\Draconis Entertainment\Ten Pin Alley\tpa.exe" diff --git a/.install/The Blind Swordsman.sh b/.install/The Blind Swordsman.sh new file mode 100644 index 0000000..a6fc2bc --- /dev/null +++ b/.install/The Blind Swordsman.sh @@ -0,0 +1,4 @@ +download "https://www.agarchive.net/games/other/the%20blind%20swordsmanPC.zip" +install_wine_bottle +unzip -d "$WINEPREFIX/drive_c/Program Files" "${cache}/the blind swordsmanPC.zip" +add_launcher "c:\Program Files\TheBlindSwordsman.exe" diff --git a/.install/The Gate.sh b/.install/The Gate.sh new file mode 100644 index 0000000..a4fa9a9 --- /dev/null +++ b/.install/The Gate.sh @@ -0,0 +1,5 @@ +export winVer="win7" +download "http://www.vgstorm.com/the_gate_installer.exe" +install_wine_bottle +wine "${cache}/the_gate_installer.exe" /silent +add_launcher "c:\Program Files\VGStorm.com\The Gate\gate.exe" diff --git a/.install/The Great Toy Robbery.sh b/.install/The Great Toy Robbery.sh new file mode 100644 index 0000000..67f79b7 --- /dev/null +++ b/.install/The Great Toy Robbery.sh @@ -0,0 +1,7 @@ +export bottle="l-works" +export winVer="win7" +download "http://files.l-works.net/tgtrsetup_2.04.exe" "https://github.com/RastislavKish/nvda2speechd/releases/download/v0.1/nvda2speechd32.dll" +install_wine_bottle dsound directmusic +wine "${cache}/tgtrsetup_2.04.exe" /silent +find "${WINEPREFIX}/drive_c/Program Files/Lworks/The Great Toy Robbery" -type f -name 'nvdaControllerClient32.dll' -exec cp -v "${cache}/nvda2speechd32.dll" "{}" \; +add_launcher "c:\Program Files\Lworks\The Great Toy Robbery\tgtr.exe" diff --git a/.install/The Vale.sh b/.install/The Vale.sh new file mode 100644 index 0000000..212707c --- /dev/null +++ b/.install/The Vale.sh @@ -0,0 +1,9 @@ +get_installer "the-vale-win.zip" "https://falling-squirrel.itch.io/the-vale" +export WINEARCH=win64 +export winVer="win8" +install_wine_bottle +unzip -d "$WINEPREFIX/drive_c/Program Files/the-vale" "${cache}/the-vale-win.zip" +# Weird work around to get keyboard working. +winetricks -q usetakefocus=y +winetricks -q usetakefocus=n +add_launcher "c:\Program Files\the-vale\TheVale.exe" diff --git a/.install/They'll Come from the Moon.sh b/.install/They'll Come from the Moon.sh new file mode 100644 index 0000000..c339615 --- /dev/null +++ b/.install/They'll Come from the Moon.sh @@ -0,0 +1,13 @@ +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 diff --git a/.install/Thief.sh b/.install/Thief.sh new file mode 100644 index 0000000..5a4f10a --- /dev/null +++ b/.install/Thief.sh @@ -0,0 +1,6 @@ +export bottle="oriol-gomez" +export winVer="win7" +download "http://oriolgomez.com/games/thief_en.zip" +install_wine_bottle +unzip -d "$WINEPREFIX/drive_c/Program Files/thief" "${cache}/thief_en.zip" +add_launcher "c:\Program Files\thief\game.exe" diff --git a/.install/Three D velocity.sh b/.install/Three D velocity.sh new file mode 100644 index 0000000..6a33f34 --- /dev/null +++ b/.install/Three D velocity.sh @@ -0,0 +1,12 @@ +export winVer="win10" +export WINEARCH=win64 +export norh=false # Must install a voice, and rhvoice works easily with 64 bit. +download "https://github.com/munawarb/Three-D-Velocity-Binaries/archive/master.zip" "https://github.com/RastislavKish/nvda2speechd/releases/download/v0.1/nvda2speechd64.dll" "https://github.com/RastislavKish/nvda2speechd/releases/download/v0.1/nvda2speechd32.dll" +install_wine_bottle sapi vcrun2008 gdiplus xact dotnet48 xna40 +# Dotnet is evil. That is all. +# LC_ALL=C winetricks -q dotnet48 +# ${wine}server -k # Ha ha ha. +unzip -d "$WINEPREFIX/drive_c/Program Files" "${cache}/master.zip" +find "${WINEPREFIX}" -type f -name 'nvdaControllerClient32.dll' -exec cp -v "${cache}/nvda2speechd32.dll" "{}" \; +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" diff --git a/.install/Tomb Hunter.sh b/.install/Tomb Hunter.sh new file mode 100644 index 0000000..f36e363 --- /dev/null +++ b/.install/Tomb Hunter.sh @@ -0,0 +1,5 @@ +download "http://masonasons.me/softs/th_freeware_password_is_tombhunter.7z" +install_wine_bottle speechsdk +7z x -o"$WINEPREFIX/drive_c/Program Files/Tomb Hunter" "${cache}/th_freeware_password_is_tombhunter.7z" -ptombhunter +find "${WINEPREFIX}" -type f -name "nvdaControllerClient32.dll" -exec rm -fv "{}" \; +add_launcher "c:\Program Files\Tomb Hunter\th.exe" diff --git a/.install/Top Speed 2.sh b/.install/Top Speed 2.sh new file mode 100644 index 0000000..4d0335d --- /dev/null +++ b/.install/Top Speed 2.sh @@ -0,0 +1,4 @@ +download "http://users.pandora.be/playinginthedark/downloads/Tspeed_2.00.exe" +install_wine_bottle +wine "${cache}/Tspeed_2.00.exe" /silent +add_launcher "c:\Program Files\Playing in the dark\Top Speed 2\TopSpeed.exe" diff --git a/.install/Top Speed 3.sh b/.install/Top Speed 3.sh new file mode 100644 index 0000000..2dcf641 --- /dev/null +++ b/.install/Top Speed 3.sh @@ -0,0 +1,4 @@ +download "https://github.com/PlayingintheDark/TopSpeed/releases/download/h/Tspeed_3.0.3.exe" +install_wine_bottle directplay +wine "${cache}/Tspeed_3.0.3.exe" /silent +add_launcher "c:\Program Files\Playing in the dark\Top Speed 3\TopSpeed.exe" diff --git a/.install/Traders of Known Space.sh b/.install/Traders of Known Space.sh new file mode 100644 index 0000000..7acbc03 --- /dev/null +++ b/.install/Traders of Known Space.sh @@ -0,0 +1,4 @@ +download "http://www.valiantgalaxy.com/tks/tradersOfKnownSpace0.0.0.5Installer.exe" +install_wine_bottle +wine "${cache}/tradersOfKnownSpace0.0.0.5Installer.exe" /silent +add_launcher "c:\Program Files\VGA\TKS\tradersOfKnownSpace.exe" diff --git a/.install/Triple Triad.sh b/.install/Triple Triad.sh new file mode 100644 index 0000000..4e3bf6f --- /dev/null +++ b/.install/Triple Triad.sh @@ -0,0 +1,7 @@ +export bottle="aprone" +export winVer="win7" +download "https://www.kaldobsky.com/audiogames/tripletriad.zip" +install_wine_bottle vb6run dx8vb speechsdk +unzip -d "$WINEPREFIX/drive_c/Program Files/Triple Triad" "${cache}/tripletriad.zip" +wine "c:\Program Files\Triple Triad\Checkup.exe" /verysilent +add_launcher "c:\Program Files\Triple Triad\TripleTriad.exe" diff --git a/.install/Troopanum2.sh b/.install/Troopanum2.sh new file mode 100644 index 0000000..07db0e3 --- /dev/null +++ b/.install/Troopanum2.sh @@ -0,0 +1,41 @@ +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 dotnet35sp1 +${wine}server -k # Damn you, dotnet. +wine "${cache}/Troopanum2Setup.exe" /silent & +xdotool sleep 10 key --clearmodifiers alt+y 2> /dev/null +sleep 30 && ${wine}server -k # Sometimes the installer finishes but the ${wine}server has more processes that don't exit, so we can't depend on ${wine}server -w. +mkdir -p "$WINEPREFIX/drive_c/Program Files/bsc-key-generator" +7z x -o"$WINEPREFIX/drive_c/Program Files/bsc-key-generator" "${cache}/BSC unlock code generator.7z" +echo "$USER"$'\n'"$(hostname)"$'\n'"none"$'\n'"US" > "$WINEPREFIX/drive_c/Program Files/Troopanum 2.0/config.dat" +unix2dos "$WINEPREFIX/drive_c/Program Files/Troopanum 2.0/config.dat" +if command -v xclip &> /dev/null && command -v xdotool &> /dev/null ; then + wine "c:\Program Files\Troopanum 2.0\register.exe" & + xdotool sleep 10 key Return sleep 2 key Return sleep 2 key Alt+n + sleep 1 + regcode="$(xclip -selection clipboard -o)" + xdotool sleep 1 key Shift+Tab sleep 1 key Return + # FIXME: Kind of hacky, but let's make sure it actually exitted. + sleep 5 + ${wine}server -k + wine "c:\Program Files\bsc-key-generator\BlindsoftwareUnlockCodeGenerator.exe" & + xdotool sleep 10 key Return sleep 2 type t + xdotool sleep 1 type t + xdotool sleep 1 key Tab sleep 1 type $regcode + xdotool sleep 1 key Tab sleep 1 key Return + sleep 2 + regcode="$(xclip -selection clipboard -o)" # Might as well reuse the variable. + # FIXME: Kind of hacky, but let's make sure it actually exitted since I can't find a good way to exit this program. + sleep 5 + ${wine}server -k + wine "c:\Program Files\Troopanum 2.0\register.exe" & + echo "$regcode" | xclip -selection clipboard + xdotool sleep 10 key Return sleep 2 key Shift+Tab sleep 1 key Shift+Tab sleep 1 key Return + # FIXME: Kind of hacky, but let's make sure it actually exitted. + sleep 5 + ${wine}server -k +else + echo "Warning: You need xclip and xdotool for this installer to finish the registration process, however, you don't have them. Either remove the program, install the stated tools, and reinstall it, or go on your own. Caveat Emptor, go to jail, do not pass go, do not collect audiogame rewards and all that stuff." +fi +add_launcher "c:\Program Files\Troopanum 2.0\troop.exe" diff --git a/.install/Tube Sim.sh b/.install/Tube Sim.sh new file mode 100644 index 0000000..ad1221d --- /dev/null +++ b/.install/Tube Sim.sh @@ -0,0 +1,7 @@ +export winVer="win7" +download "http://www.ndadamson.com/downloads/TubeSim1_1_Install.exe" +install_wine_bottle speechsdk +wine "${cache}/TubeSim1_1_Install.exe" /silent & +xdotool sleep 10 key --clearmodifiers Return sleep 1 key alt+n sleep 1 key alt+a sleep 1 key alt+i sleep 10 key alt+f 2> /dev/null +${wine}server -w +add_launcher "c:\Program Files\NASoft\TubeSim\tsMain.exe" diff --git a/.install/Ultimate SounDoku.sh b/.install/Ultimate SounDoku.sh new file mode 100644 index 0000000..966c7fc --- /dev/null +++ b/.install/Ultimate SounDoku.sh @@ -0,0 +1,12 @@ +export winVer="win7" +export bottle="draconis" +download "http://download.dracoent.com/Windows/classic/USSetup.exe" +install_wine_bottle vb6run dx8vb speechsdk quartz +cp -v "${cache}/USSetup.exe" "$WINEPREFIX/drive_c/windows/temp/" +wine "c:/windows/temp/USSetup.exe" /sp- /silent +rm -fv "$WINEPREFIX/drive_c/windows/temp/USSetup.exe" +# warning warning warning: Do not change location, or installer will not function. +# FIXME: Hacky, but it works. Install dotnet20 by itself so it actually doesn't hang. +winetricks -q dotnet20 +${wine}server -k # Damn you, dotnet. +add_launcher "c:\Program Files\Draconis Entertainment\Ultimate Soundoku\soundoku.exe" diff --git a/.install/Undead Assault.sh b/.install/Undead Assault.sh new file mode 100644 index 0000000..f479af0 --- /dev/null +++ b/.install/Undead Assault.sh @@ -0,0 +1,6 @@ +export winVer="win7" +download "http://undead-assault.com/static/files/public/undead_assault.zip" "${nvdaControllerClientDll}" +install_wine_bottle speechsdk +unzip -d "$WINEPREFIX/drive_c/Program Files/undead_assault" "${cache}/undead_assault.zip" +find "${WINEPREFIX}" -type f -name 'nvdaControllerClient32.dll' -exec cp -v "${cache}/nvdaControllerClient32.dll" "{}" \; +add_launcher "c:\Program Files\undead_assault\Undead Assault.exe" diff --git a/.install/VIP Mud.sh b/.install/VIP Mud.sh new file mode 100644 index 0000000..380a7a0 --- /dev/null +++ b/.install/VIP Mud.sh @@ -0,0 +1,14 @@ +download "http://gmagames.com/vipmud20016.exe" "https://github.com/RastislavKish/nvda2speechd/releases/download/v0.1/nvda2speechd32.dll" +export winVer="win7" +install_wine_bottle vb6run dx8vb speechsdk +wine "${cache}/vipmud20016.exe" /silent +mkdir -p "${HOME}/.local/wine/vip-mud/drive_c/users/${USER}/Documents/VIP Mud" +find "${WINEPREFIX}" -type f -name 'nvdaControllerClient.dll' -exec cp -v "${cache}/nvda2speechd32.dll" "{}" \; +find "${WINEPREFIX}" -type f -name 'nvdaControllerClient32.dll' -exec cp -v "${cache}/nvda2speechd32.dll" "{}" \; +add_launcher "c:\Program Files\VIPMud 2.0\vipmud2.exe" +echo +echo "When you first launch VIP Mud You will be presented with several inaccessible dialogs." +echo "To bypass these dialogs, press alt+o, then press enter until speech starts." +echo "To be sure that each new dialog has had time to complete, wait a second between each press of enter." +echo "In each subsequent launch, you will need to hit enter a couple times before it starts speaking." +alert diff --git a/.install/Villains From Beyond.sh b/.install/Villains From Beyond.sh new file mode 100644 index 0000000..03eca82 --- /dev/null +++ b/.install/Villains From Beyond.sh @@ -0,0 +1,7 @@ +export bottle="oriol-gomez" +export winVer="win7" +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 "{}" \; +add_launcher "c:\Program Files\villains from beyond\game.exe" diff --git a/.install/Warsim.sh b/.install/Warsim.sh new file mode 100644 index 0000000..2fd7957 --- /dev/null +++ b/.install/Warsim.sh @@ -0,0 +1,6 @@ +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" +add_launcher "c:\Program Files\Warsim\Warsim.exe" diff --git a/.install/Wave of the Undead.sh b/.install/Wave of the Undead.sh new file mode 100644 index 0000000..cedfc3b --- /dev/null +++ b/.install/Wave of the Undead.sh @@ -0,0 +1,13 @@ +export WINEARCH=win64 +export winVer="win7" +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" & + 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 + xdotool sleep 2 key space + xdotool sleep 2 key Alt+f + ${wine}server -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" diff --git a/.install/Wolf Games Launcher.sh b/.install/Wolf Games Launcher.sh new file mode 100644 index 0000000..fa57097 --- /dev/null +++ b/.install/Wolf Games Launcher.sh @@ -0,0 +1,7 @@ +download "https://sightlesswolf.com/wg-release.zip" "https://github.com/RastislavKish/nvda2speechd/releases/download/v0.1/nvda2speechd64.dll" +export WINEARCH=win64 +export winVer="win7" +install_wine_bottle +unzip -d "$WINEPREFIX/drive_c/Program Files" "${cache}/wg-release.zip" +find "${WINEPREFIX}" -type f -name 'nvdaControllerClient64.dll' -exec cp -v "${cache}/nvda2speechd64.dll" "{}" \; +add_launcher "c:\Program Files\wg-release\WolfGames.exe" diff --git a/.install/World of War.sh b/.install/World of War.sh new file mode 100644 index 0000000..0a12abf --- /dev/null +++ b/.install/World of War.sh @@ -0,0 +1,6 @@ +export bottle="nyanchan" +export winVer="win7" +download "https://www.agarchive.net/games/nyanchan/world%20of%20war%20English.7z" +install_wine_bottle +7z x -o"$WINEPREFIX/drive_c/nyanchangame" "${cache}/world of war English.7z" +add_launcher "c:\nyanchangame\world of war English\world of war.exe" diff --git a/.install/haunted Party.sh b/.install/haunted Party.sh new file mode 100644 index 0000000..95090fc --- /dev/null +++ b/.install/haunted Party.sh @@ -0,0 +1,9 @@ +get_installer "hp.zip" "https://tunmi13.itch.io/haunted-party" +download "https://github.com/RastislavKish/nvda2speechd/releases/download/v0.1/nvda2speechd64.dll" +export WINEARCH=win64 +export winVer="win8" +export bottle=tunmi13-64bit +install_wine_bottle +unzip -d "$WINEPREFIX/drive_c/Program Files/" "${cache}/hp.zip" +find "${WINEPREFIX}/drive_c/Program Files/hp" -type f -name 'nvdaControllerClient64.dll' -exec cp -v "${cache}/nvda2speechd64.dll" "{}" \; +add_launcher "c:\Program Files\hp\hp.exe" diff --git a/audiogame-manager.sh b/audiogame-manager.sh index 69fdf4b..94a5b61 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -713,32 +713,71 @@ install_wine_bottle() { # Install games game_installer() { export LANG="en_US.UTF-8" - # Try to deal with systems in other languages + # Get list of installed games from config file mapfile -t installedGames < <(sed -e '/^$/d' -e '/^[[:space:]]*#/d' "${configFile}" 2> /dev/null | cut -d '|' -f3) - # Create the menu of installed games + # Create the menu of available games by reading from .install directory declare -a menuList - for i in "${gameList[@]}" ; do - local menuItem="$i" - for j in "${installedGames[@]}" ; do + # Get all .sh files from .install directory, excluding those starting with # as first line. + mapfile -t sortedGames < <(for f in "${0%/*}/.install/"*.sh; do + # Skip if first line starts with # + [[ $(head -n1 "$f") == "#"* ]] && continue + echo "${f##*/%.sh}" + done | sort) + for i in "${sortedGames[@]}"; do + local menuItem="${i%.sh}" + menuItem="${menuItem##*/}" + # Check if game is already installed + for j in "${installedGames[@]}"; do if [[ "$j" == "$menuItem" ]]; then unset menuItem + break fi done + # Add to menu if not installed if [[ -n "$menuItem" ]]; then menuList+=("$menuItem" "$menuItem") fi done + # If all games are installed, exit if [[ ${#menuList[@]} -eq 0 ]]; then echo "All games are already installed." exit 0 fi menuList+=("Donate" "Donate") menuList+=("Become a Patron" "Become a Patron") + # Show game selection dialog game="$(dialog --backtitle "Audio Game Installer" \ --clear \ --ok-label "Install" \ --no-tags \ --menu "Please select a game to install" 0 0 0 "${menuList[@]}" --stdout)" + [[ $? -ne 0 ]] && exit 0 + # Handle selection + if [[ -n "$game" ]]; then + case "$game" in + "Donate") + open_url "https://ko-fi.com/stormux" + exit 0 + ;; + "Become a Patron") + open_url "https://patreon.com/stormux" + exit 0 + ;; + *) + # Convert game name to filename format + local installScript="${0%/*}/.install/${game}.sh" + # Check if install script exists + if [[ -f "$installScript" ]]; then + # Source and execute the install script + source "$installScript" + else + dialog --backtitle "Audio Game Installer" \ + --msgbox "Installation script not found for ${game}" -1 -1 + exit 1 + fi + ;; + esac + fi } # remove games @@ -1424,2129 +1463,6 @@ done # Install game based on the selection above. # make sure wine is actually set to something export wine="${wine:-wine}" -case "${game}" in - "A Hero's Call") - download "https://blindgamers.com/downloads/a-heros-call-freeware.zip" "${nvdaControllerClientDll}" - export winVer="win7" - export winetricksSettings="vd=1024x768" - install_wine_bottle speechsdk corefonts - # Dotnet is evil. That is all. - LC_ALL=C DISPLAY="" winetricks -q dotnet462 xna40 - ${wine}server -k # Really! - unzip -d "$WINEPREFIX/drive_c/Program Files" "${cache}/a-heros-call-freeware.zip" - find "${WINEPREFIX}" -type f -name 'nvdaControllerClient32.dll' -exec cp -v "${cache}/nvdaControllerClient32.dll" "{}" \; - add_launcher "c:\Program Files\a-heros-call\A Hero's Call.exe" - ;; - "Adrian's Doom") - download "https://agarchive.net/games/mt/adrian's%20doom.exe" - install_wine_bottle speechsdk - wine "${cache}/adrian's doom.exe" /silent - add_launcher "c:\Program Files\Two Caring Citizens\Adrian's Doom!\adrian.exe" - ;; - "Adventurers At C") - download "http://www.vgstorm.com/aac/aac.zip" "https://www.agarchive.net/games/vg/adventure%20at%20c%20stages.7z" - install_wine_bottle speechsdk - unzip -d "$WINEPREFIX/drive_c/Program Files/aac" "${cache}/aac.zip" - 7z x -o"$WINEPREFIX/drive_c/Program Files/aac/stages" "${cache}/adventure at c stages.7z" - add_launcher "c:\Program Files\aac\aac.exe" - ;; - "Alien Outback") - download "http://download.dracoent.com/Windows/classic/AOSetup.exe" - export bottle="draconis" - export winVer="win7" - install_wine_bottle vb6run dx8vb speechsdk quartz - cp -v "${cache}/AOSetup.exe" "$WINEPREFIX/drive_c/windows/temp/" - wine "c:/windows/temp/AOSetup.exe" /sp- /silent - rm -fv "$WINEPREFIX/drive_c/windows/temp/AOSetup.exe" - # warning warning warning: Do not change location, or installer will not function. - # FIXME: Hacky, but it works. Install dotnet20 by itself so it actually doesn't hang. - winetricks -q dotnet20 - ${wine}server -k # Damn you, dotnet. - add_launcher "c:\Program Files\Draconis Entertainment\Alien Outback\ao.exe" - ;; - "Angel Gift") -download "https://erion.cf/files/ag_103.zip" - install_wine_bottle speechsdk - unzip -d "$WINEPREFIX/drive_c/Program Files/Angel Gift" "$cache/ag_103.zip" - add_launcher 'c:\Program Files\Angel Gift\ag.exe' - ;; - "AudioDisc") - download "https://agarchive.net/games/other/audiodisc.zip" - install_wine_bottle - unzip -d "$WINEPREFIX/drive_c/Program Files" "${cache}/audiodisc.zip" - add_launcher "c:\Program Files\audiodisc\disco.exe" - ;; - "AudioQuake") - download "https://github.com/matatk/agrip/releases/download/2020.0-beta1/AudioQuake+LDL_2020.0-beta1_Windows.zip" "https://stormgames.wolfe.casa/downloads/quake.zip" - export winVer="win7" - install_wine_bottle speechsdk - unzip -d "$WINEPREFIX/drive_c/Program Files" "${cache}/AudioQuake+LDL_2020.0-beta1_Windows.zip" - unzip -d "$WINEPREFIX/drive_c/Program Files/AudioQuake/id1" "${cache}/quake.zip" - add_launcher "c:\Program Files\AudioQuake\AudioQuake.exe" - echo - echo "After you launch the game, press tab then enter and it should begin speaking." - alert - ;; - "Balatro") - download "https://github.com/RastislavKish/nvda2speechd/releases/download/v0.1/nvda2speechd64.dll" "https://stormgames.wolfe.casa/downloads/Tolk.dll" "https://github.com/Aurelius7309/BlackHole/releases/download/0.3.1/BlackHole-Release.zip" - export WINEARCH=win64 - export winVer="win10" - install_wine_bottle - get_steam "2379780" "https://store.steampowered.com/app/2379780/Balatro/" - mkdir -p "$WINEPREFIX/drive_c/users/$USER/AppData/Roaming/Balatro/Mods" - unzip -d "$WINEPREFIX/drive_c/users/$USER/AppData/Roaming/Balatro" "$cache/BlackHole-Release.zip" - pushd "$WINEPREFIX/drive_c/users/$USER/AppData/Roaming/Balatro/Mods" - (cat mod_urls.txt ; echo) | while read -r x ; do - git clone "$x" - done - cp -v BlackHole/bin/*.dll "$WINEPREFIX/drive_c/Program Files/Balatro" - cp -v "$cache/Tolk.dll" "$WINEPREFIX/drive_c/Program Files/Balatro/tolk.dll" - cp -v "$cache/Tolk.dll" BlackHole/bin/tolk.dll - cp -v "$cache/nvda2speechd64.dll" "$WINEPREFIX/drive_c/Program Files/Balatro/nvdaControllerClient64.dll" - cp -v "$cache/nvda2speechd64.dll" BlackHole/bin/nvdaControllerClient64.dll - cp -v ../version.dll "$WINEPREFIX/drive_c/Program Files/Balatro" - add_launcher 'c:\Program Files\Balatro\Balatro.exe' 'export WINEDLLOVERRIDES=version=n,b' - ;; - "Battlefield 2D") - get_installer "bf.zip" "https://tunmi13.itch.io/battlefield-2d" - download "https://github.com/RastislavKish/nvda2speechd/releases/download/v0.1/nvda2speechd64.dll" - export WINEARCH=win64 - export winVer="win8" - export bottle=tunmi13-64bit - install_wine_bottle - unzip -d "$WINEPREFIX/drive_c/Program Files/" "${cache}/bf.zip" - find "${WINEPREFIX}/drive_c/Program Files/bf" -type f -name 'nvdaControllerClient64.dll' -exec cp -v "${cache}/nvda2speechd64.dll" "{}" \; - add_launcher "c:\Program Files\bf\bf.exe" - ;; - "Battle of the Hunter") - download "http://tunmi13.ddns.net/projects/bth.zip" - export bottle="tunmi13" - export winVer="win7" - install_wine_bottle speechsdk - unzip -d "$WINEPREFIX/drive_c/Program Files/$game" "${cache}/bth.zip" - find "${WINEPREFIX}" -type f -name "nvdaControllerClient32.dll" -exec rm -fv "{}" \; - add_launcher "c:\Program Files\\${game}\bth.exe" - ;; - "Battle Zone") - download "https://www.agarchive.net/games/gameMadnessInteractive/battle%20zone%2013.5%20setup.exe" - export winVer="win7" - install_wine_bottle speechsdk - wine "${cache}/battle zone 13.5 setup.exe" /silent - find "${WINEPREFIX}" -type f -name "nvdaControllerClient32.dll" -exec rm -fv "{}" \; - add_launcher "c:\Program Files\Battle Zone\ss.exe" - ;; - "Beatstar Pro") - download "https://oriolgomez.com/games/beat_windows.zip" - # Sapi is broken on win64 for now, and this game doesn't support nvda it seems. - export WINEARCH=win64 - export winVer="win7" - install_wine_bottle mf - unzip -d "$WINEPREFIX/drive_c/Program Files/Beatstar Pro" "${cache}/beat_windows.zip" - add_launcher "c:\Program Files\Beatstar Pro\beatstar.exe" - ;; - "BG 2048") - export bottle="bg" - download "${ipfsGateway}/ipfs/QmPNt3c78UBgEMrTH3eJ5eD2mCMdth6jwes1iDKGW24Uj5?filename=BG204832Setup10a.exe" - install_wine_bottle speechsdk - wine "${cache}/BG204832Setup10a.exe" /silent - add_launcher "c:\Program Files\Games\BG2048B\BG2048.exe" - ;; - "BG 15 Puzzle") - export bottle="bg" - download "${ipfsGateway}/ipfs/QmQiocMpMXoxejDftKKvmrR5xxpj1qcWcgkhBBwTcyijXg?filename=FPB32Setup10a.exe" - install_wine_bottle speechsdk - wine "${cache}/FPB32Setup10a.exe" /silent - add_launcher "c:\Program Files\Games\FifteenB\FifteenB.exe" - ;; - "BG Aces Up Solitaire") - export bottle="bg" - download "${ipfsGateway}/ipfs/QmTshtHBEV9dh7wFtaQpNUEYHZ3fBpuhSRZqc7k8HwmtPM?filename=ASB32Setup10.exe" - install_wine_bottle speechsdk - wine "${cache}/ASB32Setup10.exe" /silent - add_launcher "c:\Program Files\Games\AcesUpB\AcesUpB.exe" - ;; - "BG Alchemy") - export bottle="bg" - download "${ipfsGateway}/ipfs/Qma76HXBhmKgMDeHH1XLePsaWzzzLsBS2HRL3c7MVwDokg?filename=BAC32Setup10.exe" - install_wine_bottle speechsdk - wine "${cache}/BAC32Setup10.exe" /silent - add_launcher "c:\Program Files\Games\AlchemyB\AlchemyB.exe" - ;; - "BG Battleship") - export bottle="bg" - download "${ipfsGateway}/ipfs/Qmaq9P9fxdLTEFMGg4mhHrRuUbPg6HgU3eYVJNqZUimHjo?filename=BGB32Setup10.exe" - install_wine_bottle speechsdk - wine "${cache}/BGB32Setup10.exe" /silent - add_launcher "c:\Program Files\Games\BattleshipB\BGBattleship.exe" - ;; - "BG Boggle") - export bottle="bg" - download "${ipfsGateway}/ipfs/QmQwWiJw9hDiPdfwDyL4XepeoD66ztVRi3HwbSjFFP4CNg?filename=BGB32Setup10a.exe" - install_wine_bottle speechsdk - wine "${cache}/BGB32Setup10a.exe" /silent - add_launcher "c:\Program Files\Games\BoggleB\BoggleB.exe" - ;; - "BG Boxes") - export bottle="bg" - download "${ipfsGateway}/ipfs/QmRn21tREXxXVSaDe9i54zEPzPSespjJAFBqu4DWocuagD?filename=BXB32Setup10.exe" - install_wine_bottle speechsdk - wine "${cache}/BXB32Setup10.exe" /silent - add_launcher "c:\Program Files\Games\BoxesB\BoxesB.exe" - ;; - "BG Brainiac") - export bottle="bg" - download "${ipfsGateway}/ipfs/QmWEdmTkQsjSqBgWUgnDajMf8QvQBbEF4Nxo6mhkXYzBtQ?filename=BRN32Setup10a.exe" - install_wine_bottle speechsdk - wine "${cache}/BRN32Setup10a.exe" /silent - add_launcher "c:\Program Files\Games\BrainiacB\BrainiacB.exe" - ;; - "BG Chess Challenge") - export bottle="bg" - download "${ipfsGateway}/ipfs/QmT2yBpU5Jqna18FxYtyWzi4xMGAY9PyJWStAskxCHqBDw?filename=BGC32Setup10d.exe" - install_wine_bottle speechsdk - wine "${cache}/BGC32Setup10d.exe" /silent - add_launcher "c:\Program Files\Games\ChessB\BGChess.exe" - ;; - "BG Code Breaker") - export bottle="bg" - download "${ipfsGateway}/ipfs/QmU486SssAdM7kPKwDyAKDLQs3Z92bG6wFjaLhzqDZCxAF?filename=BCB32Setup10.exe" - install_wine_bottle speechsdk - wine "${cache}/BCB32Setup10.exe" /silent - add_launcher "c:\Program Files\Games\CodeBreakerB\BGCodeBreaker.exe" - ;; - "BG Cribbage") - export bottle="bg" - download "${ipfsGateway}/ipfs/QmeFud3EPHy7wQe8UENgvh96HdAazEkwqA2AutCNkYvB3t?filename=BGC32Setup12e.exe" - install_wine_bottle speechsdk - wine "${cache}/BGC32Setup12e.exe" /silent - add_launcher "c:\Program Files\Games\CribbageB\CribbageB.exe" - ;; - "BG Cribbage Solitaire") - export bottle="bg" - download "${ipfsGateway}/ipfs/QmbRUiknnNcibWD3NwK4DFZGNHWswBgsFidUzU1TFGJ5Ra?filename=BCS32Setup10.exe" - install_wine_bottle speechsdk - wine "${cache}/BCS32Setup10.exe" /silent - add_launcher "c:\Program Files\Games\CribSolB\CribSolB.exe" - ;; - "BG Crossword Puzzle") - export bottle="bg" - download "${ipfsGateway}/ipfs/QmZQGY9CeATEiWrSqsKBz4AN6jPgQuvbBZSpQoLiMjoDr2?filename=BGX32Setup10h.exe" - install_wine_bottle speechsdk - wine "${cache}/BGX32Setup10h.exe" /silent - add_launcher "c:\Program Files\Games\CrosswordB\CrosswordB.exe" - ;; - "BG Draw Dominoes") - export bottle="bg" - download "${ipfsGateway}/ipfs/QmZQGY9CeATEiWrSqsKBz4AN6jPgQuvbBZSpQoLiMjoDr2?filename=BDD32Setup.exe" - install_wine_bottle speechsdk - wine "${cache}/BDD32Setup.exe" /silent - add_launcher "c:\Program Files\Games\DrawDominoesB\DrawDominoesB.exe" - ;; - "BG Elevens Solitaire") - export bottle="bg" - download "${ipfsGateway}/ipfs/QmWWZByYL5CsDSi6gQLGcMyBL7zqD5hWXbPXJr3shRt5AQ?filename=ESB32Setup10.exe" - install_wine_bottle speechsdk - wine "${cache}/ESB32Setup10.exe" /silent - add_launcher "c:\Program Files\Games\ElevensB\ElevensB.exe" - ;; - "BG Fives Dominoes") - export bottle="bg" - download "${ipfsGateway}/ipfs/QmSZt6dz7WQkNrFBmYq9n4WdYrrZyQAebTBPo46uHqCuNi?filename=BFD32Setup10.exe" - install_wine_bottle speechsdk - wine "${cache}/BFD32Setup10.exe" /silent - add_launcher "c:\Program Files\Games\FivesDominoesB\FivesDominoesB.exe" - ;; - "BG Free Cell Solitaire") - export bottle="bg" - download "${ipfsGateway}/ipfs/QmVfQMMnqTD9Zm8Xwv7rGrUTdS9FXToq7Fv6wtQQVgbQGR?filename=BGF32Setup20.exe" - install_wine_bottle speechsdk - wine "${cache}/BGF32Setup20.exe" /silent - add_launcher "c:\Program Files\Games\FreecellB\FreecellB.exe" - ;; - "BG Golf Solitaire") - export bottle="bg" - download "${ipfsGateway}/ipfs/QmfAp9EYou1pndLwYSdpYdUCHBv2DR94oFccQh1ii9JVLD?filename=GSB32Setup10a.exe" - install_wine_bottle speechsdk - wine "${cache}/GSB32Setup10a.exe" /silent - add_launcher "c:\Program Files\Games\GolfSolitaireB\GolfSolitaireB.exe" - ;; - "BG Hangman") - export bottle="bg" - download "${ipfsGateway}/ipfs/QmXTPMmvw7JE2eLuPBLGSpkZqUn12TX7QEQZbX8qtp7GBx?filename=HMB32Setup10.exe" - install_wine_bottle speechsdk - wine "${cache}/HMB32Setup10.exe" /silent - add_launcher "c:\Program Files\Games\HangmanB\HangmanB.exe" - ;; - "BG Hearts") - export bottle="bg" - download "${ipfsGateway}/ipfs/QmdU5ag1PRjvG28wNX7aNuJqZSVxaqEEKjgG6GoRoDT8k4?filename=BGH32Setup10b.exe" - install_wine_bottle speechsdk - wine "${cache}/${BGH32Setup10b.exe}" /silent - add_launcher "c:\Program Files\Games\HeartsB\HeartsB.exe" - ;; - "BG Klondike Solitaire") - export bottle="bg" - download "${ipfsGateway}/ipfs/QmctBDvhQWwER94LvgauR7sMDxv9D1mS9cToV47orTCdzU?filename=BGK32Setup10b.exe" - install_wine_bottle speechsdk - wine "${cache}/BGK32Setup10b.exe" /silent - add_launcher "c:\Program Files\Games\KlondikeB\KlondikeB.exe" - ;; - "BG LAP") - export bottle="bg" - download "${ipfsGateway}/ipfs/Qma5WeCC9B2P5abRGX9nGYV8Zi9F8vfCCr4ehejP2bgmNm?filename=LAP32Setup10.exe" - install_wine_bottle speechsdk - wine "${cache}/LAP32Setup10.exe" /silent - add_launcher "c:\Program Files\Games\LAP\LAP.exe" - ;; - "BG Master Mind") - export bottle="bg" - download "${ipfsGateway}/ipfs/QmP6cwMbirbBqAaG9JLfNRnD2dvJfh6nq74kfwxs5hN2RQ?filename=BMM32Setup10.exe" - install_wine_bottle speechsdk - wine "${cache}/BMM32Setup10.exe" /silent - add_launcher "c:\Program Files\Games\MastermindB\BGMasterMind.exe" - ;; - "BG Mine Sweeper") - export bottle="bg" - download "${ipfsGateway}/ipfs/QmRa54HroWjwxHYfKr6hdmP34sHW5G3ecuzcjMA5UBBVKa?filename=MSB32Setup10.exe" - install_wine_bottle speechsdk - wine "${cache}/MSB32Setup10.exe" /silent - add_launcher "c:\Program Files\Games\MinesweeperB\MinesweeperB.exe" - ;; - "BG Nomination Whist") - export bottle="bg" - download "${ipfsGateway}/ipfs/Qmb7eGTMDgiaDC9muMW9n8bHoistGcNm1VgHc6sr7dRyHU?filename=BNW32Setup10a.exe" - install_wine_bottle speechsdk - wine "${cache}/BNW32Setup10a.exe" /silent - add_launcher "c:\Program Files\Games\NomWhistB\NomWhistB.exe" - ;; - "BG Penguin Solitaire") - export bottle="bg" - download "${ipfsGateway}/ipfs/QmXKvQ6WNNSnDiSyYmvAhZXVdALnuhUGK7dSMQVkQNReJr?filename=BPS32Setup10c.exe" - install_wine_bottle speechsdk - wine "${cache}/BPS32Setup10c.exe" /silent - add_launcher "c:\Program Files\Games\PenguinB\PenguinB.exe" - ;; - "BG Poker Solitaire") - export bottle="bg" - download "${ipfsGateway}/ipfs/QmPLv74LiDgVGuiGhu9HuPhx3uoMm9QyCYk6jgeFUHjj3S?filename=BPS32Setup10.exe" - install_wine_bottle speechsdk - wine "${cache}/BPS32Setup10.exe" /silent - add_launcher "c:\Program Files\Games\PokerSolB\PokerSolB.exe" - ;; - "BG Pyramid Solitaire") - export bottle="bg" - download "${ipfsGateway}/ipfs/QmaqXaBKD3xY2smhU2LcejXRTPnWZHqaTW9se8yRepLsHu?filename=PSB32Setup10a.exe" - install_wine_bottle speechsdk - wine "${cache}/PSB32Setup10a.exe" /silent - add_launcher "c:\Program Files\Games\PyramidB\PyramidB.exe" - ;; - "BG Scorpion Solitaire") - export bottle="bg" - download "${ipfsGateway}/ipfs/QmSxJs2MiLQ61Fgx6vCpSD7GmQziLiCEU3sZ3mgWc7RsJ8?filename=BSS32Setup10.exe" - install_wine_bottle speechsdk - wine "${cache}/BSS32Setup10.exe" /silent - add_launcher "c:\Program Files\Games\ScorpionB\ScorpionB.exe" - ;; - "BG Simon") - export bottle="bg" - download "${ipfsGateway}/ipfs/QmXtBCqB6VCFPaDYuLaFNP1BDtJSLCJdJZzgm61zMtrsQt?filename=BGS32Setup10.exe" - install_wine_bottle speechsdk - wine "${cache}/BGS32Setup10.exe" /silent - add_launcher "c:\Program Files\Games\SimonB\SimonB.exe" - ;; - "BG Spider Solitaire") - export bottle="bg" - download "${ipfsGateway}/ipfs/QmdWBaDnLVbKCJSpiqF675ew6nJ6KHUVXA5FEH3t3E7UAu?filename=SPB32Setup10b.exe" - install_wine_bottle speechsdk - wine "${cache}/SPB32Setup10b.exe" /silent - add_launcher "c:\Program Files\Games\SpiderB\SpiderB.exe" - ;; - "BG Scrabble") - export bottle="bg" - download "${ipfsGateway}/ipfs/QmVrwyPdJBnmc4wLW7oT2hexxXnXxs8bA7gfiqbnJsWJ16?filename=BGS32Setup20.exe" - install_wine_bottle speechsdk - wine "${cache}/BGS32Setup20.exe" /silent - add_launcher "c:\Program Files\Games\ScrabbleB\ScrabbleB.exe" - ;; - "BG Sudoku") - export bottle="bg" - download "${ipfsGateway}/ipfs/QmXCAHEVRGZBc8t45Jgn2vkxicwF9Aox6yz9XrQBdkv7WY?filename=SDB32Setup10a.exe" - install_wine_bottle speechsdk - wine "${cache}/SDB32Setup10a.exe" /silent - add_launcher "c:\Program Files\Games\SudokuB\SudokuB.exe" - ;; - "BG Tablic Solitaire") - export bottle="bg" - download "${ipfsGateway}/ipfs/QmYoiFQ6JuSXfZfZXT3SQDsYzMWLBu9rW9yivi1xiPjqZx?filename=SDB32Setup10a.exe" - install_wine_bottle speechsdk - wine "${cache}/SDB32Setup10a.exe" /silent - add_launcher "c:\Program Files\Games\TabSolB\BGTabSol.exe" - ;; - "BG Tri-Peaks Solitaire") - export bottle="bg" - download "${ipfsGateway}/ipfs/QmWJGvSR6iaQfMHM3XuGCkWxx285jkzSDdNSvvk3bSCH8S?filename=TPB32Setup10a.exe" - install_wine_bottle speechsdk - wine "${cache}/TPB32Setup10a.exe" /silent - add_launcher "c:\Program Files\Games\TriPeaksB\TriPeaksB.exe" - ;; - "BG Twenty 20 Cricket") - export bottle="bg" - download "${ipfsGateway}/ipfs/QmWAk2TMHMvW6Kjc1sZBEPsxmCNHfY3nF1K723PCqaTa57?filename=TPB32Setup10a.exe" - install_wine_bottle speechsdk - wine "${cache}/T20B32Setup10.exe" /silent - add_launcher "c:\Program Files\Games\T20CricketB\CricketB.exe" - ;; - "BG Uno") - export bottle="bg" - download "${ipfsGateway}/ipfs/QmVsfPkebSoTDwYSXF1n7y4P9eGJTgTcGXdrEjpcV8A3Dv?filename=BGU32Setup11a.exe" - install_wine_bottle speechsdk - wine "${cache}/BGU32Setup11a.exe" /silent - add_launcher "c:\Program Files\Games\UnoB\UnoB.exe" - ;; - "BG Word Builder") - export bottle="bg" - download "${ipfsGateway}/ipfs/QmXtR49EZShyj15Tc9CXQpBYVmKNfZpp4515Epm16bviuH?filename=BWB32Setup10.exe" - install_wine_bottle speechsdk - wine "${cache}/BWB32Setup10.exe" /silent - add_launcher "c:\Program Files\Games\WordBuilderB\WordBuilderB.exe" - ;; - "BG Word Candy") - export bottle="bg" - download "${ipfsGateway}/ipfs/QmfTgfRzd4JMRqKSfDiz76iMorkaG19BqH1K7nRCCDwo4H?filename=WCB32Setup10a.exe" - install_wine_bottle speechsdk - wine "${cache}/WCB32Setup10a.exe" /silent - add_launcher "c:\Program Files\Games\WordCandyB\WordCandyB.exe" - ;; - "BG Word Jumble") - export bottle="bg" - download "${ipfsGateway}/ipfs/QmYQWZZifzKJSuVRCC1SabwRmEDz95GdFvbzRvsBMmTt6e?filename=BWJ32Setup10.exe" - install_wine_bottle speechsdk - wine "${cache}/BWJ32Setup10.wineExec" /silent - add_launcher "c:\Program Files\Games\WordJumbleB\WordJumbleB.exe" - ;; - "BG Word Maze") - export bottle="bg" - download "${ipfsGateway}/ipfs/QmXPtj5PkVZjXpU3m6FAfm8MwVL6bQCvhEDoR385u6FGTL?filename=BWM32Setup10.exe" - install_wine_bottle speechsdk - wine "${cache}/BWM32Setup10.exe" /silent - add_launcher "c:\Program Files\Games\WordMazeB\WordMazeB.exe" - ;; - "BG Word Solitaire") - export bottle="bg" - download "${ipfsGateway}/ipfs/QmZp73ARDPqgnCz7zxfKeBHjNoHrgZSgg2NdQZR2sMyZGD?filename=WSB32Setup10.exe" - install_wine_bottle speechsdk - wine "${cache}/WSB32Setup10.exe" /silent - add_launcher "c:\Program Files\Games\WordSolitaireB\WordSolitaireB.exe" - ;; - "BG Word Target") - export bottle="bg" - download "${ipfsGateway}/ipfs/QmWWZFXVHNtmNkH55oermWWtrMcQ8qVqL687B7kGFyeezq?filename=WTB32Setup10a.exe" - install_wine_bottle speechsdk - wine "${cache}/WTB32Setup10a.exe" /silent - add_launcher "c:\Program Files\Games\WordTargetB\WordTargetB.exe" - ;; - "BG Word Yahtzee") - export bottle="bg" - download "${ipfsGateway}/ipfs/QmdicAVDegDktY3euVAC2PPn4YBGz96KedxYXNe4WDQaoq?filename=BWY32Setup10.exe" - install_wine_bottle speechsdk - wine "${cache}/BWY32Setup10.exe" /silent - add_launcher "c:\Program Files\Games\WordYahtzeeB\BGWordYahtzee.exe" - ;; - "BG Yahtzee") - export bottle="bg" - download "${ipfsGateway}/ipfs/QmZebvkKgFAADnb1cgW6Bz7wTYdUh82X61QdtW66KcvmpF?filename=BGY32Setup10a.exe" - install_wine_bottle speechsdk - wine "${cache}/BGY32Setup10a.exe" /silent - add_launcher "c:\Program Files\Games\yahtzeeB\BGYahtzee.exe" - ;; - "Blind Drive") - get_installer "Blind Drive 1.1.112.00i-win64.zip" "https://lofipeople.itch.io/blind-drive" - 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/blind-drive" "${cache}/Blind Drive 1.1.112.00i-win64.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\blind-drive\Blind Drive.exe" - ;; - "Bloodshed") - download "${ipfsGateway}/ipfs/QmcTCTMep4zp5zTw8ZaXYpjtu9inNPn8bNzwhW6cX97egw?filename=bloodshed.exe" - export winVer="win7" - install_wine_bottle speechsdk - cp "${cache}/bloodshed.exe" "$WINEPREFIX/drive_c/Program Files/" - add_launcher "c:\Program Files\bloodshed.exe" - ;; - "Bokurano Daibouken") - download "https://www.nyanchangames.com/softs/nn_setup.exe" - export bottle="nyanchan" - export winVer="win7" - install_wine_bottle - 7z x -o"$WINEPREFIX/drive_c/nyanchangame/bk" "${cache}/nn_setup.exe" - find "${WINEPREFIX}/drive_c/nyanchangame/bk/" -type f -name 'nvdaControllerClient.dll' -exec rm -v "{}" \; - add_launcher "c:\nyanchangame\bk\play.exe" - ;; - "Bokurano Daibouken 2") - download "https://www.nyanchangames.com/softs/nn2_setup.exe" - export bottle="nyanchan" - export winVer="win7" - install_wine_bottle - 7z x -o"$WINEPREFIX/drive_c/nyanchangame/bk2" "${cache}/nn2_setup.exe" - find "${WINEPREFIX}/drive_c/nyanchangame/bk2/" -type f -name 'nvdaControllerClient.dll' -exec rm -v "{}" \; - add_launcher "c:\nyanchangame\bk2\play.exe" - ;; - "Bokurano Daibouken 3") - if [[ ! -r "${cache}/bk3-dict.dat" ]]; then - echo "http://www.nyanchangames.com/order/bk3translate.html" | xclip -selection clipboard 2> /dev/null - dialog --backtitle "Audiogame manager" --msgbox "If you would like English translations, the file is available at http://www.nyanchangames.com/order/bk3translate.html. Save the dict.dat file to your Downloads or Desktop directory. For convenience the url has been copied to your clipboard. Press enter when you are ready to continue." -1 -1 --stdout - fi - dictFile="" - for i in "${HOME}/Downloads/dict.dat" "${HOME}/Desktop/dict.dat" ; do - if [[ -r "$i" ]]; then - dictFile="$i" - fi - done - if [[ "${#dictFile}" -ge 3 ]] && [[ ! -r "${cache}/bk3-dict.dat" ]]; then - dialog --backtitle "Audiogame manager" --yesno "Possible English translation file found at $dictFile. Would you like to use it for BK3?" -1 -1 --stdout && cp -v "$dictFile" "${cache}/bk3-dict.dat" - fi - download "https://www.nyanchangames.com/softs/nn3_setup.exe" "https://github.com/RastislavKish/nvda2speechd/releases/download/v0.1/nvda2speechd" "https://github.com/RastislavKish/nvda2speechd/releases/download/v0.1/nvda2speechd32.dll" - export bottle="nyanchan" - export winVer="win7" - install_wine_bottle - cp "${cache}/nvda2speechd" "${XDG_DATA_HOME:-$HOME/.local/share}/audiogame-manager/nvda2speechd" - chmod +x "${XDG_DATA_HOME:-$HOME/.local/share}/audiogame-manager/nvda2speechd" - 7z x -o"$WINEPREFIX/drive_c/nyanchangame/bk3" "${cache}/nn3_setup.exe" - find "${WINEPREFIX}" -type f -name 'nvdaControllerClient.dll' -exec cp -v "${cache}/nvda2speechd32.dll" "{}" \; - add_launcher "c:\nyanchangame\bk3\play.exe" - ;; - "Bop It Emulator") - download "http://www.masonasons.me/softs/BopItEmulator3.1PasswordIsBopIt.7z" - export winVer="win7" - install_wine_bottle - 7z x -o"$WINEPREFIX/drive_c/Program Files/Bop It" "${cache}/BopItEmulator3.1PasswordIsBopIt.7z" -pBopIt - add_launcher "c:\Program Files\Bop It\bop.exe" - ;; - "Bounce Bounce") - get_installer "bounce_bounce.rar" "https://kavyapriya.itch.io/bounce-bounce" - download "https://github.com/RastislavKish/nvda2speechd/releases/download/v0.1/nvda2speechd64.dll" - export winVer="win7" - export WINEARCH=win64 - install_wine_bottle - unrar x "${cache}/bounce_bounce.rar" -op"$WINEPREFIX/drive_c/Program Files" - find "${WINEPREFIX}/drive_c/Program Files/bounce_bounce" -type f -name 'nvdaControllerClient64.dll' -exec cp -v "${cache}/nvda2speechd64.dll" "{}" \; - add_launcher "c:\Program Files\bounce_bounce\bounce.exe" - ;; - "Breu2 Shadow Hunt") - download "https://github.com/RastislavKish/nvda2speechd/releases/download/v0.1/nvda2speechd64.dll" - get_installer "breu2.zip" "https://breu.itch.io/shadowhunt" - export WINEARCH=win64 - export winVer="win8" - install_wine_bottle - unzip -d "$WINEPREFIX/drive_c/Program Files/" "${cache}/breu2.zip" - find "${WINEPREFIX}" -type f -name 'nvdaControllerClient.dll' -exec cp -v "${cache}/nvda2speechd64.dll" "{}" \; - add_launcher "c:\Program Files\breu2\breu2.exe" - ;; - "Bombercats") - download "http://oriolgomez.com/games/bombercats_en.zip" - export bottle="oriol-gomez" - export winVer="win7" - install_wine_bottle - unzip -d "$WINEPREFIX/drive_c/Program Files/bomvercats" "${cache}/bombercats_en.zip" - find "${WINEPREFIX}" -type f -name "nvdaControllerClient32.dll" -exec rm -fv "{}" \; - add_launcher "c:\Program Files\bomvercats\game.exe" - ;; - "Breed Memorial") - download "https://hirotaka2014.sakura.ne.jp/mh0406/game/breed_memorial.zip" "${nvdaControllerClientDll}" - export winVer="win7" - install_wine_bottle cjkfonts speechsdk - unzip -d "$WINEPREFIX/drive_c/Program Files/" "${cache}/breed_memorial.zip" - #find "${WINEPREFIX}" -type f -name 'nvdaControllerClient32.dll' -exec cp -v "${cache}/nvdaControllerClient32.dll" "{}" \; - add_launcher "c:\Program Files\Breed memorial\Breed memorial\breed memorial.exe" - ;; - "Castaways") - download "https://www.kaldobsky.com/audiogames/castaways.zip" - export bottle="aprone" - export winVer="win7" - install_wine_bottle vb6run dx8vb speechsdk - unzip -d "$WINEPREFIX/drive_c/Program Files/castaways" "${cache}/castaways.zip" - wine "c:\Program Files\castaways\Checkup.exe" /verysilent - add_launcher "c:\Program Files\castaways\Castaways.exe" - ;; - "Castaways 2") - download "http://www.kaldobsky.com/audiogames/castaways2beta.zip" - export bottle="aprone" - export winVer="win7" - install_wine_bottle vb6run dx8vb speechsdk - unzip -d "$WINEPREFIX/drive_c/Program Files/castaways2" "${cache}/castaways2beta.zip" - wine "c:\Program Files\castaways2\Checkup.exe" /verysilent - add_launcher "c:\Program Files\castaways2\Castaways2.exe" - ;; - "Challenge of the Horse") - download "http://tunmi13.ddns.net/projects/coth.zip" - export bottle="tunmi13" - export winVer="win7" - install_wine_bottle speechsdk - unzip -d "$WINEPREFIX/drive_c/Program Files/$game" "${cache}/coth.zip" - find "${WINEPREFIX}" -type f -name "nvdaControllerClient32.dll" -exec rm -fv "{}" \; - add_launcher "c:\Program Files\\${game}\game.exe" - ;; - "Change Reaction") - download "https://download.dracoent.com/Windows/ChangeReactionSetup.exe" - export bottle="draconis" - export winVer="win7" - install_wine_bottle vb6run dx8vb speechsdk quartz - cp -v "${cache}/ChangeReactionSetup.exe" "$WINEPREFIX/drive_c/windows/temp/" - wine "c:/windows/temp/ChangeReactionSetup.exe" /sp- /silent - rm -fv "$WINEPREFIX/drive_c/windows/temp/ChangeReactionSetup.exe" - # warning warning warning: Do not change location, or installer will not function. - # FIXME: Hacky, but it works. Install dotnet20 by itself so it actually doesn't hang. - winetricks -q dotnet20 - ${wine}server -k # Damn you, dotnet. - add_launcher "c:\Program Files\Draconis Entertainment\Change Reaction\ChangeReactionGui.exe" - ;; - "Chillingham") - download "https://stormgames.wolfe.casa/downloads/chillingham.zip" - install_wine_bottle vb6run mfc42 - unzip -d "$WINEPREFIX/drive_c/Program Files" "$cache/chillingham.zip" - add_launcher "c:\Program Files\chillingham\Chillingham.exe" - ;; - "Chopper Challenge") - # Freezes at menu - download "https://www.agarchive.net/games/XSight/chopper%20challenge%20setup.exe" - install_wine_bottle vb6run dx8vb speechsdk - wine "${cache}/chopper challenge setup.exe" /silent & - xdotool sleep 5 key y 2> /dev/null - ${wine}server -w - echo "$USER|n/a" >> "$WINEPREFIX/drive_c/Program Files/x-sight interactive/chopper challenge/config.dat" - add_launcher "c:\Program Files\x-sight interactive\chopper challenge\Chopper.exe" - ;; - "Coin Collector") - export WINEARCH=win64 - export winVer="win7" - download "https://www.dropbox.com/s/v55q7t9n84otmcd/coin%20collector.rar?dl=1" "https://github.com/RastislavKish/nvda2speechd/releases/download/v0.1/nvda2speechd64.dll" - install_wine_bottle - unrar x "$cache/coin collector.rar" -op"$WINEPREFIX/drive_c/Program Files" - 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" "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/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") - export winVer="win7" - download "https://renovagames.com/bc/BC-Setup.exe" - install_wine_bottle cjkfonts speechsdk - wine "${cache}/BC-Setup.exe" /silent - #add_launcher "c:\Program Files\" - ;; - "Christmas Chaos") - export WINEARCH=win64 - export winVer="win7" - 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" "{}" \; - add_launcher "c:\Program Files\ChristmasChaos\ChristmasChaos.exe" - ;; - "Christmas WhoopAss") - download "https://www.agarchive.net/games/draconis/christmas%20whoopass%20setup.exe" - install_wine_bottle vb6run dx8vb - wine "${cache}/christmas whoopass setup.exe" /sp- /silent - add_launcher "c:\Program Files\Draconis Entertainment\Christmas Whoop Ass\wa.exe" - ;; - "Clashes of the Sky") - get_installer "clashes_of_the_sky.zip" "https://tunmi13.itch.io/clashes-of-the-sky" - export bottle="tunmi13" - export winVer="win7" - install_wine_bottle speechsdk - unzip -d "$WINEPREFIX/drive_c/Program Files" "${cache}/clashes_of_the_sky.zip" - find "${WINEPREFIX}" -type f -name "nvdaControllerClient32.dll" -exec rm -fv "{}" \; - add_launcher 'c:\Program Files\clashes_of_the_sky\clash.exe' - ;; - "Code Dungeon") - get_installer "codedungeon-win-64.zip" "https://stealcase.itch.io/codedungeon" - 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/code-dungeon" "${cache}/codedungeon-win-64.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\code-dungeon\Code Dungeon.exe" - ;; - "Copter Mission") - export bottle="oriol-gomez" - export winVer="win7" - download "http://oriolgomez.com/games/copter_en.zip" - install_wine_bottle - unzip -d "$WINEPREFIX/drive_c/Program Files/copter mission" "${cache}/copter_en.zip" - add_launcher "c:\Program Files\copter mission\game.exe" - ;; - "Crazy Party") - export WINEARCH=win64 - export winVer="win8" - download "http://pragmapragma.free.fr/crazy-party/Crazy-Party-beta82.zip" "https://stormgames.wolfe.casa/downloads/Tolk.dll" "https://github.com/RastislavKish/nvda2speechd/releases/download/v0.1/nvda2speechd64.dll" - install_wine_bottle - unzip -d "$WINEPREFIX/drive_c/Program Files" "${cache}/Crazy-Party-beta82.zip" - find "${WINEPREFIX}" -type f -name 'Tolk.dll' -exec cp -v "${cache}/Tolk.dll" "{}" \; - find "${WINEPREFIX}" -type f -name 'nvdaControllerClient64.dll' -exec cp -v "${cache}/nvda2speechd64.dll" "{}" \; - add_launcher "c:\Program Files\Crazy-Party-beta82\Crazy Party.exe" - ;; - "Crazy Tennis") - download "https://www.agarchive.net/games/VIP/crazy%20tennis%20setup.exe" - install_wine_bottle speechsdk - wine "${cache}/crazy tennis setup.exe" /sp- /silent - add_launcher "c:\Program Files\Crazytennis\crazytennis.exe" - ;; - "Crime Hunter") - export WINEARCH=win64 - export winVer="win7" - download "http://masonasons.me/softs/CH2.0Win.zip" "https://github.com/RastislavKish/nvda2speechd/releases/download/v0.1/nvda2speechd64.dll" - install_wine_bottle - unzip -d "$WINEPREFIX/drive_c/Program Files/crime-hunter" "${cache}/CH2.0Win.zip" - find "${WINEPREFIX}" -type f -name 'nvdaControllerClient64.dll' -exec cp -v "${cache}/nvda2speechd64.dll" "{}" \; - add_launcher "c:\Program Files\crime-hunter\ch.exe" - ;; - "Danger City") - download "https://www.agarchive.net/games/xl/DangerCityBeta2.exe" - install_wine_bottle vb6run dx8vb - wine "$cache/DangerCityBeta2.exe" /silent & - xdotool sleep 15 key --clearmodifiers --delay 200 Return 2> /dev/null - xdotool sleep 5 key --clearmodifiers --delay 200 Return 2> /dev/null - xdotool sleep 5key --clearmodifiers --delay 200 Return 2> /dev/null - xdotool sleep 10 --clearmodifiers --delay 200 Return 2> /dev/null - ${wine}server -w - add_launcher 'c:\Program Files\Danger City\dc.exe' - ;; - "Danger on the Wheel") - download "http://oriolgomez.com/games/wheel_en.zip" - export bottle="oriol-gomez" - export winVer="win7" - install_wine_bottle speechsdk - unzip -d "$WINEPREFIX/drive_c/Program Files/danger on the wheel" "${cache}/wheel_en.zip" - find "${WINEPREFIX}" -type f -name "nvdaControllerClient32.dll" -exec rm -fv "{}" \; - add_launcher "c:\Program Files\danger on the wheel\game.exe" - ;; - "Dark Destroyer") - export bottle=pbgames - download "https://www.agarchive.net/games/pb/Dark-Destroyer-Setup.exe" - install_wine_bottle speechsdk ie6 - wine "$cache/Dark-Destroyer-Setup.exe" /silent - add_launcher 'c:\Pbgames\Dark_destroyer\darkdestroyer.exe' - ;; - "Daytona and the Book of Gold") - export bottle="aprone" - export winVer="win7" - export winetricksSettings="vd=1024x768" - download "https://kaldobsky.com/audiogames/Daytona.zip" - install_wine_bottle vb6run dx8vb quartz corefonts - unzip -d "$WINEPREFIX/drive_c/Program Files/daytona" "${cache}/Daytona.zip" - wine 'c:\Program Files\daytona\checkup.exe' /verysilent - add_launcher "c:\Program Files\daytona\Daytona.exe" -;; -"Death on the Road") - export bottle="oriol-gomez" - export winVer="win7" - download "http://oriolgomez.com/games/road_en.zip" - install_wine_bottle - unzip -d "$WINEPREFIX/drive_c/Program Files/death on the road" "${cache}/road_en.zip" - add_launcher "c:\Program Files\death on the road\game.exe" - ;; - "Deathmatch") - export winVer="win7" - export winetricksSettings="vd=1024x768" - download "https://www.agarchive.net/games/realitySoftware/death%20match%20project%20alpha%20setup.exe" - install_wine_bottle quartz speechsdk - wine "${cache}/death match project alpha setup.exe" /silent - add_launcher "c:\Program Files\reality software\death match project alpha\dm1.exe" - ;; - "Dog Who Hates Toast") - export bottle="aprone" - export winVer="win7" - export winetricksSettings="vd=1024x768" - download "https://www.kaldobsky.com/audiogames/dogwhohatestoast.zip" - install_wine_bottle vb6run dx8vb quartz speechsdk corefonts - unzip -d "$WINEPREFIX/drive_c/Program Files/dogwhohatestoast" "${cache}/dogwhohatestoast.zip" - wine 'c:\Program Files\dogwhohatestoast\checkup.exe' /verysilent - add_launcher "c:\Program Files\dogwhohatestoast\DogwhoHatesToast.exe" - echo "Note: Dog who Hates Toast installed. Once you start the game, you must press tab until you hear sapi on to get speech." >&2 -;; - "Dragon Pong") - export winVer="win7" - install_wine_bottle - download "https://www.iamtalon.me/games/dragonpong.zip" - unzip -d "$WINEPREFIX/drive_c/Program Files" "${cache}/dragonpong.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 ole32 - $wine "${cache}/DreamLandSetup.exe" /silent - ;; - "Duck Hunt") - export bottle="l-works" - download "http://files.l-works.net/dhsetup.exe" - install_wine_bottle vb6run dx8vb speechsdk - wine "${cache}/dhsetup.exe" /silent - add_launcher "c:\Program Files\Lworks\Duck Hunt\duckhunt.exe" - ;; - "DynaMan") - export winVer="win7" - export bottle="draconis" - download "http://download.dracoent.com/Windows/classic/DMSetup.exe" - install_wine_bottle vb6run dx8vb speechsdk quartz - cp -v "${cache}/DMSetup.exe" "$WINEPREFIX/drive_c/windows/temp/" - wine "c:/windows/temp/DMSetup.exe" /sp- /silent - rm -fv "$WINEPREFIX/drive_c/windows/temp/DMSetup.exe" - # warning warning warning: Do not change location, or installer will not function. - # FIXME: Hacky, but it works. Install dotnet20 by itself so it actually doesn't hang. - winetricks -q dotnet20 - ${wine}server -k # Damn you, dotnet. - add_launcher "c:\Program Files\Draconis Entertainment\DynaMan\dm.exe" - ;; - "Easter Quest") - download "https://agarchive.net/games/mt/easter%20quest%20setup.exe" - install_wine_bottle - wine "${cache}/easter quest setup.exe" /silent - add_launcher "c:\Program Files\MTGames\Easter Quest\easter.exe" - ;; - "Endless Runner") - download "http://www.masonasons.me/softs/EndlessRunner.7z" - install_wine_bottle speechsdk - 7z x -y -o"$WINEPREFIX/drive_c/Program Files/Endless Runner" "${cache}/EndlessRunner.7z" -prunner - find "${WINEPREFIX}" -type f -name "nvdaControllerClient32.dll" -exec rm -fv "{}" \; - add_launcher "c:\Program Files\Endless Runner\runner.exe" - ;; - "Entombed") - export version="6.18" - download "http://blind-games.com/newentombed/EntombedSetup.exe" "https://download.microsoft.com/download/E/C/1/EC1B2340-67A0-4B87-85F0-74D987A27160/SSCERuntime-ENU.exe" "https://stormgames.wolfe.casa/downloads/Entombed.exe.config" "https://stormgames.wolfe.casa/downloads/mfplat.dll" - install_wine "$version" "32" - export winVer="win7" - install_wine_bottle speechsdk msvcrt40 gdiplus ie7 wmp11 mf - # Ok, more dotnet. - LC_ALL=C DISPLAY="" winetricks -q dotnet40 xna40 - ${wine}server -k # Sigh. - mkdir -p "${WINEPREFIX}/drive_c/temp" - pushd "${WINEPREFIX}/drive_c/temp" - 7z x "${cache}/SSCERuntime-ENU.exe" - ${wine} msiexec /i "${WINEPREFIX}/drive_c/temp/SSCERuntime_x86-ENU.msi" /q - rm * - popd - pushd "${WINEPREFIX}/drive_c/Program Files/Microsoft SQL Server Compact Edition/v3.5" - ${wine} regsvr32 sqlceoledb35.dll - ${wine} regsvr32 sqlceca35.dll - popd - ${wine} "${cache}/EntombedSetup.exe" /silent - pushd "${WINEPREFIX}/drive_c/Program Files/Entombed" - cp ../Microsoft\ SQL\ Server\ Compact\ Edition/v3.5/Private/System.Data.SqlServerCe.Entity.dll ../Microsoft\ SQL\ Server\ Compact\ Edition/v3.5/Private/System.Data.SqlServerCe.dll . - cp ../Microsoft\ SQL\ Server\ Compact\ Edition/v3.5/sql* . - cp "${cache}/Entombed.exe.config" . - popd - if [ ! -f "${WINEPREFIX}/drive_c/windows/system32/mfplat.dll" ] ; then - cp "${cache}/mfplat.dll" "${WINEPREFIX}/drive_c/windows/system32/" - fi - add_launcher "c:\Program Files\Entombed\Entombed.exe" - ;; - "ESP Pinball Classic") - export winVer="win7" - export bottle="draconis" - download "http://download.dracoent.com/Windows/classic/PBCSetup.exe" - install_wine_bottle vb6run dx8vb speechsdk quartz - cp -v "${cache}/PBCSetup.exe" "$WINEPREFIX/drive_c/windows/temp/" - wine "c:/windows/temp/PBCSetup.exe" /sp- /silent - rm -fv "$WINEPREFIX/drive_c/windows/temp/PBCSetup.exe" - # warning warning warning: Do not change location, or installer will not function. - # FIXME: Hacky, but it works. Install dotnet20 by itself so it actually doesn't hang. - winetricks -q dotnet20 - ${wine}server -k # Damn you, dotnet. - add_launcher "c:\Program Files\Draconis Entertainment\ESP Pinball Classic\pbc.exe" - ;; - "ESP Pinball Extreme") - export winVer="win7" - export bottle="draconis" - download "http://download.dracoent.com/Windows/classic/PBXSetup.exe" - install_wine_bottle vb6run dx8vb speechsdk quartz - cp -v "${cache}/PBXSetup.exe" "$WINEPREFIX/drive_c/windows/temp/" - wine "c:/windows/temp/PBXSetup.exe" /sp- /silent - rm -fv "$WINEPREFIX/drive_c/windows/temp/PBXSetup.exe" - # warning warning warning: Do not change location, or installer will not function. - # FIXME: Hacky, but it works. Install dotnet20 by itself so it actually doesn't hang. - winetricks -q dotnet20 - ${wine}server -k # Damn you, dotnet. - add_launcher "c:\Program Files\Draconis Entertainment\ESP Pinball Xtreme\pbx.exe" - ;; - "ESP Pinball Party Pack") - export winVer="win7" - export bottle="draconis" - export WINEPREFIX="$HOME/.local/wine/draconis" - # Only works in conjunction with esp pinball extreme. - if ! [ -f "$HOME/.local/wine/$bottle/drive_c/Program Files/Draconis Entertainment/ESP Pinball Xtreme/pbx.exe" ] ; then - echo "Error: You need to install ESP Pinball Extreme first to use this game. Please do so before continuing." >&2 - exit 1 - fi - download "http://download.dracoent.com/Windows/classic/PP1Setup.exe" - cp -v "${cache}/PP1Setup.exe" "$WINEPREFIX/drive_c/windows/temp/" - wine "c:/windows/temp/PP1Setup.exe" /sp- /silent - rm -fv "$WINEPREFIX/drive_c/windows/temp/PP1Setup.exe" - add_launcher "c:\Program Files\Draconis Entertainment\ESP Pinball Xtreme\pbx.exe" - ;; - "Eurofly") - export winVer="win7" - export winetricksSettings="vd=1024x768" - download "https://www.stefankiss.sk/files/eurofly2/Launcher_1.2.zip" "https://www.stefankiss.sk/files/eurofly2/Eurofly_2_ful_setup.exe" - install_wine_bottle speechsdk comctl32 - wine "${cache}/Eurofly_2_ful_setup.exe" /silent - unzip -o -d "$WINEPREFIX/drive_c/Eurofly" "${cache}/Launcher_1.2.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.5.0.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.5.0.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 - unzip -d "$WINEPREFIX/drive_c/Program Files/extant" "${cache}/extant.zip" - add_launcher "c:\Program Files\extant\Extant.exe" - ;; - "Fartman") - download "http://www.agarchive.net/games/bpc/fartman.exe" - install_wine_bottle dx8vb vb6run - wine "${cache}/fartman.exe" /silent - #add_launcher "c:\Program Files\" - ;; - "Finger Panic") - download "http://www.agarchive.net/games/bsc/FingerPanicSetup.exe" - install_wine_bottle dx8vb vb6run - wine "${cache}/FingerPanicSetup.exe" /sp- /silent - add_launcher "c:\Program Files\Finger Panic 1.0\FingerPanic.exe" - ;; - "Fuck That Bird") - export bottle="oriol-gomez" - export winVer="win7" - download "http://oriolgomez.com/games/bird_en.zip" - install_wine_bottle - 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.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" - 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" - install_wine_bottle vb6run dx8vb speechsdk - wine "${cache}/gtc120.exe" /silent & - xdotool sleep 10 key --clearmodifiers alt+y 2> /dev/null - xdotool sleep 15 type --clearmodifiers --delay 100 "${USER^}" 2> /dev/null - xdotool key --clearmodifiers Tab 2> /dev/null - xdotool sleep 10 type --clearmodifiers --delay 100 "${HOSTNAME^}" 2> /dev/null - xdotool key --clearmodifiers Tab 2> /dev/null - xdotool sleep 10 type --clearmodifiers --delay 100 "na@na.na" 2> /dev/null - xdotool key --clearmodifiers Tab 2> /dev/null - xdotool sleep 10 type --clearmodifiers --delay 100 "uuuuuuu" 2> /dev/null - xdotool key --clearmodifiers Tab 2> /dev/null - xdotool key --clearmodifiers Return 2> /dev/null - xdotool sleep 10 key --clearmodifiers Return 2> /dev/null - ${wine}server -w - echo "To accurately set your information, edit the file:" - echo "${WINEPREFIX}/drive_c/Program\ Files/GMA\ Tank\ Commander/config.dat" - echo "The default country is US. The fields are:" - echo -e "\"Firstname Lastname\"\n\"Email address\"\n\"Country code\"" - add_launcher "c:\Program Files\GMA Tank Commander\gtc.exe" - ;; - "Grizzly Gulch") - download "https://stormgames.wolfe.casa/downloads/grizzly-gulch.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" - export winVer="win7" - download "http://oriolgomez.com/games/hammer_en.zip" - install_wine_bottle speechsdk - unzip -d "$WINEPREFIX/drive_c/Program Files/hammer of glory" "${cache}/hammer_en.zip" - find "${WINEPREFIX}" -type f -name "nvdaControllerClient32.dll" -exec rm -fv "{}" \; - add_launcher "c:\Program Files\hammer of glory\game.exe" - ;; - "haunted Party") - get_installer "hp.zip" "https://tunmi13.itch.io/haunted-party" - download "https://github.com/RastislavKish/nvda2speechd/releases/download/v0.1/nvda2speechd64.dll" - export WINEARCH=win64 - export winVer="win8" - export bottle=tunmi13-64bit - install_wine_bottle - unzip -d "$WINEPREFIX/drive_c/Program Files/" "${cache}/hp.zip" - find "${WINEPREFIX}/drive_c/Program Files/hp" -type f -name 'nvdaControllerClient64.dll' -exec cp -v "${cache}/nvda2speechd64.dll" "{}" \; - add_launcher "c:\Program Files\hp\hp.exe" - ;; - "Hearthstone") - export winVer="win10" - install_wine_bottle ie8 vcrun2015 speechsdk - # This download url breaks the download function, so grab it manually. - curl -L --output "${cache}/Hearthstone.exe" "https://us.battle.net/download/getInstaller?os=win&installer=Hearthstone-Setup.exe" - curl -L --output "${cache}/Hearthstone_patch.zip" "https://github.com/HearthstoneAccess/HearthstoneAccess/releases/latest/download/patch.zip" - wine "${cache}/Hearthstone.exe" /silent - unzip -o "${cache}/Hearthstone_patch.zip" -d "${WINEPREFIX}/drive_c/Program Files/Hearthstone" - find "${WINEPREFIX}" -type f -name "nvdaControllerClient32.dll" -exec rm -fv "{}" \; - #add_launcher "c:\Program Files\" - ;; - "Hunter") - 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 dotnet35sp1 - ${wine}server -k # Damn you, dotnet. - wine "${cache}/HunterSetup.exe" /silent & - xdotool sleep 10 key --clearmodifiers alt+y 2> /dev/null - sleep 30 && ${wine}server -k # Sometimes the installer finishes but the ${wine}server has more processes that don't exit, so we can't depend on ${wine}server -w. - mkdir -p "$WINEPREFIX/drive_c/Program Files/bsc-key-generator" - 7z x -o"$WINEPREFIX/drive_c/Program Files/bsc-key-generator" "${cache}/BSC unlock code generator.7z" - echo "$USER"$'\n'"$(hostname)"$'\n'"none"$'\n'"US" > "$WINEPREFIX/drive_c/Program Files/Hunter/config.dat" - unix2dos "$WINEPREFIX/drive_c/Program Files/Hunter/config.dat" - if command -v xclip &> /dev/null && command -v xdotool &> /dev/null ; then - wine "c:\Program Files\Hunter\HunterRegistration.exe" & - xdotool sleep 10 key Return sleep 2 key Return sleep 2 key Alt+n - sleep 1 - regcode="$(xclip -selection clipboard -o)" - xdotool sleep 1 key Shift+Tab sleep 1 key Return - # FIXME: Kind of hacky, but let's make sure it actually exitted. - sleep 5 - ${wine}server -k - wine "c:\Program Files\bsc-key-generator\BlindsoftwareUnlockCodeGenerator.exe" & - xdotool sleep 10 key Return sleep 2 type h - xdotool sleep 1 key Tab sleep 1 type $regcode - xdotool sleep 1 key Tab sleep 1 key Return - sleep 2 - regcode="$(xclip -selection clipboard -o)" # Might as well reuse the variable. - # FIXME: Kind of hacky, but let's make sure it actually exitted since I can't find a good way to exit this program. - sleep 5 - ${wine}server -k - wine "c:\Program Files\Hunter\HunterRegistration.exe" & - echo "$regcode" | xclip -selection clipboard - xdotool sleep 10 key Return sleep 2 key Shift+Tab sleep 1 key Shift+Tab sleep 1 key Return - # FIXME: Kind of hacky, but let's make sure it actually exitted. - sleep 5 - ${wine}server -k - else - echo "Warning: You need xclip and xdotool for this installer to finish the registration process, however, you don't have them. Either remove the program, install the stated tools, and reinstall it, or go on your own. Caveat Emptor, go to jail, do not pass go, do not collect audiogame rewards and all that stuff." - 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" - download "http://oriolgomez.com/games/insect_en.zip" - install_wine_bottle - unzip -d "$WINEPREFIX/drive_c/Program Files/insect therapy" "${cache}/insect_en.zip" - add_launcher "c:\Program Files\insect therapy\game.exe" - ;; - "Interceptor") - download "http://www.valiantgalaxy.com/interceptor/Interceptor0.0.2.0Installer.exe" - install_wine_bottle - wine "${cache}/Interceptor0.0.2.0Installer.exe" /silent - add_launcher "c:\Program Files\VGA\interceptor\launch_interceptor.exe" - ;; - "Judgement Day") - export bottle="l-works" - download "http://files.l-works.net/judgmentdayfullsetup.exe" - install_wine_bottle vb6run dx8vb quartz - wine "${cache}/judgmentdayfullsetup.exe" /silent -cat << EOF > /tmp/judgementday.reg -Windows Registry Editor Version 5.00 - -[HKEY_CURRENT_USER\Software\VB and VBA Program Settings\judgmentday\config] -"name"="$USER" -EOF - wine regedit /s /tmp/judgementday.reg - rm /tmp/judgementday.reg - add_launcher "c:\Program Files\Lworks\Judgment Day\judgmentday.exe" - ;; - "Kitchensinc Games") - 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/" - add_launcher "c:\Program Files\Kitchen's Sink\gamemenu.exe" - ;; - "Kringle Crash") - download "https://www.agarchive.net/games/blastbay/kringle%20crash%20setup.exe" - install_wine_bottle - wine "${cache}/kringle crash setup.exe" /silent - add_launcher "c:\Program Files\Kringle Crash\kringlecrash.exe" - ;; - "Laser Breakout") - # Currently only speaks in japanese, looking to see if we can find an english version. - export bottle="nyanchan" - export winVer="win7" - download "https://www.agarchive.net/games/nyanchan/laser%20breakout.7z" "https://github.com/RastislavKish/nvda2speechd/releases/download/v0.1/nvda2speechd32.dll" "https://stormgames.wolfe.casa/downloads/laser-breakout-options.dat" - install_wine_bottle - 7z x -o"$WINEPREFIX/drive_c/nyanchangame/" "$cache/laser breakout.7z" - find "${WINEPREFIX}" -type f -name 'nvdaControllerClient.dll' -exec cp -v "${cache}/nvda2speechd32.dll" "{}" \; - cp -v "$cache/laser-breakout-options.dat" "$WINEPREFIX/drive_c/nyanchangame/laser breakout/options.dat" - add_launcher "c:\nyanchangame\laser breakout\play.exe" - ;; - "Light Battles") - export winVer="win7" - download "https://prometheus-enterprises.com/games/CoL.exe" "https://github.com/RastislavKish/nvda2speechd/releases/download/v0.1/nvda2speechd32.dll" - install_wine_bottle - 7z x -o"$WINEPREFIX/drive_c/Program Files/Light Battles" "${cache}/CoL.exe" - find "${WINEPREFIX}" -type f -name "nvdaControllerClient.dll" -exec cp -v "$cache/nvda2speechd32.dll" "{}" \; - add_launcher "c:\Program Files\Light Battles\battles.exe" - ;; - "Light Cars") - download "https://www.agarchive.net/games/lighttech/light%20cars%20setup.exe" - install_wine_bottle dx8vb vb6run - wine "${cache}/light cars setup.exe" & - xdotool sleep 10 key --clearmodifiers alt+n sleep 1 key --clearmodifiers alt+a key --clearmodifiers space sleep 1 key --clearmodifiers alt+n sleep 1 key --clearmodifiers alt+n sleep 1 key --clearmodifiers alt+i sleep 30 key --clearmodifiers Tab sleep 1 key --clearmodifiers Return 2> /dev/null - ${wine}server -w - echo -e "${USER} ${HOST}\nna@na.na\nUS" > ~/.local/wine/light-cars/drive_c/Program\ Files/Lighttech\ Interactive/Light\ Cars/config.dat - unix2dos ~/.local/wine/light-cars/drive_c/Program\ Files/Lighttech\ Interactive/Light\ Cars/config.dat - add_launcher "c:\Program Files\Lighttech Interactive\Light Cars\lightCars.exe" - ;; - "Lockpick") - export bottle="l-works" - download "http://files.l-works.net/lockpicksetup.exe" - install_wine_bottle vb6run dx8vb - wine "${cache}/lockpicksetup.exe" /silent - add_launcher "c:\Program Files\lWorks\Lockpick\lockpick.exe" - ;; - "Lone Wolf") - download "http://www.gmagames.com/lw350.exe" - install_wine_bottle vb6run dx8vb speechsdk - wine "${cache}/lw350.exe" /silent & - xdotool sleep 10 key --clearmodifiers alt+y 2> /dev/null - xdotool sleep 10 type --clearmodifiers --delay 100 "$USER" 2> /dev/null - xdotool key --clearmodifiers Tab 2> /dev/null - xdotool type --clearmodifiers --delay 100 "$HOSTNAME" 2> /dev/null - xdotool key --clearmodifiers Tab 2> /dev/null - xdotool type --clearmodifiers --delay 100 "na@na.na" 2> /dev/null - xdotool key --clearmodifiers Tab 2> /dev/null - xdotool type --clearmodifiers --delay 100 "uuuuuu" 2> /dev/null - xdotool key --clearmodifiers Tab 2> /dev/null - xdotool key --clearmodifiers Return 2> /dev/null - ${wine}server -w - add_launcher "c:\Program Files\Lone Wolf\lw.exe" - ;; - "Lost") - export bottle=dan-z - download "https://agarchive.net/games/danZ/lost.zip" - install_wine_bottle speechsdk - unzip -d "$WINEPREFIX/drive_c/Program Files/lost" "$cache/lost.zip" - find "$WINEPREFIX/drive_c/Program Files/lost" -name "nvdaControllerClient32.dll" -exec rm -fv "{}" \; - add_launcher 'c:\Program Files\lost\lost.exe' - ;; - "Lunimals") - export bottle="aprone" - export winVer="win7" - export winetricksSettings="vd=1024x768" - download "https://kaldobsky.com/audiogames/lunimals.zip" - install_wine_bottle vb6run dx8vb quartz speechsdk corefonts - unzip -d "$WINEPREFIX/drive_c/Program Files/lunimals" "${cache}/lunimals.zip" - 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" - download "https://www.vgstorm.com/manamon/manamon_installer.exe" - install_wine_bottle speechsdk - wine "${cache}/manamon_installer.exe" /silent - add_launcher "c:\Program Files\VGStorm.com\Manamon\rpg.exe" - ;; - "Manamon 2") - export winVer="win7" - download "http://www.vgstorm.com/manamon2/manamon2_installer.exe" - install_wine_bottle speechsdk - wine "${cache}/manamon2_installer.exe" /silent - add_launcher "c:\Program Files\VGStorm.com\Manamon 2\rpg.exe" - ;; - "Marina Break") - export bottle="nyanchan" - export winVer="win7" - download "https://www.nyanchangames.com/softs/MbSetupE.exe" "https://github.com/RastislavKish/nvda2speechd/releases/download/v0.1/nvda2speechd32.dll" - install_wine_bottle speechsdk - wine "${cache}/MbSetupE.exe" & - xdotool sleep 10 key Return - ${wine}server -w - find "${WINEPREFIX}" -type f -name "nvdaControllerClient.dll" -exec cp -v "$cache/nvda2speechd32.dll" "{}" \; - add_launcher "c:\nyanchangame\MarinaBreak\marinabreak.exe" - ;; - "Maze Craze") - export bottle=dan-z - download "http://www.danielzingaro.com/maze_craze_setup.exe" - install_wine_bottle vb6run dx8vb - ${wine} "${cache}/maze_craze_setup.exe" & - xdotool sleep 15 key --delay 100 y 2> /dev/null - xdotool sleep 3 key --delay 250 alt+n 2> /dev/null - xdotool key --delay 250 alt+a 2> /dev/null - xdotool key --delay 250 space 2> /dev/null - xdotool key --delay 250 alt+n 2> /dev/null - xdotool key --delay 250 alt+n 2> /dev/null - xdotool key --delay 250 alt+n 2> /dev/null - xdotool key --delay 250 alt+i 2> /dev/null - xdotool sleep 15 key --delay 250 alt+f 2> /dev/null - xdotool sleep 3 key --delay 250 n 2> /dev/null - ${wine}server -k - add_launcher "c:\Program Files\Maze Craze 1.4\mazecraze.exe" - ;; - "Minecraft") - export WINEARCH=win64 - export winVer="win7" - get_installer "accessibility-plus-extended-1.18-curseforge-v1.9.0.jar" "https://www.curseforge.com/minecraft/mc-mods/accessibility-plus-extended/download" - get_installer "Mambience-5.2.0+1.19.jar" "https://www.curseforge.com/minecraft/mc-mods/mambience/download" - get_installer "easy-life-1.18-v1.5.1.jar" "https://www.curseforge.com/minecraft/mc-mods/easy-life/download" - get_installer "numpad-camera-controls-1.18-v1.5.1.jar" "https://www.curseforge.com/minecraft/mc-mods/numpad-keypad-camera-controls/download" - download "https://www.python.org/ftp/python/3.7.9/python-3.7.9-amd64.exe" - install_wine_bottle - wine "$cache/python-3.7.9-amd64.exe" /silent - wine 'c:\windows\py.exe' -m pip install portablemc portablemc-fabric - # Now just need to install latest fabric, portablemc start --dry fabric - wine 'c:\users\'"$USER"'\AppData\Local\Programs\Python\Python37\Scripts\portablemc.exe' start --dry fabric: - # Also need to copy all mods into right place. - mkdir "$WINEPREFIX/drive_c/users/$USER/AppData/Roaming/.minecraft/mods" - for x in "accessibility-plus-extended-1.18-curseforge-v1.9.0.jar" "Mambience-5.2.0+1.19.jar" "easy-life-1.18-v1.5.1.jar" "numpad-camera-controls-1.18-v1.5.1.jar" ; do - cp "$cache/$x" "$WINEPREFIX/drive_c/users/$USER/AppData/Roaming/.minecraft/mods" - done - # And of course, add the launcher. -;; - "Mist World") - 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 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} - find "$WINEPREFIX/drive_c/Program Files/Mist World" -iname "nvdaControllerClient32.dll" -exec cp "$cache/nvda2speechd32.dll" "{}" \; - mkdir "$WINEPREFIX/drive_c/Program Files/Mist World/"{user,users} - add_launcher 'c:\Program Files\Mist World\mw.exe' - echo - echo "If you do not have an account, There is a script in game-scripts to help." - echo "Launch the game, press enter on create account, then drop into a console so the game window does not lose focus." - echo "Change to the game-scripts directory and run" - echo "./mist_world_account_creator.sh and follow the prompts." - echo - echo "To login, type your email address, press tab, and type your password." - echo "If you want to enable automatic login, press tab two times followed by space, then tab and enter." - echo "If you do not want to auto login, you can just press enter after typing your password." - alert - ;; - "Monkey Business") - export winVer="win7" - export bottle="draconis" - download "http://download.dracoent.com/Windows/classic/MBSetup.exe" - install_wine_bottle vb6run dx8vb speechsdk quartz - cp -v "${cache}/MBSetup.exe" "$WINEPREFIX/drive_c/windows/temp/" - wine "c:/windows/temp/MBSetup.exe" /sp- /silent - rm -fv "$WINEPREFIX/drive_c/windows/temp/MBSetup.exe" - # warning warning warning: Do not change location, or installer will not function. - # FIXME: Hacky, but it works. Install dotnet20 by itself so it actually doesn't hang. - winetricks -q dotnet20 - ${wine}server -k # Damn you, dotnet. - add_launcher "c:\Program Files\Draconis Entertainment\Monkey Business\mb.exe" - ;; - "MudSplat English") - a="a" - f="f" - i="i" - n="n" - ;& - "MudSplat French") - # Variables may be already set for English installation, so make sure not to overwrite them. - a="${a:-j}" - f="${f:-t}" - i="${i:-i}" - n="${n:-s}" - ;& - "MudSplat Swedish") - # Variables may be already set for French installation, so make sure not to overwrite them. - a="${a:-a}" - f="${f:-f}" - i="${i:-i}" - n="${n:-n}" - download "https://www.agarchive.net/games/other/Mudsplat-install.exe" - install_wine_bottle - wine "${cache}/Mudsplat-install.exe" & - # Select the language. - xdotool sleep 10 type --clearmodifiers ${game:9:1} 2> /dev/null - xdotool sleep 1 key --clearmodifiers Return sleep 1 key alt+${n} sleep 1 key alt+${a} sleep 1 key alt+${n} sleep 1 key space sleep 1 key alt+${n} sleep 1 key alt+${n} sleep 1 key alt+${i} sleep 10 key space sleep 1 key alt+${f} 2> /dev/null - ${wine}server -w - mudsplatLauncher="$(find "$WINEPREFIX/drive_c/Program Files/TiM/MudSplat" -name 'mudsplat-*.exe')" - mudsplatLauncher="${mudsplatLauncher##*/}" - add_launcher "c:\Program Files\TiM\MudSplat\\${mudsplatLauncher}" - ;; - "Oh Shit") - export winVer="win7" - export norh="true" # Requires sapi even though uses nvda - download "${ipfsGateway}/ipfs/QmQnAJJrt5uABFziQc7enXYrJ74J9GKQSMi8Ry8ebsxfPV?filename=OhShit.zip" "https://github.com/RastislavKish/nvda2speechd/releases/download/v0.1/nvda2speechd" "https://github.com/RastislavKish/nvda2speechd/releases/download/v0.1/nvda2speechd32.dll" - install_wine_bottle speechsdk - 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") - export winVer="win7" - download "https://www.iamtalon.me/games/blacksquare.zip" - install_wine_bottle - unzip -d "$WINEPREFIX/drive_c/Program Files" "${cache}/blacksquare.zip" - add_launcher "c:\Program Files\blacksquare\OperationBlackSquare.exe" - ;; - "Pacman Talks") - download "http://www.gmagames.com/pmt101.exe" - install_wine_bottle - wine "${cache}/pmt101.exe" /sp- /silent - add_launcher "c:\Program Files\Pacman Talks\pmt.exe" - ;; - "Palace Punch Up") - download "https://www.agarchive.net/games/blastbay/palace%20punch-up%20setup.exe" - install_wine_bottle speechsdk - wine "${cache}/palace punch-up setup.exe" /silent - add_launcher "c:\Program Files\Palace Punch-up\palace.exe" - ;; - "Paladin of the Sky") - export winVer="win7" - download "http://www.vgstorm.com/cod/pots/paladin_installer.exe" - install_wine_bottle speechsdk - wine "${cache}/paladin_installer.exe" /silent - add_launcher "c:\Program Files\VGStorm.com\Paladin of the Sky\game.exe" - ;; - "Park Boss") - export winVer="win7" - download "http://www.ndadamson.com/downloads/Park%20Boss%201.01%20setup.exe" - install_wine_bottle speechsdk - wine "${cache}/Park Boss 1.01 setup.exe" /silent & - xdotool sleep 10 key --clearmodifiers Return sleep 1 key alt+n sleep 1 key alt+a sleep 1 key alt+i sleep 10 key alt+f 2> /dev/null - ${wine}server -w - add_launcher "c:\Program Files\NASoft\ParkBoss\pbMain.exe" - ;; - "Paw Prints") - export bottle="aprone" - export winVer="win7" - export winetricksSettings="vd=1024x768" - download "https://www.kaldobsky.com/audiogames/pawprints.zip" - install_wine_bottle vb6run dx8vb quartz speechsdk corefonts - unzip -d "$WINEPREFIX/drive_c/Program Files/pawprints" "${cache}/pawprints.zip" - 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 - wine "${cache}/perilous hearts concept demo.exe" /silent - add_launcher "c:\Program Files\Perilous Hearts Concept Demo\perilous_hearts.exe" - ;; - "Pigeon Panic") - export bottle="l-works" - download "http://agarchive.net/games/lworks/pigeon%20panic%20setup.exe" - install_wine_bottle vb6run dx8vb - wine "${cache}/pigeon panic setup.exe" /silent - add_launcher "c:\Program Files\Lworks\Pigeon Panic\pigeonPanic.exe" - ;; - "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 dotnet35sp1 - ${wine}server -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 & - xdotool sleep 10 key --clearmodifiers alt+y 2> /dev/null - sleep 30 && ${wine}server -k # Sometimes the installer finishes but the ${wine}server has more processes that don't exit, so we can't depend on ${wine}server -w. - mkdir -p "$WINEPREFIX/drive_c/Program Files/bsc-key-generator" - 7z x -o"$WINEPREFIX/drive_c/Program Files/bsc-key-generator" "${cache}/BSC unlock code generator.7z" - echo "$USER"$'\n'"$(hostname)"$'\n'"none"$'\n'"US" > "$WINEPREFIX/drive_c/Program Files/Blast Chamber/config.dat" - unix2dos "$WINEPREFIX/drive_c/Program Files/Blast Chamber/config.dat" - if command -v xclip &> /dev/null && command -v xdotool &> /dev/null ; then - wine "c:\Program Files\Blast Chamber\register.exe" & - xdotool sleep 10 key Return sleep 2 key Return sleep 2 key Alt+n - sleep 1 - regcode="$(xclip -selection clipboard -o)" - xdotool sleep 1 key Shift+Tab sleep 1 key Return - # FIXME: Kind of hacky, but let's make sure it actually exitted. - sleep 5 - ${wine}server -k - wine "c:\Program Files\bsc-key-generator\BlindsoftwareUnlockCodeGenerator.exe" & - xdotool sleep 10 key Return sleep 2 type b - xdotool sleep 1 key Tab sleep 1 type $regcode - xdotool sleep 1 key Tab sleep 1 key Return - sleep 2 - regcode="$(xclip -selection clipboard -o)" # Might as well reuse the variable. - # FIXME: Kind of hacky, but let's make sure it actually exitted since I can't find a good way to exit this program. - sleep 5 - ${wine}server -k - wine "c:\Program Files\Blast Chamber\register.exe" & - echo "$regcode" | xclip -selection clipboard - xdotool sleep 10 key Return sleep 2 key Shift+Tab sleep 1 key Shift+Tab sleep 1 key Return - # FIXME: Kind of hacky, but let's make sure it actually exitted. - sleep 5 - ${wine}server -k - else - echo "Warning: You need xclip and xdotool for this installer to finish the registration process, however, you don't have them. Either remove the program, install the stated tools, and reinstall it, or go on your own. Caveat Emptor, go to jail, do not pass go, do not collect audiogame rewards and all that stuff." - fi - add_launcher "c:\Program Files\Blast Chamber\pipe.exe" - ;; - "Preludeamals") - export bottle="aprone" - export winVer="win7" - export winetricksSettings="vd=1024x768" - download "https://www.kaldobsky.com/audiogames/Preludeamals.zip" - install_wine_bottle vb6run dx8vb quartz speechsdk corefonts - unzip -d "$WINEPREFIX/drive_c/Program Files/preludeamals" "${cache}/Preludeamals.zip" - wine 'c:\Program Files\preludeamals\checkup.exe' /verysilent - add_launcher "c:\Program Files\preludeamals\Preludeamals.exe" - ;; - "Psycho Strike") - download "http://www.vgstorm.com/psycho_strike_installer.exe" - install_wine_bottle speechsdk - wine "${cache}/psycho_strike_installer.exe" /silent - add_launcher "c:\Program Files\VGStorm.com\Psycho Strike\strike.exe" - ;; - "Puzzle Divided") - export bottle="aprone" - export winVer="win7" - export winetricksSettings="vd=1024x768" - download "https://www.kaldobsky.com/audiogames/puzzledivided.zip" - install_wine_bottle vb6run dx8vb quartz corefonts - unzip -d "$WINEPREFIX/drive_c/Program Files/puzzledivided" "${cache}/puzzledivided.zip" - add_launcher "c:\Program Files\puzzledivided\PuzzleDivided.exe" - ;; - "Q9") - download "http://www.blastbay.com/q9_english_installer.exe" - install_wine_bottle - 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" - export winetricksSettings="vd=1024x768" - download "https://www.kaldobsky.com/audiogames/revelation.zip" - install_wine_bottle vb6run dx8vb quartz speechsdk corefonts - unzip -d "$WINEPREFIX/drive_c/Program Files/revelation" "${cache}/revelation.zip" - add_launcher "c:\Program Files\revelation\Revelation.exe" - ;; - "Rhythm Rage") - export bottle="oriol-gomez" - export winVer="win7" - download "http://oriolgomez.com/games/rr_en.zip" "${nvdaControllerClientDll}" - install_wine_bottle speechsdk - unzip -d "$WINEPREFIX/drive_c/Program Files/rhythm rage" "${cache}/rr_en.zip" - find "${WINEPREFIX}" -type f -name 'nvdaControllerClient32.dll' -exec cp -v "${cache}/nvdaControllerClient32.dll" "{}" \; - add_launcher "c:\Program Files\rhythm rage\game.exe" - ;; - "River Raiders") - # No more choppy sound under water, woot! - download "https://www.agarchive.net/games/XSight/River%20Raiders%201.3.5.exe" - install_wine_bottle dsound directmusic - wine "$cache/River Raiders 1.3.5.exe" & - xdotool sleep 10 type y 2> /dev/null - xdotool sleep 2 type y 2> /dev/null - xdotool sleep 2 key --clearmodifiers alt+n sleep 2 key alt+n sleep 2 key alt+n sleep 2 key alt+i sleep 10 key alt+f 2> /dev/null - ${wine}server -w - add_launcher "c:\Program Files\River Raiders\raid.exe" - ;; - "Road to Rage") - export WINEARCH=win64 - export winVer="win7" - download "https://iamtalon.me/games/rtr_ultimate.zip" - install_wine_bottle - unzip -d "$WINEPREFIX/drive_c/Program Files" "${cache}/rtr_ultimate.zip" - add_launcher "c:\Program Files\rtr_Ultimate\trtr.exe" - ;; - "Road to Rage Offline") - export winVer="win7" - download "https://agarchive.net/games/talon/the%20road%20to%20rage%20offline.7z" - install_wine_bottle speechsdk - 7z x -o"$WINEPREFIX/drive_c/Program Files" "${cache}/the road to rage offline.7z" - find "${WINEPREFIX}" -type f -name "nvdaControllerClient.dll" -exec rm -fv "{}" \; - add_launcher "c:\Program Files\RTR Offline\rtr.exe" - ;; - "RS Games") - export version="7.0" - download "http://rsgames.org/rsdownloads/rsgclient/rsgames-client-setup-2.01.exe" "${nvdaControllerClientDll}" - install_wine "$version" "32" - export winVer="win7" - install_wine_bottle speechsdk - ${wine} "${cache}/rsgames-client-setup-2.01.exe" /silent - find "${WINEPREFIX}" -type f -name 'nvdaControllerClient32.dll' -exec cp -v "${cache}/nvdaControllerClient32.dll" "{}" \; - add_launcher "c:\Program Files\RS Games Client\rsg.exe" - ;; - "Run For Your Life") - export bottle="oriol-gomez" - export winVer="win7" - download "http://oriolgomez.com/games/rfyl_en.zip" - install_wine_bottle - unzip -d "$WINEPREFIX/drive_c/Program Files/run for your life" "${cache}/rfyl_en.zip" - add_launcher "c:\Program Files\run for your life\game.exe" - ;; - "Sammy Center") - export winVer="win7" - download "http://www.samtupy.com/games/SCSetup.exe" "${nvdaControllerClientDll}" - install_wine_bottle speechsdk - wine "${cache}/SCSetup.exe" /silent - find "${WINEPREFIX}" -type f -name 'nvdaControllerClient32.dll' -exec cp -v "${cache}/nvdaControllerClient32.dll" "{}" \; - add_launcher "c:\Program Files\Sam Tupy\SammyCenter\SammyCenter.exe" - ;; - "Sarah and the Castle of Witchcraft and Wizardry") - download "http://www.pcs-games.net/Sarah10.exe" "http://www.pcs-games.net/Sarah-Patch4.exe" - install_wine_bottle vb6run dx8vb speechsdk - wine "${cache}/Sarah10.exe" /sp- /verysilent - wine "${cache}/Sarah-Patch4.exe" /sp- /verysilent - add_launcher "c:\Program Files\Sarah and the Castle of Witchcraft and Wizardry 10\scw.exe" - ;; - "Scramble!") - winetricksSettings="vd=1024x768" - export winVer="win7" - download "https://stevend.net/downloads/scramble_win32.zip" "${nvdaControllerClientDll}" - install_wine_bottle speechsdk - unzip -d "$WINEPREFIX/drive_c/Program Files/" "${cache}/scramble_win32.zip" - find "${WINEPREFIX}" -type f -name 'nvdaControllerClient32.dll' -exec cp -v "${cache}/nvdaControllerClient32.dll" "{}" \; - add_launcher "c:\Program Files\scramble_win32\scramble.exe" - ;; - "Screaming Strike 2") - export bottle="nyanchan" - export winVer="win7" - download "https://www.nyanchangames.com/softs/screamingStrike2.exe" "${nvdaControllerClientDll}" - install_wine_bottle fakejapanese speechsdk - wine "${cache}/screamingStrike2.exe" & - xdotool sleep 10 key Return - ${wine}server -w - find "${WINEPREFIX}" -type f -name 'nvdaControllerClient32.dll' -exec cp -v "${cache}/nvdaControllerClient32.dll" "{}" \; - add_launcher "c:\nyanchangame\Screaming Strike 2\play.exe" - ;; - "Scrolling Battles") - export WINEARCH=win64 - export winVer="win7" - get_installer "sbrw-win.zip" "https://masonasons.itch.io/sbrw" - download "https://stormgames.wolfe.casa/downloads/Tolk.dll" - install_wine_bottle - unzip -d "$WINEPREFIX/drive_c/Program Files/sbrw" "${cache}/sbrw-win.zip" - find "${WINEPREFIX}" -type f -name 'Tolk.dll' -exec cp -v "${cache}/Tolk.dll" "{}" \; - add_launcher "c:\Program Files\sbrw\sb.exe" - ;; - "Sketchbook") - export winVer="win7" - download "http://sbyw.games/SBYW/SBYW.zip" "http://sbyw.games/SBYW/sounds.zip" "${nvdaControllerClientDll}" - install_wine_bottle speechsdk - mv -v "${cache}/sounds.zip" "${cache}/SBYW-sounds.zip" - unzip -d "$WINEPREFIX/drive_c/Program Files/sketchbook" "${cache}/SBYW.zip" - unzip -d "$WINEPREFIX/drive_c/Program Files/sketchbook" "${cache}/SBYW-sounds.zip" - find "${WINEPREFIX}" -type f -name 'nvdaControllerClient32.dll' -exec cp -v "${cache}/nvdaControllerClient32.dll" "{}" \; - add_launcher "c:\Program Files\sketchbook\SBYW.exe" - ;; - "Sequence Storm") - get_installer "sequence-storm-win64.zip" "https://special-magic-games-llc.itch.io/sequence-storm" - export WINEARCH=win64 - export winVer="win10" - install_wine_bottle - unzip -d "$WINEPREFIX/drive_c/Program Files/sequence-storm" "${cache}/sequence-storm-win64.zip" - write_sequence_storm_reader - curl -L --output "$WINEPREFIX/drive_c/Program Files/sequence-storm/settings.json" "https://stormgames.wolfe.casa/downloads/sequencestorm-settings.json" - add_launcher "c:\Program Files\sequence-storm\SequenceStorm.exe" - ;; - "Shades of Doom 1.2") - download "http://gmagames.com/sod1208.exe" - install_wine_bottle vb6run dx8vb speechsdk - wine "${cache}/sod1208.exe" /sp- /verysilent - add_launcher "c:\Program Files\Shades of Doom 1.2\sod.exe" - ;; - "Shades of Doom") - export winVer="win7" - download "http://www.gmagames.com/sod20022.exe" - install_wine_bottle vb6run dx8vb speechsdk - wine "${cache}/sod20022.exe" /silent - add_launcher "c:\Program Files\Shades of Doom 2.0\sod.exe" - ;; - "Shadow Line") - export version="7.7" - download "https://www.mm-galabo.com/sr/Download_files_srfv/shadowrine_fullvoice3.171.exe" "https://raw.githubusercontent.com/LordLuceus/sr-english-localization/master/language_en.dat" - install_wine "$version" "32" - export winVer="win8" - install_wine_bottle - $wine "${cache}/shadowrine_fullvoice3.171.exe" /sp- & - xdotool sleep 30 key --clearmodifiers --delay=500 Return - xdotool key --clearmodifiers --delay=500 Return - xdotool key --clearmodifiers --delay=500 Return - xdotool key --clearmodifiers --delay=500 Return - echo "Running installer, this will take approximately 3 minutes..." - xdotool sleep 180 key --clearmodifiers --delay=500 Down - xdotool key --clearmodifiers --delay=500 space - xdotool key --clearmodifiers --delay=500 alt+f - ${wine}server -w - mv -v "${cache}/language_en.dat" "${WINEPREFIX}/drive_c/Program Files/GalaxyLaboratory/ShadowRine_FullVoice/SystemData/language_en.dat" - add_launcher "c:\Program Files\GalaxyLaboratory\ShadowRine_FullVoice\play_sr.exe" - echo "Please set the language to English when the game opens." - echo "Go to options and press enter." - echo "Press down arrow 5 times and press enter." - echo "Press down arrow 1 time and press enter." - echo "Press up arrow 2 times and press enter." - echo "If everything worked as expected you should be back on the game menu and speech should work." - alert - ;; - "Side Party") - export WINEARCH=win64 - export winVer="win7" - get_installer "sideparty-win.zip" "https://masonasons.itch.io/sideparty" - download "https://github.com/RastislavKish/nvda2speechd/releases/download/v0.1/nvda2speechd64.dll" \ - "https://stormgames.wolfe.casa/downloads/SidePartySettings.dat" - install_wine_bottle - unzip -d "$WINEPREFIX/drive_c/Program Files/Side Party" "${cache}/sideparty-win.zip" - find "${WINEPREFIX}" -type f -name 'nvdaControllerClient64.dll' -exec cp -v "${cache}/nvda2speechd64.dll" "{}" \; - add_launcher "c:\Program Files\Side Party\SideParty.exe" - alert - sidePartyUser="$(dialog --ok-label "Continue" \ - --backtitle "Audiogame Manager" \ - --inputbox "Please enter a user name for Side Party score board:" -1 -1 --stdout)" - mkdir -p "$WINEPREFIX/drive_c/Program Files/Side Party/masonasons.me/SideParty" - cp -v "${cache}/SidePartySettings.dat" "$WINEPREFIX/drive_c/Program Files/Side Party/masonasons.me/SideParty/settings.dat" - if [[ ${#sidePartyUser} -gt 3 ]]; then - sed -i "s/Anonymous/${sidePartyUser}/" "$WINEPREFIX/drive_c/Program Files/Side Party/masonasons.me/SideParty/settings.dat" - fi - ;; - "Silver Dollar") - export winVer="win7" - export bottle="draconis" - download "http://download.dracoent.com/Windows/SilverDollarSetup.exe" - install_wine_bottle speechsdk - cp -v "${cache}/SilverDollarSetup.exe" "$WINEPREFIX/drive_c/windows/temp/" - wine "c:/windows/temp/SilverDollarSetup.exe" /sp- /silent - rm -fv "$WINEPREFIX/drive_c/windows/temp/SilverDollarSetup.exe" - # warning warning warning: Do not change location, or installer will not function. - # FIXME: Hacky, but it works. Install dotnet40 by itself so it actually doesn't hang. - DISPLAY="" winetricks -q dotnet40 - ${wine}server -k # Damn you, dotnet. - add_launcher "c:\Program Files\Draconis Entertainment\Silver Dollar\SilverDollarGui.exe" - ;; - "Simple Fighter") - export WINEARCH=win64 - export winVer="win7" - get_installer "simple fighter.exe" "https://tsatria03.itch.io/simple-fighter" - if [[ ! -r "${cache}/simple-fighter-sounds.7z" ]] && [[ ! -r "${cache}/sounds.7z" ]]; then - get_installer "sounds.7z" "https://tsatria03.itch.io/simple-fighter" - mv "${cache}/sounds.7z" "${cache}/simple-fighter-sounds.7z" - fi - install_wine_bottle - 7z x -o"$WINEPREFIX/drive_c/Program Files/simple fighter" "${cache}/simple fighter.exe" - 7z x -o"$WINEPREFIX/drive_c/Program Files/simple fighter/sounds" "${cache}/simple-fighter-sounds.7z" - find "${WINEPREFIX}/drive_c/Program Files/bf" -type f -name 'nvdaControllerClient64.dll' -exec cp -v "${cache}/nvda2speechd64.dll" "{}" \; - add_launcher "c:\Program Files\simple fighter\game.exe" - ;; - "Slender Lost Vision") - export winVer="win7" - download "https://www.iamtalon.me/games/slender.zip" - install_wine_bottle - unzip -d "$WINEPREFIX/drive_c/Program Files/" "${cache}/slender.zip" - add_launcher "c:\Program Files\slender\slender.exe" - ;; - "Shooter") - export WINEARCH=win64 - export winVer="win7" - get_installer "shooter-win.zip" "https://brynify.itch.io/shooter" - download "https://github.com/RastislavKish/nvda2speechd/releases/download/v0.1/nvda2speechd64.dll" - install_wine_bottle - unzip -d "$WINEPREFIX/drive_c/Program Files/shooter" "${cache}/shooter-win.zip" - 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/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" - download "https://www.agarchive.net/games/jeqoconGames/sonic%20the%20hedgehog.7z" - install_wine_bottle speechsdk - 7z x -o"$WINEPREFIX/drive_c/Program Files/Sonic the Hedgehog" "${cache}/sonic the hedgehog.7z" - add_launcher "c:\Program Files\Sonic the Hedgehog\sth.exe" - ;; - "Sonic Zoom") - export winVer="win7" - download "http://wwwx.cs.unc.edu/Research/assist/et/projects/SonicZoom/soniczoom11.zip" - install_wine_bottle speechsdk - unzip -d "$WINEPREFIX/drive_c/Program Files/" "${cache}/soniczoom11.zip" - add_launcher "c:\Program Files\Sonic Zoom\SonicZoom.exe" - ;; - "Space Defender") - export WINEARCH="win64" - export winVer="win7" - download "http://tunmi13.ddns.net/projects/space_defender.zip" "https://stormgames.wolfe.casa/downloads/nvdaControllerClient64.dll" - install_wine_bottle - unzip -d "$WINEPREFIX/drive_c/Program Files/" "${cache}/space_defender.zip" - find "${WINEPREFIX}" -type f -name 'nvdaControllerClient64.dll' -exec cp -v "${cache}/nvdaControllerClient64.dll" "{}" \; - add_launcher "c:\Program Files\space_defender\sdefender.exe" - ;; - "Star Treck Final Conflict") - download "https://agarchive.net/games/USA/star%20trek%20final%20conflict%20Setup.exe" - install_wine_bottle speechsdk - wine "${cache}/star trek final conflict Setup.exe" /silent - add_launcher "c:\Program Files\USA Games\Final Conflict\stfc.exe" - ;; - "Super Deekout") - export bottle=dan-z - download "http://www.danielzingaro.com/superdeekout_setup.exe" "http://www.danielzingaro.com/sd_full.exe" - install_wine_bottle vb6run dx8vb - ${wine} "${cache}/superdeekout_setup.exe" & - xdotool sleep 15 key --delay 100 y 2> /dev/null - xdotool sleep 3 key --delay 250 alt+n 2> /dev/null - xdotool key --delay 250 alt+a 2> /dev/null - xdotool key --delay 250 space 2> /dev/null - xdotool key --delay 250 alt+n 2> /dev/null - xdotool key --delay 250 alt+n 2> /dev/null - xdotool key --delay 250 alt+n 2> /dev/null - xdotool key --delay 250 alt+i 2> /dev/null - xdotool sleep 15 key --delay 250 alt+f 2> /dev/null - xdotool sleep 3 key --delay 250 n 2> /dev/null - ${wine}server -k - 7z x -y -o"$WINEPREFIX/drive_c/Program Files/Super Deekout" "${cache}/sd_full.exe" - echo "Super Deekout needs some information before it will run:" - alert - read -erp "Please enter your first name: " fname - read -erp "Please enter your last name: " lname - read -erp "Please enter your email address: " email - ${wine} "c:\Program Files\Super Deekout\config.exe" & - xdotool sleep 5 key --delay 100 Return 2> /dev/null - xdotool sleep 3 type --clearmodifiers --delay 100 "${fname}" - xdotool key --clearmodifiers --delay 100 Tab 2> /dev/null - xdotool sleep 1 type --clearmodifiers --delay 100 "${lname}" - xdotool key --clearmodifiers --delay 100 Tab 2> /dev/null - xdotool sleep 1 type --clearmodifiers --delay 100 "${email}" - xdotool key --clearmodifiers --delay 100 Tab 2> /dev/null - xdotool sleep 15 key --delay 100 u 2> /dev/null - xdotool key --clearmodifiers --delay 100 Tab 2> /dev/null - xdotool sleep 1 key --delay 250 Return 2> /dev/null - ${wine}server -k - add_launcher "c:\Program Files\Super Deekout\super.exe" - ;; - "Super Dogs Bone Hunt") - download "http://www.pcs-games.net/SBH11.exe" - install_wine_bottle vb6run dx8vb speechsdk - wine "${cache}/SBH11.exe" /sp- /silent - add_launcher "c:\Program Files\SuperDog's Bone Hunt\sbh.exe" - ;; - "Super Egg Hunt") - export bottle="l-works" - download "http://files.l-works.net/superegghuntsetup.exe" - install_wine_bottle - wine "${cache}/superegghuntsetup.exe" /silent - add_launcher "c:\Program Files\Lworks\super egg hunt\superegghunt.exe" - ;; - "Super Liam") - export bottle="l-works" - download "http://files.l-works.net/superliamsetup.exe" - install_wine_bottle vb6run dx8vb - wine "${cache}/superliamsetup.exe" /silent - add_launcher "c:\Program Files\lWorks\Super Liam\sl.exe" - ;; - "Super Mario Bros") - export winVer="win7" - download "https://www.agarchive.net/games/jeqoconGames/super%20mario%20bros.7z" - install_wine_bottle speechsdk - 7z x -o"$WINEPREFIX/drive_c/Program Files/Super Mario Bros" "${cache}/super mario bros.7z" - add_launcher "c:\Program Files\Super Mario Bros\Mario.exe" - ;; - "Survive the Wild") - export WINEARCH=win64 - export winVer="win8" - download "https://stw.samtupy.com/files/stw.zip" "https://stormgames.wolfe.casa/downloads/Tolk.dll" - install_wine_bottle - unzip -d "$WINEPREFIX/drive_c/Program Files/Survive the Wild" "${cache}/stw.zip" - find "${WINEPREFIX}" -type f -name 'Tolk.dll' -exec cp -v "${cache}/Tolk.dll" "{}" \; - add_launcher "c:\Program Files\Survive the Wild\stw.exe" - echo "When the game first launches, press enter to select English." - echo "Press alt+a to accept the license agreement." - echo "Press alt+a to accept the game rules." - echo "Press enter repeatedly until you hear the game logo." - alert - ;; - "Swamp") - 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_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 - unzip -o -d "$WINEPREFIX/drive_c/Program Files/swamp" "${cache}/SwampPatch.zip" - fi - $wine 'c:\Program Files\swamp\checkup.exe' /verysilent - #$wine cmd.exe /c 'cd /d c:\Program Files\swamp && Windows32bit.bat' - # Delete music if requested. - 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") - download "https://blindgamers.com/downloads/Tactical%20Battle%20Dev.zip" - install_wine_bottle speechsdk - LC_ALL=C DISPLAY="" winetricks -q dotnet462 - ${wine}server -k - unzip -d "$WINEPREFIX/drive_c/Program Files/Tactical Battle" "${cache}/Tactical Battle Dev.zip" - add_launcher "c:\Program Files\Tactical Battle\Tactical Battle.exe" - ;; - "Technoshock") - download "http://tiflocomp.ru/download/games/technoshock_140b_en.zip" "http://tiflocomp.ru/download/games/technoshock140b_en_update.zip" - install_wine_bottle - unzip -d "$WINEPREFIX/drive_c/Program Files" "${cache}/technoshock_140b_en.zip" - unzip -d "$WINEPREFIX/drive_c/Program Files" "${cache}/technoshock_140b_en_update.zip" - wine "$WINEPREFIX/drive_c/Program Files/setup_eng.exe" /silent - ${wine}server -w - wine "$WINEPREFIX/drive_c/Program Files/setup_eng_update_pack.exe" /silent - add_launcher "c:\Program Files\Tiflocomp Games\Technoshock\ts.exe" - ;; - "Ten Pin Alley") - export winVer="win7" - export bottle="draconis" - download "http://download.dracoent.com/Windows/classic/TPAXPSetup.exe" - install_wine_bottle vb6run dx8vb speechsdk quartz - cp -v "${cache}/TPAXPSetup.exe" "$WINEPREFIX/drive_c/windows/temp/" - wine "c:/windows/temp/TPAXPSetup.exe" /sp- /silent - rm -fv "$WINEPREFIX/drive_c/windows/temp/TPAXPSetup.exe" - #winetricks -q msdxmocx # I think having this installed first breaks things. - # warning warning warning: Do not change location, or installer will not function. - # FIXME: Hacky, but it works. Install dotnet20 by itself so it actually doesn't hang. - winetricks -q dotnet20 - ${wine}server -k # Damn you, dotnet. - add_launcher "c:\Program Files\Draconis Entertainment\Ten Pin Alley\tpa.exe" - ;; - "The Blind Swordsman") - download "https://www.agarchive.net/games/other/the%20blind%20swordsmanPC.zip" - install_wine_bottle - unzip -d "$WINEPREFIX/drive_c/Program Files" "${cache}/the blind swordsmanPC.zip" - add_launcher "c:\Program Files\TheBlindSwordsman.exe" - ;; - "The Gate") - export winVer="win7" - download "http://www.vgstorm.com/the_gate_installer.exe" - install_wine_bottle - wine "${cache}/the_gate_installer.exe" /silent - add_launcher "c:\Program Files\VGStorm.com\The Gate\gate.exe" - ;; - "The Great Toy Robbery") - export bottle="l-works" - export winVer="win7" - download "http://files.l-works.net/tgtrsetup_2.04.exe" "https://github.com/RastislavKish/nvda2speechd/releases/download/v0.1/nvda2speechd32.dll" - install_wine_bottle dsound directmusic - wine "${cache}/tgtrsetup_2.04.exe" /silent - find "${WINEPREFIX}/drive_c/Program Files/Lworks/The Great Toy Robbery" -type f -name 'nvdaControllerClient32.dll' -exec cp -v "${cache}/nvda2speechd32.dll" "{}" \; - add_launcher "c:\Program Files\Lworks\The Great Toy Robbery\tgtr.exe" - ;; - "The Vale") - get_installer "the-vale-win.zip" "https://falling-squirrel.itch.io/the-vale" - export WINEARCH=win64 - export winVer="win8" - install_wine_bottle - unzip -d "$WINEPREFIX/drive_c/Program Files/the-vale" "${cache}/the-vale-win.zip" - # Weird work around to get keyboard working. - winetricks -q usetakefocus=y - 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" - download "http://oriolgomez.com/games/thief_en.zip" - install_wine_bottle - unzip -d "$WINEPREFIX/drive_c/Program Files/thief" "${cache}/thief_en.zip" - add_launcher "c:\Program Files\thief\game.exe" - ;; - "Top Speed 2") - download "http://users.pandora.be/playinginthedark/downloads/Tspeed_2.00.exe" - install_wine_bottle - wine "${cache}/Tspeed_2.00.exe" /silent - add_launcher "c:\Program Files\Playing in the dark\Top Speed 2\TopSpeed.exe" - ;; - "Tomb Hunter") - download "http://masonasons.me/softs/th_freeware_password_is_tombhunter.7z" - install_wine_bottle speechsdk - 7z x -o"$WINEPREFIX/drive_c/Program Files/Tomb Hunter" "${cache}/th_freeware_password_is_tombhunter.7z" -ptombhunter - find "${WINEPREFIX}" -type f -name "nvdaControllerClient32.dll" -exec rm -fv "{}" \; - add_launcher "c:\Program Files\Tomb Hunter\th.exe" - ;; - "Top Speed 3") - download "https://github.com/PlayingintheDark/TopSpeed/releases/download/h/Tspeed_3.0.3.exe" - install_wine_bottle directplay - wine "${cache}/Tspeed_3.0.3.exe" /silent - add_launcher "c:\Program Files\Playing in the dark\Top Speed 3\TopSpeed.exe" - ;; - "Traders of Known Space") - download "http://www.valiantgalaxy.com/tks/tradersOfKnownSpace0.0.0.5Installer.exe" - install_wine_bottle - wine "${cache}/tradersOfKnownSpace0.0.0.5Installer.exe" /silent - add_launcher "c:\Program Files\VGA\TKS\tradersOfKnownSpace.exe" - ;; - "Three D velocity") - export winVer="win10" -export WINEARCH=win64 -export norh=false # Must install a voice, and rhvoice works easily with 64 bit. - download "https://github.com/munawarb/Three-D-Velocity-Binaries/archive/master.zip" "https://github.com/RastislavKish/nvda2speechd/releases/download/v0.1/nvda2speechd64.dll" "https://github.com/RastislavKish/nvda2speechd/releases/download/v0.1/nvda2speechd32.dll" - install_wine_bottle sapi vcrun2008 gdiplus xact dotnet48 xna40 - # Dotnet is evil. That is all. -# LC_ALL=C winetricks -q dotnet48 -# ${wine}server -k # Ha ha ha. - unzip -d "$WINEPREFIX/drive_c/Program Files" "${cache}/master.zip" - find "${WINEPREFIX}" -type f -name 'nvdaControllerClient32.dll' -exec cp -v "${cache}/nvda2speechd32.dll" "{}" \; - 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" - download "https://www.kaldobsky.com/audiogames/tripletriad.zip" - install_wine_bottle vb6run dx8vb speechsdk - unzip -d "$WINEPREFIX/drive_c/Program Files/Triple Triad" "${cache}/tripletriad.zip" - wine "c:\Program Files\Triple Triad\Checkup.exe" /verysilent - add_launcher "c:\Program Files\Triple Triad\TripleTriad.exe" - ;; - "Troopanum2") - 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 dotnet35sp1 - ${wine}server -k # Damn you, dotnet. - wine "${cache}/Troopanum2Setup.exe" /silent & - xdotool sleep 10 key --clearmodifiers alt+y 2> /dev/null - sleep 30 && ${wine}server -k # Sometimes the installer finishes but the ${wine}server has more processes that don't exit, so we can't depend on ${wine}server -w. - mkdir -p "$WINEPREFIX/drive_c/Program Files/bsc-key-generator" - 7z x -o"$WINEPREFIX/drive_c/Program Files/bsc-key-generator" "${cache}/BSC unlock code generator.7z" - echo "$USER"$'\n'"$(hostname)"$'\n'"none"$'\n'"US" > "$WINEPREFIX/drive_c/Program Files/Troopanum 2.0/config.dat" - unix2dos "$WINEPREFIX/drive_c/Program Files/Troopanum 2.0/config.dat" - if command -v xclip &> /dev/null && command -v xdotool &> /dev/null ; then - wine "c:\Program Files\Troopanum 2.0\register.exe" & - xdotool sleep 10 key Return sleep 2 key Return sleep 2 key Alt+n - sleep 1 - regcode="$(xclip -selection clipboard -o)" - xdotool sleep 1 key Shift+Tab sleep 1 key Return - # FIXME: Kind of hacky, but let's make sure it actually exitted. - sleep 5 - ${wine}server -k - wine "c:\Program Files\bsc-key-generator\BlindsoftwareUnlockCodeGenerator.exe" & - xdotool sleep 10 key Return sleep 2 type t - xdotool sleep 1 type t - xdotool sleep 1 key Tab sleep 1 type $regcode - xdotool sleep 1 key Tab sleep 1 key Return - sleep 2 - regcode="$(xclip -selection clipboard -o)" # Might as well reuse the variable. - # FIXME: Kind of hacky, but let's make sure it actually exitted since I can't find a good way to exit this program. - sleep 5 - ${wine}server -k - wine "c:\Program Files\Troopanum 2.0\register.exe" & - echo "$regcode" | xclip -selection clipboard - xdotool sleep 10 key Return sleep 2 key Shift+Tab sleep 1 key Shift+Tab sleep 1 key Return - # FIXME: Kind of hacky, but let's make sure it actually exitted. - sleep 5 - ${wine}server -k - else - echo "Warning: You need xclip and xdotool for this installer to finish the registration process, however, you don't have them. Either remove the program, install the stated tools, and reinstall it, or go on your own. Caveat Emptor, go to jail, do not pass go, do not collect audiogame rewards and all that stuff." - fi - add_launcher "c:\Program Files\Troopanum 2.0\troop.exe" - ;; - "Tube Sim") - export winVer="win7" - download "http://www.ndadamson.com/downloads/TubeSim1_1_Install.exe" - install_wine_bottle speechsdk - wine "${cache}/TubeSim1_1_Install.exe" /silent & - xdotool sleep 10 key --clearmodifiers Return sleep 1 key alt+n sleep 1 key alt+a sleep 1 key alt+i sleep 10 key alt+f 2> /dev/null - ${wine}server -w - add_launcher "c:\Program Files\NASoft\TubeSim\tsMain.exe" - ;; - "Ultimate SounDoku") - export winVer="win7" - export bottle="draconis" - download "http://download.dracoent.com/Windows/classic/USSetup.exe" - install_wine_bottle vb6run dx8vb speechsdk quartz - cp -v "${cache}/USSetup.exe" "$WINEPREFIX/drive_c/windows/temp/" - wine "c:/windows/temp/USSetup.exe" /sp- /silent - rm -fv "$WINEPREFIX/drive_c/windows/temp/USSetup.exe" - # warning warning warning: Do not change location, or installer will not function. - # FIXME: Hacky, but it works. Install dotnet20 by itself so it actually doesn't hang. - winetricks -q dotnet20 - ${wine}server -k # Damn you, dotnet. - add_launcher "c:\Program Files\Draconis Entertainment\Ultimate Soundoku\soundoku.exe" - ;; - "Undead Assault") - export winVer="win7" - download "http://undead-assault.com/static/files/public/undead_assault.zip" "${nvdaControllerClientDll}" - install_wine_bottle speechsdk - unzip -d "$WINEPREFIX/drive_c/Program Files/undead_assault" "${cache}/undead_assault.zip" - find "${WINEPREFIX}" -type f -name 'nvdaControllerClient32.dll' -exec cp -v "${cache}/nvdaControllerClient32.dll" "{}" \; - add_launcher "c:\Program Files\undead_assault\Undead Assault.exe" - ;; - "Villains From Beyond") - export bottle="oriol-gomez" - export winVer="win7" - 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 "{}" \; - add_launcher "c:\Program Files\villains from beyond\game.exe" - ;; - "VIP Mud") - download "http://gmagames.com/vipmud20016.exe" "https://github.com/RastislavKish/nvda2speechd/releases/download/v0.1/nvda2speechd32.dll" - export winVer="win7" - install_wine_bottle vb6run dx8vb speechsdk - wine "${cache}/vipmud20016.exe" /silent - mkdir -p "${HOME}/.local/wine/vip-mud/drive_c/users/${USER}/Documents/VIP Mud" - find "${WINEPREFIX}" -type f -name 'nvdaControllerClient.dll' -exec cp -v "${cache}/nvda2speechd32.dll" "{}" \; - find "${WINEPREFIX}" -type f -name 'nvdaControllerClient32.dll' -exec cp -v "${cache}/nvda2speechd32.dll" "{}" \; - add_launcher "c:\Program Files\VIPMud 2.0\vipmud2.exe" - echo - echo "When you first launch VIP Mud You will be presented with several inaccessible dialogs." - echo "To bypass these dialogs, press alt+o, then press enter until speech starts." - echo "To be sure that each new dialog has had time to complete, wait a second between each press of enter." - echo "In each subsequent launch, you will need to hit enter a couple times before it starts speaking." - alert - ;; - "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" - add_launcher "c:\Program Files\Warsim\Warsim.exe" - ;; - "Wave of the Undead") - export WINEARCH=win64 - export winVer="win7" - 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" & - 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 - xdotool sleep 2 key space - xdotool sleep 2 key Alt+f - ${wine}server -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" - ;; - "Wolf Games Launcher") - download "https://sightlesswolf.com/wg-release.zip" "https://github.com/RastislavKish/nvda2speechd/releases/download/v0.1/nvda2speechd64.dll" - export WINEARCH=win64 - export winVer="win7" - install_wine_bottle - unzip -d "$WINEPREFIX/drive_c/Program Files" "${cache}/wg-release.zip" - find "${WINEPREFIX}" -type f -name 'nvdaControllerClient64.dll' -exec cp -v "${cache}/nvda2speechd64.dll" "{}" \; - add_launcher "c:\Program Files\wg-release\WolfGames.exe" - ;; - "World of War") - export bottle="nyanchan" - export winVer="win7" - download "https://www.agarchive.net/games/nyanchan/world%20of%20war%20English.7z" - install_wine_bottle - 7z x -o"$WINEPREFIX/drive_c/nyanchangame" "${cache}/world of war English.7z" - add_launcher "c:\nyanchangame\world of war English\world of war.exe" - ;; - "Donate") - open_url "https://ko-fi.com/stormux" - ;; - "Become a Patron") - open_url "https://2mb.games/product/2mb-patron/" - ;; - *) - [[ "$agmNoLaunch" != "true" ]] && [[ -n "${game}" ]] && echo "Game \"${game}\" not found." - [[ "$agmNoLaunch" != "true" ]] && exit 1 - ;; -esac [[ "$agmNoLaunch" != "true" ]] && winetricks sandbox [[ "$agmNoLaunch" != "true" ]] && exit 0 From 733a8a3971b1a14f53bd9f3f523c3f251ea2bad9 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Fri, 13 Dec 2024 05:21:45 -0500 Subject: [PATCH 09/51] Removed gameList variable as it is no longer needed. --- .install/Become a Patron.sh | 1 - .install/Donate.sh | 1 - .install/Hearthstone.sh | 9 -- .install/Minecraft.sh | 39 ------ .install/Wolf Games Launcher.sh | 7 - audiogame-manager.sh | 219 -------------------------------- 6 files changed, 276 deletions(-) delete mode 100644 .install/Become a Patron.sh delete mode 100644 .install/Donate.sh delete mode 100644 .install/Hearthstone.sh delete mode 100644 .install/Minecraft.sh delete mode 100644 .install/Wolf Games Launcher.sh diff --git a/.install/Become a Patron.sh b/.install/Become a Patron.sh deleted file mode 100644 index f1c998c..0000000 --- a/.install/Become a Patron.sh +++ /dev/null @@ -1 +0,0 @@ -open_url "https://2mb.games/product/2mb-patron/" diff --git a/.install/Donate.sh b/.install/Donate.sh deleted file mode 100644 index 931bc3f..0000000 --- a/.install/Donate.sh +++ /dev/null @@ -1 +0,0 @@ - open_url "https://ko-fi.com/stormux" diff --git a/.install/Hearthstone.sh b/.install/Hearthstone.sh deleted file mode 100644 index b388690..0000000 --- a/.install/Hearthstone.sh +++ /dev/null @@ -1,9 +0,0 @@ -export winVer="win10" -install_wine_bottle ie8 vcrun2015 speechsdk -# This download url breaks the download function, so grab it manually. -curl -L --output "${cache}/Hearthstone.exe" "https://us.battle.net/download/getInstaller?os=win&installer=Hearthstone-Setup.exe" -curl -L --output "${cache}/Hearthstone_patch.zip" "https://github.com/HearthstoneAccess/HearthstoneAccess/releases/latest/download/patch.zip" -wine "${cache}/Hearthstone.exe" /silent -unzip -o "${cache}/Hearthstone_patch.zip" -d "${WINEPREFIX}/drive_c/Program Files/Hearthstone" -find "${WINEPREFIX}" -type f -name "nvdaControllerClient32.dll" -exec rm -fv "{}" \; -#add_launcher "c:\Program Files\" diff --git a/.install/Minecraft.sh b/.install/Minecraft.sh deleted file mode 100644 index 89d4622..0000000 --- a/.install/Minecraft.sh +++ /dev/null @@ -1,39 +0,0 @@ -export WINEARCH=win64 -export winVer="win7" -get_installer "accessibility-plus-extended-1.18-curseforge-v1.9.0.jar" "https://www.curseforge.com/minecraft/mc-mods/accessibility-plus-extended/download" -get_installer "Mambience-5.2.0+1.19.jar" "https://www.curseforge.com/minecraft/mc-mods/mambience/download" -get_installer "easy-life-1.18-v1.5.1.jar" "https://www.curseforge.com/minecraft/mc-mods/easy-life/download" -get_installer "numpad-camera-controls-1.18-v1.5.1.jar" "https://www.curseforge.com/minecraft/mc-mods/numpad-keypad-camera-controls/download" -download "https://www.python.org/ftp/python/3.7.9/python-3.7.9-amd64.exe" -install_wine_bottle -wine "$cache/python-3.7.9-amd64.exe" /silent -wine 'c:\windows\py.exe' -m pip install portablemc portablemc-fabric -# Now just need to install latest fabric, portablemc start --dry fabric -wine 'c:\users\'"$USER"'\AppData\Local\Programs\Python\Python37\Scripts\portablemc.exe' start --dry fabric: -# Also need to copy all mods into right place. -mkdir "$WINEPREFIX/drive_c/users/$USER/AppData/Roaming/.minecraft/mods" -for x in "accessibility-plus-extended-1.18-curseforge-v1.9.0.jar" "Mambience-5.2.0+1.19.jar" "easy-life-1.18-v1.5.1.jar" "numpad-camera-controls-1.18-v1.5.1.jar" ; do - cp "$cache/$x" "$WINEPREFIX/drive_c/users/$USER/AppData/Roaming/.minecraft/mods" -done -# And of course, add the launcher. - "Mist World") -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 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} -find "$WINEPREFIX/drive_c/Program Files/Mist World" -iname "nvdaControllerClient32.dll" -exec cp "$cache/nvda2speechd32.dll" "{}" \; -mkdir "$WINEPREFIX/drive_c/Program Files/Mist World/"{user,users} -add_launcher 'c:\Program Files\Mist World\mw.exe' -echo -echo "If you do not have an account, There is a script in game-scripts to help." -echo "Launch the game, press enter on create account, then drop into a console so the game window does not lose focus." -echo "Change to the game-scripts directory and run" -echo "./mist_world_account_creator.sh and follow the prompts." -echo -echo "To login, type your email address, press tab, and type your password." -echo "If you want to enable automatic login, press tab two times followed by space, then tab and enter." -echo "If you do not want to auto login, you can just press enter after typing your password." -alert diff --git a/.install/Wolf Games Launcher.sh b/.install/Wolf Games Launcher.sh deleted file mode 100644 index fa57097..0000000 --- a/.install/Wolf Games Launcher.sh +++ /dev/null @@ -1,7 +0,0 @@ -download "https://sightlesswolf.com/wg-release.zip" "https://github.com/RastislavKish/nvda2speechd/releases/download/v0.1/nvda2speechd64.dll" -export WINEARCH=win64 -export winVer="win7" -install_wine_bottle -unzip -d "$WINEPREFIX/drive_c/Program Files" "${cache}/wg-release.zip" -find "${WINEPREFIX}" -type f -name 'nvdaControllerClient64.dll' -exec cp -v "${cache}/nvda2speechd64.dll" "{}" \; -add_launcher "c:\Program Files\wg-release\WolfGames.exe" diff --git a/audiogame-manager.sh b/audiogame-manager.sh index 94a5b61..7a8fa88 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -1158,225 +1158,6 @@ export ipfsGateway="${ipfsGateway:-https://gateway.pinata.cloud}" export nvdaControllerClientDll="${ipfsGateway}/ipfs/QmWu7YdSbKMk1Qm5DKvEA5hk1YuAK8wVkwhDf2CsmPkmF1?filename=nvdaControllerClient32.dll" -# The list of games available for installation. -# Use menu friendly names. -gameList=( - "A Hero's Call" - "Adrian's Doom" - "Adventurers At C" - "Alien Outback" - "Angel Gift" - "AudioDisc" - "AudioQuake" - "Balatro" - "Battlefield 2D" - "Battle of the Hunter" - "Battle Zone" - #"Beatstar Pro" - "BG 2048" - "BG 15 Puzzle" - "BG Aces Up Solitaire" - "BG Alchemy" - "BG Battleship" - "BG Boggle" - "BG Boxes" - "BG Brainiac" - "BG Chess Challenge" - "BG Code Breaker" - "BG Cribbage" - "BG Cribbage Solitaire" - "BG Crossword Puzzle" - "BG Draw Dominoes" - "BG Fives Dominoes" - "BG Elevens Solitaire" - "BG Free Cell Solitaire" - "BG Golf Solitaire" - "BG Hangman" - "BG Hearts" - "BG Klondike Solitaire" - "BG LAP" - "BG Master Mind" - "BG Mine Sweeper" - "BG Nomination Whist" - "BG Penguin Solitaire" - "BG Poker Solitaire" - "BG Pyramid Solitaire" - "BG Scorpion Solitaire" - "BG Simon" - "BG Spider Solitaire" - "BG Scrabble" - "BG Sudoku" - "BG Tablic Solitaire" - "BG Tri-Peaks Solitaire" - "BG Twenty 20 Cricket" - "BG Uno" - "BG Word Builder" - "BG Word Candy" - "BG Word Jumble" - "BG Word Maze" - "BG Word Solitaire" - "BG Word Target" - "BG Word Yahtzee" - "BG Yahtzee" - "Blind Drive" - "Bloodshed" - "Bokurano Daibouken" - "Bokurano Daibouken 2" - "Bokurano Daibouken 3" - "Bombercats" - "Bop It Emulator" - "Bounce Bounce" - #"Breed Memorial" - "Breu2 Shadow Hunt" - "Castaways" - "Castaways 2" - "Challenge of the Horse" - "Change Reaction" - "Chillingham" - #"Chopper Challenge" - "Christmas Chaos" - "Christmas WhoopAss" - "Clashes of the Sky" - "Code Dungeon" - "Coin Collector" - "Conjury" - #"Constant Battle" - "Copter Mission" - "Crazy Party" - "Crazy Tennis" - "Crime Hunter" - "Danger City" - "Danger on the Wheel" - #"Dark Destroyer" - "Daytona and the Book of Gold" - "Death on the Road" - "Deathmatch" - "Dog Who Hates Toast" - "Dragon Pong" - "Dreamland" - "Duck Hunt" - "DynaMan" - "Easter Quest" - "Endless Runner" - "Entombed" - "ESP Pinball Classic" - "ESP Pinball Extreme" - "ESP Pinball Party Pack" - #"Eurofly" - "Executioner's Rage" - "Extant" - #"Fartman" - "Finger Panic" - "Fuck That Bird" - "Galactic Strike" - "GMA Tank Commander" - "Grizzly Gulch" - "Hammer of Glory" - "haunted Party" - #"Hearthstone" - "Hunter" - "Inquisitor's Heartbeat" - "Insect Therapy" - "Interceptor" - "Judgement Day" - "Kitchensinc Games" - "Kringle Crash" - "Laser Breakout" - "Light Battles" - "Light Cars" - "Lockpick" - "Lone Wolf" - "Lost" - "Lunimals" - "Manamon" - "Manamon 2" - #"Marina Break" - "Maze Craze" - #"Minecraft" - "Mist World" - "Monkey Business" - "MudSplat French" - "MudSplat English" - #"MudSplat Swedish" - "Oh Shit" - "Operation BlackSquare" - "Pacman Talks" - "Palace Punch Up" - "Paladin of the Sky" - "Park Boss" - "Paw Prints" - "Penta Path" - "Perilous Hearts" - "Pontes Kickups!" - "Pigeon Panic" - "Pipe 2 Blast Chamber" - "Preludeamals" - #"Psycho Strike" - "Puzzle Divided" - "Q9" - "Rettou" - "Revelation" - "Rhythm Rage" - "River Raiders" - "Road to Rage" - "Road to Rage Offline" - "RS Games" - "Run For Your Life" - #"Sammy Center" - "Sarah and the Castle of Witchcraft and Wizardry" - "Scramble!" - "Screaming Strike 2" - "Scrolling Battles" - "Sketchbook" - "Sequence Storm" - #"Shades of Doom 1.2" - "Shades of Doom" - "Shadow Line" - "Shooter" - "Side Party" - "Silver Dollar" - "Simple Fighter" - "Skateboarder Pro" - "Slender Lost Vision" - "Sonic the Hedgehog" - "Sonic Zoom" - #"Space Defender" - #"Star Treck Final Conflict" - "Super Deekout" - "Super Dogs Bone Hunt" - "Super Egg Hunt" - "Super Liam" - "Super Mario Bros" - "Survive the Wild" - "Swamp" - "Tactical Battle" - "Technoshock" - "Ten Pin Alley" - "The Blind Swordsman" - #"The Gate" - "The Great Toy Robbery" - "The Vale" - "They'll Come from the Moon" - "Thief" - "Traders of Known Space" - "Three D velocity" - "Tomb Hunter" - "Top Speed 2" - "Top Speed 3" - "Tarot Assistant" - "Triple Triad" - "Troopanum2" - "Tube Sim" - "Ultimate SounDoku" - "Undead Assault" - "Villains From Beyond" - "VIP Mud" - "Warsim" - #"Wave of the Undead" - #"Wolf Games Launcher" - "World of War" -) - # Make sure the minimum of curl, sox, wine, and winetricks are installed or fex-emu on aarch64 if [[ "$(uname -m)" == "aarch64" ]]; then minimumDependencies=("FEXLoader") From 97665e0b22d5e05d880f6660bf4813dba5b00d70 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Fri, 13 Dec 2024 05:23:12 -0500 Subject: [PATCH 10/51] Added comment out to files that were commented in the old gameList variable. --- .install/Beatstar Pro.sh | 1 + .install/Breed Memorial.sh | 1 + .install/Chopper Challenge.sh | 1 + .install/Constant Battle.sh | 1 + .install/Dark Destroyer.sh | 1 + .install/Eurofly.sh | 1 + .install/Fartman.sh | 1 + .install/Marina Break.sh | 1 + .install/Psycho Strike.sh | 1 + .install/Sammy Center.sh | 1 + .install/Shades of Doom 1.2.sh | 1 + .install/The Gate.sh | 1 + .install/Wave of the Undead.sh | 1 + 13 files changed, 13 insertions(+) diff --git a/.install/Beatstar Pro.sh b/.install/Beatstar Pro.sh index ab1deb2..9edfe77 100644 --- a/.install/Beatstar Pro.sh +++ b/.install/Beatstar Pro.sh @@ -1,3 +1,4 @@ +# download "https://oriolgomez.com/games/beat_windows.zip" # Sapi is broken on win64 for now, and this game doesn't support nvda it seems. export WINEARCH=win64 diff --git a/.install/Breed Memorial.sh b/.install/Breed Memorial.sh index 55233e9..ef9c31a 100644 --- a/.install/Breed Memorial.sh +++ b/.install/Breed Memorial.sh @@ -1,3 +1,4 @@ +# download "https://hirotaka2014.sakura.ne.jp/mh0406/game/breed_memorial.zip" "${nvdaControllerClientDll}" export winVer="win7" install_wine_bottle cjkfonts speechsdk diff --git a/.install/Chopper Challenge.sh b/.install/Chopper Challenge.sh index 1c999e6..799c91e 100644 --- a/.install/Chopper Challenge.sh +++ b/.install/Chopper Challenge.sh @@ -1,3 +1,4 @@ +# # Freezes at menu download "https://www.agarchive.net/games/XSight/chopper%20challenge%20setup.exe" install_wine_bottle vb6run dx8vb speechsdk diff --git a/.install/Constant Battle.sh b/.install/Constant Battle.sh index 5283ca6..7bafb60 100644 --- a/.install/Constant Battle.sh +++ b/.install/Constant Battle.sh @@ -1,3 +1,4 @@ +# export winVer="win7" download "https://renovagames.com/bc/BC-Setup.exe" install_wine_bottle cjkfonts speechsdk diff --git a/.install/Dark Destroyer.sh b/.install/Dark Destroyer.sh index 88f985b..dc8c70f 100644 --- a/.install/Dark Destroyer.sh +++ b/.install/Dark Destroyer.sh @@ -1,3 +1,4 @@ +# export bottle=pbgames download "https://www.agarchive.net/games/pb/Dark-Destroyer-Setup.exe" install_wine_bottle speechsdk ie6 diff --git a/.install/Eurofly.sh b/.install/Eurofly.sh index 837962d..b6b47a7 100644 --- a/.install/Eurofly.sh +++ b/.install/Eurofly.sh @@ -1,3 +1,4 @@ +# export winVer="win7" export winetricksSettings="vd=1024x768" download "https://www.stefankiss.sk/files/eurofly2/Launcher_1.2.zip" "https://www.stefankiss.sk/files/eurofly2/Eurofly_2_ful_setup.exe" diff --git a/.install/Fartman.sh b/.install/Fartman.sh index 97fdb25..a325e4b 100644 --- a/.install/Fartman.sh +++ b/.install/Fartman.sh @@ -1,3 +1,4 @@ +# download "http://www.agarchive.net/games/bpc/fartman.exe" install_wine_bottle dx8vb vb6run wine "${cache}/fartman.exe" /silent diff --git a/.install/Marina Break.sh b/.install/Marina Break.sh index e77f9bc..8ed3afd 100644 --- a/.install/Marina Break.sh +++ b/.install/Marina Break.sh @@ -1,3 +1,4 @@ +# export bottle="nyanchan" export winVer="win7" download "https://www.nyanchangames.com/softs/MbSetupE.exe" "https://github.com/RastislavKish/nvda2speechd/releases/download/v0.1/nvda2speechd32.dll" diff --git a/.install/Psycho Strike.sh b/.install/Psycho Strike.sh index f206d9b..c16d5c2 100644 --- a/.install/Psycho Strike.sh +++ b/.install/Psycho Strike.sh @@ -1,3 +1,4 @@ +# download "http://www.vgstorm.com/psycho_strike_installer.exe" install_wine_bottle speechsdk wine "${cache}/psycho_strike_installer.exe" /silent diff --git a/.install/Sammy Center.sh b/.install/Sammy Center.sh index b840b66..ab3bcd0 100644 --- a/.install/Sammy Center.sh +++ b/.install/Sammy Center.sh @@ -1,3 +1,4 @@ +# export winVer="win7" download "http://www.samtupy.com/games/SCSetup.exe" "${nvdaControllerClientDll}" install_wine_bottle speechsdk diff --git a/.install/Shades of Doom 1.2.sh b/.install/Shades of Doom 1.2.sh index 057d231..9c2f371 100644 --- a/.install/Shades of Doom 1.2.sh +++ b/.install/Shades of Doom 1.2.sh @@ -1,3 +1,4 @@ +# download "http://gmagames.com/sod1208.exe" install_wine_bottle vb6run dx8vb speechsdk wine "${cache}/sod1208.exe" /sp- /verysilent diff --git a/.install/The Gate.sh b/.install/The Gate.sh index a4fa9a9..ab4f54e 100644 --- a/.install/The Gate.sh +++ b/.install/The Gate.sh @@ -1,3 +1,4 @@ +# export winVer="win7" download "http://www.vgstorm.com/the_gate_installer.exe" install_wine_bottle diff --git a/.install/Wave of the Undead.sh b/.install/Wave of the Undead.sh index cedfc3b..c9aba4b 100644 --- a/.install/Wave of the Undead.sh +++ b/.install/Wave of the Undead.sh @@ -1,3 +1,4 @@ +# export WINEARCH=win64 export winVer="win7" 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" From 8ef25325219dc7dc46f7e80aa65879648a9e5bb0 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Fri, 13 Dec 2024 05:34:53 -0500 Subject: [PATCH 11/51] Fixed the -t flag which was broken by the removal of the gameList variable. --- audiogame-manager.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/audiogame-manager.sh b/audiogame-manager.sh index 7a8fa88..865df08 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -1233,7 +1233,7 @@ while getopts "${args}" i ; do S) defaultRate="${OPTARG}";; t) dialog --backtitle "Audiogame Manager" \ - --infobox "There are currently ${#gameList[@]} games available." -1 -1 + --infobox "There are currently $(ls -1 "${0%/*}/.install" | wc -l) games available." -1 -1 exit 0 ;; v) voiceName="${OPTARG}";; From ba2687f8ad2ef6acf144482f7391306f6c093c47 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Sat, 14 Dec 2024 07:27:04 -0500 Subject: [PATCH 12/51] Make sure wine is set to something for game removal function. Added game "Soulblaze" --- .install/Soulblaze.sh | 8 ++++++++ audiogame-manager.sh | 1 + 2 files changed, 9 insertions(+) create mode 100644 .install/Soulblaze.sh diff --git a/.install/Soulblaze.sh b/.install/Soulblaze.sh new file mode 100644 index 0000000..b134eb2 --- /dev/null +++ b/.install/Soulblaze.sh @@ -0,0 +1,8 @@ +get_installer "soulblaze-win-beta.zip" "https://sword-and-quill.itch.io/soulblaze" +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/soulblaze" "${cache}/soulblaze-win-beta.zip" +find "${WINEPREFIX}" -type f -name 'nvdaControllerClient64.dll' -exec cp -v "${cache}/nvda2speechd64.dll" "{}" \; +add_launcher "c:\Program Files\soulblaze\Soulblaze.exe" diff --git a/audiogame-manager.sh b/audiogame-manager.sh index 865df08..c724e31 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -782,6 +782,7 @@ game_installer() { # remove games game_removal() { + wine="${wine:-wine}" mapfile -t lines < <(sed -e '/^$/d' -e '/^[[:space:]]*#/d' "${configFile}" 2> /dev/null) if [[ ${#lines} -eq 0 ]]; then echo "No games found." From 5da5e43964297d992ccd54527d09a3a899ac21ab Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Sat, 14 Dec 2024 15:10:04 -0500 Subject: [PATCH 13/51] Updated Download function. --- audiogame-manager.sh | 89 +++++++++++++++++++++++++++++--------------- 1 file changed, 59 insertions(+), 30 deletions(-) diff --git a/audiogame-manager.sh b/audiogame-manager.sh index c724e31..61dd466 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -280,34 +280,63 @@ clear_cache() { } download() { - local source=($@) - 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 - if [[ "${redownload}" == "true" ]] && [[ -e "${cache}/${dest}" ]]; then - rm -v "${cache}/${dest}" - fi - # Skip if the item is in cache. - test -e "${cache}/${dest}" && continue - if ! curl -L4 -C - --retry 10 --output "${cache}/${dest}" "${i}" ; then - local exit_code="$?" - if [[ $exit_code -eq 22 ]]; then - echo "File not found: \"$i\" (HTTP 404)" - # Remove the empty file. - rm -f "${cache}/${dest}" - exit 1 - fi - fi - if file -b "${cache}/${dest}" | grep -q "HTML document" ; then - echo "File not found: \"$i\" (HTML document probably 404)" - rm -f "${cache}/${dest}" - exit 1 - fi - done + local source=($@) + for i in "${source[@]}" ; do + local dest="${i##*/}" + dest="${dest//%20/ }" + dest="${dest#*\?filename=}" + dest="${dest%\?*}" + # Remove the destination file if it is empty. + [[ -s "${cache}/${dest}" ]] || rm -f "${cache}/${dest}" 2> /dev/null + if [[ "${redownload}" == "true" ]] && [[ -e "${cache}/${dest}" ]]; then + rm -v "${cache}/${dest}" + fi + # Skip if the item is in cache. + [[ -e "${cache}/${dest}" ]] && continue + { if ! curl -L4 -C - --retry 10 --output "${cache}/${dest}" "${i}" ; then + echo "Could not download \"$i\"..." + exit 1 + fi; } | dialog --backtitle "Audio Game Manager" \ + --progressbox "Downloading \"$dest\" from \"$i\"" -1 -1 + local downloadError=1 + case "${dest##*.}" in + "pk3"|"zip") + unzip -tq "${cache}/${dest}" | dialog --backtitle "Audio Game Manager" \ + --progressbox "Validating ${dest##*.} file" -1 -1 --stdout + downloadError=$? + ;; + "7z") + 7z t "${cache}/${dest}" | dialog --backtitle "Audio Game Manager" \ + --progressbox "Validating 7z file" -1 -1 --stdout + downloadError=$? + ;; + "exe") + # Check if it's a valid Windows executable by looking at the MZ header + if ! hexdump -n 2 -v -e '/1 "%02X"' "${cache}/${dest}" | grep -q "4D5A"; then + downloadError=0 + fi + ;; + "wad") + if [[ "$(file -b --mime-type "${cache}/${dest}")" != "application/octet-stream" ]]; then + downloadError=0 + fi + ;; + *) + # Add HTML check for other file types + if file -b "${cache}/${dest}" | grep -q "HTML document" ; then + echo "File not found: \"$i\" (HTML document probably 404)" + downloadError=0 + fi + ;; + esac + if [[ $downloadError -eq 0 ]]; then + rm -fv "${cache}/${dest}" + dialog --backtitle "Audio Game Manager" \ + --infobox "Error downloading \"${dest}\". Installation cannot continue." -1 -1 --stdout + alert + exit 1 + fi + done } get_bottle() { @@ -489,7 +518,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 "ipfsGateway=\"https://ipfs.stormux.org\" # 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." @@ -1155,7 +1184,7 @@ unset noCache unset manualInstall unset version # ipfs gateway -export ipfsGateway="${ipfsGateway:-https://gateway.pinata.cloud}" +export ipfsGateway="${ipfsGateway:-https://ipfs.stormux.org}" export nvdaControllerClientDll="${ipfsGateway}/ipfs/QmWu7YdSbKMk1Qm5DKvEA5hk1YuAK8wVkwhDf2CsmPkmF1?filename=nvdaControllerClient32.dll" From b776b18cf2f93e4fbd9f9b9725fa4669c24d03cf Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Sun, 15 Dec 2024 16:14:17 -0500 Subject: [PATCH 14/51] Add lyubov as an RHVoice option. --- audiogame-manager.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/audiogame-manager.sh b/audiogame-manager.sh index 61dd466..7f5a562 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -665,6 +665,7 @@ install_rhvoice() { [alan]="https://rhvoice.eu-central-1.linodeobjects.com/RHVoice-voice-English-Alan-v4.0.2008.15-setup.exe" [bdl]="https://rhvoice.eu-central-1.linodeobjects.com/RHVoice-voice-English-Bdl-v4.1.2008.15-setup.exe" [clb]="https://rhvoice.eu-central-1.linodeobjects.com/RHVoice-voice-English-Clb-v4.0.2008.15-setup.exe" + [lyubov]="https://rhvoice.eu-central-1.linodeobjects.com/RHVoice-voice-English-Lyubov-v4.0.2008.15-setup.exe" [slt]="https://rhvoice.eu-central-1.linodeobjects.com/RHVoice-voice-English-Slt-v4.0.2008.15-setup.exe" ) voiceName="${voiceName:-bdl}" From b8eb927c2d54abffffbb7a10784f85d834aea667 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Sun, 15 Dec 2024 18:48:40 -0500 Subject: [PATCH 15/51] Use /usr/bin/wine if nothing is set for the variable. --- audiogame-manager.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/audiogame-manager.sh b/audiogame-manager.sh index 7f5a562..1c9d766 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -812,7 +812,7 @@ game_installer() { # remove games game_removal() { - wine="${wine:-wine}" + wine="${wine:-/usr/bin/wine}" mapfile -t lines < <(sed -e '/^$/d' -e '/^[[:space:]]*#/d' "${configFile}" 2> /dev/null) if [[ ${#lines} -eq 0 ]]; then echo "No games found." @@ -1089,7 +1089,7 @@ game_launcher() { fi get_bottle "${game[0]}" # make sure wine is actually set to something - export wine="${wine:-wine}" + export wine="${wine:-/usr/bin/wine}" echo -n "launching " ${wine} --version # kill any previous existing wineservers for this prefix in case they didn't shut down properly. @@ -1110,7 +1110,7 @@ game_launcher() { fi process_launcher-flags custom_launch_parameters - ${wine:-wine} start /d "${game[1]%\\*}" "${game[1]##*\\}" /realtime + ${wine:-/usr/bin/wine} start /d "${game[1]%\\*}" "${game[1]##*\\}" /realtime fi exit 0 } @@ -1274,7 +1274,7 @@ done # Install game based on the selection above. # make sure wine is actually set to something -export wine="${wine:-wine}" +export wine="${wine:-/usr/bin/wine}" [[ "$agmNoLaunch" != "true" ]] && winetricks sandbox [[ "$agmNoLaunch" != "true" ]] && exit 0 From 587e1ef385820565291be9c91fb02bf399bd8313 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Sun, 15 Dec 2024 21:41:03 -0500 Subject: [PATCH 16/51] Fixed a bug that would run sandbox on non existent wine if control+c was pressed. --- audiogame-manager.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/audiogame-manager.sh b/audiogame-manager.sh index 1c9d766..6d13658 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -1146,6 +1146,7 @@ add_launcher() { fi } +trap "exit 0" SIGINT # Check for updates update # If display isn't set assume we are launching from console and an X environment is running using display :0 @@ -1272,9 +1273,8 @@ while getopts "${args}" i ; do esac done -# Install game based on the selection above. -# make sure wine is actually set to something -export wine="${wine:-/usr/bin/wine}" +[[ ${#game} -lt 1 ]] && exit 0 + [[ "$agmNoLaunch" != "true" ]] && winetricks sandbox [[ "$agmNoLaunch" != "true" ]] && exit 0 From ccdf8ff858e715f4fa4b2fc4eae0fbade64e4824 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Mon, 16 Dec 2024 04:10:26 -0500 Subject: [PATCH 17/51] Fixed Silver Dollar installer. --- .install/Side Party.sh | 13 ------------- .install/Silver Dollar.sh | 12 ++++++++++++ 2 files changed, 12 insertions(+), 13 deletions(-) create mode 100644 .install/Silver Dollar.sh diff --git a/.install/Side Party.sh b/.install/Side Party.sh index 4b5fa17..81099d8 100644 --- a/.install/Side Party.sh +++ b/.install/Side Party.sh @@ -16,16 +16,3 @@ cp -v "${cache}/SidePartySettings.dat" "$WINEPREFIX/drive_c/Program Files/Side P if [[ ${#sidePartyUser} -gt 3 ]]; then sed -i "s/Anonymous/${sidePartyUser}/" "$WINEPREFIX/drive_c/Program Files/Side Party/masonasons.me/SideParty/settings.dat" fi - "Silver Dollar") -export winVer="win7" -export bottle="draconis" -download "http://download.dracoent.com/Windows/SilverDollarSetup.exe" -install_wine_bottle speechsdk -cp -v "${cache}/SilverDollarSetup.exe" "$WINEPREFIX/drive_c/windows/temp/" -wine "c:/windows/temp/SilverDollarSetup.exe" /sp- /silent -rm -fv "$WINEPREFIX/drive_c/windows/temp/SilverDollarSetup.exe" -# warning warning warning: Do not change location, or installer will not function. -# FIXME: Hacky, but it works. Install dotnet40 by itself so it actually doesn't hang. -DISPLAY="" winetricks -q dotnet40 -${wine}server -k # Damn you, dotnet. -add_launcher "c:\Program Files\Draconis Entertainment\Silver Dollar\SilverDollarGui.exe" diff --git a/.install/Silver Dollar.sh b/.install/Silver Dollar.sh new file mode 100644 index 0000000..827e6a4 --- /dev/null +++ b/.install/Silver Dollar.sh @@ -0,0 +1,12 @@ +export winVer="win7" +export bottle="draconis" +download "http://download.dracoent.com/Windows/SilverDollarSetup.exe" +install_wine_bottle speechsdk +cp -v "${cache}/SilverDollarSetup.exe" "$WINEPREFIX/drive_c/windows/temp/" +wine "c:/windows/temp/SilverDollarSetup.exe" /sp- /silent +rm -fv "$WINEPREFIX/drive_c/windows/temp/SilverDollarSetup.exe" +# warning warning warning: Do not change location, or installer will not function. +# FIXME: Hacky, but it works. Install dotnet40 by itself so it actually doesn't hang. +DISPLAY="" winetricks -q dotnet40 +${wine}server -k # Damn you, dotnet. +add_launcher "c:\Program Files\Draconis Entertainment\Silver Dollar\SilverDollarGui.exe" From f0e421ab33b2b13a5708254a4bb9527feebaaf65 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Mon, 16 Dec 2024 04:25:54 -0500 Subject: [PATCH 18/51] Fixed a few installers that got mangled by the conversion script. --- .install/Daytona and the Book of Gold.sh | 7 ------- .install/Death on the Road.sh | 6 ++++++ .install/Dog Who Hates Toast.sh | 6 ------ .install/Dragon Pong.sh | 6 ++++++ 4 files changed, 12 insertions(+), 13 deletions(-) create mode 100644 .install/Death on the Road.sh create mode 100644 .install/Dragon Pong.sh diff --git a/.install/Daytona and the Book of Gold.sh b/.install/Daytona and the Book of Gold.sh index 4180f8f..1e3c61d 100644 --- a/.install/Daytona and the Book of Gold.sh +++ b/.install/Daytona and the Book of Gold.sh @@ -6,10 +6,3 @@ install_wine_bottle vb6run dx8vb quartz corefonts unzip -d "$WINEPREFIX/drive_c/Program Files/daytona" "${cache}/Daytona.zip" wine 'c:\Program Files\daytona\checkup.exe' /verysilent add_launcher "c:\Program Files\daytona\Daytona.exe" -"Death on the Road") -export bottle="oriol-gomez" -export winVer="win7" -download "http://oriolgomez.com/games/road_en.zip" -install_wine_bottle -unzip -d "$WINEPREFIX/drive_c/Program Files/death on the road" "${cache}/road_en.zip" -add_launcher "c:\Program Files\death on the road\game.exe" diff --git a/.install/Death on the Road.sh b/.install/Death on the Road.sh new file mode 100644 index 0000000..e6d8ff0 --- /dev/null +++ b/.install/Death on the Road.sh @@ -0,0 +1,6 @@ +export bottle="oriol-gomez" +export winVer="win7" +download "http://oriolgomez.com/games/road_en.zip" +install_wine_bottle +unzip -d "$WINEPREFIX/drive_c/Program Files/death on the road" "${cache}/road_en.zip" +add_launcher "c:\Program Files\death on the road\game.exe" diff --git a/.install/Dog Who Hates Toast.sh b/.install/Dog Who Hates Toast.sh index 423e9e8..6aa746e 100644 --- a/.install/Dog Who Hates Toast.sh +++ b/.install/Dog Who Hates Toast.sh @@ -7,9 +7,3 @@ unzip -d "$WINEPREFIX/drive_c/Program Files/dogwhohatestoast" "${cache}/dogwhoha wine 'c:\Program Files\dogwhohatestoast\checkup.exe' /verysilent add_launcher "c:\Program Files\dogwhohatestoast\DogwhoHatesToast.exe" echo "Note: Dog who Hates Toast installed. Once you start the game, you must press tab until you hear sapi on to get speech." >&2 - "Dragon Pong") -export winVer="win7" -install_wine_bottle -download "https://www.iamtalon.me/games/dragonpong.zip" -unzip -d "$WINEPREFIX/drive_c/Program Files" "${cache}/dragonpong.zip" -add_launcher "c:\Program Files\dragonpong\DragonPong.exe" diff --git a/.install/Dragon Pong.sh b/.install/Dragon Pong.sh new file mode 100644 index 0000000..2d84cae --- /dev/null +++ b/.install/Dragon Pong.sh @@ -0,0 +1,6 @@ +# +export winVer="win7" +install_wine_bottle +download "https://www.iamtalon.me/games/dragonpong.zip" +unzip -d "$WINEPREFIX/drive_c/Program Files" "${cache}/dragonpong.zip" +add_launcher "c:\Program Files\dragonpong\DragonPong.exe" From 18a6930c7cf4e6775c67779667ca3ed37f5f7334 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Mon, 16 Dec 2024 04:30:42 -0500 Subject: [PATCH 19/51] Updated code for -t flage. Does the same thing just better implemented. --- audiogame-manager.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/audiogame-manager.sh b/audiogame-manager.sh index 6d13658..e4cc7ec 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -1264,10 +1264,11 @@ while getopts "${args}" i ; do r) game_removal;; S) defaultRate="${OPTARG}";; t) - dialog --backtitle "Audiogame Manager" \ - --infobox "There are currently $(ls -1 "${0%/*}/.install" | wc -l) games available." -1 -1 + gameCount=$(find .install -type f -iname "*.sh" | wc -l) + dialog --backtitle "Linux Game Manager" \ + --infobox "There are currently ${gameCount} games available." -1 -1 exit 0 - ;; + ;; v) voiceName="${OPTARG}";; V) defaultVoice="${OPTARG}";; esac From 75535a27b1a36386faef85ed45ce57939c4b00a7 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Mon, 16 Dec 2024 14:42:25 -0500 Subject: [PATCH 20/51] Changed the way nvda2speechd is launched. --- audiogame-manager.sh | 32 +++++++++----------------------- 1 file changed, 9 insertions(+), 23 deletions(-) diff --git a/audiogame-manager.sh b/audiogame-manager.sh index e4cc7ec..b82013e 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -920,22 +920,11 @@ custom_launch_parameters() { if [[ "${game[0]}" == "executioner's-rage" ]]; then find "${WINEPREFIX}/drive_c/Program Files" -type f -name 'nvdaControllerClient64.dll' -exec cp -v "${cache}/nvda2speechd64.dll" "{}" \; fi - if [[ "${game[0]}" == "haunted-party" ]]; then - pgrep -u "$USER" nvda2speechd &> /dev/null || ${XDG_DATA_HOME:-$HOME/.local/share}/audiogame-manager/nvda2speechd & - fi if [[ "${game[0]}" == "laser-breakout" ]]; then - pgrep -u "$USER" nvda2speechd &> /dev/null || ${XDG_DATA_HOME:-$HOME/.local/share}/audiogame-manager/nvda2speechd & "${0%/*}/speech/speak_window_title.sh" play.exe & fi - if [[ "${game[0]}" == "light-battles" ]]; then - pgrep -u "$USER" nvda2speechd &> /dev/null || ${XDG_DATA_HOME:-$HOME/.local/share}/audiogame-manager/nvda2speechd & - fi if [[ "${game[0]}" == "mist-world" ]]; then "${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[0]}" == "oh-shit" ]]; then - pgrep -u "$USER" nvda2speechd &> /dev/null || ${XDG_DATA_HOME:-$HOME/.local/share}/audiogame-manager/nvda2speechd & fi if [[ "${game[0]}" == "bokurano-daibouken-2" ]]; then "${0%/*}/speech/clipboard_translator.sh" play.exe bokurano-daibouken2 & @@ -952,7 +941,6 @@ custom_launch_parameters() { if [[ ! -e "${dictPath}/data/nvdaControllerClient.dll" ]]; then cp "${cache}/nvda2speechd32.dll" "${dictPath}/data/nvdaControllerClient.dll" fi - pgrep -u "$USER" nvda2speechd &> /dev/null || ${XDG_DATA_HOME:-$HOME/.local/share}/audiogame-manager/nvda2speechd & fi if [[ ! -d "${dictPath}/dict" ]] && [[ ! -r "${cache}/bk3-dict.dat" ]]; then find "${WINEPREFIX}/drive_c/nyanchangame/bk3" -type f -name 'nvdaControllerClient.dll' -exec rm -v "{}" \; @@ -962,9 +950,6 @@ custom_launch_parameters() { if [[ "${game[0]}" == "bop-it-emulator" ]]; then "${0%/*}/speech/speak_window_title.sh" bop.exe & fi - if [[ "${game[0]}" == "breu2-shadow-hunt" ]]; then - pgrep -u "$USER" nvda2speechd &> /dev/null || ${XDG_DATA_HOME:-$HOME/.local/share}/audiogame-manager/nvda2speechd & - fi if [[ "${game[0]}" == "road-to-rage" ]]; then "${0%/*}/speech/speak_window_title.sh" trtr.exe & fi @@ -1004,16 +989,9 @@ custom_launch_parameters() { popd exit 0 fi - if [[ "${game[0]}" == "vip-mud" ]]; then - pgrep -u "$USER" nvda2speechd &> /dev/null || ${XDG_DATA_HOME:-$HOME/.local/share}/audiogame-manager/nvda2speechd & - fi if [[ -d "${WINEPREFIX}/drive_c/windows/syswow64" ]]; then - pgrep -u "$USER" nvda2speechd &> /dev/null || ${XDG_DATA_HOME:-$HOME/.local/share}/audiogame-manager/nvda2speechd & # switch to wine64 for 64 bit prefix. - [[ "${wine}" == "wine" ]] && export wine="wine64" - fi - if [[ "${game[0]}" == "the-great-toy-robbery" ]] ; then - pgrep -u "$USER" nvda2speechd &> /dev/null || ${XDG_DATA_HOME:-$HOME/.local/share}/audiogame-manager/nvda2speechd & + [[ "${wine}" == "/usr/bin/wine" ]] && export wine="/usr/bin/wine64" fi } @@ -1043,6 +1021,14 @@ create_game_array() { game_launcher() { # For use by update scripts that want to source functions in this file. [[ "$agmNoLaunch" == "true" ]] && return + pgrep -u "$USER" nvda2speechd &> /dev/null || { + if [[ -x ${XDG_DATA_HOME:-$HOME/.local/share}/audiogame-manager/nvda2speechd ]]; then + if command -v FEXLoader &> /dev/null ; then + FEXLoader -- ${XDG_DATA_HOME:-$HOME/.local/share}/audiogame-manager/nvda2speechd & + else + ${XDG_DATA_HOME:-$HOME/.local/share}/audiogame-manager/nvda2speechd & + fi + fi; } mapfile -t lines < <(sed -e '/^$/d' -e '/^ *#/d' "${configFile}" 2> /dev/null) if [[ ${#lines} -eq 0 ]]; then echo "Install some games first." From 8aee611f86ecf81cc6831d5109f66b16c56a34d7 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Mon, 16 Dec 2024 18:49:18 -0500 Subject: [PATCH 21/51] Update winetricks to use FEXLoader if present. --- audiogame-manager.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/audiogame-manager.sh b/audiogame-manager.sh index b82013e..357dd03 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -646,7 +646,11 @@ winetricks() { fi fi # Run the requested winetricks parameters - ${winetricksPath}/winetricks "$@" + if command -v FEXLoader &> /dev/null ; then + FEXLoader -- ${winetricksPath}/winetricks "$@" + else + ${winetricksPath}/winetricks "$@" + fi } install_rhvoice() { From 5620623ffe41fd33780aa1ae3c706b14160bd9dd Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Mon, 16 Dec 2024 18:54:37 -0500 Subject: [PATCH 22/51] Mistworld got lost in the move to the new install system, so re-added it. --- .install/Mist World.sh | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .install/Mist World.sh diff --git a/.install/Mist World.sh b/.install/Mist World.sh new file mode 100644 index 0000000..03a1f01 --- /dev/null +++ b/.install/Mist World.sh @@ -0,0 +1,20 @@ +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 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} +find "$WINEPREFIX/drive_c/Program Files/Mist World" -iname "nvdaControllerClient32.dll" -exec cp "$cache/nvda2speechd32.dll" "{}" \; +mkdir "$WINEPREFIX/drive_c/Program Files/Mist World/"{user,users} +add_launcher 'c:\Program Files\Mist World\mw.exe' +echo +echo "If you do not have an account, There is a script in game-scripts to help." +echo "Launch the game, press enter on create account, then drop into a console so the game window does not lose focus." +echo "Change to the game-scripts directory and run" +echo "./mist_world_account_creator.sh and follow the prompts." +echo +echo "To login, type your email address, press tab, and type your password." +echo "If you want to enable automatic login, press tab two times followed by space, then tab and enter." +echo "If you do not want to auto login, you can just press enter after typing your password." +alert From ee1eb6be60d84e04c53d8da3a4295168decd2053 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Mon, 16 Dec 2024 19:17:59 -0500 Subject: [PATCH 23/51] Found some more games that didn't make it during the switch, added those back. --- .install/Duck Hunt.sh | 6 ++++++ .install/Shooter.sh | 8 ++++++++ .install/Skateboarder Pro.sh | 8 ++++++++ .install/Top Speed 3.sh | 3 +++ 4 files changed, 25 insertions(+) create mode 100644 .install/Duck Hunt.sh create mode 100644 .install/Shooter.sh create mode 100644 .install/Skateboarder Pro.sh diff --git a/.install/Duck Hunt.sh b/.install/Duck Hunt.sh new file mode 100644 index 0000000..bb87a34 --- /dev/null +++ b/.install/Duck Hunt.sh @@ -0,0 +1,6 @@ +"Duck Hunt") +export bottle="l-works" +download "http://files.l-works.net/dhsetup.exe" +install_wine_bottle vb6run dx8vb speechsdk +wine "${cache}/dhsetup.exe" /silent +add_launcher "c:\Program Files\Lworks\Duck Hunt\duckhunt.exe" diff --git a/.install/Shooter.sh b/.install/Shooter.sh new file mode 100644 index 0000000..691dc73 --- /dev/null +++ b/.install/Shooter.sh @@ -0,0 +1,8 @@ +export WINEARCH=win64 +export winVer="win7" +get_installer "shooter-win.zip" "https://brynify.itch.io/shooter" +download "https://github.com/RastislavKish/nvda2speechd/releases/download/v0.1/nvda2speechd64.dll" +install_wine_bottle +unzip -d "$WINEPREFIX/drive_c/Program Files/shooter" "${cache}/shooter-win.zip" +find "${WINEPREFIX}" -type f -name 'nvdaControllerClient64.dll' -exec cp -v "${cache}/nvda2speechd64.dll" "{}" \; +add_launcher "c:\Program Files\shooter\shooter.exe" diff --git a/.install/Skateboarder Pro.sh b/.install/Skateboarder Pro.sh new file mode 100644 index 0000000..944b4d6 --- /dev/null +++ b/.install/Skateboarder Pro.sh @@ -0,0 +1,8 @@ +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/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" diff --git a/.install/Top Speed 3.sh b/.install/Top Speed 3.sh index 2dcf641..eb3497e 100644 --- a/.install/Top Speed 3.sh +++ b/.install/Top Speed 3.sh @@ -1,4 +1,7 @@ download "https://github.com/PlayingintheDark/TopSpeed/releases/download/h/Tspeed_3.0.3.exe" +if [[ "$(uname -m)" == "aarch64" ]]; then + export WINEARCH=win64 +fi install_wine_bottle directplay wine "${cache}/Tspeed_3.0.3.exe" /silent add_launcher "c:\Program Files\Playing in the dark\Top Speed 3\TopSpeed.exe" From 7ff6fd924897df3a4f089a7ee06f3167fbed0a1c Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Tue, 17 Dec 2024 05:06:37 -0500 Subject: [PATCH 24/51] Hopefully fixed problem with FEXLoader call to winetricks. --- audiogame-manager.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/audiogame-manager.sh b/audiogame-manager.sh index 357dd03..9fc0e42 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -647,7 +647,7 @@ winetricks() { fi # Run the requested winetricks parameters if command -v FEXLoader &> /dev/null ; then - FEXLoader -- ${winetricksPath}/winetricks "$@" + WINE="" FEXLoader -- ${winetricksPath}/winetricks "$@" else ${winetricksPath}/winetricks "$@" fi From 294557fe343bd9d939579196d76b8ea3da05ad59 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Tue, 17 Dec 2024 05:19:04 -0500 Subject: [PATCH 25/51] Hopefully hide some messages that were making the launch menu ... interesting. --- audiogame-manager.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/audiogame-manager.sh b/audiogame-manager.sh index 9fc0e42..9ac00fb 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -1028,9 +1028,9 @@ game_launcher() { pgrep -u "$USER" nvda2speechd &> /dev/null || { if [[ -x ${XDG_DATA_HOME:-$HOME/.local/share}/audiogame-manager/nvda2speechd ]]; then if command -v FEXLoader &> /dev/null ; then - FEXLoader -- ${XDG_DATA_HOME:-$HOME/.local/share}/audiogame-manager/nvda2speechd & + FEXLoader -- ${XDG_DATA_HOME:-$HOME/.local/share}/audiogame-manager/nvda2speechd &> /dev/null & else - ${XDG_DATA_HOME:-$HOME/.local/share}/audiogame-manager/nvda2speechd & + ${XDG_DATA_HOME:-$HOME/.local/share}/audiogame-manager/nvda2speechd &> /dev/null & fi fi; } mapfile -t lines < <(sed -e '/^$/d' -e '/^ *#/d' "${configFile}" 2> /dev/null) From 5cc4eca7fd303fa6d393ee4831bcf106111cad42 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Tue, 17 Dec 2024 06:15:02 -0500 Subject: [PATCH 26/51] Fixed some places where wine wasn't being properly set. --- audiogame-manager.sh | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/audiogame-manager.sh b/audiogame-manager.sh index 9ac00fb..1a024db 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -816,7 +816,11 @@ game_installer() { # remove games game_removal() { - wine="${wine:-/usr/bin/wine}" + if [[ "$(uname -m)" == "aarch64" ]]; then + export wine="${wine:-/usr/bin/wine}" + else + export wine="${wine:-/usr/bin/wine}" + fi mapfile -t lines < <(sed -e '/^$/d' -e '/^[[:space:]]*#/d' "${configFile}" 2> /dev/null) if [[ ${#lines} -eq 0 ]]; then echo "No games found." @@ -872,6 +876,11 @@ game_removal() { # kill games that are stuck kill_game() { + if [[ "$(uname -m)" == "aarch64" ]]; then + export wine="${wine:-/usr/bin/wine}" + else + export wine="${wine:-/usr/bin/wine}" + fi mapfile -t lines < <(sed '/^$/d' "${configFile}" 2> /dev/null) if [[ ${#lines} -eq 0 ]]; then echo "No games found." @@ -1079,7 +1088,11 @@ game_launcher() { fi get_bottle "${game[0]}" # make sure wine is actually set to something - export wine="${wine:-/usr/bin/wine}" + if [[ "$(uname -m)" == "aarch64" ]]; then + export wine="${wine:-/usr/bin/wine}" + else + export wine="${wine:-/usr/bin/wine}" + fi echo -n "launching " ${wine} --version # kill any previous existing wineservers for this prefix in case they didn't shut down properly. From fad25d35ecda5b30006fd244e7eb8a18b5861e4b Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Wed, 18 Dec 2024 04:28:29 -0500 Subject: [PATCH 27/51] Soulblaze is now available natively in Linux, so moved to linux-game-manager. --- .install/Soulblaze.sh | 8 -------- 1 file changed, 8 deletions(-) delete mode 100644 .install/Soulblaze.sh diff --git a/.install/Soulblaze.sh b/.install/Soulblaze.sh deleted file mode 100644 index b134eb2..0000000 --- a/.install/Soulblaze.sh +++ /dev/null @@ -1,8 +0,0 @@ -get_installer "soulblaze-win-beta.zip" "https://sword-and-quill.itch.io/soulblaze" -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/soulblaze" "${cache}/soulblaze-win-beta.zip" -find "${WINEPREFIX}" -type f -name 'nvdaControllerClient64.dll' -exec cp -v "${cache}/nvda2speechd64.dll" "{}" \; -add_launcher "c:\Program Files\soulblaze\Soulblaze.exe" From 54ce9754febdce71c32b7d35a8b3785eef1e898c Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Wed, 18 Dec 2024 04:52:34 -0500 Subject: [PATCH 28/51] Reorganize the way notes are shown after updates so that they hopefully appear oldest to newest. --- audiogame-manager.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/audiogame-manager.sh b/audiogame-manager.sh index 1a024db..1504893 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -95,7 +95,7 @@ fi dialog --backtitle "Audiogame Manager" \ --yesno "Updates are available. Would you like to update now?" -1 -1 --stdout || return { git pull - git log '@{1}..' --pretty=format:'%an: %s'; } + git log '@{1}..' --pretty=format:'%an: %s' | tac; } exit $? } From 1450bbc01202080914a9ef96b8622c87c7cfca0f Mon Sep 17 00:00:00 2001 From: Michael Taboada Date: Sun, 22 Dec 2024 22:43:00 -0800 Subject: [PATCH 29/51] Fix scramble launcher for newest versions. --- .install/Scramble!.sh | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.install/Scramble!.sh b/.install/Scramble!.sh index 470cc6c..4e999d8 100644 --- a/.install/Scramble!.sh +++ b/.install/Scramble!.sh @@ -1,7 +1,9 @@ winetricksSettings="vd=1024x768" export winVer="win7" -download "https://stevend.net/downloads/scramble_win32.zip" "${nvdaControllerClientDll}" -install_wine_bottle speechsdk +download "https://stevend.net/downloads/scramble_win32.zip" "https://github.com/RastislavKish/nvda2speechd/releases/download/v0.1/nvda2speechd32.dll" +install_wine_bottle unzip -d "$WINEPREFIX/drive_c/Program Files/" "${cache}/scramble_win32.zip" -find "${WINEPREFIX}" -type f -name 'nvdaControllerClient32.dll' -exec cp -v "${cache}/nvdaControllerClient32.dll" "{}" \; +find "${WINEPREFIX}" -type f -name 'nvdaControllerClient32.dll' -exec cp -v "${cache}/nvda2speechd32.dll" "{}" \; +echo "Note: When you first start the game, it will say that tts initialization failed. Please answer that you do not want to attempt initialization of tts when the game starts to allow easy speech through speech dispatcher." +alert add_launcher "c:\Program Files\scramble_win32\scramble.exe" From 9cc15db76e40ee1579ad2689352e88d19f788ff3 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Mon, 23 Dec 2024 01:47:03 -0500 Subject: [PATCH 30/51] Fixed validation code so that things can actually pass validation and work. --- audiogame-manager.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/audiogame-manager.sh b/audiogame-manager.sh index 1504893..0ed730e 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -329,7 +329,7 @@ download() { fi ;; esac - if [[ $downloadError -eq 0 ]]; then + if [[ $downloadError -ne 0 ]]; then rm -fv "${cache}/${dest}" dialog --backtitle "Audio Game Manager" \ --infobox "Error downloading \"${dest}\". Installation cannot continue." -1 -1 --stdout From 382c200dc3a0402dea894c9d64209ba7955f26e7 Mon Sep 17 00:00:00 2001 From: Michael Taboada Date: Sun, 22 Dec 2024 23:05:54 -0800 Subject: [PATCH 31/51] Fix issue with scramble installer update. --- .install/Scramble!.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.install/Scramble!.sh b/.install/Scramble!.sh index 4e999d8..1e5533a 100644 --- a/.install/Scramble!.sh +++ b/.install/Scramble!.sh @@ -1,7 +1,7 @@ winetricksSettings="vd=1024x768" export winVer="win7" download "https://stevend.net/downloads/scramble_win32.zip" "https://github.com/RastislavKish/nvda2speechd/releases/download/v0.1/nvda2speechd32.dll" -install_wine_bottle +install_wine_bottle speechsdk unzip -d "$WINEPREFIX/drive_c/Program Files/" "${cache}/scramble_win32.zip" find "${WINEPREFIX}" -type f -name 'nvdaControllerClient32.dll' -exec cp -v "${cache}/nvda2speechd32.dll" "{}" \; echo "Note: When you first start the game, it will say that tts initialization failed. Please answer that you do not want to attempt initialization of tts when the game starts to allow easy speech through speech dispatcher." From 4300c3dda38ecf0195f149fc388d0d2b5a0beb5b Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Tue, 24 Dec 2024 19:18:01 -0500 Subject: [PATCH 32/51] Fixed file validation for .exe files. --- audiogame-manager.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/audiogame-manager.sh b/audiogame-manager.sh index 0ed730e..79bc81e 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -312,9 +312,8 @@ download() { ;; "exe") # Check if it's a valid Windows executable by looking at the MZ header - if ! hexdump -n 2 -v -e '/1 "%02X"' "${cache}/${dest}" | grep -q "4D5A"; then - downloadError=0 - fi + hexdump -n 2 -v -e '/1 "%02X"' "${cache}/${dest}" | grep -q "4D5A" + downloadError=$? ;; "wad") if [[ "$(file -b --mime-type "${cache}/${dest}")" != "application/octet-stream" ]]; then From e60209a85e9d424243d65a9e2409752d79475ccb Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Mon, 6 Jan 2025 17:57:44 -0500 Subject: [PATCH 33/51] Fixed download url in A Hreo's call for nvdaControllerClient. --- .install/A Hero's Call.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.install/A Hero's Call.sh b/.install/A Hero's Call.sh index 51ca200..41aca8e 100644 --- a/.install/A Hero's Call.sh +++ b/.install/A Hero's Call.sh @@ -1,4 +1,4 @@ -download "https://blindgamers.com/downloads/a-heros-call-freeware.zip" "${nvdaControllerClientDll}" +download "https://blindgamers.com/downloads/a-heros-call-freeware.zip" "https://stormgames.wolfe.casa/downloads/nvdaControllerClient32.dll" export winVer="win7" export winetricksSettings="vd=1024x768" install_wine_bottle speechsdk corefonts From fd933f6dade7047132d963be915f25f9700bba17 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Mon, 13 Jan 2025 23:37:32 -0500 Subject: [PATCH 34/51] Removed window title reader for Mist World. Requested by player. --- audiogame-manager.sh | 3 --- 1 file changed, 3 deletions(-) diff --git a/audiogame-manager.sh b/audiogame-manager.sh index 79bc81e..961a3fe 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -935,9 +935,6 @@ custom_launch_parameters() { if [[ "${game[0]}" == "laser-breakout" ]]; then "${0%/*}/speech/speak_window_title.sh" play.exe & fi - if [[ "${game[0]}" == "mist-world" ]]; then - "${0%/*}/speech/speak_window_title.sh" mw.exe & - fi if [[ "${game[0]}" == "bokurano-daibouken-2" ]]; then "${0%/*}/speech/clipboard_translator.sh" play.exe bokurano-daibouken2 & fi From ae267f971a6f3dadf545adbe58e7bb992cb1bbc8 Mon Sep 17 00:00:00 2001 From: Hunter Jozwiak Date: Thu, 16 Jan 2025 13:26:44 -0500 Subject: [PATCH 35/51] Update the installer. I do not know if the new installer is required come January 28, but since it's available now might as well test it out. --- .install/Mist World.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.install/Mist World.sh b/.install/Mist World.sh index 03a1f01..2085136 100644 --- a/.install/Mist World.sh +++ b/.install/Mist World.sh @@ -1,5 +1,5 @@ export winVer="win7" -get_installer "Mist World_Setup.exe" "https://drive.google.com/file/d/12YeUqorkkMT46ZSR5pcfWxSY8DHOLxZ-/view?usp=share_link" +get_installer "Mist World_Setup.exe" "https://drive.google.com/uc?export=download&id=12YeUqorkkMT46ZSR5pcfWxSY8DHOLxZ-" download "https://github.com/RastislavKish/nvda2speechd/releases/download/v0.1/nvda2speechd32.dll" install_wine_bottle ole32 7z x -o"$WINEPREFIX/drive_c/Program Files/Mist World" "$cache/Mist World_Setup.exe" From 447344bec93c82455de48591ce29d33693afa698 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Thu, 16 Jan 2025 13:30:40 -0500 Subject: [PATCH 36/51] Fixed an error with finding wine_gecko. --- audiogame-manager.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/audiogame-manager.sh b/audiogame-manager.sh index 961a3fe..702da80 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -706,7 +706,7 @@ install_wine_bottle() { # Arguments to the function are dependancies to be installed. # Get location of mono and gecko. 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)" + geckoPath="$(find /usr/share/wine/ -maxdepth 1 -type d -name "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" From 0a1a130399dcfcba132094a96f76a135a8f6b782 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Fri, 17 Jan 2025 17:36:40 -0500 Subject: [PATCH 37/51] Fixed a bug with the default download check. --- audiogame-manager.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/audiogame-manager.sh b/audiogame-manager.sh index 702da80..69cbf2e 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -324,6 +324,8 @@ download() { # Add HTML check for other file types if file -b "${cache}/${dest}" | grep -q "HTML document" ; then echo "File not found: \"$i\" (HTML document probably 404)" + downloadError=1 + else downloadError=0 fi ;; From e6cfa00c154f13d232ef74296481a1762f39d131 Mon Sep 17 00:00:00 2001 From: Michael Taboada Date: Sat, 18 Jan 2025 19:18:58 -0800 Subject: [PATCH 38/51] Shades of doom 1.2 is working for me on wine 9.22 --- .install/Shades of Doom 1.2.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/.install/Shades of Doom 1.2.sh b/.install/Shades of Doom 1.2.sh index 9c2f371..057d231 100644 --- a/.install/Shades of Doom 1.2.sh +++ b/.install/Shades of Doom 1.2.sh @@ -1,4 +1,3 @@ -# download "http://gmagames.com/sod1208.exe" install_wine_bottle vb6run dx8vb speechsdk wine "${cache}/sod1208.exe" /sp- /verysilent From a18b2ec61bf7f047ef06d8791cb0bdaf4e0c32b2 Mon Sep 17 00:00:00 2001 From: Michael Taboada Date: Sun, 19 Jan 2025 13:33:58 -0800 Subject: [PATCH 39/51] Shades 2.0 now works as well --- .install/Shades of Doom.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.install/Shades of Doom.sh b/.install/Shades of Doom.sh index fd8eedd..249b15e 100644 --- a/.install/Shades of Doom.sh +++ b/.install/Shades of Doom.sh @@ -1,5 +1,5 @@ export winVer="win7" -download "http://www.gmagames.com/sod20022.exe" +download "http://www.gmagames.com/sod20024.exe" install_wine_bottle vb6run dx8vb speechsdk -wine "${cache}/sod20022.exe" /silent +wine "${cache}/sod20024.exe" /silent add_launcher "c:\Program Files\Shades of Doom 2.0\sod.exe" From 8b8f01f39d2c49bcb958a72b20257b8d0a807811 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Mon, 20 Jan 2025 17:55:23 -0500 Subject: [PATCH 40/51] Temporary work around for winetricks problems. Be sure to install winetricks with your package manager. --- audiogame-manager.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/audiogame-manager.sh b/audiogame-manager.sh index 69cbf2e..8077c31 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -634,6 +634,9 @@ winetricks() { mkdir -p "${XDG_CACHE_HOME:-$HOME/.cache}/winetricks/" echo "1" > "${XDG_CACHE_HOME:-$HOME/.cache}/winetricks/track_usage" fi + # Temporary work around for winetricks git bugs. Requires winetricks be installed from package manager. + /usr/bin/winetricks "$@" + return # Download or update agm's copy of winetricks if [[ ! -e "${winetricksPath}/winetricks" ]]; then checkWinetricksUpdate="true" From d9c6c80e00f7b1a9b02f84b9242be51b75970139 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Thu, 23 Jan 2025 15:16:41 -0500 Subject: [PATCH 41/51] Updated Swamp for wine 10.0. Removed ole32 dependency as it was causing it to fail. If you are on wine 9.0 run WINEPREFIX=~/.local/wine/aprone winetricks -q ole32 If you have problems. --- .install/Swamp.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.install/Swamp.sh b/.install/Swamp.sh index 5e5f270..7df53a6 100644 --- a/.install/Swamp.sh +++ b/.install/Swamp.sh @@ -4,7 +4,7 @@ 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_bottle dx8vb quartz corefonts vb6run speechsdk ole32 +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. if curl -L --output "${cache}/SwampPatch.zip" "https://www.kaldobsky.com/audiogames/SwampPatch.zip" ; then From 3d95cefb023970db2c7f57d9268778fa96521d6f Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Thu, 23 Jan 2025 15:47:47 -0500 Subject: [PATCH 42/51] Updated Mist World installer for Wine 10.0. Now requires sapi. --- .install/Mist World.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.install/Mist World.sh b/.install/Mist World.sh index 2085136..82de3a3 100644 --- a/.install/Mist World.sh +++ b/.install/Mist World.sh @@ -1,7 +1,7 @@ export winVer="win7" get_installer "Mist World_Setup.exe" "https://drive.google.com/uc?export=download&id=12YeUqorkkMT46ZSR5pcfWxSY8DHOLxZ-" download "https://github.com/RastislavKish/nvda2speechd/releases/download/v0.1/nvda2speechd32.dll" -install_wine_bottle ole32 +install_wine_bottle sapi 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} From ec8bb229f018895a5bd99dd5ab4abeb34b7e61eb Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Thu, 23 Jan 2025 16:20:03 -0500 Subject: [PATCH 43/51] Actually close audiogame-manager if escape is pressed instead of trying, and failing, to launch the game. --- audiogame-manager.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/audiogame-manager.sh b/audiogame-manager.sh index 8077c31..4faa0b2 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -1057,6 +1057,7 @@ game_launcher() { done menuList+=("Donate" "Donate") menuList+=("Become a Patron" "Become a Patron") + local game="" game="$(dialog --backtitle "Audio Game Launcher" \ --clear \ --extra-button \ @@ -1065,7 +1066,7 @@ game_launcher() { --no-tags \ --menu "Please select a game to play" 0 0 0 "${menuList[@]}" --stdout)" local menuCode=$? - if [[ $menuCode -eq 1 ]]; then + if [[ $menuCode -eq 1 ]] || [[ $menuCode -eq 255 ]]; then exit 0 elif [[ $menuCode -eq 3 ]]; then documentation "$game" "$(echo "$game" | cut -d '|' -f2)" From 6dbf578c5a8a70d8e4023df1de61473c6ab304e4 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Fri, 7 Feb 2025 21:27:19 -0500 Subject: [PATCH 44/51] Fixed a problem with the file name for BG Cricket. --- .install/BG Twenty 20 Cricket.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.install/BG Twenty 20 Cricket.sh b/.install/BG Twenty 20 Cricket.sh index c796654..ad3c9e0 100644 --- a/.install/BG Twenty 20 Cricket.sh +++ b/.install/BG Twenty 20 Cricket.sh @@ -1,5 +1,5 @@ export bottle="bg" -download "${ipfsGateway}/ipfs/QmWAk2TMHMvW6Kjc1sZBEPsxmCNHfY3nF1K723PCqaTa57?filename=TPB32Setup10a.exe" +download "${ipfsGateway}/ipfs/QmWAk2TMHMvW6Kjc1sZBEPsxmCNHfY3nF1K723PCqaTa57?filename=T20B32Setup10.exe" install_wine_bottle speechsdk wine "${cache}/T20B32Setup10.exe" /silent add_launcher "c:\Program Files\Games\T20CricketB\CricketB.exe" From f86d25924f385aacbebf86df8534aaf3751f6ead Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Wed, 16 Apr 2025 00:09:49 -0400 Subject: [PATCH 45/51] links for rhvoice updated. --- audiogame-manager.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/audiogame-manager.sh b/audiogame-manager.sh index 4faa0b2..8890d4a 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -670,11 +670,11 @@ install_rhvoice() { return fi declare -A RHVoice=( - [alan]="https://rhvoice.eu-central-1.linodeobjects.com/RHVoice-voice-English-Alan-v4.0.2008.15-setup.exe" - [bdl]="https://rhvoice.eu-central-1.linodeobjects.com/RHVoice-voice-English-Bdl-v4.1.2008.15-setup.exe" - [clb]="https://rhvoice.eu-central-1.linodeobjects.com/RHVoice-voice-English-Clb-v4.0.2008.15-setup.exe" + [alan]="https://github.com/RHVoice/alan-eng/releases/download/4.0/RHVoice-voice-English-Alan-v4.0.2016.21-setup.exe" + [bdl]="https://github.com/RHVoice/bdl-eng/releases/download/4.1/RHVoice-voice-English-Bdl-v4.1.2016.21-setup.exe" + [clb]="https://github.com/RHVoice/clb-eng/releases/download/4.0/RHVoice-voice-English-Clb-v4.0.2016.21-setup.exe" [lyubov]="https://rhvoice.eu-central-1.linodeobjects.com/RHVoice-voice-English-Lyubov-v4.0.2008.15-setup.exe" - [slt]="https://rhvoice.eu-central-1.linodeobjects.com/RHVoice-voice-English-Slt-v4.0.2008.15-setup.exe" + [slt]="https://github.com/RHVoice/slt-eng/releases/download/4.1/RHVoice-voice-English-Slt-v4.1.2016.21-setup.exe" ) voiceName="${voiceName:-bdl}" voiceName="${voiceName,,}" From 4ee362b1c03576606b2270fd2318df32b5c8891a Mon Sep 17 00:00:00 2001 From: Michael Taboada Date: Thu, 1 May 2025 04:17:32 -0700 Subject: [PATCH 46/51] Added game constant motion. This is temporary until sam releases a linux version. --- .install/Constant Motion.sh | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 .install/Constant Motion.sh diff --git a/.install/Constant Motion.sh b/.install/Constant Motion.sh new file mode 100644 index 0000000..bc72f38 --- /dev/null +++ b/.install/Constant Motion.sh @@ -0,0 +1,7 @@ +export WINEARCH=win64 +export winVer="win7" +download "https://samtupy.com/games/cm.zip" "https://github.com/RastislavKish/nvda2speechd/releases/download/v0.1/nvda2speechd64.dll" +install_wine_bottle +unzip -d "$WINEPREFIX/drive_c/Program Files/ConstantMotion" "$cache/cm.zip" +find "$WINEPREFIX/drive_c/Program Files/ConstantMotion" -name "nvdaControllerClient64.dll" -exec cp -v "$cache/nvda2speechd64.dll" "{}" \; +add_launcher 'c:\Program Files\ConstantMotion\cm.exe' From 937b52ffd04df78d3a052f11b2fd09a82b02fc45 Mon Sep 17 00:00:00 2001 From: Michael Taboada Date: Fri, 2 May 2025 01:22:50 -0700 Subject: [PATCH 47/51] Added tiny game smashathon. Get angry! --- .install/Smashathon.sh | 5 +++++ audiogame-manager.sh | 1 + 2 files changed, 6 insertions(+) create mode 100644 .install/Smashathon.sh diff --git a/.install/Smashathon.sh b/.install/Smashathon.sh new file mode 100644 index 0000000..48c652e --- /dev/null +++ b/.install/Smashathon.sh @@ -0,0 +1,5 @@ +export bottle="l-works" +download "https://agarchive.net/games/lworks/Smashathon0.02.zip" +install_wine_bottle speechsdk +unzip -d "$WINEPREFIX/drive_c/Program Files" "$cache/Smashathon0.02.zip" +add_launcher 'c:\Program Files\Smashathon0.02\smashathon.exe' diff --git a/audiogame-manager.sh b/audiogame-manager.sh index 8890d4a..09031b7 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -375,6 +375,7 @@ get_bottle() { "judgement-day"*) ;& "lockpick"*) ;& "pigeon-panic"*) ;& + "smashathon"*) ;& "super-egg-hunt"*) ;& "super-liam"*) ;& "the-great-toy-robbery"*) export WINEPREFIX="${HOME}/.local/wine/l-works";; From a38fc607a8bb93dee74578deec8283caf43a2e5b Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Thu, 8 May 2025 23:39:52 -0400 Subject: [PATCH 48/51] Updated download link for "Challenge of the Horse". --- .install/Challenge of the Horse.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.install/Challenge of the Horse.sh b/.install/Challenge of the Horse.sh index 563f245..d0a8c04 100644 --- a/.install/Challenge of the Horse.sh +++ b/.install/Challenge of the Horse.sh @@ -1,4 +1,4 @@ -download "http://tunmi13.ddns.net/projects/coth.zip" +download "http://files.tunmi13.com/projects_archive/coth.zip" export bottle="tunmi13" export winVer="win7" install_wine_bottle speechsdk From ef43dca94fa0f078c186e1edc88f876d95cc5f32 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Wed, 14 May 2025 04:36:30 -0400 Subject: [PATCH 49/51] Updated the clipboard translater because it could crash on some translations. --- speech/clipboard_translator.sh | 83 +++++++++++++++++++++++----------- 1 file changed, 56 insertions(+), 27 deletions(-) diff --git a/speech/clipboard_translator.sh b/speech/clipboard_translator.sh index 7a267b2..d5ab82d 100755 --- a/speech/clipboard_translator.sh +++ b/speech/clipboard_translator.sh @@ -7,7 +7,6 @@ # set -Eeuo pipefail # https://vaneyckt.io/posts/safer_bash_scripts_with_set_euxo_pipefail/#:~:text=set%20%2Du,is%20often%20highly%20desirable%20behavior. shopt -s expand_aliases - if [[ $# -ne 2 ]]; then echo "Usage: $0 \"application name\" \"file name\"." exit 1 @@ -22,6 +21,40 @@ fileName="${2,,}" fileName="${fileName//[[:space:]]/-}.sqlite" translationFile="${XDG_CACHE_HOME:-$HOME/.cache}/audiogame-manager/${fileName}" +# Make sure the directory exists +mkdir -p "$(dirname "$translationFile")" + +# Initialize database if it doesn't exist +if [[ ! -s "$translationFile" ]]; then + rm -f "$translationFile" + sqlite3 "$translationFile" < /dev/null ; do sleep 0.05 @@ -37,24 +70,6 @@ while pgrep -u "$USER" ^$1 &> /dev/null ; do if [[ -z "$text" ]]; then continue fi - q() { sqlite3 -column -init "" "$translationFile" "$@" 2> /dev/null ; } - - - if [[ ! -s "$translationFile" ]]; then - rm -f "$translationFile" - cat << EOF | sqlite3 -init "" "$translationFile" 2> /dev/null -.bail on - -CREATE TABLE translations( - text TEXT NOT NULL, - translation TEXT NOT NULL, - - PRIMARY KEY (text) -); -CREATE INDEX translations_text_idx ON translations (text); -EOF - fi - # https://en.wikipedia.org/wiki/Unicode_equivalence#Combining_and_precomposed_characters # https://www.effectiveperlprogramming.com/2011/09/normalize-your-perl-source/ @@ -65,18 +80,32 @@ EOF alias normalize_spaces="perl -CSDA -plE 's/[^\\S\\t]/ /g'" alias normalize_unicode="normalize_spaces | nfc" - textEscaped="$(echo "$text" | sed "s/'/''/g" | normalize_unicode)" # escape single quotes for sqlite - translated="$(q "SELECT translation FROM translations WHERE text = '$textEscaped' LIMIT 1" | sed 's/\s*$//')" - + # Normalize text + normalized_text="$(echo "$text" | normalize_unicode)" + + # Create a temporary database for import + sqlite3 "$translationFile" "CREATE TABLE IF NOT EXISTS temp_import(text TEXT, translation TEXT);" + + # Check if we already have a translation + translated=$(sqlite3 "$translationFile" "SELECT translation FROM translations WHERE text = '$normalized_text' LIMIT 1;" 2>/dev/null) + if [[ -z "$translated" ]]; then - translated="$(trans -no-autocorrect -no-warn -brief "$text" | head -1 | sed 's/\s*$//' | normalize_unicode)" + # Get translation from the trans utility + translated="$(trans -no-autocorrect -no-warn -brief "$normalized_text" | head -1 | sed 's/\s*$//' | normalize_unicode)" + if [[ -n "$translated" ]]; then - translatedEscaped="$(echo "$translated" | sed "s/'/''/g")" - q "INSERT OR IGNORE INTO translations (text, translation) VALUES ('$textEscaped', '$translatedEscaped')" + # Insert using echo piping to avoid escaping issues + echo "$normalized_text|$translated" | sqlite3 -separator "|" "$translationFile" ".import /dev/stdin temp_import" + sqlite3 "$translationFile" "INSERT OR IGNORE INTO translations SELECT * FROM temp_import; DELETE FROM temp_import;" fi fi - - spd-say -- "$translated" + + # If we got a translation, speak it + if [[ -n "$translated" ]]; then + spd-say -- "$translated" + fi + + # Clear clipboard echo "" | xclip -d "${DISPLAY:-:0}" -selection clipboard 2> /dev/null done From 50b577d7aadb3297847683d2c32b6ec8b1c32cf6 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Wed, 14 May 2025 13:57:57 -0400 Subject: [PATCH 50/51] Make sure variables needed for installation scripts are exported. --- audiogame-manager.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/audiogame-manager.sh b/audiogame-manager.sh index 09031b7..cb0f49a 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -1160,8 +1160,8 @@ if [[ -z "$DISPLAY" ]]; then export DISPLAY=":0" fi # Settings file -cache="${XDG_CACHE_HOME:-$HOME/.cache}/audiogame-manager" -configFile="${XDG_CONFIG_HOME:-$HOME/.config}/storm-games/audiogame-manager/games.conf" +export cache="${XDG_CACHE_HOME:-$HOME/.cache}/audiogame-manager" +export configFile="${XDG_CONFIG_HOME:-$HOME/.config}/storm-games/audiogame-manager/games.conf" mkdir -p "${cache}" mkdir -p "${configFile%/*}" # Create the path for AGM's helper programs. From d6cfe797bcc7021158a197bf58219a244672e30b Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Sun, 18 May 2025 16:39:58 -0400 Subject: [PATCH 51/51] Latest changes before huge refactor. --- .install/Battle of the Hunter.sh | 2 +- .install/Super Egg Hunt.sh | 4 ++-- .install/Toy Mania.sh | 7 +++++++ .install/Wave of the Undead.sh | 1 - audiogame-manager.sh | 8 ++++---- 5 files changed, 14 insertions(+), 8 deletions(-) create mode 100644 .install/Toy Mania.sh diff --git a/.install/Battle of the Hunter.sh b/.install/Battle of the Hunter.sh index 29cbda3..444a7b4 100644 --- a/.install/Battle of the Hunter.sh +++ b/.install/Battle of the Hunter.sh @@ -1,4 +1,4 @@ -download "http://tunmi13.ddns.net/projects/bth.zip" +download "http://files.tunmi13.com/projects_archive/bth.zip" export bottle="tunmi13" export winVer="win7" install_wine_bottle speechsdk diff --git a/.install/Super Egg Hunt.sh b/.install/Super Egg Hunt.sh index 75138e6..ebd9979 100644 --- a/.install/Super Egg Hunt.sh +++ b/.install/Super Egg Hunt.sh @@ -1,5 +1,5 @@ export bottle="l-works" -download "http://files.l-works.net/superegghuntsetup.exe" +download "https://agarchive.net/games/lworks/super%20egg%20hunt+%20setup.exe" install_wine_bottle -wine "${cache}/superegghuntsetup.exe" /silent +wine "${cache}/super egg hunt+ setup.exe" /silent add_launcher "c:\Program Files\Lworks\super egg hunt\superegghunt.exe" diff --git a/.install/Toy Mania.sh b/.install/Toy Mania.sh new file mode 100644 index 0000000..98cf068 --- /dev/null +++ b/.install/Toy Mania.sh @@ -0,0 +1,7 @@ +export WINEARCH=win64 +export winVer="win7" +get_installer "ToyMania_windows_portable_password_is_GrateCollector.7z" "https://tsatria03.itch.io/toymania" +install_wine_bottle +7z x -o"$WINEPREFIX/drive_c/Program Files/ToyMania" "${cache}/ToyMania_windows_portable_password_is_GrateCollector.7z" -pGrateCollector +find "${WINEPREFIX}/drive_c/Program Files/ToyMania" -type f -name 'nvdaControllerClient64.dll' -exec cp -v "${cache}/nvda2speechd64.dll" "{}" \; +add_launcher "c:\Program Files\ToyMania\tm.exe" diff --git a/.install/Wave of the Undead.sh b/.install/Wave of the Undead.sh index c9aba4b..cedfc3b 100644 --- a/.install/Wave of the Undead.sh +++ b/.install/Wave of the Undead.sh @@ -1,4 +1,3 @@ -# export WINEARCH=win64 export winVer="win7" 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" diff --git a/audiogame-manager.sh b/audiogame-manager.sh index cb0f49a..65d2412 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -971,10 +971,10 @@ custom_launch_parameters() { if [[ "${game[0]}" == "sequence-storm" ]]; then "${0%/*}/speech/clipboard_reader.sh" SequenceStorm & fi - if [[ "${game[0]}" == "shadow-line" ]]; then - find "${WINEPREFIX}/drive_c/" -type f -name 'nvdaControllerClient.dll' -exec rm -v "{}" \; - "${0%/*}/speech/clipboard_translator.sh" play_sr.exe shadow-line & - fi + #if [[ "${game[0]}" == "shadow-line" ]]; then + #find "${WINEPREFIX}/drive_c/" -type f -name 'nvdaControllerClient.dll' -exec rm -v "{}" \; + #"${0%/*}/speech/clipboard_translator.sh" play_sr.exe shadow-line & + #fi if [[ "${game[0]}" == "sketchbook" ]]; then find "${WINEPREFIX}" -type f -name 'nvdaControllerClient32.dll' -exec cp -v "${cache}/nvdaControllerClient32.dll" "{}" \; fi