From 6a833232873fe3e6feb77f9b350bebf8293b315b Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Mon, 25 Oct 2021 07:24:42 -0400 Subject: [PATCH] Rough outline for "Hearthstone" added. This still needs quite a bit for work before it will run. There are still some challenges like logging in and downloading the game to overcome before it will be ready. --- audiogame-manager.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/audiogame-manager.sh b/audiogame-manager.sh index 4188103..53f0f4e 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -872,6 +872,7 @@ gameList=( "GMA Tank Commander" "Golden Crayon" "Hammer of Glory" + #"Hearthstone" "Hunter" "Insect Therapy" "Judgement Day" @@ -1704,6 +1705,17 @@ case "${game}" in find "${WINEPREFIX}" -type f -name "nvdaControllerClient32.dll" -exec rm -fv "{}" \; add_launcher "c:\Program Files\hammer of glory\game.exe" ;; + "Hearthstone") + export winVer="win7" + install_wine_bottle speechsdk + # This download url breaks the download function, so grab it manually. + wget -O "${cache}/Hearthstone.exe" "https://www.battle.net/download/getInstallerForGame?os=win&gameProgram=HEARTHSTONE&version=Live" + wget -O "${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") install_wine_bottle vb6run dx8vb # FIXME: Hacky, but it works. Install dotnet35 by itself so it actually doesn't hang.