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.