From d2bc752393838096f8fce8a4252668e6dbd05848 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Tue, 23 Apr 2024 01:20:13 -0400 Subject: [PATCH] Move fake nvdaControllerclient32.dll to ipfs. --- audiogame-manager.sh | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/audiogame-manager.sh b/audiogame-manager.sh index 7da46f3..8858672 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -1062,6 +1062,7 @@ unset manualInstall unset version # ipfs gateway export ipfsGateway="${ipfsGateway:-https://gateway.pinata.cloud}" +export nvdaControllerClientDll="${ipfsGateway}/ipfs/QmWu7YdSbKMk1Qm5DKvEA5hk1YuAK8wVkwhDf2CsmPkmF1?filename=nvdaControllerClient32.dll" # The list of games available for installation. @@ -1357,7 +1358,7 @@ done # Install game based on the selection above. case "${game}" in "A Hero's Call") - download "https://blindgamers.com/downloads/a-heros-call-freeware.zip" "https://stormgames.wolfe.casa/downloads/nvdaControllerClient32.dll" + download "https://blindgamers.com/downloads/a-heros-call-freeware.zip" "${nvdaControllerClientDll}" export winVer="win7" export winetricksSettings="vd=1024x768" install_wine_bottle speechsdk corefonts @@ -1866,7 +1867,7 @@ download "https://erion.cf/files/ag_103.zip" add_launcher "c:\Program Files\bomvercats\game.exe" ;; "Breed Memorial") - download "https://hirotaka2014.sakura.ne.jp/mh0406/game/breed_memorial.zip" "https://stormgames.wolfe.casa/downloads/nvdaControllerClient32.dll" + 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" @@ -2773,7 +2774,7 @@ EOF "Rhythm Rage") export bottle="oriol-gomez" export winVer="win7" - download "http://oriolgomez.com/games/rr_en.zip" "https://stormgames.wolfe.casa/downloads/nvdaControllerClient32.dll" + 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" "{}" \; @@ -2808,7 +2809,7 @@ EOF ;; "RS Games") export version="7.0" - download "http://rsgames.org/rsdownloads/rsgclient/rsgames-client-setup-2.01.exe" "https://stormgames.wolfe.casa/downloads/nvdaControllerClient32.dll" + download "http://rsgames.org/rsdownloads/rsgclient/rsgames-client-setup-2.01.exe" "${nvdaControllerClientDll}" install_wine "$version" "32" export winVer="win7" install_wine_bottle speechsdk @@ -2826,7 +2827,7 @@ EOF ;; "Sammy Center") export winVer="win7" - download "http://www.samtupy.com/games/SCSetup.exe" "https://stormgames.wolfe.casa/downloads/nvdaControllerClient32.dll" + 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" "{}" \; @@ -2842,7 +2843,7 @@ EOF "Scramble!") winetricksSettings="vd=1024x768" export winVer="win7" - download "https://stevend.net/downloads/scramble_win32.zip" "https://stormgames.wolfe.casa/downloads/nvdaControllerClient32.dll" + 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" "{}" \; @@ -2851,7 +2852,7 @@ EOF "Screaming Strike 2") export bottle="nyanchan" export winVer="win7" - download "https://www.nyanchangames.com/softs/screamingStrike2.exe" "https://stormgames.wolfe.casa/downloads/nvdaControllerClient32.dll" + download "https://www.nyanchangames.com/softs/screamingStrike2.exe" "${nvdaControllerClientDll}" install_wine_bottle fakejapanese speechsdk wine "${cache}/screamingStrike2.exe" & xdotool sleep 10 key Return @@ -2861,7 +2862,7 @@ EOF ;; "Sketchbook") export winVer="win7" - download "http://sbyw.games/SBYW/SBYW.zip" "http://sbyw.games/SBYW/sounds.zip" "https://stormgames.wolfe.casa/downloads/nvdaControllerClient32.dll" + 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" @@ -3278,7 +3279,7 @@ export norh=false # Must install a voice, and rhvoice works easily with 64 bit. ;; "Undead Assault") export winVer="win7" - download "http://undead-assault.com/static/files/public/undead_assault.zip" "https://stormgames.wolfe.casa/downloads/nvdaControllerClient32.dll" + 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" "{}" \;