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.

This commit is contained in:
Storm Dragon 2021-10-25 07:24:42 -04:00
parent 6c9065bf66
commit 6a83323287

View File

@ -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.