Hearthstone

Informations

Creator Message
kweepeer2 Anonymous

Warning

This installer is a beta script. It means that it might not work as expected

Informations

Platforms:
Downloads: 524403
Wine: 4.0.4

Feedbacks

Description

Hearthstone is a fast-paced strategic card-game from Blizzard. Free-to-play.

Wikipedia. Appdb.winehq.org. PCGamingwiki.com.

Source code

#!/usr/bin/env playonlinux-bash
# Date : 2014-02-08 14:54
# Last revision : see changelog
# Wine version used : see below
# Distribution used to test : ubuntu 19.04 x64
# Author : kweepeer2, m1kc (+ contributions by many others, thanks!)
# Depend :
# NOTE! From Options -> Game Settings -> Additional Command Line Arguments (for Hearthstone), write: -force-d3d9
  
# CHANGELOG
# [kweepeer2] (2014-02-08)
#   First script
# [iArska] (2018-01-28)
#   Misc.
# [Dadu042] (2019-05-25 22-40)
#   Wine 2.21-staging -> 2.22
# [Dadu042] (2019-11-31 15:30)
#   Wine 2.22 -> 4.0.2
#   Apply some changes found in this report: https://appdb.winehq.org/objectManager.php?sClass=version&iId=30038
# [Dadu042] (2020-11-01 18:00)
#   Wine 4.0.2 -> 4.0.4
#   Move "-force-d3d9" from warning message to automatic argument.
#   POL_System_SetArch "x86" (32 bits). Required for Dotnet40, because default is 64bits nowadays.

[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
   
TITLE="Hearthstone"
PREFIX="hearthstone"
   
POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE"
POL_SetupWindow_Init
POL_SetupWindow_SetID 1950
POL_Debug_Init
   
POL_SetupWindow_presentation "$TITLE" "Blizzard" "http://us.battle.net/hearthstone/en/" "kweepeer2" "$PREFIX"
POL_Wine_SelectPrefix "$PREFIX"
POL_System_SetArch "x86"
POL_Wine_PrefixCreate "4.0.4"
   
# Fix "Battle.net Helper.exe" crash on startup.
POL_Call POL_Install_corefonts
POL_Call POL_Install_RegisterFonts

# Disabled because 32bits only (was used with Wine v2)
# POL_Call POL_Install_ie8
   
# Fix Fireside Gathering search
POL_Call POL_Install_dotnet40

# Changes (2019-11-13) according: https://appdb.winehq.org/objectManager.php?sClass=version&iId=30038
POL_Wine_OverrideDLL "native,builtin" "msvcp140"
POL_Wine_OverrideDLL "native,builtin" "api-ms-win-crt-pricate-l1-1-0"
POL_Wine_OverrideDLL "" "d3d12"
POL_Wine_OverrideDLL "" "locationapi"
POL_Wine_OverrideDLL "" "nvapi"
POL_Wine_OverrideDLL "" "nvapi64"
POL_Wine_OverrideDLL "native,builtin" "ucrtbase"
#
cat << EOF > hearhstone_fix.reg
REGEDIT4
[HKCU\software\Wine\X11 Driver]
UseTakeFocus="no"
EOF
POL_Wine regedit.exe hearhstone_fix.reg
POL_Wine_WaitExit "$(eval_gettext 'Registry fix for X11.')"

   
# Set OS after .NET install
# to upgrade on win10, only .NET 4.6 is compliant, and not available on POL
Set_OS "win7"
   
# Download & Install the game.
# Multiple Language support. See https://eu.battle.net/account/download/?show=hearthstone&style=hearthstone
POL_SetupWindow_menu "$(eval_gettext 'What language do you want to install?')" "Language Selection" \
    "English (US)|Español (AL)|Português (BR)|English (EU)|Deutsch|Español (EU)|Português (EU)|Français|Russian|Italiano|Polski|Korean|Chinese (Taiwan)|Chinese (China)" "|"
case "$APP_ANSWER" in
    "English (US)")
        LANG="enUS";;
    "Español (AL)")
        LANG="esMX";;
    "Português (BR)")
        LANG="ptBR";;
    "English (EU)")
        LANG="enGB";;
    "Deutsch")
        LANG="deDE";;
    "Español (EU)")
        LANG="esES";;
    "Português (EU)")
        LANG="ptPT";;
    "Français")
        LANG="frFR";;
    "Russian")
        LANG="ruRU";;
    "Italiano")
        LANG="itIT";;
    "Polski")
        LANG="plPL";;
    "Korean")
        LANG="koKR";;
    "Chinese (Taiwan)")
        LANG="zhTW";;
    "Chinese (China)")
        LANG="zhCN";;
    *)
        exit 1;;
esac
   
SHORTCUT_FILE="Battle.net Launcher.exe"
EXE_FILE="Hearthstone-Setup-$LANG.exe"
   
POL_System_TmpCreate "$PREFIX"
cd "$POL_System_TmpDir"
POL_Download "http://dist.blizzard.com/downloads/hs-installers/a6029a1d625c79252defff3914fb6e67/retail.1/$EXE_FILE"
POL_Wine "$POL_System_TmpDir/$EXE_FILE"
POL_Wine_WaitExit "$TITLE" --allow-kill
POL_System_TmpDelete
   
POL_SetupWindow_VMS "256"
POL_Wine_reboot
   
POL_Shortcut "$SHORTCUT_FILE" "$TITLE" "$TITLE.png" "-force-d3d9" "Game;CardGame;"

# Useless as of 2020-10.
# POL_SetupWindow_message "$(eval_gettext 'WARNING:\nAfter exiting, select Hearhstone, then click Options -> Game Settings -> Additional Command Line Arguments, then do write: -force-d3d9')" "$TITLE"
  
POL_SetupWindow_Close   
exit 0

Contributions

Filters:

Contribute
Member Message
kmelia Wednesday 24 February 2021 at 18:24
kmelia Anonymous

Message

Avec la dernière énorme mise à jour du client Battle.net, on a le droit à un écran noir lors de l'affichage du client.

En fait, il manque Direct3D 11 qu'il faut ajouter !

Si ça intéresse des gens, j'ai mis à jour mon script : https://cameliaweb.fr/blog/jeux-video-gaming/bienvenue-sur-le-nouveau-battle-net

Replies

Edited by kmelia

Dick Tracy Monday 28 December 2020 at 23:12
Dick Tracy Anonymous

Message

Blizzard launcher and game runs well after changing from wine 4.0.4 to 5.0-rc4-staging, removing -force-d3d9 and disable Browser Hadware Acceleration in Blizzard launcher settings menu.

Replies

Dadu042 Sunday 1 November 2020 at 18:18
Dadu042

Information

This update has been approved by the team.

Differences

@@ -17,6 +17,10 @@
 # [Dadu042] (2019-11-31 15:30)
 #   Wine 2.22 -> 4.0.2
 #   Apply some changes found in this report: https://appdb.winehq.org/objectManager.php?sClass=version&iId=30038
+# [Dadu042] (2020-11-01 18:00)
+#   Wine 4.0.2 -> 4.0.4
+#   Move "-force-d3d9" from warning message to automatic argument.
+#   POL_System_SetArch "x86" (32 bits). Required for Dotnet40, because default is 64bits nowadays.
 
 [ "$PLAYONLINUX" = "" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
@@ -31,19 +35,20 @@
    
 POL_SetupWindow_presentation "$TITLE" "Blizzard" "http://us.battle.net/hearthstone/en/" "kweepeer2" "$PREFIX"
 POL_Wine_SelectPrefix "$PREFIX"
+POL_System_SetArch "x86"
 POL_Wine_PrefixCreate "4.0.4"
    
 # Fix "Battle.net Helper.exe" crash on startup.
 POL_Call POL_Install_corefonts
 POL_Call POL_Install_RegisterFonts
 
-# Disabled because 32bits only (was used with Wine 2)
+# Disabled because 32bits only (was used with Wine v2)
 # POL_Call POL_Install_ie8
    
 # Fix Fireside Gathering search
 POL_Call POL_Install_dotnet40
 
-# Changes (2019-11-13) according: https://appdb.winehq.org/objectManager.php?sClass=version&iId=30038
+# Changes (2019-11-13) according: https://appdb.winehq.org/objectManager.php?sClass=version&iId=30038
 POL_Wine_OverrideDLL "native,builtin" "msvcp140"
 POL_Wine_OverrideDLL "native,builtin" "api-ms-win-crt-pricate-l1-1-0"
 POL_Wine_OverrideDLL "" "d3d12"
@@ -115,9 +120,10 @@
 POL_SetupWindow_VMS "256"
 POL_Wine_reboot
    
-POL_Shortcut "$SHORTCUT_FILE" "$TITLE" "$TITLE.png" "" "Game;CardGame;"
+POL_Shortcut "$SHORTCUT_FILE" "$TITLE" "$TITLE.png" "-force-d3d9" "Game;CardGame;"
 
-POL_SetupWindow_message "$(eval_gettext 'WARNING:\nAfter exiting, select Hearhstone, then click Options -> Game Settings -> Additional Command Line Arguments, then do write: -force-d3d9')" "$TITLE"
+# Useless as of 2020-10.
+# POL_SetupWindow_message "$(eval_gettext 'WARNING:\nAfter exiting, select Hearhstone, then click Options -> Game Settings -> Additional Command Line Arguments, then do write: -force-d3d9')" "$TITLE"
   
 POL_SetupWindow_Close   
 exit 0
\ No newline at end of file

New source code

#!/usr/bin/env playonlinux-bash
# Date : 2014-02-08 14:54
# Last revision : see changelog
# Wine version used : see below
# Distribution used to test : ubuntu 19.04 x64
# Author : kweepeer2, m1kc (+ contributions by many others, thanks!)
# Depend :
# NOTE! From Options -> Game Settings -> Additional Command Line Arguments (for Hearthstone), write: -force-d3d9
  
# CHANGELOG
# [kweepeer2] (2014-02-08)
#   First script
# [iArska] (2018-01-28)
#   Misc.
# [Dadu042] (2019-05-25 22-40)
#   Wine 2.21-staging -> 2.22
# [Dadu042] (2019-11-31 15:30)
#   Wine 2.22 -> 4.0.2
#   Apply some changes found in this report: https://appdb.winehq.org/objectManager.php?sClass=version&iId=30038
# [Dadu042] (2020-11-01 18:00)
#   Wine 4.0.2 -> 4.0.4
#   Move "-force-d3d9" from warning message to automatic argument.
#   POL_System_SetArch "x86" (32 bits). Required for Dotnet40, because default is 64bits nowadays.

[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
   
TITLE="Hearthstone"
PREFIX="hearthstone"
   
POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE"
POL_SetupWindow_Init
POL_SetupWindow_SetID 1950
POL_Debug_Init
   
POL_SetupWindow_presentation "$TITLE" "Blizzard" "http://us.battle.net/hearthstone/en/" "kweepeer2" "$PREFIX"
POL_Wine_SelectPrefix "$PREFIX"
POL_System_SetArch "x86"
POL_Wine_PrefixCreate "4.0.4"
   
# Fix "Battle.net Helper.exe" crash on startup.
POL_Call POL_Install_corefonts
POL_Call POL_Install_RegisterFonts

# Disabled because 32bits only (was used with Wine v2)
# POL_Call POL_Install_ie8
   
# Fix Fireside Gathering search
POL_Call POL_Install_dotnet40

# Changes (2019-11-13) according: https://appdb.winehq.org/objectManager.php?sClass=version&iId=30038
POL_Wine_OverrideDLL "native,builtin" "msvcp140"
POL_Wine_OverrideDLL "native,builtin" "api-ms-win-crt-pricate-l1-1-0"
POL_Wine_OverrideDLL "" "d3d12"
POL_Wine_OverrideDLL "" "locationapi"
POL_Wine_OverrideDLL "" "nvapi"
POL_Wine_OverrideDLL "" "nvapi64"
POL_Wine_OverrideDLL "native,builtin" "ucrtbase"
#
cat << EOF > hearhstone_fix.reg
REGEDIT4
[HKCU\software\Wine\X11 Driver]
UseTakeFocus="no"
EOF
POL_Wine regedit.exe hearhstone_fix.reg
POL_Wine_WaitExit "$(eval_gettext 'Registry fix for X11.')"

   
# Set OS after .NET install
# to upgrade on win10, only .NET 4.6 is compliant, and not available on POL
Set_OS "win7"
   
# Download & Install the game.
# Multiple Language support. See https://eu.battle.net/account/download/?show=hearthstone&style=hearthstone
POL_SetupWindow_menu "$(eval_gettext 'What language do you want to install?')" "Language Selection" \
    "English (US)|Español (AL)|Português (BR)|English (EU)|Deutsch|Español (EU)|Português (EU)|Français|Russian|Italiano|Polski|Korean|Chinese (Taiwan)|Chinese (China)" "|"
case "$APP_ANSWER" in
    "English (US)")
        LANG="enUS";;
    "Español (AL)")
        LANG="esMX";;
    "Português (BR)")
        LANG="ptBR";;
    "English (EU)")
        LANG="enGB";;
    "Deutsch")
        LANG="deDE";;
    "Español (EU)")
        LANG="esES";;
    "Português (EU)")
        LANG="ptPT";;
    "Français")
        LANG="frFR";;
    "Russian")
        LANG="ruRU";;
    "Italiano")
        LANG="itIT";;
    "Polski")
        LANG="plPL";;
    "Korean")
        LANG="koKR";;
    "Chinese (Taiwan)")
        LANG="zhTW";;
    "Chinese (China)")
        LANG="zhCN";;
    *)
        exit 1;;
esac
   
SHORTCUT_FILE="Battle.net Launcher.exe"
EXE_FILE="Hearthstone-Setup-$LANG.exe"
   
POL_System_TmpCreate "$PREFIX"
cd "$POL_System_TmpDir"
POL_Download "http://dist.blizzard.com/downloads/hs-installers/a6029a1d625c79252defff3914fb6e67/retail.1/$EXE_FILE"
POL_Wine "$POL_System_TmpDir/$EXE_FILE"
POL_Wine_WaitExit "$TITLE" --allow-kill
POL_System_TmpDelete
   
POL_SetupWindow_VMS "256"
POL_Wine_reboot
   
POL_Shortcut "$SHORTCUT_FILE" "$TITLE" "$TITLE.png" "-force-d3d9" "Game;CardGame;"

# Useless as of 2020-10.
# POL_SetupWindow_message "$(eval_gettext 'WARNING:\nAfter exiting, select Hearhstone, then click Options -> Game Settings -> Additional Command Line Arguments, then do write: -force-d3d9')" "$TITLE"
  
POL_SetupWindow_Close   
exit 0

Replies

Dadu042 Sunday 1 November 2020 at 17:04
Dadu042

Warning

This update has not been approved yet by the team.
Use it at your own risk

Message

Wine 4.0.2 -> 4.0.4

Differences

@@ -31,7 +31,7 @@
    
 POL_SetupWindow_presentation "$TITLE" "Blizzard" "http://us.battle.net/hearthstone/en/" "kweepeer2" "$PREFIX"
 POL_Wine_SelectPrefix "$PREFIX"
-POL_Wine_PrefixCreate "4.0.2"
+POL_Wine_PrefixCreate "4.0.4"
    
 # Fix "Battle.net Helper.exe" crash on startup.
 POL_Call POL_Install_corefonts

New source code

#!/usr/bin/env playonlinux-bash
# Date : 2014-02-08 14:54
# Last revision : see changelog
# Wine version used : see below
# Distribution used to test : ubuntu 19.04 x64
# Author : kweepeer2, m1kc (+ contributions by many others, thanks!)
# Depend :
# NOTE! From Options -> Game Settings -> Additional Command Line Arguments (for Hearthstone), write: -force-d3d9
  
# CHANGELOG
# [kweepeer2] (2014-02-08)
#   First script
# [iArska] (2018-01-28)
#   Misc.
# [Dadu042] (2019-05-25 22-40)
#   Wine 2.21-staging -> 2.22
# [Dadu042] (2019-11-31 15:30)
#   Wine 2.22 -> 4.0.2
#   Apply some changes found in this report: https://appdb.winehq.org/objectManager.php?sClass=version&iId=30038

[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
   
TITLE="Hearthstone"
PREFIX="hearthstone"
   
POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE"
POL_SetupWindow_Init
POL_SetupWindow_SetID 1950
POL_Debug_Init
   
POL_SetupWindow_presentation "$TITLE" "Blizzard" "http://us.battle.net/hearthstone/en/" "kweepeer2" "$PREFIX"
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "4.0.4"
   
# Fix "Battle.net Helper.exe" crash on startup.
POL_Call POL_Install_corefonts
POL_Call POL_Install_RegisterFonts

# Disabled because 32bits only (was used with Wine 2)
# POL_Call POL_Install_ie8
   
# Fix Fireside Gathering search
POL_Call POL_Install_dotnet40

# Changes (2019-11-13) according: https://appdb.winehq.org/objectManager.php?sClass=version&iId=30038
POL_Wine_OverrideDLL "native,builtin" "msvcp140"
POL_Wine_OverrideDLL "native,builtin" "api-ms-win-crt-pricate-l1-1-0"
POL_Wine_OverrideDLL "" "d3d12"
POL_Wine_OverrideDLL "" "locationapi"
POL_Wine_OverrideDLL "" "nvapi"
POL_Wine_OverrideDLL "" "nvapi64"
POL_Wine_OverrideDLL "native,builtin" "ucrtbase"
#
cat << EOF > hearhstone_fix.reg
REGEDIT4
[HKCU\software\Wine\X11 Driver]
UseTakeFocus="no"
EOF
POL_Wine regedit.exe hearhstone_fix.reg
POL_Wine_WaitExit "$(eval_gettext 'Registry fix for X11.')"

   
# Set OS after .NET install
# to upgrade on win10, only .NET 4.6 is compliant, and not available on POL
Set_OS "win7"
   
# Download & Install the game.
# Multiple Language support. See https://eu.battle.net/account/download/?show=hearthstone&style=hearthstone
POL_SetupWindow_menu "$(eval_gettext 'What language do you want to install?')" "Language Selection" \
    "English (US)|Español (AL)|Português (BR)|English (EU)|Deutsch|Español (EU)|Português (EU)|Français|Russian|Italiano|Polski|Korean|Chinese (Taiwan)|Chinese (China)" "|"
case "$APP_ANSWER" in
    "English (US)")
        LANG="enUS";;
    "Español (AL)")
        LANG="esMX";;
    "Português (BR)")
        LANG="ptBR";;
    "English (EU)")
        LANG="enGB";;
    "Deutsch")
        LANG="deDE";;
    "Español (EU)")
        LANG="esES";;
    "Português (EU)")
        LANG="ptPT";;
    "Français")
        LANG="frFR";;
    "Russian")
        LANG="ruRU";;
    "Italiano")
        LANG="itIT";;
    "Polski")
        LANG="plPL";;
    "Korean")
        LANG="koKR";;
    "Chinese (Taiwan)")
        LANG="zhTW";;
    "Chinese (China)")
        LANG="zhCN";;
    *)
        exit 1;;
esac
   
SHORTCUT_FILE="Battle.net Launcher.exe"
EXE_FILE="Hearthstone-Setup-$LANG.exe"
   
POL_System_TmpCreate "$PREFIX"
cd "$POL_System_TmpDir"
POL_Download "http://dist.blizzard.com/downloads/hs-installers/a6029a1d625c79252defff3914fb6e67/retail.1/$EXE_FILE"
POL_Wine "$POL_System_TmpDir/$EXE_FILE"
POL_Wine_WaitExit "$TITLE" --allow-kill
POL_System_TmpDelete
   
POL_SetupWindow_VMS "256"
POL_Wine_reboot
   
POL_Shortcut "$SHORTCUT_FILE" "$TITLE" "$TITLE.png" "" "Game;CardGame;"

POL_SetupWindow_message "$(eval_gettext 'WARNING:\nAfter exiting, select Hearhstone, then click Options -> Game Settings -> Additional Command Line Arguments, then do write: -force-d3d9')" "$TITLE"
  
POL_SetupWindow_Close   
exit 0

Replies

lem0nade Sunday 1 November 2020 at 15:25
lem0nade Anonymous

Warning

This update has not been approved yet by the team.
Use it at your own risk

Message

I believe a quote " is missing

Differences

@@ -115,7 +115,7 @@
 POL_SetupWindow_VMS "256"
 POL_Wine_reboot
    
-POL_Shortcut "$SHORTCUT_FILE" "$TITLE" "$TITLE.png" "" "Game;CardGame;
+POL_Shortcut "$SHORTCUT_FILE" "$TITLE" "$TITLE.png" "" "Game;CardGame;"
 
 POL_SetupWindow_message "$(eval_gettext 'WARNING:\nAfter exiting, select Hearhstone, then click Options -> Game Settings -> Additional Command Line Arguments, then do write: -force-d3d9')" "$TITLE"
   

New source code

#!/usr/bin/env playonlinux-bash
# Date : 2014-02-08 14:54
# Last revision : see changelog
# Wine version used : see below
# Distribution used to test : ubuntu 19.04 x64
# Author : kweepeer2, m1kc (+ contributions by many others, thanks!)
# Depend :
# NOTE! From Options -> Game Settings -> Additional Command Line Arguments (for Hearthstone), write: -force-d3d9
  
# CHANGELOG
# [kweepeer2] (2014-02-08)
#   First script
# [iArska] (2018-01-28)
#   Misc.
# [Dadu042] (2019-05-25 22-40)
#   Wine 2.21-staging -> 2.22
# [Dadu042] (2019-11-31 15:30)
#   Wine 2.22 -> 4.0.2
#   Apply some changes found in this report: https://appdb.winehq.org/objectManager.php?sClass=version&iId=30038

[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
   
TITLE="Hearthstone"
PREFIX="hearthstone"
   
POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE"
POL_SetupWindow_Init
POL_SetupWindow_SetID 1950
POL_Debug_Init
   
POL_SetupWindow_presentation "$TITLE" "Blizzard" "http://us.battle.net/hearthstone/en/" "kweepeer2" "$PREFIX"
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "4.0.2"
   
# Fix "Battle.net Helper.exe" crash on startup.
POL_Call POL_Install_corefonts
POL_Call POL_Install_RegisterFonts

# Disabled because 32bits only (was used with Wine 2)
# POL_Call POL_Install_ie8
   
# Fix Fireside Gathering search
POL_Call POL_Install_dotnet40

# Changes (2019-11-13) according: https://appdb.winehq.org/objectManager.php?sClass=version&iId=30038
POL_Wine_OverrideDLL "native,builtin" "msvcp140"
POL_Wine_OverrideDLL "native,builtin" "api-ms-win-crt-pricate-l1-1-0"
POL_Wine_OverrideDLL "" "d3d12"
POL_Wine_OverrideDLL "" "locationapi"
POL_Wine_OverrideDLL "" "nvapi"
POL_Wine_OverrideDLL "" "nvapi64"
POL_Wine_OverrideDLL "native,builtin" "ucrtbase"
#
cat << EOF > hearhstone_fix.reg
REGEDIT4
[HKCU\software\Wine\X11 Driver]
UseTakeFocus="no"
EOF
POL_Wine regedit.exe hearhstone_fix.reg
POL_Wine_WaitExit "$(eval_gettext 'Registry fix for X11.')"

   
# Set OS after .NET install
# to upgrade on win10, only .NET 4.6 is compliant, and not available on POL
Set_OS "win7"
   
# Download & Install the game.
# Multiple Language support. See https://eu.battle.net/account/download/?show=hearthstone&style=hearthstone
POL_SetupWindow_menu "$(eval_gettext 'What language do you want to install?')" "Language Selection" \
    "English (US)|Español (AL)|Português (BR)|English (EU)|Deutsch|Español (EU)|Português (EU)|Français|Russian|Italiano|Polski|Korean|Chinese (Taiwan)|Chinese (China)" "|"
case "$APP_ANSWER" in
    "English (US)")
        LANG="enUS";;
    "Español (AL)")
        LANG="esMX";;
    "Português (BR)")
        LANG="ptBR";;
    "English (EU)")
        LANG="enGB";;
    "Deutsch")
        LANG="deDE";;
    "Español (EU)")
        LANG="esES";;
    "Português (EU)")
        LANG="ptPT";;
    "Français")
        LANG="frFR";;
    "Russian")
        LANG="ruRU";;
    "Italiano")
        LANG="itIT";;
    "Polski")
        LANG="plPL";;
    "Korean")
        LANG="koKR";;
    "Chinese (Taiwan)")
        LANG="zhTW";;
    "Chinese (China)")
        LANG="zhCN";;
    *)
        exit 1;;
esac
   
SHORTCUT_FILE="Battle.net Launcher.exe"
EXE_FILE="Hearthstone-Setup-$LANG.exe"
   
POL_System_TmpCreate "$PREFIX"
cd "$POL_System_TmpDir"
POL_Download "http://dist.blizzard.com/downloads/hs-installers/a6029a1d625c79252defff3914fb6e67/retail.1/$EXE_FILE"
POL_Wine "$POL_System_TmpDir/$EXE_FILE"
POL_Wine_WaitExit "$TITLE" --allow-kill
POL_System_TmpDelete
   
POL_SetupWindow_VMS "256"
POL_Wine_reboot
   
POL_Shortcut "$SHORTCUT_FILE" "$TITLE" "$TITLE.png" "" "Game;CardGame;"

POL_SetupWindow_message "$(eval_gettext 'WARNING:\nAfter exiting, select Hearhstone, then click Options -> Game Settings -> Additional Command Line Arguments, then do write: -force-d3d9')" "$TITLE"
  
POL_SetupWindow_Close   
exit 0

Replies

Sunday 1 November 2020 at 17:03
You are right, thanks.
Dadu042 Wednesday 13 November 2019 at 15:51
Dadu042

Warning

This update has not been approved yet by the team.
Use it at your own risk

Message

Some changes inspired from reports in Appdb.winehq.org

Game not tested (I stopped at the Blizzard login screen).

Differences

@@ -1,47 +1,70 @@
 #!/usr/bin/env playonlinux-bash
 # Date : 2014-02-08 14:54
-# Last revision : 2019-05-25
+# Last revision : see changelog
 # Wine version used : see below
-# Distribution used to test : Xubuntu 19.04 x64
+# Distribution used to test : ubuntu 19.04 x64
 # Author : kweepeer2, m1kc (+ contributions by many others, thanks!)
 # Depend :
 # NOTE! From Options -> Game Settings -> Additional Command Line Arguments (for Hearthstone), write: -force-d3d9
- 
+  
 # CHANGELOG
-# [Dadu042] (2019-05-25 22-40)
-#   Wine 2.21-staging -> 2.22
+# [kweepeer2] (2014-02-08)
+#   First script
 # [iArska] (2018-01-28)
 #   Misc.
-
+# [Dadu042] (2019-05-25 22-40)
+#   Wine 2.21-staging -> 2.22
+# [Dadu042] (2019-11-31 15:30)
+#   Wine 2.22 -> 4.0.2
+#   Apply some changes found in this report: https://appdb.winehq.org/objectManager.php?sClass=version&iId=30038
 
 [ "$PLAYONLINUX" = "" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
-  
+   
 TITLE="Hearthstone"
 PREFIX="hearthstone"
-  
+   
 POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE"
 POL_SetupWindow_Init
 POL_SetupWindow_SetID 1950
 POL_Debug_Init
-  
+   
 POL_SetupWindow_presentation "$TITLE" "Blizzard" "http://us.battle.net/hearthstone/en/" "kweepeer2" "$PREFIX"
 POL_Wine_SelectPrefix "$PREFIX"
-POL_Wine_PrefixCreate "2.22"
-  
+POL_Wine_PrefixCreate "4.0.2"
+   
 # Fix "Battle.net Helper.exe" crash on startup.
 POL_Call POL_Install_corefonts
 POL_Call POL_Install_RegisterFonts
-POL_Call POL_Install_ie8
-POL_Wine_OverrideDLL "native,builtin" "msvcp140"
-  
+
+# Disabled because 32bits only (was used with Wine 2)
+# POL_Call POL_Install_ie8
+   
 # Fix Fireside Gathering search
 POL_Call POL_Install_dotnet40
-  
+
+# Changes (2019-11-13) according: https://appdb.winehq.org/objectManager.php?sClass=version&iId=30038
+POL_Wine_OverrideDLL "native,builtin" "msvcp140"
+POL_Wine_OverrideDLL "native,builtin" "api-ms-win-crt-pricate-l1-1-0"
+POL_Wine_OverrideDLL "" "d3d12"
+POL_Wine_OverrideDLL "" "locationapi"
+POL_Wine_OverrideDLL "" "nvapi"
+POL_Wine_OverrideDLL "" "nvapi64"
+POL_Wine_OverrideDLL "native,builtin" "ucrtbase"
+#
+cat << EOF > hearhstone_fix.reg
+REGEDIT4
+[HKCU\software\Wine\X11 Driver]
+UseTakeFocus="no"
+EOF
+POL_Wine regedit.exe hearhstone_fix.reg
+POL_Wine_WaitExit "$(eval_gettext 'Registry fix for X11.')"
+
+   
 # Set OS after .NET install
 # to upgrade on win10, only .NET 4.6 is compliant, and not available on POL
 Set_OS "win7"
-  
+   
 # Download & Install the game.
 # Multiple Language support. See https://eu.battle.net/account/download/?show=hearthstone&style=hearthstone
 POL_SetupWindow_menu "$(eval_gettext 'What language do you want to install?')" "Language Selection" \
@@ -78,21 +101,23 @@
     *)
         exit 1;;
 esac
-  
+   
 SHORTCUT_FILE="Battle.net Launcher.exe"
 EXE_FILE="Hearthstone-Setup-$LANG.exe"
-  
+   
 POL_System_TmpCreate "$PREFIX"
 cd "$POL_System_TmpDir"
 POL_Download "http://dist.blizzard.com/downloads/hs-installers/a6029a1d625c79252defff3914fb6e67/retail.1/$EXE_FILE"
 POL_Wine "$POL_System_TmpDir/$EXE_FILE"
 POL_Wine_WaitExit "$TITLE" --allow-kill
 POL_System_TmpDelete
-  
+   
 POL_SetupWindow_VMS "256"
 POL_Wine_reboot
+   
+POL_Shortcut "$SHORTCUT_FILE" "$TITLE" "$TITLE.png" "" "Game;CardGame;
+
+POL_SetupWindow_message "$(eval_gettext 'WARNING:\nAfter exiting, select Hearhstone, then click Options -> Game Settings -> Additional Command Line Arguments, then do write: -force-d3d9')" "$TITLE"
   
-POL_Shortcut "$SHORTCUT_FILE" "$TITLE" "$TITLE.png" "" "Game;CardGame;"
-POL_SetupWindow_Close
-  
+POL_SetupWindow_Close   
 exit 0
\ No newline at end of file

New source code

#!/usr/bin/env playonlinux-bash
# Date : 2014-02-08 14:54
# Last revision : see changelog
# Wine version used : see below
# Distribution used to test : ubuntu 19.04 x64
# Author : kweepeer2, m1kc (+ contributions by many others, thanks!)
# Depend :
# NOTE! From Options -> Game Settings -> Additional Command Line Arguments (for Hearthstone), write: -force-d3d9
  
# CHANGELOG
# [kweepeer2] (2014-02-08)
#   First script
# [iArska] (2018-01-28)
#   Misc.
# [Dadu042] (2019-05-25 22-40)
#   Wine 2.21-staging -> 2.22
# [Dadu042] (2019-11-31 15:30)
#   Wine 2.22 -> 4.0.2
#   Apply some changes found in this report: https://appdb.winehq.org/objectManager.php?sClass=version&iId=30038

[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
   
TITLE="Hearthstone"
PREFIX="hearthstone"
   
POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE"
POL_SetupWindow_Init
POL_SetupWindow_SetID 1950
POL_Debug_Init
   
POL_SetupWindow_presentation "$TITLE" "Blizzard" "http://us.battle.net/hearthstone/en/" "kweepeer2" "$PREFIX"
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "4.0.2"
   
# Fix "Battle.net Helper.exe" crash on startup.
POL_Call POL_Install_corefonts
POL_Call POL_Install_RegisterFonts

# Disabled because 32bits only (was used with Wine 2)
# POL_Call POL_Install_ie8
   
# Fix Fireside Gathering search
POL_Call POL_Install_dotnet40

# Changes (2019-11-13) according: https://appdb.winehq.org/objectManager.php?sClass=version&iId=30038
POL_Wine_OverrideDLL "native,builtin" "msvcp140"
POL_Wine_OverrideDLL "native,builtin" "api-ms-win-crt-pricate-l1-1-0"
POL_Wine_OverrideDLL "" "d3d12"
POL_Wine_OverrideDLL "" "locationapi"
POL_Wine_OverrideDLL "" "nvapi"
POL_Wine_OverrideDLL "" "nvapi64"
POL_Wine_OverrideDLL "native,builtin" "ucrtbase"
#
cat << EOF > hearhstone_fix.reg
REGEDIT4
[HKCU\software\Wine\X11 Driver]
UseTakeFocus="no"
EOF
POL_Wine regedit.exe hearhstone_fix.reg
POL_Wine_WaitExit "$(eval_gettext 'Registry fix for X11.')"

   
# Set OS after .NET install
# to upgrade on win10, only .NET 4.6 is compliant, and not available on POL
Set_OS "win7"
   
# Download & Install the game.
# Multiple Language support. See https://eu.battle.net/account/download/?show=hearthstone&style=hearthstone
POL_SetupWindow_menu "$(eval_gettext 'What language do you want to install?')" "Language Selection" \
    "English (US)|Español (AL)|Português (BR)|English (EU)|Deutsch|Español (EU)|Português (EU)|Français|Russian|Italiano|Polski|Korean|Chinese (Taiwan)|Chinese (China)" "|"
case "$APP_ANSWER" in
    "English (US)")
        LANG="enUS";;
    "Español (AL)")
        LANG="esMX";;
    "Português (BR)")
        LANG="ptBR";;
    "English (EU)")
        LANG="enGB";;
    "Deutsch")
        LANG="deDE";;
    "Español (EU)")
        LANG="esES";;
    "Português (EU)")
        LANG="ptPT";;
    "Français")
        LANG="frFR";;
    "Russian")
        LANG="ruRU";;
    "Italiano")
        LANG="itIT";;
    "Polski")
        LANG="plPL";;
    "Korean")
        LANG="koKR";;
    "Chinese (Taiwan)")
        LANG="zhTW";;
    "Chinese (China)")
        LANG="zhCN";;
    *)
        exit 1;;
esac
   
SHORTCUT_FILE="Battle.net Launcher.exe"
EXE_FILE="Hearthstone-Setup-$LANG.exe"
   
POL_System_TmpCreate "$PREFIX"
cd "$POL_System_TmpDir"
POL_Download "http://dist.blizzard.com/downloads/hs-installers/a6029a1d625c79252defff3914fb6e67/retail.1/$EXE_FILE"
POL_Wine "$POL_System_TmpDir/$EXE_FILE"
POL_Wine_WaitExit "$TITLE" --allow-kill
POL_System_TmpDelete
   
POL_SetupWindow_VMS "256"
POL_Wine_reboot
   
POL_Shortcut "$SHORTCUT_FILE" "$TITLE" "$TITLE.png" "" "Game;CardGame;

POL_SetupWindow_message "$(eval_gettext 'WARNING:\nAfter exiting, select Hearhstone, then click Options -> Game Settings -> Additional Command Line Arguments, then do write: -force-d3d9')" "$TITLE"
  
POL_SetupWindow_Close   
exit 0

Replies

Edited by Dadu042

Dadu042 Saturday 25 May 2019 at 0:58
Dadu042

Warning

This update has not been approved yet by the team.
Use it at your own risk

Message

Changes wrote in the changelog.

Differences

@@ -1,40 +1,47 @@
 #!/usr/bin/env playonlinux-bash
 # Date : 2014-02-08 14:54
-# Last revision : 2018-01-27 22:32
-# Wine version used : 2.19-staging
-# Distribution used to test : Ubuntu 13.10 x64, Ubuntu 14.04 x64, Ubuntu 16.04 x64, Debian Jessie, Arch Linux
+# Last revision : 2019-05-25
+# Wine version used : see below
+# Distribution used to test : Xubuntu 19.04 x64
 # Author : kweepeer2, m1kc (+ contributions by many others, thanks!)
 # Depend :
 # NOTE! From Options -> Game Settings -> Additional Command Line Arguments (for Hearthstone), write: -force-d3d9
+ 
+# CHANGELOG
+# [Dadu042] (2019-05-25 22-40)
+#   Wine 2.21-staging -> 2.22
+# [iArska] (2018-01-28)
+#   Misc.
+
 
 [ "$PLAYONLINUX" = "" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
- 
+  
 TITLE="Hearthstone"
 PREFIX="hearthstone"
- 
+  
 POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE"
 POL_SetupWindow_Init
 POL_SetupWindow_SetID 1950
 POL_Debug_Init
- 
+  
 POL_SetupWindow_presentation "$TITLE" "Blizzard" "http://us.battle.net/hearthstone/en/" "kweepeer2" "$PREFIX"
 POL_Wine_SelectPrefix "$PREFIX"
-POL_Wine_PrefixCreate "2.21-staging"
- 
+POL_Wine_PrefixCreate "2.22"
+  
 # Fix "Battle.net Helper.exe" crash on startup.
 POL_Call POL_Install_corefonts
 POL_Call POL_Install_RegisterFonts
 POL_Call POL_Install_ie8
 POL_Wine_OverrideDLL "native,builtin" "msvcp140"
- 
+  
 # Fix Fireside Gathering search
 POL_Call POL_Install_dotnet40
- 
+  
 # Set OS after .NET install
 # to upgrade on win10, only .NET 4.6 is compliant, and not available on POL
 Set_OS "win7"
- 
+  
 # Download & Install the game.
 # Multiple Language support. See https://eu.battle.net/account/download/?show=hearthstone&style=hearthstone
 POL_SetupWindow_menu "$(eval_gettext 'What language do you want to install?')" "Language Selection" \
@@ -71,21 +78,21 @@
     *)
         exit 1;;
 esac
- 
+  
 SHORTCUT_FILE="Battle.net Launcher.exe"
 EXE_FILE="Hearthstone-Setup-$LANG.exe"
- 
+  
 POL_System_TmpCreate "$PREFIX"
 cd "$POL_System_TmpDir"
 POL_Download "http://dist.blizzard.com/downloads/hs-installers/a6029a1d625c79252defff3914fb6e67/retail.1/$EXE_FILE"
 POL_Wine "$POL_System_TmpDir/$EXE_FILE"
 POL_Wine_WaitExit "$TITLE" --allow-kill
 POL_System_TmpDelete
- 
+  
 POL_SetupWindow_VMS "256"
 POL_Wine_reboot
- 
-POL_Shortcut "$SHORTCUT_FILE" "$TITLE" "$TITLE.png" ""
+  
+POL_Shortcut "$SHORTCUT_FILE" "$TITLE" "$TITLE.png" "" "Game;CardGame;"
 POL_SetupWindow_Close
- 
+  
 exit 0
\ No newline at end of file

New source code

#!/usr/bin/env playonlinux-bash
# Date : 2014-02-08 14:54
# Last revision : 2019-05-25
# Wine version used : see below
# Distribution used to test : Xubuntu 19.04 x64
# Author : kweepeer2, m1kc (+ contributions by many others, thanks!)
# Depend :
# NOTE! From Options -> Game Settings -> Additional Command Line Arguments (for Hearthstone), write: -force-d3d9
 
# CHANGELOG
# [Dadu042] (2019-05-25 22-40)
#   Wine 2.21-staging -> 2.22
# [iArska] (2018-01-28)
#   Misc.


[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
  
TITLE="Hearthstone"
PREFIX="hearthstone"
  
POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE"
POL_SetupWindow_Init
POL_SetupWindow_SetID 1950
POL_Debug_Init
  
POL_SetupWindow_presentation "$TITLE" "Blizzard" "http://us.battle.net/hearthstone/en/" "kweepeer2" "$PREFIX"
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "2.22"
  
# Fix "Battle.net Helper.exe" crash on startup.
POL_Call POL_Install_corefonts
POL_Call POL_Install_RegisterFonts
POL_Call POL_Install_ie8
POL_Wine_OverrideDLL "native,builtin" "msvcp140"
  
# Fix Fireside Gathering search
POL_Call POL_Install_dotnet40
  
# Set OS after .NET install
# to upgrade on win10, only .NET 4.6 is compliant, and not available on POL
Set_OS "win7"
  
# Download & Install the game.
# Multiple Language support. See https://eu.battle.net/account/download/?show=hearthstone&style=hearthstone
POL_SetupWindow_menu "$(eval_gettext 'What language do you want to install?')" "Language Selection" \
    "English (US)|Español (AL)|Português (BR)|English (EU)|Deutsch|Español (EU)|Português (EU)|Français|Russian|Italiano|Polski|Korean|Chinese (Taiwan)|Chinese (China)" "|"
case "$APP_ANSWER" in
    "English (US)")
        LANG="enUS";;
    "Español (AL)")
        LANG="esMX";;
    "Português (BR)")
        LANG="ptBR";;
    "English (EU)")
        LANG="enGB";;
    "Deutsch")
        LANG="deDE";;
    "Español (EU)")
        LANG="esES";;
    "Português (EU)")
        LANG="ptPT";;
    "Français")
        LANG="frFR";;
    "Russian")
        LANG="ruRU";;
    "Italiano")
        LANG="itIT";;
    "Polski")
        LANG="plPL";;
    "Korean")
        LANG="koKR";;
    "Chinese (Taiwan)")
        LANG="zhTW";;
    "Chinese (China)")
        LANG="zhCN";;
    *)
        exit 1;;
esac
  
SHORTCUT_FILE="Battle.net Launcher.exe"
EXE_FILE="Hearthstone-Setup-$LANG.exe"
  
POL_System_TmpCreate "$PREFIX"
cd "$POL_System_TmpDir"
POL_Download "http://dist.blizzard.com/downloads/hs-installers/a6029a1d625c79252defff3914fb6e67/retail.1/$EXE_FILE"
POL_Wine "$POL_System_TmpDir/$EXE_FILE"
POL_Wine_WaitExit "$TITLE" --allow-kill
POL_System_TmpDelete
  
POL_SetupWindow_VMS "256"
POL_Wine_reboot
  
POL_Shortcut "$SHORTCUT_FILE" "$TITLE" "$TITLE.png" "" "Game;CardGame;"
POL_SetupWindow_Close
  
exit 0

Replies

Anonymous
Monday 9 September 2019 at 15:53
Hello!

I've installed using this script but get error in the end of installation Battle.net. After i tried run program from playonlinux I again have get error. My system OpenSUSE 15.0. Any suggestion? Maybe I can provide you any additional information and you can help me? If so tell me what information I can give you.
Also at the beggining of installation I've get error that IE 8 doesn't supported in this OS.
Wednesday 13 November 2019 at 15:53
Note: The IE8 is issue is because the Install_IE8 script is 32bits, and your OS is 64 bits.

Edited by Dadu042

iArska Sunday 28 January 2018 at 0:39
iArska Anonymous

Warning

This update has not been approved yet by the team.
Use it at your own risk

Message

Note for running Hearthstone: in Blizzard app, from Options -> Game Settings -> Additional Command Line Arguments (for Hearthstone), write: -force-d3d9

In addition, it seems also StarCraft II works somehow but I didn't tested much.

Differences

@@ -1,79 +1,91 @@
-#!/bin/bash
+#!/usr/bin/env playonlinux-bash
 # Date : 2014-02-08 14:54
-# Last revision : 2016-08-07 13:41
-# Wine version used : 1.9.16
-# Distribution used to test : Ubuntu 13.10 x64, Debian Jessie, Arch Linux
+# Last revision : 2018-01-27 22:32
+# Wine version used : 2.19-staging
+# Distribution used to test : Ubuntu 13.10 x64, Ubuntu 14.04 x64, Ubuntu 16.04 x64, Debian Jessie, Arch Linux
 # Author : kweepeer2, m1kc (+ contributions by many others, thanks!)
-# Depend : 
+# Depend :
+# NOTE! From Options -> Game Settings -> Additional Command Line Arguments (for Hearthstone), write: -force-d3d9
 
 [ "$PLAYONLINUX" = "" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
-
+ 
 TITLE="Hearthstone"
 PREFIX="hearthstone"
-
+ 
 POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE"
 POL_SetupWindow_Init
 POL_SetupWindow_SetID 1950
 POL_Debug_Init
-
+ 
 POL_SetupWindow_presentation "$TITLE" "Blizzard" "http://us.battle.net/hearthstone/en/" "kweepeer2" "$PREFIX"
 POL_Wine_SelectPrefix "$PREFIX"
-POL_Wine_PrefixCreate "1.9.18"
-
+POL_Wine_PrefixCreate "2.21-staging"
+ 
 # Fix "Battle.net Helper.exe" crash on startup.
 POL_Call POL_Install_corefonts
 POL_Call POL_Install_RegisterFonts
+POL_Call POL_Install_ie8
 POL_Wine_OverrideDLL "native,builtin" "msvcp140"
-
+ 
+# Fix Fireside Gathering search
+POL_Call POL_Install_dotnet40
+ 
+# Set OS after .NET install
+# to upgrade on win10, only .NET 4.6 is compliant, and not available on POL
+Set_OS "win7"
+ 
 # Download & Install the game.
 # Multiple Language support. See https://eu.battle.net/account/download/?show=hearthstone&style=hearthstone
 POL_SetupWindow_menu "$(eval_gettext 'What language do you want to install?')" "Language Selection" \
     "English (US)|Español (AL)|Português (BR)|English (EU)|Deutsch|Español (EU)|Português (EU)|Français|Russian|Italiano|Polski|Korean|Chinese (Taiwan)|Chinese (China)" "|"
 case "$APP_ANSWER" in
     "English (US)")
-        EXE_FILE="Hearthstone-Setup-enUS.exe";;
+        LANG="enUS";;
     "Español (AL)")
-        EXE_FILE="Hearthstone-Setup-esMX.exe";;
+        LANG="esMX";;
     "Português (BR)")
-        EXE_FILE="Hearthstone-Setup-ptBR.exe";;
+        LANG="ptBR";;
     "English (EU)")
-        EXE_FILE="Hearthstone-Setup-enGB.exe";;
+        LANG="enGB";;
     "Deutsch")
-        EXE_FILE="Hearthstone-Setup-deDE.exe";;
+        LANG="deDE";;
     "Español (EU)")
-        EXE_FILE="Hearthstone-Setup-esES.exe";;
+        LANG="esES";;
     "Português (EU)")
-        EXE_FILE="Hearthstone-Setup-ptPT.exe";;
+        LANG="ptPT";;
     "Français")
-        EXE_FILE="Hearthstone-Setup-frFR.exe";;
+        LANG="frFR";;
     "Russian")
-        EXE_FILE="Hearthstone-Setup-ruRU.exe";;
+        LANG="ruRU";;
     "Italiano")
-        EXE_FILE="Hearthstone-Setup-itIT.exe";;
+        LANG="itIT";;
     "Polski")
-        EXE_FILE="Hearthstone-Setup-plPL.exe";;
+        LANG="plPL";;
     "Korean")
-        EXE_FILE="Hearthstone-Setup-koKR.exe";;
+        LANG="koKR";;
     "Chinese (Taiwan)")
-        EXE_FILE="Hearthstone-Setup-zhTW.exe";;
+        LANG="zhTW";;
     "Chinese (China)")
-        EXE_FILE="Hearthstone-Setup-zhCN.exe";;
+        LANG="zhCN";;
     *)
         exit 1;;
 esac
-
+ 
+SHORTCUT_FILE="Battle.net Launcher.exe"
+EXE_FILE="Hearthstone-Setup-$LANG.exe"
+ 
 POL_System_TmpCreate "$PREFIX"
 cd "$POL_System_TmpDir"
-POL_Download "http://dist.blizzard.com/downloads/hs-installers/a6029a1d625c79252defff3914fb6e67/retail.1/${EXE_FILE}"
-POL_Wine "$POL_System_TmpDir/${EXE_FILE}"
+POL_Download "http://dist.blizzard.com/downloads/hs-installers/a6029a1d625c79252defff3914fb6e67/retail.1/$EXE_FILE"
+POL_Wine "$POL_System_TmpDir/$EXE_FILE"
 POL_Wine_WaitExit "$TITLE" --allow-kill
 POL_System_TmpDelete
-
-POL_SetupWindow_VMS "64"
+ 
+POL_SetupWindow_VMS "256"
 POL_Wine_reboot
-
-POL_Shortcut "Battle.net Launcher.exe" "$TITLE" "$TITLE.png" ""
+ 
+POL_Shortcut "$SHORTCUT_FILE" "$TITLE" "$TITLE.png" ""
 POL_SetupWindow_Close
-
-exit 0
+ 
+exit 0
\ No newline at end of file

New source code

#!/usr/bin/env playonlinux-bash
# Date : 2014-02-08 14:54
# Last revision : 2018-01-27 22:32
# Wine version used : 2.19-staging
# Distribution used to test : Ubuntu 13.10 x64, Ubuntu 14.04 x64, Ubuntu 16.04 x64, Debian Jessie, Arch Linux
# Author : kweepeer2, m1kc (+ contributions by many others, thanks!)
# Depend :
# NOTE! From Options -> Game Settings -> Additional Command Line Arguments (for Hearthstone), write: -force-d3d9

[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="Hearthstone"
PREFIX="hearthstone"
 
POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE"
POL_SetupWindow_Init
POL_SetupWindow_SetID 1950
POL_Debug_Init
 
POL_SetupWindow_presentation "$TITLE" "Blizzard" "http://us.battle.net/hearthstone/en/" "kweepeer2" "$PREFIX"
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "2.21-staging"
 
# Fix "Battle.net Helper.exe" crash on startup.
POL_Call POL_Install_corefonts
POL_Call POL_Install_RegisterFonts
POL_Call POL_Install_ie8
POL_Wine_OverrideDLL "native,builtin" "msvcp140"
 
# Fix Fireside Gathering search
POL_Call POL_Install_dotnet40
 
# Set OS after .NET install
# to upgrade on win10, only .NET 4.6 is compliant, and not available on POL
Set_OS "win7"
 
# Download & Install the game.
# Multiple Language support. See https://eu.battle.net/account/download/?show=hearthstone&style=hearthstone
POL_SetupWindow_menu "$(eval_gettext 'What language do you want to install?')" "Language Selection" \
    "English (US)|Español (AL)|Português (BR)|English (EU)|Deutsch|Español (EU)|Português (EU)|Français|Russian|Italiano|Polski|Korean|Chinese (Taiwan)|Chinese (China)" "|"
case "$APP_ANSWER" in
    "English (US)")
        LANG="enUS";;
    "Español (AL)")
        LANG="esMX";;
    "Português (BR)")
        LANG="ptBR";;
    "English (EU)")
        LANG="enGB";;
    "Deutsch")
        LANG="deDE";;
    "Español (EU)")
        LANG="esES";;
    "Português (EU)")
        LANG="ptPT";;
    "Français")
        LANG="frFR";;
    "Russian")
        LANG="ruRU";;
    "Italiano")
        LANG="itIT";;
    "Polski")
        LANG="plPL";;
    "Korean")
        LANG="koKR";;
    "Chinese (Taiwan)")
        LANG="zhTW";;
    "Chinese (China)")
        LANG="zhCN";;
    *)
        exit 1;;
esac
 
SHORTCUT_FILE="Battle.net Launcher.exe"
EXE_FILE="Hearthstone-Setup-$LANG.exe"
 
POL_System_TmpCreate "$PREFIX"
cd "$POL_System_TmpDir"
POL_Download "http://dist.blizzard.com/downloads/hs-installers/a6029a1d625c79252defff3914fb6e67/retail.1/$EXE_FILE"
POL_Wine "$POL_System_TmpDir/$EXE_FILE"
POL_Wine_WaitExit "$TITLE" --allow-kill
POL_System_TmpDelete
 
POL_SetupWindow_VMS "256"
POL_Wine_reboot
 
POL_Shortcut "$SHORTCUT_FILE" "$TITLE" "$TITLE.png" ""
POL_SetupWindow_Close
 
exit 0

Replies

pashr Sunday 24 September 2017 at 15:44
pashr Anonymous

Message

Hi guys,

when i start the Battle.net Launcher via playonlinux it takes about 5-10 mins till Battle.net is up.
Hearthstone starts immediately when the Launcher is up.

Am I the only one with this behaviour? Is there a way to fix/optimize the startup?

Replies

Anonymous
Monday 25 September 2017 at 12:05
My launcher takes about 20 seconds to open, I used the script posted here: https://www.playonlinux.com/en/app-3242-HearthStone_Blizzard_Application.html
Oria Thursday 21 September 2017 at 23:18
Oria Anonymous

Message

Hello,

L'installation fonctionne mais :

- Pendant l'installation, j'ai Internet explorer 8 non compatible avec la version de windows.

- Au lancement de battle.net, il est impossible de se logguer car les cookies sont désactivés.

 

Bon courage!

Replies

Anonymous
Friday 22 September 2017 at 1:12
Autant pour moi, hearthstone fonctionne!Après avoir installer lib32-gnutls, la connexion sur l'application battle.net
hex0910 Monday 18 September 2017 at 21:55
hex0910 Anonymous

Warning

This update has not been approved yet by the team.
Use it at your own risk

Message

Okay guys so I spent a day trying to run battle net and hearthstone.

Finally i did it by changing the wine version to 2.16 staging, installing ie8 and disabling dbghelp.

Here's the updated script.

Differences

@@ -19,12 +19,14 @@
 
 POL_SetupWindow_presentation "$TITLE" "Blizzard" "http://us.battle.net/hearthstone/en/" "kweepeer2" "$PREFIX"
 POL_Wine_SelectPrefix "$PREFIX"
-POL_Wine_PrefixCreate "1.9.18"
+POL_Wine_PrefixCreate "2.16-staging"
 
 # Fix "Battle.net Helper.exe" crash on startup.
 POL_Call POL_Install_corefonts
 POL_Call POL_Install_RegisterFonts
+POL_Call POL_Install_ie8
 POL_Wine_OverrideDLL "native,builtin" "msvcp140"
+POL_Wine_OverrideDLL "disabled" "dbghelp"
 
 # Download & Install the game.
 # Multiple Language support. See https://eu.battle.net/account/download/?show=hearthstone&style=hearthstone

New source code

#!/bin/bash
# Date : 2014-02-08 14:54
# Last revision : 2016-08-07 13:41
# Wine version used : 1.9.16
# Distribution used to test : Ubuntu 13.10 x64, Debian Jessie, Arch Linux
# Author : kweepeer2, m1kc (+ contributions by many others, thanks!)
# Depend : 

[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"

TITLE="Hearthstone"
PREFIX="hearthstone"

POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE"
POL_SetupWindow_Init
POL_SetupWindow_SetID 1950
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "Blizzard" "http://us.battle.net/hearthstone/en/" "kweepeer2" "$PREFIX"
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "2.16-staging"

# Fix "Battle.net Helper.exe" crash on startup.
POL_Call POL_Install_corefonts
POL_Call POL_Install_RegisterFonts
POL_Call POL_Install_ie8
POL_Wine_OverrideDLL "native,builtin" "msvcp140"
POL_Wine_OverrideDLL "disabled" "dbghelp"

# Download & Install the game.
# Multiple Language support. See https://eu.battle.net/account/download/?show=hearthstone&style=hearthstone
POL_SetupWindow_menu "$(eval_gettext 'What language do you want to install?')" "Language Selection" \
    "English (US)|Español (AL)|Português (BR)|English (EU)|Deutsch|Español (EU)|Português (EU)|Français|Russian|Italiano|Polski|Korean|Chinese (Taiwan)|Chinese (China)" "|"
case "$APP_ANSWER" in
    "English (US)")
        EXE_FILE="Hearthstone-Setup-enUS.exe";;
    "Español (AL)")
        EXE_FILE="Hearthstone-Setup-esMX.exe";;
    "Português (BR)")
        EXE_FILE="Hearthstone-Setup-ptBR.exe";;
    "English (EU)")
        EXE_FILE="Hearthstone-Setup-enGB.exe";;
    "Deutsch")
        EXE_FILE="Hearthstone-Setup-deDE.exe";;
    "Español (EU)")
        EXE_FILE="Hearthstone-Setup-esES.exe";;
    "Português (EU)")
        EXE_FILE="Hearthstone-Setup-ptPT.exe";;
    "Français")
        EXE_FILE="Hearthstone-Setup-frFR.exe";;
    "Russian")
        EXE_FILE="Hearthstone-Setup-ruRU.exe";;
    "Italiano")
        EXE_FILE="Hearthstone-Setup-itIT.exe";;
    "Polski")
        EXE_FILE="Hearthstone-Setup-plPL.exe";;
    "Korean")
        EXE_FILE="Hearthstone-Setup-koKR.exe";;
    "Chinese (Taiwan)")
        EXE_FILE="Hearthstone-Setup-zhTW.exe";;
    "Chinese (China)")
        EXE_FILE="Hearthstone-Setup-zhCN.exe";;
    *)
        exit 1;;
esac

POL_System_TmpCreate "$PREFIX"
cd "$POL_System_TmpDir"
POL_Download "http://dist.blizzard.com/downloads/hs-installers/a6029a1d625c79252defff3914fb6e67/retail.1/${EXE_FILE}"
POL_Wine "$POL_System_TmpDir/${EXE_FILE}"
POL_Wine_WaitExit "$TITLE" --allow-kill
POL_System_TmpDelete

POL_SetupWindow_VMS "64"
POL_Wine_reboot

POL_Shortcut "Battle.net Launcher.exe" "$TITLE" "$TITLE.png" ""
POL_SetupWindow_Close

exit 0

Replies

Anonymous
Monday 18 September 2017 at 22:17
I forgot that you have to delete the file "LocationAPI.dll" located in .wine/drive_c/Program Files/Hearthstone/Hearthstone_Data/Plugins
Anonymous
Monday 25 September 2017 at 7:24
I gave this a shot just now, hoever I get a message part way through the install that says "Internet Explorer 8 is not supported on this operating system."
Anonymous
Monday 25 September 2017 at 7:57
I am however able to install Internet Explorer 8 directly using the install menu on the left in PlayOnLinux, however this script still tries installing IE8 and it still fails saying not supported on this operating system. any help is appreciated
Anonymous
Saturday 9 December 2017 at 14:01
I can't find wine/drive_c/Program Files/Hearthstone/Hearthstone_Data/Plugins, my drive_c does not contain a Hearthstone folder after installing HS and I can't find it anywhere else either. What should I do to find that file?
kmelia Wednesday 6 September 2017 at 17:01
kmelia Anonymous

Message

I have created a new application https://www.playonlinux.com/en/app-3242-HearthStone_Blizzard_Application.html to get the script up to date.

Because the current owner is not aware.

Replies

sorawotobu Saturday 2 September 2017 at 21:01
sorawotobu Anonymous

Message

I can log in and get to the Tavern Door screen, after a few seconds my friends list becomes visible and then Hearthstone immediately crashes. I tried different Wine versions, different Windows versions, and uninstalling and reinstalling Wine and Hearthstone.

Replies

Anonymous
Sunday 3 September 2017 at 16:23
It works fine with 2.15-staging
Anonymous
Monday 4 September 2017 at 2:59
Not for me.
Doc.C Wednesday 23 August 2017 at 8:33
Doc.C Anonymous

Message

I installed version from the Install menu and changed Wine version to 2.5 and got this working. There is at least one graphical bug but it shouldn't affect gameplay. The bug is that in some hover menus background turns black.

Replies

Anonymous
Wednesday 23 August 2017 at 23:03
I just tried this and it works. Thank you!
Anonymous
Thursday 24 August 2017 at 11:40
Glad it worked! I found another graphical glitch, where game screen goes dark, this problem was fixed for the broken game by settings graphics to low.
Anonymous
Sunday 3 September 2017 at 13:06
I can't install HS from the Install menu anymore, I keep getting "The application encountered an unexpected error". Do you know why this might be? I was able to install it by downloading and running Hearthstone-setup.exe from battle.net but still no luck actually launching the game.
Anonymous
Monday 4 September 2017 at 18:53
You should try with corefonts, vcrun2015, winxp
Anonymous
Wednesday 6 September 2017 at 0:07
I already had corefonts and vcrun2015 but everytime I try to install via POL it tells me I don't have Microsoft fonts and that it'll install them. Is there a way to add Hearthstone to POL if it's already installed? Because installing it via the exe works just fine.
Anonymous
Wednesday 6 September 2017 at 16:29
The script is still using wine 1.9.18, so you should install hearthstone manually, with wine 2.15-staging, vcrun2015, corefonts, winxp
Anonymous
Wednesday 6 September 2017 at 20:11
Yeah as I said, I already installed it with the .exe and I can start the game, it just crashes immediately. How do I add it to POL if the Install button doesn't work?
tanaydin Friday 18 August 2017 at 0:09
tanaydin Anonymous

Warning

This update has not been approved yet by the team.
Use it at your own risk

Differences

@@ -19,12 +19,12 @@
 
 POL_SetupWindow_presentation "$TITLE" "Blizzard" "http://us.battle.net/hearthstone/en/" "kweepeer2" "$PREFIX"
 POL_Wine_SelectPrefix "$PREFIX"
-POL_Wine_PrefixCreate "1.9.18"
+POL_Wine_PrefixCreate "2.14"
 
 # Fix "Battle.net Helper.exe" crash on startup.
 POL_Call POL_Install_corefonts
 POL_Call POL_Install_RegisterFonts
-POL_Wine_OverrideDLL "native,builtin" "msvcp140"
+POL_Wine_OverrideDLL "native,builtin" "*msvcr90" "msvcp100" "dbghelp" "api-ms-win-crt-runtime-l1-1-0" "ucrtbase.dll"
 
 # Download & Install the game.
 # Multiple Language support. See https://eu.battle.net/account/download/?show=hearthstone&style=hearthstone
@@ -76,4 +76,7 @@
 POL_Shortcut "Battle.net Launcher.exe" "$TITLE" "$TITLE.png" ""
 POL_SetupWindow_Close
 
+Set_OS "winxp"
+
+
 exit 0

New source code

#!/bin/bash
# Date : 2014-02-08 14:54
# Last revision : 2016-08-07 13:41
# Wine version used : 1.9.16
# Distribution used to test : Ubuntu 13.10 x64, Debian Jessie, Arch Linux
# Author : kweepeer2, m1kc (+ contributions by many others, thanks!)
# Depend : 

[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"

TITLE="Hearthstone"
PREFIX="hearthstone"

POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE"
POL_SetupWindow_Init
POL_SetupWindow_SetID 1950
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "Blizzard" "http://us.battle.net/hearthstone/en/" "kweepeer2" "$PREFIX"
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "2.14"

# Fix "Battle.net Helper.exe" crash on startup.
POL_Call POL_Install_corefonts
POL_Call POL_Install_RegisterFonts
POL_Wine_OverrideDLL "native,builtin" "*msvcr90" "msvcp100" "dbghelp" "api-ms-win-crt-runtime-l1-1-0" "ucrtbase.dll"

# Download & Install the game.
# Multiple Language support. See https://eu.battle.net/account/download/?show=hearthstone&style=hearthstone
POL_SetupWindow_menu "$(eval_gettext 'What language do you want to install?')" "Language Selection" \
    "English (US)|Español (AL)|Português (BR)|English (EU)|Deutsch|Español (EU)|Português (EU)|Français|Russian|Italiano|Polski|Korean|Chinese (Taiwan)|Chinese (China)" "|"
case "$APP_ANSWER" in
    "English (US)")
        EXE_FILE="Hearthstone-Setup-enUS.exe";;
    "Español (AL)")
        EXE_FILE="Hearthstone-Setup-esMX.exe";;
    "Português (BR)")
        EXE_FILE="Hearthstone-Setup-ptBR.exe";;
    "English (EU)")
        EXE_FILE="Hearthstone-Setup-enGB.exe";;
    "Deutsch")
        EXE_FILE="Hearthstone-Setup-deDE.exe";;
    "Español (EU)")
        EXE_FILE="Hearthstone-Setup-esES.exe";;
    "Português (EU)")
        EXE_FILE="Hearthstone-Setup-ptPT.exe";;
    "Français")
        EXE_FILE="Hearthstone-Setup-frFR.exe";;
    "Russian")
        EXE_FILE="Hearthstone-Setup-ruRU.exe";;
    "Italiano")
        EXE_FILE="Hearthstone-Setup-itIT.exe";;
    "Polski")
        EXE_FILE="Hearthstone-Setup-plPL.exe";;
    "Korean")
        EXE_FILE="Hearthstone-Setup-koKR.exe";;
    "Chinese (Taiwan)")
        EXE_FILE="Hearthstone-Setup-zhTW.exe";;
    "Chinese (China)")
        EXE_FILE="Hearthstone-Setup-zhCN.exe";;
    *)
        exit 1;;
esac

POL_System_TmpCreate "$PREFIX"
cd "$POL_System_TmpDir"
POL_Download "http://dist.blizzard.com/downloads/hs-installers/a6029a1d625c79252defff3914fb6e67/retail.1/${EXE_FILE}"
POL_Wine "$POL_System_TmpDir/${EXE_FILE}"
POL_Wine_WaitExit "$TITLE" --allow-kill
POL_System_TmpDelete

POL_SetupWindow_VMS "64"
POL_Wine_reboot

POL_Shortcut "Battle.net Launcher.exe" "$TITLE" "$TITLE.png" ""
POL_SetupWindow_Close

Set_OS "winxp"


exit 0

Replies

Anonymous
Saturday 19 August 2017 at 9:38
Not working, crashes at install :(
tanaydin Thursday 17 August 2017 at 23:24
tanaydin Anonymous

Warning

This update has not been approved yet by the team.
Use it at your own risk

Differences

@@ -19,7 +19,7 @@
 
 POL_SetupWindow_presentation "$TITLE" "Blizzard" "http://us.battle.net/hearthstone/en/" "kweepeer2" "$PREFIX"
 POL_Wine_SelectPrefix "$PREFIX"
-POL_Wine_PrefixCreate "1.9.18"
+POL_Wine_PrefixCreate "2.14"
 
 # Fix "Battle.net Helper.exe" crash on startup.
 POL_Call POL_Install_corefonts

New source code

#!/bin/bash
# Date : 2014-02-08 14:54
# Last revision : 2016-08-07 13:41
# Wine version used : 1.9.16
# Distribution used to test : Ubuntu 13.10 x64, Debian Jessie, Arch Linux
# Author : kweepeer2, m1kc (+ contributions by many others, thanks!)
# Depend : 

[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"

TITLE="Hearthstone"
PREFIX="hearthstone"

POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE"
POL_SetupWindow_Init
POL_SetupWindow_SetID 1950
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "Blizzard" "http://us.battle.net/hearthstone/en/" "kweepeer2" "$PREFIX"
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "2.14"

# Fix "Battle.net Helper.exe" crash on startup.
POL_Call POL_Install_corefonts
POL_Call POL_Install_RegisterFonts
POL_Wine_OverrideDLL "native,builtin" "msvcp140"

# Download & Install the game.
# Multiple Language support. See https://eu.battle.net/account/download/?show=hearthstone&style=hearthstone
POL_SetupWindow_menu "$(eval_gettext 'What language do you want to install?')" "Language Selection" \
    "English (US)|Español (AL)|Português (BR)|English (EU)|Deutsch|Español (EU)|Português (EU)|Français|Russian|Italiano|Polski|Korean|Chinese (Taiwan)|Chinese (China)" "|"
case "$APP_ANSWER" in
    "English (US)")
        EXE_FILE="Hearthstone-Setup-enUS.exe";;
    "Español (AL)")
        EXE_FILE="Hearthstone-Setup-esMX.exe";;
    "Português (BR)")
        EXE_FILE="Hearthstone-Setup-ptBR.exe";;
    "English (EU)")
        EXE_FILE="Hearthstone-Setup-enGB.exe";;
    "Deutsch")
        EXE_FILE="Hearthstone-Setup-deDE.exe";;
    "Español (EU)")
        EXE_FILE="Hearthstone-Setup-esES.exe";;
    "Português (EU)")
        EXE_FILE="Hearthstone-Setup-ptPT.exe";;
    "Français")
        EXE_FILE="Hearthstone-Setup-frFR.exe";;
    "Russian")
        EXE_FILE="Hearthstone-Setup-ruRU.exe";;
    "Italiano")
        EXE_FILE="Hearthstone-Setup-itIT.exe";;
    "Polski")
        EXE_FILE="Hearthstone-Setup-plPL.exe";;
    "Korean")
        EXE_FILE="Hearthstone-Setup-koKR.exe";;
    "Chinese (Taiwan)")
        EXE_FILE="Hearthstone-Setup-zhTW.exe";;
    "Chinese (China)")
        EXE_FILE="Hearthstone-Setup-zhCN.exe";;
    *)
        exit 1;;
esac

POL_System_TmpCreate "$PREFIX"
cd "$POL_System_TmpDir"
POL_Download "http://dist.blizzard.com/downloads/hs-installers/a6029a1d625c79252defff3914fb6e67/retail.1/${EXE_FILE}"
POL_Wine "$POL_System_TmpDir/${EXE_FILE}"
POL_Wine_WaitExit "$TITLE" --allow-kill
POL_System_TmpDelete

POL_SetupWindow_VMS "64"
POL_Wine_reboot

POL_Shortcut "Battle.net Launcher.exe" "$TITLE" "$TITLE.png" ""
POL_SetupWindow_Close

exit 0

Replies

MaReeo Thursday 17 August 2017 at 12:25
MaReeo Anonymous

Message

Hello!

I tried to Install Hearthstone or the Battle.net launcher in PlayOnLinux with the Install menu but it always give an error while the Updating battle.net client or something stage. After that I tried to run the local script from here which works, it installs the Battle.net client, and then I can download and play Hearthstone. But if I close the launcher, it's gone. It's not in the installed programs list in the PlayOnLinux appliaction, and if I navigate to home/PlayOnLinux's virtual drives/  folder, there is a Heartstone and a blizzardapp folder but can't run any executable from there because it gives the error window. What did I do wrong? How do I run the game without having to install with the script every time?

Replies

Anonymous
Thursday 17 August 2017 at 12:39
Tried @kmeila's script, not working either.
Arizs Wednesday 9 August 2017 at 8:36
Arizs Anonymous

Message

Hi,

Since 3 years I play Hearthstone on linux until presente no probleme but since 3 weeks my Battle.net meet probleme. When I start Battle.net a probleme arise "This application meet error unexpected" so I uninstall and intall from PlayOnLinux but always this probleme. I think that probleme is the version Windows XP use who it not more compatile. It's information announce by Blizzard. So Can you reprogram Hearthstone in Windows 7 or How change operating systeme ? 

Thank you, Arisz  

Replies

Anonymous
Wednesday 9 August 2017 at 8:38
* "The application encountered an unexpecter error"
Picon Friday 21 July 2017 at 13:39
Picon Anonymous

Message

Hello, I cannot still play Hearthstone, despite @kmelia's script below (2017-06-14 08:32). Battle.net starts, but I am unable to log in whatsoever, because the login buttons have disappeared ("Login to Blizzard/Login via Facebook"). Only the username/password fields are visible, but entering my data and pressing "Enter" does nothing. I have re-installed multiple times the new script, with various tweaks, but to no avail.

Furthermore, I am getting this continuous error: "The program Battle.net Helper.exe has encountered a serious problem and needs to close".

Library overrides:

  • mscoree (native)
  • msvcp140 (native, builtin)

Replies

Anonymous
Friday 21 July 2017 at 16:26
can you post your Debug logs? Are you sure @kmelia's script run successfully?
Anonymous
Friday 21 July 2017 at 22:33
@pashr thank you for the feedback. Here is the complete log: https://pastebin.com/tWBVhkaK (I could not find an easy way to use the console format in replies)

A prominent error that I came across is:
err:module:load_builtin_dll failed to load .so lib for builtin L"winebus.sys": libudev.so.0: cannot open shared object file: No such file or directory

But there is no libudev0, only libudev1 in the repository. Using a fresh-installed Debian 9 (Stretch). Would this imply that the script was not installed properly?
Anonymous
Friday 21 July 2017 at 22:44
Updated log, after installing libudev0 from the wheezy repos: https://pastebin.com/0b1A5eRN
The issue just persists. The only repetitive error it seems I'm getting is:

err:winediag:SECUR32_initNTLMSP ntlm_auth was not found or is outdated. Make sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find it in the winbind package of your distribution.

I went on to install it, but I'm not sure if it's necessary, as there are unmet dependencies:
The following packages have unmet dependencies:
winbind:i386 : Depends: samba-common-bin:i386 (= 2:4.5.8+dfsg-2+deb9u1+b1) but it is not going to be installed
Depends: samba-libs:i386 (= 2:4.5.8+dfsg-2+deb9u1+b1) but it is not going to be installed
Anonymous
Saturday 22 July 2017 at 11:54
did u install package "wine:i386" ?
Anonymous
Saturday 22 July 2017 at 14:49
wine:i386 didn't do anything; installing winbind though (the 64-bit) suppressed the SECUR32 error. The issue though was NOT resolved. I am still getting the helper error and cannot log in.

Install log: https://pastebin.com/hpuv3tA5
Battle.net Helper.exe crash report: https://pastebin.com/sFrSyu6P

This strange error keeps popping up: (was present in the previous logs as well); trying to debug it now.
err:wininet:open_http_connection create_netconn failed: 12029
Anonymous
Sunday 23 July 2017 at 22:01
Problem STILL persists; it's been currently more than a week that I have been completely unable to play HearthStone.

Regarding the wininet error, this is resolved by adding to the script "POL_Call POL_Install_wininet". Note that the install will freeze due to an MD5 mismatch, solution here: https://www.playonmac.com/en/issue-5266.html

Install log: https://pastebin.com/SZ4qtnBb
I really cannot figure out what's wrong. I still cannot login, that's what I am seeing: http://imgur.com/a/yaTuC
Anonymous
Sunday 23 July 2017 at 23:03
And the Launcher log, after installing firefox as well: https://pastebin.com/iVw6faqp
pashr Friday 14 July 2017 at 11:36
pashr Anonymous

Message

since yesterday i'm not able to run hearthstone anymore

every two seconds a crash report pops up 'The application encountered an unexpecter error.'

i don't want to be mean, but i would just not recommend to use PlayOnLinux for Hearthstone (Diablo III is working fine for me), if you like to avoid trouble

 

Replies

Anonymous
Friday 14 July 2017 at 11:53
Same here, but what alternative is there?
Anonymous
Friday 14 July 2017 at 12:47
Update: Tried kmelia's script below, I have HearthStone up and running now.
Anonymous
Friday 14 July 2017 at 14:16
thanks it also did the job for me. first i wasn't able to run @kmelia 's script. Because the 'Try this update' button did nothing, but thanks to @alvitawa 's description i get it working
Anonymous
Thursday 20 July 2017 at 18:23
Did you also apply any further overrides, @pashr ? I used @kmelia's script, but I keep getting the same error ("The program Battle.net Helper.exe has encountered a serious problem and needs to close") and I cannot log in, as the login buttons have disappeared.
Anonymous
Friday 21 July 2017 at 14:10
actually i had to completely reinstall today, regarding to other issues (not depending on playonlinux). and i just installed the newest PlayOnLinux, and Hearthstone with @kmelia 's script. Everything is working fine again,
Anonymous
Sunday 23 July 2017 at 21:16
@pashr did you apply any other library overrides? Could you please share your wine-related packages that you have installed?
pashr Thursday 22 June 2017 at 13:26
pashr Anonymous

Message

I have so much trouble with Hearthstone since a few weeks. Did have to reinstall several times..

Now i'm again in the loop where Hearthstone starts and crashes after a few seconds, if i add "dbghelp - disabled" to winecfg, the Battle.Net Client does not show Login buttons

I also trief do disable "d3d11", like someone mentioned earlier, but without success.

I run it with wine2.5

Do you have any hints? 

Replies

Anonymous
Saturday 1 July 2017 at 18:45
Hi, try my script below
dlee Friday 16 June 2017 at 5:09
dlee Anonymous

Message

I am new to Linux and this is the first thing I tried to do, get Hearthstone. I got this error after trying to install:

 

Unhandled exception: page fault on write access to 0x00000000 in 32-bit code (0x10fb168f).
Register dump:
 CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b
 EIP:10fb168f ESP:0033ca0c EBP:0033cd38 EFLAGS:00210246(  R- --  I  Z- -P- )
 EAX:00000000 EBX:0033cf64 ECX:0243ee20 EDX:fffffffc
 ESI:0251a880 EDI:04e18000
Stack dump:
0x0033ca0c:  0243ee20 04e18000 0033d748 0000ca38
0x0033ca1c:  12a2fc5c 0033ca2c 00000400 00000000
0x0033ca2c:  0033e4e7 0033cbec 0033e99c 0033e4e7
0x0033ca3c:  ffffffff ffffffff 00000000 00000000
0x0033ca4c:  ffffffff 00000084 00000000 ffffffff
0x0033ca5c:  ffffffff 00000000 00000000 ffffffff
Backtrace:
=>0 0x10fb168f in libcef (+0xfb168f) (0x0033cd38)
  1 0x10fb59f9 in libcef (+0xfb59f8) (0x0033cd88)
  2 0x11038ec4 in libcef (+0x1038ec3) (0x0033cefc)
  3 0x110396be in libcef (+0x10396bd) (0x0033d020)
 
....

 

000000b7    0
<>
000000b4    0 <==
System information:
    Wine build: wine-1.9.18
    Platform: i386
    Version: Windows XP
    Host system: Linux
    Host version: 4.4.0-53-generic
<>
<>
<>
<>
<>

Replies

Anonymous
Sunday 23 July 2017 at 21:17
Hi, did you eventually find a way out of that?
Friday 17 May 2019 at 4:36
http://wiki.playonlinux.com/index.php/How_to_Read_Debug_Logs

Edited by Dadu042

kmelia Wednesday 14 June 2017 at 12:41
kmelia Anonymous

Warning

This update has not been approved yet by the team.
Use it at your own risk

Message

List of changes :

  • upgrade Windows to Win7 (with wine 2.9 staging)
  • add the .NET 4.0 Framework.

Differences

@@ -1,10 +1,10 @@
-#!/bin/bash
+#!/usr/bin/env playonlinux-bash
 # Date : 2014-02-08 14:54
-# Last revision : 2016-08-07 13:41
-# Wine version used : 1.9.16
-# Distribution used to test : Ubuntu 13.10 x64, Debian Jessie, Arch Linux
+# Last revision : 2017-06-14 08:32
+# Wine version used : 2.9-staging
+# Distribution used to test : Ubuntu 13.10 x64, Ubuntu 14.04 x64, Ubuntu 16.04 x64, Debian Jessie, Arch Linux
 # Author : kweepeer2, m1kc (+ contributions by many others, thanks!)
-# Depend : 
+# Depend :
 
 [ "$PLAYONLINUX" = "" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
@@ -19,61 +19,71 @@
 
 POL_SetupWindow_presentation "$TITLE" "Blizzard" "http://us.battle.net/hearthstone/en/" "kweepeer2" "$PREFIX"
 POL_Wine_SelectPrefix "$PREFIX"
-POL_Wine_PrefixCreate "1.9.18"
+POL_Wine_PrefixCreate "2.9-staging"
 
 # Fix "Battle.net Helper.exe" crash on startup.
 POL_Call POL_Install_corefonts
 POL_Call POL_Install_RegisterFonts
 POL_Wine_OverrideDLL "native,builtin" "msvcp140"
 
+# Fix Fireside Gathering search
+POL_Call POL_Install_dotnet40
+
+# Set OS after .NET install
+# to upgrade on win10, only .NET 4.6 is compliant, and not available on POL
+Set_OS "win7"
+
 # Download & Install the game.
 # Multiple Language support. See https://eu.battle.net/account/download/?show=hearthstone&style=hearthstone
 POL_SetupWindow_menu "$(eval_gettext 'What language do you want to install?')" "Language Selection" \
     "English (US)|Español (AL)|Português (BR)|English (EU)|Deutsch|Español (EU)|Português (EU)|Français|Russian|Italiano|Polski|Korean|Chinese (Taiwan)|Chinese (China)" "|"
 case "$APP_ANSWER" in
     "English (US)")
-        EXE_FILE="Hearthstone-Setup-enUS.exe";;
+        LANG="enUS";;
     "Español (AL)")
-        EXE_FILE="Hearthstone-Setup-esMX.exe";;
+        LANG="esMX";;
     "Português (BR)")
-        EXE_FILE="Hearthstone-Setup-ptBR.exe";;
+        LANG="ptBR";;
     "English (EU)")
-        EXE_FILE="Hearthstone-Setup-enGB.exe";;
+        LANG="enGB";;
     "Deutsch")
-        EXE_FILE="Hearthstone-Setup-deDE.exe";;
+        LANG="deDE";;
     "Español (EU)")
-        EXE_FILE="Hearthstone-Setup-esES.exe";;
+        LANG="esES";;
     "Português (EU)")
-        EXE_FILE="Hearthstone-Setup-ptPT.exe";;
+        LANG="ptPT";;
     "Français")
-        EXE_FILE="Hearthstone-Setup-frFR.exe";;
+        LANG="frFR";;
     "Russian")
-        EXE_FILE="Hearthstone-Setup-ruRU.exe";;
+        LANG="ruRU";;
     "Italiano")
-        EXE_FILE="Hearthstone-Setup-itIT.exe";;
+        LANG="itIT";;
     "Polski")
-        EXE_FILE="Hearthstone-Setup-plPL.exe";;
+        LANG="plPL";;
     "Korean")
-        EXE_FILE="Hearthstone-Setup-koKR.exe";;
+        LANG="koKR";;
     "Chinese (Taiwan)")
-        EXE_FILE="Hearthstone-Setup-zhTW.exe";;
+        LANG="zhTW";;
     "Chinese (China)")
-        EXE_FILE="Hearthstone-Setup-zhCN.exe";;
+        LANG="zhCN";;
     *)
         exit 1;;
 esac
 
+SHORTCUT_FILE="Battle.net Launcher.exe"
+EXE_FILE="Hearthstone-Setup-$LANG.exe"
+
 POL_System_TmpCreate "$PREFIX"
 cd "$POL_System_TmpDir"
-POL_Download "http://dist.blizzard.com/downloads/hs-installers/a6029a1d625c79252defff3914fb6e67/retail.1/${EXE_FILE}"
-POL_Wine "$POL_System_TmpDir/${EXE_FILE}"
+POL_Download "http://dist.blizzard.com/downloads/hs-installers/a6029a1d625c79252defff3914fb6e67/retail.1/$EXE_FILE"
+POL_Wine "$POL_System_TmpDir/$EXE_FILE"
 POL_Wine_WaitExit "$TITLE" --allow-kill
 POL_System_TmpDelete
 
-POL_SetupWindow_VMS "64"
+POL_SetupWindow_VMS "256"
 POL_Wine_reboot
 
-POL_Shortcut "Battle.net Launcher.exe" "$TITLE" "$TITLE.png" ""
+POL_Shortcut "$SHORTCUT_FILE" "$TITLE" "$TITLE.png" ""
 POL_SetupWindow_Close
 
-exit 0
+exit 0
\ No newline at end of file

New source code

#!/usr/bin/env playonlinux-bash
# Date : 2014-02-08 14:54
# Last revision : 2017-06-14 08:32
# Wine version used : 2.9-staging
# Distribution used to test : Ubuntu 13.10 x64, Ubuntu 14.04 x64, Ubuntu 16.04 x64, Debian Jessie, Arch Linux
# Author : kweepeer2, m1kc (+ contributions by many others, thanks!)
# Depend :

[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"

TITLE="Hearthstone"
PREFIX="hearthstone"

POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE"
POL_SetupWindow_Init
POL_SetupWindow_SetID 1950
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "Blizzard" "http://us.battle.net/hearthstone/en/" "kweepeer2" "$PREFIX"
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "2.9-staging"

# Fix "Battle.net Helper.exe" crash on startup.
POL_Call POL_Install_corefonts
POL_Call POL_Install_RegisterFonts
POL_Wine_OverrideDLL "native,builtin" "msvcp140"

# Fix Fireside Gathering search
POL_Call POL_Install_dotnet40

# Set OS after .NET install
# to upgrade on win10, only .NET 4.6 is compliant, and not available on POL
Set_OS "win7"

# Download & Install the game.
# Multiple Language support. See https://eu.battle.net/account/download/?show=hearthstone&style=hearthstone
POL_SetupWindow_menu "$(eval_gettext 'What language do you want to install?')" "Language Selection" \
    "English (US)|Español (AL)|Português (BR)|English (EU)|Deutsch|Español (EU)|Português (EU)|Français|Russian|Italiano|Polski|Korean|Chinese (Taiwan)|Chinese (China)" "|"
case "$APP_ANSWER" in
    "English (US)")
        LANG="enUS";;
    "Español (AL)")
        LANG="esMX";;
    "Português (BR)")
        LANG="ptBR";;
    "English (EU)")
        LANG="enGB";;
    "Deutsch")
        LANG="deDE";;
    "Español (EU)")
        LANG="esES";;
    "Português (EU)")
        LANG="ptPT";;
    "Français")
        LANG="frFR";;
    "Russian")
        LANG="ruRU";;
    "Italiano")
        LANG="itIT";;
    "Polski")
        LANG="plPL";;
    "Korean")
        LANG="koKR";;
    "Chinese (Taiwan)")
        LANG="zhTW";;
    "Chinese (China)")
        LANG="zhCN";;
    *)
        exit 1;;
esac

SHORTCUT_FILE="Battle.net Launcher.exe"
EXE_FILE="Hearthstone-Setup-$LANG.exe"

POL_System_TmpCreate "$PREFIX"
cd "$POL_System_TmpDir"
POL_Download "http://dist.blizzard.com/downloads/hs-installers/a6029a1d625c79252defff3914fb6e67/retail.1/$EXE_FILE"
POL_Wine "$POL_System_TmpDir/$EXE_FILE"
POL_Wine_WaitExit "$TITLE" --allow-kill
POL_System_TmpDelete

POL_SetupWindow_VMS "256"
POL_Wine_reboot

POL_Shortcut "$SHORTCUT_FILE" "$TITLE" "$TITLE.png" ""
POL_SetupWindow_Close

exit 0

Replies

Anonymous
Saturday 1 July 2017 at 1:01
Installed Hearthstone today on a new Fedora. Installer threw an error like the one from dlee.
I tried to upgrade on wine 2.9 staging and installed the NET 4.0 and it works fine now.
Anonymous
Saturday 1 July 2017 at 18:45
@aitsu so you try my script?
Anonymous
Monday 3 July 2017 at 9:04
After click "Try update" nothing happen. If in shell have error:nessero@nessero-pc~$ xdg-open playonlinux://www.playonlinux.com/repository/download_update.php?id=7874
gvfs-open: playonlinux://www.playonlinux.com/repository/download_update.php?id=7874: error opening location: The specified location is not supported
Copy script code to file, when execute give error /usr/bin/env: ‘playonlinux-bash’: No such file or directory
Anonymous
Friday 14 July 2017 at 12:05
@kmelia I tried your script - looks like it worked for me.
Anonymous
Friday 14 July 2017 at 12:45
The try update button didn't work for me, I had to:
1. Copy the source code and save it as a file named `Install Hearthstone` (no file extension) in '~/.PlayOnLinux/shortcuts'.
2. Type `playonlinux --run "Install Hearthstone"` in the shell(Ctrl+Alt+T on Ubuntu) and press Enter.
3. Follow the installation steps.
After you are done installing, you can remove `Install Hearthstone` from '~/.PlayOnLinux/shortcuts', or you can leave it there if you need to reinstall later.
Anonymous
Tuesday 18 July 2017 at 16:10
How do I install .NET 4.0 ?
Anonymous
Tuesday 18 July 2017 at 16:34
Im having this error:
Anonymous
Tuesday 18 July 2017 at 16:35
rundll32.exe - .NET Framework Initialization
Anonymous
Wednesday 19 July 2017 at 23:56
Thank you for the script. I ran your script to install HS, but I am not able to log in; the login buttons have disappeared and there's just a blue swirl there. Moreover, I am getting these constant error messages:
Anonymous
Wednesday 19 July 2017 at 23:58
[continuing from previous message] Unhandled exception: page fault on write access to 0x00000000 in 32-bit code (0x10d95d80).

Sorry for the double-post; apparently, clicking "Enter" posts the message and I cannot edit/delete my previous one.
kmelia Tuesday 13 June 2017 at 18:22
kmelia Anonymous

Warning

This update has not been approved yet by the team.
Use it at your own risk

Message

Update comments and simplify code without blank line with space

Differences

@@ -1,10 +1,10 @@
-#!/bin/bash
+#!/usr/bin/env playonlinux-bash
 # Date : 2014-02-08 14:54
-# Last revision : 2016-08-07 13:41
-# Wine version used : 1.9.16
-# Distribution used to test : Ubuntu 13.10 x64, Debian Jessie, Arch Linux
+# Last revision : 2017-06-13 19:41
+# Wine version used : 1.9.18
+# Distribution used to test : Ubuntu 13.10 x64, Ubuntu 14.04 x64, Ubuntu 16.04 x64, Debian Jessie, Arch Linux
 # Author : kweepeer2, m1kc (+ contributions by many others, thanks!)
-# Depend : 
+# Depend :
 
 [ "$PLAYONLINUX" = "" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
@@ -32,48 +32,51 @@
     "English (US)|Español (AL)|Português (BR)|English (EU)|Deutsch|Español (EU)|Português (EU)|Français|Russian|Italiano|Polski|Korean|Chinese (Taiwan)|Chinese (China)" "|"
 case "$APP_ANSWER" in
     "English (US)")
-        EXE_FILE="Hearthstone-Setup-enUS.exe";;
+        LANG="enUS";;
     "Español (AL)")
-        EXE_FILE="Hearthstone-Setup-esMX.exe";;
+        LANG="esMX";;
     "Português (BR)")
-        EXE_FILE="Hearthstone-Setup-ptBR.exe";;
+        LANG="ptBR";;
     "English (EU)")
-        EXE_FILE="Hearthstone-Setup-enGB.exe";;
+        LANG="enGB";;
     "Deutsch")
-        EXE_FILE="Hearthstone-Setup-deDE.exe";;
+        LANG="deDE";;
     "Español (EU)")
-        EXE_FILE="Hearthstone-Setup-esES.exe";;
+        LANG="esES";;
     "Português (EU)")
-        EXE_FILE="Hearthstone-Setup-ptPT.exe";;
+        LANG="ptPT";;
     "Français")
-        EXE_FILE="Hearthstone-Setup-frFR.exe";;
+        LANG="frFR";;
     "Russian")
-        EXE_FILE="Hearthstone-Setup-ruRU.exe";;
+        LANG="ruRU";;
     "Italiano")
-        EXE_FILE="Hearthstone-Setup-itIT.exe";;
+        LANG="itIT";;
     "Polski")
-        EXE_FILE="Hearthstone-Setup-plPL.exe";;
+        LANG="plPL";;
     "Korean")
-        EXE_FILE="Hearthstone-Setup-koKR.exe";;
+        LANG="koKR";;
     "Chinese (Taiwan)")
-        EXE_FILE="Hearthstone-Setup-zhTW.exe";;
+        LANG="zhTW";;
     "Chinese (China)")
-        EXE_FILE="Hearthstone-Setup-zhCN.exe";;
+        LANG="zhCN";;
     *)
         exit 1;;
 esac
 
+SHORTCUT_FILE="Battle.net Launcher.exe"
+EXE_FILE="Hearthstone-Setup-$LANG.exe"
+
 POL_System_TmpCreate "$PREFIX"
 cd "$POL_System_TmpDir"
-POL_Download "http://dist.blizzard.com/downloads/hs-installers/a6029a1d625c79252defff3914fb6e67/retail.1/${EXE_FILE}"
-POL_Wine "$POL_System_TmpDir/${EXE_FILE}"
+POL_Download "http://dist.blizzard.com/downloads/hs-installers/a6029a1d625c79252defff3914fb6e67/retail.1/$EXE_FILE"
+POL_Wine "$POL_System_TmpDir/$EXE_FILE"
 POL_Wine_WaitExit "$TITLE" --allow-kill
 POL_System_TmpDelete
 
 POL_SetupWindow_VMS "64"
 POL_Wine_reboot
 
-POL_Shortcut "Battle.net Launcher.exe" "$TITLE" "$TITLE.png" ""
+POL_Shortcut "$SHORTCUT_FILE" "$TITLE" "$TITLE.png" ""
 POL_SetupWindow_Close
 
-exit 0
+exit 0
\ No newline at end of file

New source code

#!/usr/bin/env playonlinux-bash
# Date : 2014-02-08 14:54
# Last revision : 2017-06-13 19:41
# Wine version used : 1.9.18
# Distribution used to test : Ubuntu 13.10 x64, Ubuntu 14.04 x64, Ubuntu 16.04 x64, Debian Jessie, Arch Linux
# Author : kweepeer2, m1kc (+ contributions by many others, thanks!)
# Depend :

[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"

TITLE="Hearthstone"
PREFIX="hearthstone"

POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE"
POL_SetupWindow_Init
POL_SetupWindow_SetID 1950
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "Blizzard" "http://us.battle.net/hearthstone/en/" "kweepeer2" "$PREFIX"
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "1.9.18"

# Fix "Battle.net Helper.exe" crash on startup.
POL_Call POL_Install_corefonts
POL_Call POL_Install_RegisterFonts
POL_Wine_OverrideDLL "native,builtin" "msvcp140"

# Download & Install the game.
# Multiple Language support. See https://eu.battle.net/account/download/?show=hearthstone&style=hearthstone
POL_SetupWindow_menu "$(eval_gettext 'What language do you want to install?')" "Language Selection" \
    "English (US)|Español (AL)|Português (BR)|English (EU)|Deutsch|Español (EU)|Português (EU)|Français|Russian|Italiano|Polski|Korean|Chinese (Taiwan)|Chinese (China)" "|"
case "$APP_ANSWER" in
    "English (US)")
        LANG="enUS";;
    "Español (AL)")
        LANG="esMX";;
    "Português (BR)")
        LANG="ptBR";;
    "English (EU)")
        LANG="enGB";;
    "Deutsch")
        LANG="deDE";;
    "Español (EU)")
        LANG="esES";;
    "Português (EU)")
        LANG="ptPT";;
    "Français")
        LANG="frFR";;
    "Russian")
        LANG="ruRU";;
    "Italiano")
        LANG="itIT";;
    "Polski")
        LANG="plPL";;
    "Korean")
        LANG="koKR";;
    "Chinese (Taiwan)")
        LANG="zhTW";;
    "Chinese (China)")
        LANG="zhCN";;
    *)
        exit 1;;
esac

SHORTCUT_FILE="Battle.net Launcher.exe"
EXE_FILE="Hearthstone-Setup-$LANG.exe"

POL_System_TmpCreate "$PREFIX"
cd "$POL_System_TmpDir"
POL_Download "http://dist.blizzard.com/downloads/hs-installers/a6029a1d625c79252defff3914fb6e67/retail.1/$EXE_FILE"
POL_Wine "$POL_System_TmpDir/$EXE_FILE"
POL_Wine_WaitExit "$TITLE" --allow-kill
POL_System_TmpDelete

POL_SetupWindow_VMS "64"
POL_Wine_reboot

POL_Shortcut "$SHORTCUT_FILE" "$TITLE" "$TITLE.png" ""
POL_SetupWindow_Close

exit 0

Replies

andrikos Wednesday 7 June 2017 at 20:34
andrikos

Message

Sup guys ... I just installed Hearthstone through PlayOnLinux

and when I run it it pop ups for a couple of secs showing the

Hearthstone logo and then it closes. Please if you know how to fix it reply. :)

 

Replies

Anonymous
Wednesday 7 June 2017 at 23:59
May be one of these tips can help you:
Anonymous
Thursday 8 June 2017 at 0:01
try change to wine 2.5, and use the library vcruntime140 as native then try it and tell us if works
Thursday 8 June 2017 at 0:33
i tried vcruntime140 and it didn't work ... how do i change to wine 2.5?
Anonymous
Thursday 8 June 2017 at 0:41
Select the icon of Hearthstone then hit the button config (top) then in tab General you can change it
Thursday 8 June 2017 at 0:53
still nothing...
Anonymous
Thursday 8 June 2017 at 8:05
check the message of @Bouzigouloum below, this fixed the same issue that I had !
Thursday 8 June 2017 at 12:02
thank you @kmelia it worked ^^
hex0910 Wednesday 7 June 2017 at 14:48
hex0910 Anonymous

Message

To run this program, you just have to install it with the playonlinux wizard and then install the core fonts :

sudo apt-get install ttf-mscorefonts-installer

no need to add any library.

Replies

EfficiencyVI Friday 2 June 2017 at 3:07
EfficiencyVI Anonymous

Message

Patch 8.2.0.19506 brought some serious graphic glitches. When ever I open a menu and when animations happen (even in-game) the whole screen turns black and returns after a few seconds. I tried to reinstall, switched the wine version to 2.9-staging, played around with different settings and blacklisted DirectX11. Nothing seems to work.The game works but it is a pain to play.

Any ideas how to fix it?

Replies

Anonymous
Friday 2 June 2017 at 15:56
Since today, it also did not work for me any more... Tried to install HS fresh. Now it starts but already the Blizzard App takes forever to even bring up a window, in spite of high CPU activity. Hearthstone only shows the start screen but then crashes.
Anonymous
Friday 2 June 2017 at 16:10
I'm having the exact same problem as EfficiencyVI, can someone help plz?
Friday 2 June 2017 at 16:13
Experiencing the same. on this patch version. Ubuntu 17.04 w/nvidia 650M (driver v.375.66). I've attempted switching wine versions between v1.9.18 - 2.9 along with various DLL overrides without success.
Anonymous
Friday 2 June 2017 at 18:18
I experienced the same, but I have found a temporary workaround. Create a new registry key Software/Wine/Direct3D. Within that key, set "StrictDrawOrdering"="enabled". More information about this can be found here:
Friday 2 June 2017 at 18:46
Same here. The only workaround to make the game playable for me is : wine-2.9-staging and set in-game graphics to low.
Anonymous
Saturday 3 June 2017 at 14:29
Did anyone find any other way to make the glitches stop? Tried everything you guys suggested but nothing works :/
Anonymous
Sunday 4 June 2017 at 15:20
Since nobody seems to suggest it (and I thought people knew about this). Just go into the wine configuration - > library then add "d3d11" and disable this library..
Enjoy Hearthstone! ;)
Anonymous
Sunday 4 June 2017 at 19:57
thank you!!!
Wednesday 7 June 2017 at 20:23
sup guys ... I just installed Hearthstone through PlayOnLinux and when I run it it pop ups for a couple of secs showing the Hearthstone logo and then it closes. Please if you know how to fix it reply. :)
Thursday 8 June 2017 at 6:35
@NuSuey Thanks, that solution also works in Linux (Ubuntu 16.04) with wine 1.9.18
Berserker Thursday 1 June 2017 at 0:38
Berserker Anonymous

Message

I have a question, somebody could run hearthstone with wine simulating other version of windows than XP ?

Replies

Anonymous
Wednesday 7 June 2017 at 7:38
Yes, it was scaring me too but you can try "Win7" with win-2.9-staging.
Anonymous
Wednesday 7 June 2017 at 7:39
It works on Ubuntu 14.04 and 16.04 for me.

sorry for the double message, I'm not used to it!
Bouzigouloum Saturday 29 April 2017 at 23:42
Bouzigouloum Anonymous

Message

!WARNING!

DO NOT PRESS THE BUTTON FIRESIDE GATHERING IN THE FRIENDS LABEL!

 

This is due to the fact that once it is clicked, Hearthstone checks for nearby players. But the method called is not implemented yet. Also, it is not possible to disable this feature once it is enabled.

But there is a workaround: .NET 4.0 provides the unimplemented location method.

How to install:

1. Go in the "playonlinux configuration" menu.

2. Press the label "Install Components".

3. Install "msxml3".

4. Finally, install "dotnet40".

After that, it should be functionnal again.
 

NOTE: TESTED UNDER WINE 2.5!!!

Replies

Anonymous
Tuesday 2 May 2017 at 2:40
Thank you!!!! I just tried this and it works!
Anonymous
Tuesday 16 May 2017 at 14:08
Thanks!
DrannorPOL Tuesday 18 April 2017 at 19:31
DrannorPOL Anonymous

Message

As of HS version 8.0.0.18336 I cannot get this to work on Linuxmint, I can get the Blizzard App to run fine, and the game to start with the tavern sign, then about 2 seconds after you see the bottom left and bottom right icons (friends and options), HS crashes.
 

I've tried all sorts of version of Wine, from 2.6 - 1.9.16, nothing seems to be working, just wondering if anyone else has encountered this issue?

Replies

Anonymous
Wednesday 19 April 2017 at 16:33
I'm having the same exact issue
Anonymous
Friday 21 April 2017 at 4:13
Same here, also run it in debbug and find this error when crash
Unhandled Exception:
System.BadImageFormatException: Could not resolve field token 0x04000032
File name: 'LocationAPI'
at (wrapper native-to-managed) :GetReady ()
fixme:vcruntime:__telemetry_main_return_trigger (0xa8d0000)
Anonymous
Friday 21 April 2017 at 23:43
I find the problem!!, try using wine version 2.5 and add the library vcruntime140 as Native, that solve it.
Anonymous
Monday 24 April 2017 at 0:05
Running Ubuntu 16.10, Wine2.5 and vcruntime140, still crashing after the icons load with the following:

Unhandled Exception:
System.BadImageFormatException: Could not resolve field token 0x04000032
File name: 'LocationAPI'
fixme:vcruntime:__telemetry_main_return_trigger (0xf5f0000)
Tsumikitty Tuesday 4 April 2017 at 20:54
Tsumikitty

Message

After the update, Hearthstone fails to load. I press "PLAY" and the icon shows up, but then Hearthstone crashes. Anyone have a fix?

 

Replies

Anonymous
Tuesday 4 April 2017 at 21:11
I have same problem :c
Anonymous
Tuesday 4 April 2017 at 22:04
I changed to wine 2.5 on configuration->geral->version(I had download it) and now everythings works!
Anonymous
Thursday 6 April 2017 at 13:44
Thanks fullano for this hint. With wine 2.5 I got it to work again. But now the graphics are extremely laggy... :-(
Anonymous
Thursday 6 April 2017 at 14:32
UPDATE: After finding the last update by tfid on Thursday 8 September 2016 at 22:37, I now switched to wine 1.9.18 (previously I had 1.9.15). I added the "msvcp140" library with "native,builtin" in the wine preferences and now it works perfectly again!
Anonymous
Friday 7 April 2017 at 9:57
Installed Wine 2.5 and it worked, previously had 1.9.16
mardraze Sunday 2 April 2017 at 15:18
mardraze Anonymous

Message

On Fedora 22 I had to install fonts:

rpm -i https://downloads.sourceforge.net/project/mscorefonts2/rpms/msttcore-fonts-installer-2.6-1.noarch.rpm

See https://us.battle.net/forums/en/hearthstone/topic/20743184131?page=2#post-35

Replies

DEVV Wednesday 29 March 2017 at 10:31
DEVV Anonymous

Message

If I try to install hearthstone I get:

err:ntdll:RtlpWaitForCriticalSection section 0x7bcfefc8 "../../../dlls/ntdll/loader.c: loader_section" wait timed out in thread 0038, blocked by 0009, retrying (60 sec)

 

Replies

sparxx Saturday 25 March 2017 at 3:10
sparxx Anonymous

Message

I'm running Manjaro now and it was working on plain arch before. This helped me to get it running. just need wine-staging installed.

 

https://forum.manjaro.org/t/how-to-run-hearthstone-with-playonlinux/11321

Replies

Famekki Thursday 9 February 2017 at 10:20
Famekki Anonymous

Message

I found a solution for the crashing Battle net helper. There's something wrong with Ubuntu's Windows Fonts they need to be removed by typing this into the Terminal.

sudo apt remove ttf-mscorefonts-installer

After that replace them with Debian's 3.6 version from here:

https://packages.debian.org/jessie/all/ttf-mscorefonts-installer/download

Download the .deb to your Home folder and install them from the Terminal:

sudo dpkg -i ttf-mscorefonts-installer_3.6_all.deb

After doing this i was able to log in to Battle.net and play Hearthstone.

Replies

GeorgeCh Saturday 24 December 2016 at 20:22
GeorgeCh Anonymous

Message

On manjaro 16.10.3 / 64-bit the installer crashes.

Installing lib32-libldap ( Lightweight Directory Access Protocol (LDAP) client libraries 32-bit ) with pacman, according to the troubleshooting notes for the Battle.net app on WineHQ, solved the problem.

Replies

RandmSpesfic Tuesday 29 November 2016 at 1:12
RandmSpesfic Anonymous

Message

HEARTHSTONE error on Ubuntu 16.10 Playonlinux.

Unhandled exception: unimplemented function api-ms-win-crt-time-l1-1-0.dll._W_Gettnames called in 32-bit code (0x7b83c3ae).

This is on Ubuntu 16.10

Install Playonlinux

sudo gedit /etc/apt/sources.list

deb http://us.archive.ubuntu.com/ubuntu yakkety main multiverse

sudo apt-get update

sudo apt-get install ttf-mscorefonts-installer

Install HEARTHSTONE

api-ms-win-crt-runtime-l1-1-0.dll

api-ms-win-crt-stdio-l1-1-0.dll

ucrtbase

vcruntime140

To do that: Configure wine -> Click Libraries

and just add all of those above.

You need not reboot Ubuntu.

Just quit working tasks in playonlinux/configure in the virtual drive and kill running processes and also click on playonlinux / configure the virtual drive and click on reboot

that is it

HEARTHSTONE works like a charm on Ubuntu 16.10

Replies

RandmSpesfic Friday 18 November 2016 at 16:16
RandmSpesfic Anonymous

Message

How to install Wine 1.9.15 in Ubuntu 16.04

1. Open terminal (Ctrl+Alt+T) and run command to add the PPA:

sudo add-apt-repository ppa:wine/wine-buildsType in password when it asks and hit Enter to continue. Note that there’s no visual feedback on password typing.

2. For 64-bit system, enable 32 bit architecture (if you haven’t already):

sudo dpkg --add-architecture i386

3. For those who use Synaptic Package Manager, launch it, click refresh and search for and install winehq-devel:

Or just run the commands below one by one in terminal:

sudo apt update

sudo apt install --install-recommends winehq-devel

Replies

Anonymous
Friday 18 November 2016 at 16:18
I used LXLE linux which is perfect for HEARTHSTONE. After above steps install playonlinux and open it and install the game from it and click YES for every message and your game will work perfectly but battle.net page will flicker but game is perfect.
Anonymous
Friday 18 November 2016 at 16:21
When battlenet flickers simply click on what you want and move mouse and option will be available. No problem what so ever.
Anonymous
Friday 18 November 2016 at 16:24
https://www.reddit.com/r/linux_gaming/comments/32u25q/battlenet_on_wine_not_working/
treePL Friday 4 November 2016 at 15:07
treePL Anonymous

Message

Check Troubleshooting from:
https://appdb.winehq.org/objectManager.php?iId=28855&sClass=version

Replies

amplustomp Wednesday 12 October 2016 at 6:44
amplustomp Anonymous

Message

All the process of installation runs very fine, batlle.net initialized without a problem.

But, when i press the Play button, all goes black and anything happends. Maybe a do something wrong :(.

Or maybe it's something strange with this version.

 

THANKS

Replies

hunebku Tuesday 11 October 2016 at 21:37
hunebku Anonymous

Message

Hello
Yesterday i installed hearthstone
And played nicely destroying my opponents... :-)
I am a super newb to ubuntu , this is all new ,dont know code , just check everything online .
I have Ubuntu 16.04.1 LTS
And today i wanted to destroy some more opponents but in my playonlinux i could not find hearthstone nor the battle.net launcher. Everything is still nicely where it should be , but i dont seem to get it open again .
My excuses if this was already adressed .
+50000 replies is scary for a newb :-)
Thank you

Replies

bbame55 Monday 10 October 2016 at 2:52
bbame55 Anonymous

Message

Hearthstone worked well for me until the whole vcrun2015 fiasco a month or so ago.  Rather than fight with it myself I decided to wait for an updated installer.  When this one showed up I did a fresh install.  Everything looked good until I tried to access menus (login screen, battle.net client, and Hearthstone).  The menu icons react when I hover over them, but clicking appears to do nothing.  I finally figured out that using the up and down keys will render the individual menu items one at a time on the login screen and in the battle.net client - awkward but workable - but that trick doesn't work in Hearthstone itself.  Once again I can see "hover" messages, but clicking on the menu doesn't appear to do anything.  Using the up/down arrows also does nothing, rendering the game unplayable. In fact to get out at all (because it's in full screen mode and I can't "quit" without access to the menu) I have to alt-tab.  Suggestions?

Details:

    Linux Mint 17.3 KDE

    nvidia card using proprietary nvidia-352 driver

    PlayOnLinux 4.2.10

    Fresh install of Hearthstone using latest script

Replies

tfid Thursday 8 September 2016 at 22:37
tfid Anonymous

Warning

This update has not been approved yet by the team.
Use it at your own risk

Message

All works great again with wine 1.9.18 and just "native,builtin" for "msvcp140"

 

Differences

@@ -19,7 +19,7 @@
 
 POL_SetupWindow_presentation "$TITLE" "Blizzard" "http://us.battle.net/hearthstone/en/" "kweepeer2" "$PREFIX"
 POL_Wine_SelectPrefix "$PREFIX"
-POL_Wine_PrefixCreate "1.9.16"
+POL_Wine_PrefixCreate "1.9.18"
 
 # Fix "Battle.net Helper.exe" crash on startup.
 POL_Call POL_Install_corefonts

New source code

#!/bin/bash
# Date : 2014-02-08 14:54
# Last revision : 2016-08-07 13:41
# Wine version used : 1.9.16
# Distribution used to test : Ubuntu 13.10 x64, Debian Jessie, Arch Linux
# Author : kweepeer2, m1kc (+ contributions by many others, thanks!)
# Depend : 

[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"

TITLE="Hearthstone"
PREFIX="hearthstone"

POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE"
POL_SetupWindow_Init
POL_SetupWindow_SetID 1950
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "Blizzard" "http://us.battle.net/hearthstone/en/" "kweepeer2" "$PREFIX"
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "1.9.18"

# Fix "Battle.net Helper.exe" crash on startup.
POL_Call POL_Install_corefonts
POL_Call POL_Install_RegisterFonts
POL_Wine_OverrideDLL "native,builtin" "msvcp140"

# Download & Install the game.
# Multiple Language support. See https://eu.battle.net/account/download/?show=hearthstone&style=hearthstone
POL_SetupWindow_menu "$(eval_gettext 'What language do you want to install?')" "Language Selection" \
    "English (US)|Español (AL)|Português (BR)|English (EU)|Deutsch|Español (EU)|Português (EU)|Français|Russian|Italiano|Polski|Korean|Chinese (Taiwan)|Chinese (China)" "|"
case "$APP_ANSWER" in
    "English (US)")
        EXE_FILE="Hearthstone-Setup-enUS.exe";;
    "Español (AL)")
        EXE_FILE="Hearthstone-Setup-esMX.exe";;
    "Português (BR)")
        EXE_FILE="Hearthstone-Setup-ptBR.exe";;
    "English (EU)")
        EXE_FILE="Hearthstone-Setup-enGB.exe";;
    "Deutsch")
        EXE_FILE="Hearthstone-Setup-deDE.exe";;
    "Español (EU)")
        EXE_FILE="Hearthstone-Setup-esES.exe";;
    "Português (EU)")
        EXE_FILE="Hearthstone-Setup-ptPT.exe";;
    "Français")
        EXE_FILE="Hearthstone-Setup-frFR.exe";;
    "Russian")
        EXE_FILE="Hearthstone-Setup-ruRU.exe";;
    "Italiano")
        EXE_FILE="Hearthstone-Setup-itIT.exe";;
    "Polski")
        EXE_FILE="Hearthstone-Setup-plPL.exe";;
    "Korean")
        EXE_FILE="Hearthstone-Setup-koKR.exe";;
    "Chinese (Taiwan)")
        EXE_FILE="Hearthstone-Setup-zhTW.exe";;
    "Chinese (China)")
        EXE_FILE="Hearthstone-Setup-zhCN.exe";;
    *)
        exit 1;;
esac

POL_System_TmpCreate "$PREFIX"
cd "$POL_System_TmpDir"
POL_Download "http://dist.blizzard.com/downloads/hs-installers/a6029a1d625c79252defff3914fb6e67/retail.1/${EXE_FILE}"
POL_Wine "$POL_System_TmpDir/${EXE_FILE}"
POL_Wine_WaitExit "$TITLE" --allow-kill
POL_System_TmpDelete

POL_SetupWindow_VMS "64"
POL_Wine_reboot

POL_Shortcut "Battle.net Launcher.exe" "$TITLE" "$TITLE.png" ""
POL_SetupWindow_Close

exit 0

Replies

Anonymous
Tuesday 13 September 2016 at 19:08
Thank you! Finally back
Friday 16 September 2016 at 13:59
I got Battle.net Helper error.
Anonymous
Saturday 17 September 2016 at 0:01
I received a POL crash at the very beginning of the installation, saying that it couldn't find the wine directory. Solution was to enable multiarch (i386/amd64) and to install pipelight-multi from fds-team.de. Afterwards, Hearthstone can be installed easily with the current available script. Also it runs on Wine 1.9.16 without any problem.
Anonymous
Monday 21 November 2016 at 23:14
All goes well until i reach the "Install location" section, from there i'm stuck, if I press Continue nothing happens. I would be very grateful if someone could help.
Anonymous
Monday 28 November 2016 at 9:27
TatarUrs I had the same problem. Try to change default install location to somewhere else within the virtual drive_C
kweepeer2 Sunday 7 August 2016 at 14:04
kweepeer2 Anonymous

Warning

This update has not been approved yet by the team.
Use it at your own risk

Message

Ok so Wine 1.9.16 is out and it fixes some of the earlier problems. So here is an updated version of the script (do a clean install).

Sadly I couldn't do this without dll overrides (needed 1 to make it work), so compatibility is Gold (not Platinum) for this wine version as far as appdb ratings go. But everything seems to work again (including remembering login).

@Admins: please approve this version if you are able to, thanks.

Differences

@@ -1,7 +1,7 @@
 #!/bin/bash
 # Date : 2014-02-08 14:54
-# Last revision : 2016-05-24 21:20
-# Wine version used : 1.8.2
+# Last revision : 2016-08-07 13:41
+# Wine version used : 1.9.16
 # Distribution used to test : Ubuntu 13.10 x64, Debian Jessie, Arch Linux
 # Author : kweepeer2, m1kc (+ contributions by many others, thanks!)
 # Depend : 
@@ -19,11 +19,12 @@
 
 POL_SetupWindow_presentation "$TITLE" "Blizzard" "http://us.battle.net/hearthstone/en/" "kweepeer2" "$PREFIX"
 POL_Wine_SelectPrefix "$PREFIX"
-POL_Wine_PrefixCreate "1.8.2"
+POL_Wine_PrefixCreate "1.9.16"
 
 # Fix "Battle.net Helper.exe" crash on startup.
 POL_Call POL_Install_corefonts
 POL_Call POL_Install_RegisterFonts
+POL_Wine_OverrideDLL "native,builtin" "msvcp140"
 
 # Download & Install the game.
 # Multiple Language support. See https://eu.battle.net/account/download/?show=hearthstone&style=hearthstone

New source code

#!/bin/bash
# Date : 2014-02-08 14:54
# Last revision : 2016-08-07 13:41
# Wine version used : 1.9.16
# Distribution used to test : Ubuntu 13.10 x64, Debian Jessie, Arch Linux
# Author : kweepeer2, m1kc (+ contributions by many others, thanks!)
# Depend : 

[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"

TITLE="Hearthstone"
PREFIX="hearthstone"

POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE"
POL_SetupWindow_Init
POL_SetupWindow_SetID 1950
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "Blizzard" "http://us.battle.net/hearthstone/en/" "kweepeer2" "$PREFIX"
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "1.9.16"

# Fix "Battle.net Helper.exe" crash on startup.
POL_Call POL_Install_corefonts
POL_Call POL_Install_RegisterFonts
POL_Wine_OverrideDLL "native,builtin" "msvcp140"

# Download & Install the game.
# Multiple Language support. See https://eu.battle.net/account/download/?show=hearthstone&style=hearthstone
POL_SetupWindow_menu "$(eval_gettext 'What language do you want to install?')" "Language Selection" \
    "English (US)|Español (AL)|Português (BR)|English (EU)|Deutsch|Español (EU)|Português (EU)|Français|Russian|Italiano|Polski|Korean|Chinese (Taiwan)|Chinese (China)" "|"
case "$APP_ANSWER" in
    "English (US)")
        EXE_FILE="Hearthstone-Setup-enUS.exe";;
    "Español (AL)")
        EXE_FILE="Hearthstone-Setup-esMX.exe";;
    "Português (BR)")
        EXE_FILE="Hearthstone-Setup-ptBR.exe";;
    "English (EU)")
        EXE_FILE="Hearthstone-Setup-enGB.exe";;
    "Deutsch")
        EXE_FILE="Hearthstone-Setup-deDE.exe";;
    "Español (EU)")
        EXE_FILE="Hearthstone-Setup-esES.exe";;
    "Português (EU)")
        EXE_FILE="Hearthstone-Setup-ptPT.exe";;
    "Français")
        EXE_FILE="Hearthstone-Setup-frFR.exe";;
    "Russian")
        EXE_FILE="Hearthstone-Setup-ruRU.exe";;
    "Italiano")
        EXE_FILE="Hearthstone-Setup-itIT.exe";;
    "Polski")
        EXE_FILE="Hearthstone-Setup-plPL.exe";;
    "Korean")
        EXE_FILE="Hearthstone-Setup-koKR.exe";;
    "Chinese (Taiwan)")
        EXE_FILE="Hearthstone-Setup-zhTW.exe";;
    "Chinese (China)")
        EXE_FILE="Hearthstone-Setup-zhCN.exe";;
    *)
        exit 1;;
esac

POL_System_TmpCreate "$PREFIX"
cd "$POL_System_TmpDir"
POL_Download "http://dist.blizzard.com/downloads/hs-installers/a6029a1d625c79252defff3914fb6e67/retail.1/${EXE_FILE}"
POL_Wine "$POL_System_TmpDir/${EXE_FILE}"
POL_Wine_WaitExit "$TITLE" --allow-kill
POL_System_TmpDelete

POL_SetupWindow_VMS "64"
POL_Wine_reboot

POL_Shortcut "Battle.net Launcher.exe" "$TITLE" "$TITLE.png" ""
POL_SetupWindow_Close

exit 0

Replies

Anonymous
Tuesday 9 August 2016 at 19:38
I have just installed hearthstone using this new updated script and I get the "Battle.net Helper.exe" error.
Anonymous
Tuesday 9 August 2016 at 19:42
Make sure you have corefonts package installed in your distro. For ubuntu I believe it's ttf-mscorefonts-installer. A reboot may be needed.
Anonymous
Tuesday 9 August 2016 at 19:50
I solved it by using winetricks to install vcrun2015. The game works now.
Anonymous
Tuesday 9 August 2016 at 19:54
That's strange since with 1.9.16 that wouldn't be needed. But if it works now, that's what matters. Have fun!
Anonymous
Friday 2 September 2016 at 21:56
hello
Anonymous
Friday 2 September 2016 at 21:57
same for me ! Didn't work with 1.9.17 without installing vcrun2015 with winetriks
MineElectricity Thursday 28 July 2016 at 1:40
MineElectricity Anonymous

Message

I don't know why, but since yesterday it doesn't work, on POL and Crossover, manual install or no ...

Replies

Anonymous
Thursday 28 July 2016 at 4:53
Hi , I need help... :( I don't no why but when I launched Hearthstone i have the error "PlayErrors32" I don't understand...
Anonymous
Thursday 28 July 2016 at 14:21
Blizzard broke the Battle.net client with the last update. There is a way to fix this so you can at least play HS: setting your wine version in PoL to 1.9.15 (it won't work with 1.8.2) and adding 4 ddl overrides. See full info here: https://www.reddit.com/r/hearthstone/comments/4uspc8/are_other_linux_users_having_problems_with/d5sq0sh
Anonymous
Thursday 28 July 2016 at 14:24
It's a rough fix, so I will wait for the next wine version which will hopefully have the fix needed and then I can update the script. https://bugs.winehq.org/show_bug.cgi?id=40905
Anonymous
Thursday 28 July 2016 at 22:55
Okai, thx, You saved me 150 golds x')
Anonymous
Saturday 30 July 2016 at 0:18
I can launch battle.net but now I neither can log in x')
Anonymous
Monday 1 August 2016 at 10:15
Yeah, thanks for the quick fix and posting it here!
Anonymous
Thursday 4 August 2016 at 3:48
yeah, no login button for me. just blue swirly
drdillio Wednesday 13 July 2016 at 9:09
drdillio Anonymous

Message

There is no WINE version 1.8.2 to download from playonmac. How do I install this version, or can you update to some version that is available?

Thank you!

Replies

Anonymous
Friday 15 July 2016 at 9:14
Mac has native version, no need to use this script. See http://playhearthstone.com
sbrdste Monday 11 July 2016 at 12:33
sbrdste Anonymous

Message

The Battle.net Helper keeps crashing unless I disable the "dbghelp" DLL, but when it's disabled the Battle.net login form does not load so I can't play the game.

Though I could download and install Hearthstone by going on offline mode

Replies

Anonymous
Friday 15 July 2016 at 0:12
Have you found a solution of this Problem, because i have the same problem that i can't login.
Anonymous
Friday 15 July 2016 at 0:58
Hi Guys. I stumbled across this post while looking for a solution. I've managed to find a temporary work around. If you open up PlayOnLinux, left click on Hearthstone, then click "Open the directory" in the left pane. This will open up the Hearthstone folder. Then open up Battle.net and the login form should render correctly. It appears that sessions created in the Battle.net client initiated this way, do not persist through to the versioned opened by hitting the "Run" button. This should at least allow you to play until someone finds a better solution.
moss Thursday 30 June 2016 at 0:27
moss Anonymous

Message

Hi,

Thanks for the script it works well except on launch the battle.net client throws an error related to battle net helper. The login logo spins endlessly and connection to server fails. Disabling dbghelp in the dll overrides on wine config seems to fix this issue, this may need addding to the script?

Replies

Anonymous
Friday 15 July 2016 at 9:21
You probably don't have the MS fonts. From appdb notes :
Anonymous
Friday 15 July 2016 at 9:22
(rest of my comment, since it was cut off:)
sudo apt-get update
sudo apt-get install ttf-mscorefonts-installer
see https://appdb.winehq.org/commentview.php?iAppId=15365&iVersionId=28855&iThreadId=97593
RobinHood16 Saturday 11 June 2016 at 0:39
RobinHood16 Anonymous

Message

Overall, the program runs well, but to get the highest performance, you'll need the latest proprietary (non-free) drivers for your video hardware. Also, the program never sends an "install done" signal back to PlayOnLinux, and when I try to send the signal manually, it makes no difference whether I choose Yes or No -- the pinwheel screen continues to appear. My only recourse is to click Cancel, in which case Hearthstone does not appear in the installed programs list, and I must then go into my Linux distribution's file manager and launch Hearthstone manually ("~/PlayOnLinux's virtual drives/hearthstone/drive_c/Program Files/Hearthstone/Hearthstone.exe").

Replies

Anonymous
Wednesday 15 June 2016 at 6:44
I thought I was experiencing your problem of the infinite install as well, but after closing the battlenet client and then waiting, it proceeded to ask me how much memory my GFX card had and then promptly finished.
Anonymous
Monday 29 August 2016 at 17:57
I had the same problem, canceling the installation window that hangs skips the creation of the shortcut. You can create one manually : Configure > Select the hearthstone virtual drive > Create shortcut
kweepeer2 Tuesday 24 May 2016 at 21:43
kweepeer2 Anonymous

Warning

This update has not been approved yet by the team.
Use it at your own risk

Message

New version.

  • Update to latest wine stable (1.8.2)
  • Fix 'Battle.net Helper.exe' crash (cfr. https://appdb.winehq.org/objectManager.php?sClass=version&iId=28855)

Differences

@@ -1,10 +1,10 @@
 #!/bin/bash
 # Date : 2014-02-08 14:54
-# Last revision : 2014-08-28 20:30
-# Wine version used : 1.6.2, 1.7.15
+# Last revision : 2016-05-24 21:20
+# Wine version used : 1.8.2
 # Distribution used to test : Ubuntu 13.10 x64, Debian Jessie, Arch Linux
-# Author : kweepeer2, m1kc
-# Depend :
+# Author : kweepeer2, m1kc (+ contributions by many others, thanks!)
+# Depend : 
 
 [ "$PLAYONLINUX" = "" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
@@ -19,13 +19,11 @@
 
 POL_SetupWindow_presentation "$TITLE" "Blizzard" "http://us.battle.net/hearthstone/en/" "kweepeer2" "$PREFIX"
 POL_Wine_SelectPrefix "$PREFIX"
-POL_Wine_PrefixCreate "1.7.55"
+POL_Wine_PrefixCreate "1.8.2"
 
-# Might not be needed but seen several reports that said it was needed for them to install B.net client
-POL_Call POL_Install_flashplayer
-# http://appdb.winehq.org/objectManager.php?sClass=version&iId=29747
-POL_Wine_OverrideDLL "native,builtin" "dbghelp"
-POL_Wine_OverrideDLL "native,builtin" "msvcp100"
+# Fix "Battle.net Helper.exe" crash on startup.
+POL_Call POL_Install_corefonts
+POL_Call POL_Install_RegisterFonts
 
 # Download & Install the game.
 # Multiple Language support. See https://eu.battle.net/account/download/?show=hearthstone&style=hearthstone

New source code

#!/bin/bash
# Date : 2014-02-08 14:54
# Last revision : 2016-05-24 21:20
# Wine version used : 1.8.2
# Distribution used to test : Ubuntu 13.10 x64, Debian Jessie, Arch Linux
# Author : kweepeer2, m1kc (+ contributions by many others, thanks!)
# Depend : 

[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"

TITLE="Hearthstone"
PREFIX="hearthstone"

POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE"
POL_SetupWindow_Init
POL_SetupWindow_SetID 1950
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "Blizzard" "http://us.battle.net/hearthstone/en/" "kweepeer2" "$PREFIX"
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "1.8.2"

# Fix "Battle.net Helper.exe" crash on startup.
POL_Call POL_Install_corefonts
POL_Call POL_Install_RegisterFonts

# Download & Install the game.
# Multiple Language support. See https://eu.battle.net/account/download/?show=hearthstone&style=hearthstone
POL_SetupWindow_menu "$(eval_gettext 'What language do you want to install?')" "Language Selection" \
    "English (US)|Español (AL)|Português (BR)|English (EU)|Deutsch|Español (EU)|Português (EU)|Français|Russian|Italiano|Polski|Korean|Chinese (Taiwan)|Chinese (China)" "|"
case "$APP_ANSWER" in
    "English (US)")
        EXE_FILE="Hearthstone-Setup-enUS.exe";;
    "Español (AL)")
        EXE_FILE="Hearthstone-Setup-esMX.exe";;
    "Português (BR)")
        EXE_FILE="Hearthstone-Setup-ptBR.exe";;
    "English (EU)")
        EXE_FILE="Hearthstone-Setup-enGB.exe";;
    "Deutsch")
        EXE_FILE="Hearthstone-Setup-deDE.exe";;
    "Español (EU)")
        EXE_FILE="Hearthstone-Setup-esES.exe";;
    "Português (EU)")
        EXE_FILE="Hearthstone-Setup-ptPT.exe";;
    "Français")
        EXE_FILE="Hearthstone-Setup-frFR.exe";;
    "Russian")
        EXE_FILE="Hearthstone-Setup-ruRU.exe";;
    "Italiano")
        EXE_FILE="Hearthstone-Setup-itIT.exe";;
    "Polski")
        EXE_FILE="Hearthstone-Setup-plPL.exe";;
    "Korean")
        EXE_FILE="Hearthstone-Setup-koKR.exe";;
    "Chinese (Taiwan)")
        EXE_FILE="Hearthstone-Setup-zhTW.exe";;
    "Chinese (China)")
        EXE_FILE="Hearthstone-Setup-zhCN.exe";;
    *)
        exit 1;;
esac

POL_System_TmpCreate "$PREFIX"
cd "$POL_System_TmpDir"
POL_Download "http://dist.blizzard.com/downloads/hs-installers/a6029a1d625c79252defff3914fb6e67/retail.1/${EXE_FILE}"
POL_Wine "$POL_System_TmpDir/${EXE_FILE}"
POL_Wine_WaitExit "$TITLE" --allow-kill
POL_System_TmpDelete

POL_SetupWindow_VMS "64"
POL_Wine_reboot

POL_Shortcut "Battle.net Launcher.exe" "$TITLE" "$TITLE.png" ""
POL_SetupWindow_Close

exit 0

Replies

Anonymous
Sunday 29 May 2016 at 15:59
Works like a charm! Thx!
Sleize Thursday 14 April 2016 at 21:32
Sleize Anonymous

Message

L'installation a bien fonctionné

 

Le seul défaut est que l'on peut lancer le jeu pendant l'installation et donc qu'après on se dit que le jeu est installé et on ferme le client d'installation , mais au final elle n'était complètement terminée et donc on peut risquer de devoir l'installer 2 fois pour ne pas faire l'erreur de fermer le client.

 

Mais sinon tout marche

Replies

Osveron Tuesday 5 April 2016 at 11:34
Osveron Anonymous

Message

After installing lib32-libldap from arch repository everything works well. Could the script check if that package is installed or at least prompt the user to check it?

Replies

bunnyapocalypse Tuesday 29 March 2016 at 0:24
bunnyapocalypse Anonymous

Message

As of today, I can not set my reigon in the initial battle.net login, making it impossible for me to install the program.

Replies

Anonymous
Wednesday 30 March 2016 at 3:23
This is actually caused by the server maintenance announcement. Keep this in mind if you are having this problem
Ludius Thursday 24 March 2016 at 18:14
Ludius Anonymous

Message

Does anybody know how to run HS Deck Tracker together with HS in wine or playOnLinux?

https://appdb.winehq.org/objectManager.php?sClass=application&iId=17006

 

Replies

Anonymous
Thursday 24 March 2016 at 19:55
Needs .NET Framework 4.5 or higher. You can try but winehq entries don't seem promising.
Anonymous
Thursday 24 March 2016 at 19:56
Try Arena Tracker it has native Linux version. Works great. https://github.com/supertriodo/Arena-Tracker
amp Friday 4 March 2016 at 3:25
amp Anonymous

Message

The game works fine in virtual desktop mode. However starting it normally fails oddly and silently, probably due to my multi-monitor config. It would be awesome to have an option to set it up this way. The obvious way to change it to virtual desktop mode (winecfg from inside PlayOnLinux) is not reliable though it did work after randomly fiddling with it for a bit.

Replies

kweepeer2 Monday 22 February 2016 at 21:04
kweepeer2 Anonymous

Warning

This update has not been approved yet by the team.
Use it at your own risk

Message

The script is quite old and meanwhile Hearthstone has platinum rating in appdb, so I simplified the script here to reflect that.

  • Wine version bump to latest stable
  • Removed dll overrides since they are no longer needed
  • Removed flash

Testers are welcome (just remove your Hearthstone install and run the script via Tools > Run a local script). Thanks to everyone maintaining the script so far.

Differences

@@ -1,31 +1,25 @@
 #!/bin/bash
 # Date : 2014-02-08 14:54
-# Last revision : 2014-08-28 20:30
-# Wine version used : 1.6.2, 1.7.15
+# Last revision : 2016-02-16 20:39
+# Wine version used : 1.6.2, 1.7.15, 1.8.1
 # Distribution used to test : Ubuntu 13.10 x64, Debian Jessie, Arch Linux
-# Author : kweepeer2, m1kc
+# Author : kweepeer2, m1kc (+ contributions by many others, thanks!)
 # Depend :
-
+ 
 [ "$PLAYONLINUX" = "" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
-
+ 
 TITLE="Hearthstone"
 PREFIX="hearthstone"
-
+ 
 POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE"
 POL_SetupWindow_Init
 POL_SetupWindow_SetID 1950
 POL_Debug_Init
-
+ 
 POL_SetupWindow_presentation "$TITLE" "Blizzard" "http://us.battle.net/hearthstone/en/" "kweepeer2" "$PREFIX"
 POL_Wine_SelectPrefix "$PREFIX"
-POL_Wine_PrefixCreate "1.7.55"
-
-# Might not be needed but seen several reports that said it was needed for them to install B.net client
-POL_Call POL_Install_flashplayer
-# http://appdb.winehq.org/objectManager.php?sClass=version&iId=29747
-POL_Wine_OverrideDLL "native,builtin" "dbghelp"
-POL_Wine_OverrideDLL "native,builtin" "msvcp100"
+POL_Wine_PrefixCreate "1.8.1"
 
 # Download & Install the game.
 # Multiple Language support. See https://eu.battle.net/account/download/?show=hearthstone&style=hearthstone
@@ -63,18 +57,18 @@
     *)
         exit 1;;
 esac
-
+ 
 POL_System_TmpCreate "$PREFIX"
 cd "$POL_System_TmpDir"
 POL_Download "http://dist.blizzard.com/downloads/hs-installers/a6029a1d625c79252defff3914fb6e67/retail.1/${EXE_FILE}"
 POL_Wine "$POL_System_TmpDir/${EXE_FILE}"
 POL_Wine_WaitExit "$TITLE" --allow-kill
 POL_System_TmpDelete
-
+ 
 POL_SetupWindow_VMS "64"
 POL_Wine_reboot
-
+ 
 POL_Shortcut "Battle.net Launcher.exe" "$TITLE" "$TITLE.png" ""
 POL_SetupWindow_Close
-
+ 
 exit 0

New source code

#!/bin/bash
# Date : 2014-02-08 14:54
# Last revision : 2016-02-16 20:39
# Wine version used : 1.6.2, 1.7.15, 1.8.1
# Distribution used to test : Ubuntu 13.10 x64, Debian Jessie, Arch Linux
# Author : kweepeer2, m1kc (+ contributions by many others, thanks!)
# Depend :
 
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="Hearthstone"
PREFIX="hearthstone"
 
POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE"
POL_SetupWindow_Init
POL_SetupWindow_SetID 1950
POL_Debug_Init
 
POL_SetupWindow_presentation "$TITLE" "Blizzard" "http://us.battle.net/hearthstone/en/" "kweepeer2" "$PREFIX"
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "1.8.1"

# Download & Install the game.
# Multiple Language support. See https://eu.battle.net/account/download/?show=hearthstone&style=hearthstone
POL_SetupWindow_menu "$(eval_gettext 'What language do you want to install?')" "Language Selection" \
    "English (US)|Español (AL)|Português (BR)|English (EU)|Deutsch|Español (EU)|Português (EU)|Français|Russian|Italiano|Polski|Korean|Chinese (Taiwan)|Chinese (China)" "|"
case "$APP_ANSWER" in
    "English (US)")
        EXE_FILE="Hearthstone-Setup-enUS.exe";;
    "Español (AL)")
        EXE_FILE="Hearthstone-Setup-esMX.exe";;
    "Português (BR)")
        EXE_FILE="Hearthstone-Setup-ptBR.exe";;
    "English (EU)")
        EXE_FILE="Hearthstone-Setup-enGB.exe";;
    "Deutsch")
        EXE_FILE="Hearthstone-Setup-deDE.exe";;
    "Español (EU)")
        EXE_FILE="Hearthstone-Setup-esES.exe";;
    "Português (EU)")
        EXE_FILE="Hearthstone-Setup-ptPT.exe";;
    "Français")
        EXE_FILE="Hearthstone-Setup-frFR.exe";;
    "Russian")
        EXE_FILE="Hearthstone-Setup-ruRU.exe";;
    "Italiano")
        EXE_FILE="Hearthstone-Setup-itIT.exe";;
    "Polski")
        EXE_FILE="Hearthstone-Setup-plPL.exe";;
    "Korean")
        EXE_FILE="Hearthstone-Setup-koKR.exe";;
    "Chinese (Taiwan)")
        EXE_FILE="Hearthstone-Setup-zhTW.exe";;
    "Chinese (China)")
        EXE_FILE="Hearthstone-Setup-zhCN.exe";;
    *)
        exit 1;;
esac
 
POL_System_TmpCreate "$PREFIX"
cd "$POL_System_TmpDir"
POL_Download "http://dist.blizzard.com/downloads/hs-installers/a6029a1d625c79252defff3914fb6e67/retail.1/${EXE_FILE}"
POL_Wine "$POL_System_TmpDir/${EXE_FILE}"
POL_Wine_WaitExit "$TITLE" --allow-kill
POL_System_TmpDelete
 
POL_SetupWindow_VMS "64"
POL_Wine_reboot
 
POL_Shortcut "Battle.net Launcher.exe" "$TITLE" "$TITLE.png" ""
POL_SetupWindow_Close
 
exit 0

Replies

Anonymous
Thursday 24 March 2016 at 19:59
@petch: Any chance we can get this version approved ? Been using it for a month without any problems. Not sure where the spaces on the blank lines come from, those can be ignored.
Anonymous
Thursday 14 April 2016 at 1:07
I can't choose what language to install at the beginning, no options appear.
Anonymous
Tuesday 24 May 2016 at 21:44
@freestraws: Strange, works per usual here. Make sure you copy paste code correctly. Anyway, new version posted above.
Anonymous
Saturday 24 September 2016 at 13:29
How to install Heartstone with this script. "try this update" dont work.
raphamaster Tuesday 9 February 2016 at 23:58
raphamaster Anonymous

Message

The flash player is needed to install battle net, and the link provided by the code is broken (winehq website issue), anyone got a fix, or another way to install flash there?

Replies

Wednesday 10 February 2016 at 8:08
winehq?
Anonymous
Wednesday 10 February 2016 at 19:03
Following this link that is used in the source code to install flash player goes to a winehq page that previously had flash to download.
Anonymous
Wednesday 10 February 2016 at 19:03
Following this link that is used in the source code to install flash player goes to a winehq page that previously had flash to download.
Anonymous
Wednesday 10 February 2016 at 19:04
Sorry for the double post, there is the part of the code I mention # Might not be needed but seen several reports that said it was needed for them to install B.net client
POL_Call POL_Install_flashplayer
# http://appdb.winehq.org/objectManager.php?sClass=version&iId=29747
POL_Wine_OverrideDLL "native,builtin" "dbghelp"
POL_Wine_OverrideDLL "native,builtin" "msvcp100"
Wednesday 10 February 2016 at 19:07
That shouldn't prevent flash installation, that's totally unrelated
Anonymous
Wednesday 10 February 2016 at 19:15
So how should I get flash installed?
Monday 15 February 2016 at 20:45
POL_Install_flashplayer works for me, I'm not sure what makes you think it didn't for you; But if you want to try it again,
Configure button > (select "hearthstone" virtual drive) > Install components tab > Flash player > Install button
7z4r Saturday 16 January 2016 at 15:23
7z4r Anonymous

Message

nvm - i managed to get it to work! :D

i installed proprietary drivers AMD fglrx and in options i selected screan tear fix. after that i could select region with little effort like Youjin said...

game works like a charm - thank you very much for this script!

cheers

Replies

Anonymous
Saturday 16 January 2016 at 15:25
*screen tear (typo)
Anonymous
Saturday 16 January 2016 at 15:32
now i wonder is there a way to make a single script that supports both Hearthstone and Heroes of the Storm in same wine environment so that i can access both from the same battle.net launcher?
7z4r Friday 15 January 2016 at 21:00
7z4r Anonymous

Message

Thanks for your time making this script.

However I have the same problem like JonnyJungle few comments below...

Just installed fresh ubuntustudio 15.10 x64 and script seems to be working fine but i get stuck at login section since it's impossible to select region and you can't log in without selecting it!

Youjin said: "It's just a visual bug. Move your cursor as if it was correctly working"

Thanks for your reply but i really don't understand what you meant by that? I can move cursor and pretend it's working all day but I can't select any region. And i specifically need EU region since all my cards are there...

Replies

4402927 Thursday 31 December 2015 at 15:16
4402927 Anonymous

Message

yesheart

Replies

kholyphoenix1 Wednesday 30 December 2015 at 15:05
kholyphoenix1 Anonymous

Message

Pefect!

Replies

petch Friday 4 December 2015 at 23:50
petch

Warning

This update has not been approved yet by the team.
Use it at your own risk

Message

Add POL_SetupWindow_SetID

Add POL_Debug_Init

Differences

@@ -14,6 +14,9 @@
 
 POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE"
 POL_SetupWindow_Init
+POL_SetupWindow_SetID 1950
+POL_Debug_Init
+
 POL_SetupWindow_presentation "$TITLE" "Blizzard" "http://us.battle.net/hearthstone/en/" "kweepeer2" "$PREFIX"
 POL_Wine_SelectPrefix "$PREFIX"
 POL_Wine_PrefixCreate "1.7.55"

New source code

#!/bin/bash
# Date : 2014-02-08 14:54
# Last revision : 2014-08-28 20:30
# Wine version used : 1.6.2, 1.7.15
# Distribution used to test : Ubuntu 13.10 x64, Debian Jessie, Arch Linux
# Author : kweepeer2, m1kc
# Depend :

[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"

TITLE="Hearthstone"
PREFIX="hearthstone"

POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE"
POL_SetupWindow_Init
POL_SetupWindow_SetID 1950
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "Blizzard" "http://us.battle.net/hearthstone/en/" "kweepeer2" "$PREFIX"
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "1.7.55"

# Might not be needed but seen several reports that said it was needed for them to install B.net client
POL_Call POL_Install_flashplayer
# http://appdb.winehq.org/objectManager.php?sClass=version&iId=29747
POL_Wine_OverrideDLL "native,builtin" "dbghelp"
POL_Wine_OverrideDLL "native,builtin" "msvcp100"

# Download & Install the game.
# Multiple Language support. See https://eu.battle.net/account/download/?show=hearthstone&style=hearthstone
POL_SetupWindow_menu "$(eval_gettext 'What language do you want to install?')" "Language Selection" \
    "English (US)|Español (AL)|Português (BR)|English (EU)|Deutsch|Español (EU)|Português (EU)|Français|Russian|Italiano|Polski|Korean|Chinese (Taiwan)|Chinese (China)" "|"
case "$APP_ANSWER" in
    "English (US)")
        EXE_FILE="Hearthstone-Setup-enUS.exe";;
    "Español (AL)")
        EXE_FILE="Hearthstone-Setup-esMX.exe";;
    "Português (BR)")
        EXE_FILE="Hearthstone-Setup-ptBR.exe";;
    "English (EU)")
        EXE_FILE="Hearthstone-Setup-enGB.exe";;
    "Deutsch")
        EXE_FILE="Hearthstone-Setup-deDE.exe";;
    "Español (EU)")
        EXE_FILE="Hearthstone-Setup-esES.exe";;
    "Português (EU)")
        EXE_FILE="Hearthstone-Setup-ptPT.exe";;
    "Français")
        EXE_FILE="Hearthstone-Setup-frFR.exe";;
    "Russian")
        EXE_FILE="Hearthstone-Setup-ruRU.exe";;
    "Italiano")
        EXE_FILE="Hearthstone-Setup-itIT.exe";;
    "Polski")
        EXE_FILE="Hearthstone-Setup-plPL.exe";;
    "Korean")
        EXE_FILE="Hearthstone-Setup-koKR.exe";;
    "Chinese (Taiwan)")
        EXE_FILE="Hearthstone-Setup-zhTW.exe";;
    "Chinese (China)")
        EXE_FILE="Hearthstone-Setup-zhCN.exe";;
    *)
        exit 1;;
esac

POL_System_TmpCreate "$PREFIX"
cd "$POL_System_TmpDir"
POL_Download "http://dist.blizzard.com/downloads/hs-installers/a6029a1d625c79252defff3914fb6e67/retail.1/${EXE_FILE}"
POL_Wine "$POL_System_TmpDir/${EXE_FILE}"
POL_Wine_WaitExit "$TITLE" --allow-kill
POL_System_TmpDelete

POL_SetupWindow_VMS "64"
POL_Wine_reboot

POL_Shortcut "Battle.net Launcher.exe" "$TITLE" "$TITLE.png" ""
POL_SetupWindow_Close

exit 0

Replies

asdbimbaj Tuesday 1 December 2015 at 11:06
asdbimbaj Anonymous

Message

Ubuntu 15.10 Clean install

nvidia -355 driver

without a problem , works perfectly

 

Replies

RobLoach Monday 30 November 2015 at 1:51
RobLoach

Warning

This update has not been approved yet by the team.
Use it at your own risk

Message

Updates to 1.7.55, with PulseAudio goodness.

Differences

@@ -16,7 +16,7 @@
 POL_SetupWindow_Init
 POL_SetupWindow_presentation "$TITLE" "Blizzard" "http://us.battle.net/hearthstone/en/" "kweepeer2" "$PREFIX"
 POL_Wine_SelectPrefix "$PREFIX"
-POL_Wine_PrefixCreate "1.7.15"
+POL_Wine_PrefixCreate "1.7.55"
 
 # Might not be needed but seen several reports that said it was needed for them to install B.net client
 POL_Call POL_Install_flashplayer

New source code

#!/bin/bash
# Date : 2014-02-08 14:54
# Last revision : 2014-08-28 20:30
# Wine version used : 1.6.2, 1.7.15
# Distribution used to test : Ubuntu 13.10 x64, Debian Jessie, Arch Linux
# Author : kweepeer2, m1kc
# Depend :

[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"

TITLE="Hearthstone"
PREFIX="hearthstone"

POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE"
POL_SetupWindow_Init
POL_SetupWindow_presentation "$TITLE" "Blizzard" "http://us.battle.net/hearthstone/en/" "kweepeer2" "$PREFIX"
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "1.7.55"

# Might not be needed but seen several reports that said it was needed for them to install B.net client
POL_Call POL_Install_flashplayer
# http://appdb.winehq.org/objectManager.php?sClass=version&iId=29747
POL_Wine_OverrideDLL "native,builtin" "dbghelp"
POL_Wine_OverrideDLL "native,builtin" "msvcp100"

# Download & Install the game.
# Multiple Language support. See https://eu.battle.net/account/download/?show=hearthstone&style=hearthstone
POL_SetupWindow_menu "$(eval_gettext 'What language do you want to install?')" "Language Selection" \
    "English (US)|Español (AL)|Português (BR)|English (EU)|Deutsch|Español (EU)|Português (EU)|Français|Russian|Italiano|Polski|Korean|Chinese (Taiwan)|Chinese (China)" "|"
case "$APP_ANSWER" in
    "English (US)")
        EXE_FILE="Hearthstone-Setup-enUS.exe";;
    "Español (AL)")
        EXE_FILE="Hearthstone-Setup-esMX.exe";;
    "Português (BR)")
        EXE_FILE="Hearthstone-Setup-ptBR.exe";;
    "English (EU)")
        EXE_FILE="Hearthstone-Setup-enGB.exe";;
    "Deutsch")
        EXE_FILE="Hearthstone-Setup-deDE.exe";;
    "Español (EU)")
        EXE_FILE="Hearthstone-Setup-esES.exe";;
    "Português (EU)")
        EXE_FILE="Hearthstone-Setup-ptPT.exe";;
    "Français")
        EXE_FILE="Hearthstone-Setup-frFR.exe";;
    "Russian")
        EXE_FILE="Hearthstone-Setup-ruRU.exe";;
    "Italiano")
        EXE_FILE="Hearthstone-Setup-itIT.exe";;
    "Polski")
        EXE_FILE="Hearthstone-Setup-plPL.exe";;
    "Korean")
        EXE_FILE="Hearthstone-Setup-koKR.exe";;
    "Chinese (Taiwan)")
        EXE_FILE="Hearthstone-Setup-zhTW.exe";;
    "Chinese (China)")
        EXE_FILE="Hearthstone-Setup-zhCN.exe";;
    *)
        exit 1;;
esac

POL_System_TmpCreate "$PREFIX"
cd "$POL_System_TmpDir"
POL_Download "http://dist.blizzard.com/downloads/hs-installers/a6029a1d625c79252defff3914fb6e67/retail.1/${EXE_FILE}"
POL_Wine "$POL_System_TmpDir/${EXE_FILE}"
POL_Wine_WaitExit "$TITLE" --allow-kill
POL_System_TmpDelete

POL_SetupWindow_VMS "64"
POL_Wine_reboot

POL_Shortcut "Battle.net Launcher.exe" "$TITLE" "$TITLE.png" ""
POL_SetupWindow_Close

exit 0

Replies

JonnyJungle Saturday 28 November 2015 at 19:38
JonnyJungle Anonymous

Message

Hello,

I have a problem with hearthstone via playonlinux:

I get to the point, where I have to log in to my battle.net account, but in that window I cant select a region. Klicking on the globe symbol does not open a menu.

I am new to Linux, so maybe a package is missing. Thanks for your answers :)

PS: I run Kubuntu 14.04 LTS

Greetings

Replies

Anonymous
Saturday 28 November 2015 at 21:26
It's just a visual bug. Move your cursor as if it was correctly working
kosmik Thursday 26 November 2015 at 19:07
kosmik Anonymous

Message


 

Replies

alexajax Wednesday 11 November 2015 at 19:06
alexajax Anonymous

Message

Please, help me!

I installed HS, did ALL this libraries stuff, but can't launch it because it says: "Can't connect to Battle.net"

What can i do here?

Replies

Youjin Tuesday 10 November 2015 at 20:12
Youjin Anonymous

Warning

This update has not been approved yet by the team.
Use it at your own risk

Message

Wine stagging now works with battle.net

Performance may be better.

(Test needed about the installer and this version of wine)

Differences

@@ -1,8 +1,8 @@
 #!/bin/bash
 # Date : 2014-02-08 14:54
 # Last revision : 2014-08-28 20:30
-# Wine version used : 1.6.2, 1.7.15
-# Distribution used to test : Ubuntu 13.10 x64, Debian Jessie, Arch Linux
+# Wine version used : 1.6.2, 1.7.15, 1.7.54-staging
+# Distribution used to test : Ubuntu 13.10 x64, Debian Jessie, Arch Linux, Linux Mint 17.2 x64
 # Author : kweepeer2, m1kc
 # Depend :
 
@@ -16,7 +16,7 @@
 POL_SetupWindow_Init
 POL_SetupWindow_presentation "$TITLE" "Blizzard" "http://us.battle.net/hearthstone/en/" "kweepeer2" "$PREFIX"
 POL_Wine_SelectPrefix "$PREFIX"
-POL_Wine_PrefixCreate "1.7.15"
+POL_Wine_PrefixCreate "1.7.54-staging"
 
 # Might not be needed but seen several reports that said it was needed for them to install B.net client
 POL_Call POL_Install_flashplayer

New source code

#!/bin/bash
# Date : 2014-02-08 14:54
# Last revision : 2014-08-28 20:30
# Wine version used : 1.6.2, 1.7.15, 1.7.54-staging
# Distribution used to test : Ubuntu 13.10 x64, Debian Jessie, Arch Linux, Linux Mint 17.2 x64
# Author : kweepeer2, m1kc
# Depend :

[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"

TITLE="Hearthstone"
PREFIX="hearthstone"

POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE"
POL_SetupWindow_Init
POL_SetupWindow_presentation "$TITLE" "Blizzard" "http://us.battle.net/hearthstone/en/" "kweepeer2" "$PREFIX"
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "1.7.54-staging"

# Might not be needed but seen several reports that said it was needed for them to install B.net client
POL_Call POL_Install_flashplayer
# http://appdb.winehq.org/objectManager.php?sClass=version&iId=29747
POL_Wine_OverrideDLL "native,builtin" "dbghelp"
POL_Wine_OverrideDLL "native,builtin" "msvcp100"

# Download & Install the game.
# Multiple Language support. See https://eu.battle.net/account/download/?show=hearthstone&style=hearthstone
POL_SetupWindow_menu "$(eval_gettext 'What language do you want to install?')" "Language Selection" \
    "English (US)|Español (AL)|Português (BR)|English (EU)|Deutsch|Español (EU)|Português (EU)|Français|Russian|Italiano|Polski|Korean|Chinese (Taiwan)|Chinese (China)" "|"
case "$APP_ANSWER" in
    "English (US)")
        EXE_FILE="Hearthstone-Setup-enUS.exe";;
    "Español (AL)")
        EXE_FILE="Hearthstone-Setup-esMX.exe";;
    "Português (BR)")
        EXE_FILE="Hearthstone-Setup-ptBR.exe";;
    "English (EU)")
        EXE_FILE="Hearthstone-Setup-enGB.exe";;
    "Deutsch")
        EXE_FILE="Hearthstone-Setup-deDE.exe";;
    "Español (EU)")
        EXE_FILE="Hearthstone-Setup-esES.exe";;
    "Português (EU)")
        EXE_FILE="Hearthstone-Setup-ptPT.exe";;
    "Français")
        EXE_FILE="Hearthstone-Setup-frFR.exe";;
    "Russian")
        EXE_FILE="Hearthstone-Setup-ruRU.exe";;
    "Italiano")
        EXE_FILE="Hearthstone-Setup-itIT.exe";;
    "Polski")
        EXE_FILE="Hearthstone-Setup-plPL.exe";;
    "Korean")
        EXE_FILE="Hearthstone-Setup-koKR.exe";;
    "Chinese (Taiwan)")
        EXE_FILE="Hearthstone-Setup-zhTW.exe";;
    "Chinese (China)")
        EXE_FILE="Hearthstone-Setup-zhCN.exe";;
    *)
        exit 1;;
esac

POL_System_TmpCreate "$PREFIX"
cd "$POL_System_TmpDir"
POL_Download "http://dist.blizzard.com/downloads/hs-installers/a6029a1d625c79252defff3914fb6e67/retail.1/${EXE_FILE}"
POL_Wine "$POL_System_TmpDir/${EXE_FILE}"
POL_Wine_WaitExit "$TITLE" --allow-kill
POL_System_TmpDelete

POL_SetupWindow_VMS "64"
POL_Wine_reboot

POL_Shortcut "Battle.net Launcher.exe" "$TITLE" "$TITLE.png" ""
POL_SetupWindow_Close

exit 0

Replies

Thursday 19 November 2015 at 8:44
This would be nice to have.
Thursday 19 November 2015 at 8:44
But perhaps just target 1.7.55 instead.
Anonymous
Tuesday 24 November 2015 at 21:09
Agreed about 1.7.55 for the new pulseaudio driver. But why not staging ?
Saturday 28 November 2015 at 0:05
Good question!
hadronhearth Friday 6 November 2015 at 2:43
hadronhearth Anonymous

Message

I am having trouble getting this working as a novice/intermediate linux user. When it launches, I see the Battle.net bar appear on the taskbar, and the icon in the tray, but the Battle.net launcher window never appears. I tried the usual DLL overrides. and switching from wine 1.7 to 1.6.2

I seem to get it to work by switching my graphics driver from the nvidia-346.96 to the xserver-xorg-video-nouvaeu and rebooting, however in this mode my display (everything, not just the game) seems rather fuzzy, so it's not something I want to keep.

Not sure what information is helpful, but I'm running Linux Mint 17.2 (Ubuntu 14.04.02). Any advice is appreciated.

Replies

tatso Saturday 24 October 2015 at 4:20
tatso Anonymous

Message

I had running Hearthstone for the last month and a half without a problem on my Ubuntu 14.04 64-bit; but for the last few days it is just black screen. I can open the battle.net client and click play; but it only gives me a full black screen.  I had reinstalled like 5 times by now; and tried many things i saw around the web.  Here is the log. I would really appreciate the help.

Program Files/Hearthstone/Hearthstone_Data/Mono/etc'
I 2015-10-24 02:14:15.512211 [GameSessionList] {} Reporting process: TrackingInfo(uid=hs_beta, type=game, opStatus=On, reqId=0, running=1, oldRunning=0)
I 2015-10-24 02:14:15.515959 [InstallManager] {} Setting Process Running:  uid=hs_beta binaryType=0 running=true any=true
D 2015-10-24 02:14:15.516020 [InstallInfo] {} Operation status changed: opType=Execute oldStatus=Pending newStatus=On agentUid=hs_beta
D 2015-10-24 02:14:15.516091 [InstallManager] {} Game is running: hs_beta
D 2015-10-24 02:14:15.516159 [ProductState] {} InstallState (hs_beta): gameRunning=1 isGameProcessRunning=1 GameLaunching=0
I 2015-10-24 02:14:21.532595 [GameSessionList] {} Reporting process: TrackingInfo(uid=hs_beta, type=game, opStatus=Off, reqId=0, running=0, oldRunning=1)
I 2015-10-24 02:14:21.535061 [InstallManager] {} Setting Process Running:  uid=hs_beta binaryType=0 running=false any=false
D 2015-10-24 02:14:21.535120 [InstallInfo] {} Operation status changed: opType=Execute oldStatus=On newStatus=Off agentUid=hs_beta
D 2015-10-24 02:14:21.535144 [InstallManager] {} Game is no longer running: hs_beta
D 2015-10-24 02:14:21.535512 [ProductState] {} InstallState (hs_beta): gameRunning=0 isGameProcessRunning=0
    "enUS",
        "esMX",
        "esES",
        "frFR",
        "itIT",
        "jaJP",
        "plPL",
        "ptBR",
        "ruRU",
        "koKR",
        "zhTW",
        "zhCN"
    ],
    "download_complete" : true,
    "install_dir" : "C:/Program Files/Hearthstone",
    "installed" : true,
    "installed_locales" : [
        "enUS"
    ],
    "launch_arguments" : [],
    "local_version" : "3.2.0.10604",
    "patch_application_complete" : true,
    "playable" : true,
    "product" : "hsb",
    "region" : "eu",
    "selected_locale" : "enUS",
    "selected_asset_locale" : "enUS",
    "supports_multibox" : false,
    "update_method" : "containerless ngdp",
    "update_progress" : 1.000000,
    "last_version_check" : "1445652842502",
    "version_cooldown" : 49736.000000,
    "regional_version_info" : {
        "us" : {
            "config_key" : "21567095891b32592c0f5a040a4cc3df",
            "display_version" : "3.2.0.10604"
        },
        "eu" : {
            "config_key" : "21567095891b32592c0f5a040a4cc3df",
            "display_version" : "3.2.0.10604",
            "selected" : true
        },
        "kr" : {
            "config_key" : "21567095891b32592c0f5a040a4cc3df",
            "display_version" : "3.2.0.10604"
        },
        "cn" : {
            "config_key" : "21567095891b32592c0f5a040a4cc3df",
            "display_version" : "3.2.0.10604"
        }
    }
}
OnComplete: handle - 0x0019fca0, result - 0, running - 5, request - found
OnComplete: handle - 0x00193ff8, result - 0, running - 4, request - found
OnComplete: handle - 0x001a84a0, result - 0, running - 3, request - found
OnComplete: handle - 0x067097d0, result - 0, running - 2, request - found
OnComplete: handle - 0x06711fd0, result - 0, running - 1, request - found
Request POST /gamesession {
    "uid" : "hs_beta",
    "pid" : 50.000000,
    "binary_type" : "game"
}
Response 200 (7.6336 ms): {
    "response_uri" : "/gamesession/hs_beta"
}
Request GET /gamesession  
Response 200 (10.6167 ms): {
    "battle.net" : {
        "1" : {
            "request_id" : 42.000000,
            "pid" : -1.000000,
            "pid_path" : "",
            "binary_type" : "game"
        }
    },
    "hs_beta" : {
        "1" : {
            "request_id" : 50.000000,
            "pid" : 50.000000,
            "pid_path" : "",
            "binary_type" : "game"
        }
    }
}
GameProcessManager - TIMEOUT: process - uid:hs_beta, pid:50, parent pid:0, pid path:.
Request GET /gamesession  
Response 200 (7.9758 ms): {
    "battle.net" : {
        "1" : {
            "request_id" : 42.000000,
            "pid" : -1.000000,
            "pid_path" : "",
            "binary_type" : "game"
        }
    },
    "hs_beta" : {
        "1" : {
            "request_id" : 50.000000,
            "pid" : -1.000000,
            "pid_path" : "",
            "binary_type" : "game"
        }
    }
}
Start concurrent operation. OP_VERSION for 'hs_beta'
Request POST /version {
    "uid" : "hs_beta"
}
Response 200 (21.1934 ms): {
    "response_uri" : "/version/hs_beta"
}
Executing operation: delete_folder root="C:\Program Files\Common Files\", relative_paths=Blizzard Entertainment/Hearthstone*
Searching for links in "C:\users\ata\Desktop\" that point to deleted files in "C:/Program Files/Common Files/"
Searching for links in "C:\users\Public\Desktop\" that point to deleted files in "C:/Program Files/Common Files/"
Searching for links in "C:\users\ata\Start Menu\Programs\" that point to deleted files in "C:/Program Files/Common Files/"
Searching for links in "C:\users\Public\Start Menu\Programs\" that point to deleted files in "C:/Program Files/Common Files/"
Concurrent operation OP_VERSION for 'hs_beta' completed
Request GET /version/hs_beta  
Response 200 (9.3736 ms): {
    "state" : 1004.000000,
    "playable" : true
}
Request GET /game/hs_beta  
Response 200 (9.2727 ms): {
    "background_download_available" : false,
    "background_download_complete" : true,
    "binaries" : {
        "game" : {
            "regex" : "",
            "relative_path" : "Hearthstone.exe",
            "relative_path_64" : "",
            "switcher" : false,
            "launch_arguments" : [
                "-launch"
            ]
        }
    },
    "binary_launch_path" : "",
    "binary_launch_path64" : "",
    "current_version" : 10604.000000,
    "display_locales" : [
        "deDE",
        "enGB",
        "enUS",
        "esMX",
        "esES",
        "frFR",
        "itIT",
        "jaJP",
        "plPL",
        "ptBR",
        "ruRU",
        "koKR",
        "zhTW",
        "zhCN"
    ],
    "download_complete" : true,
    "install_dir" : "C:/Program Files/Hearthstone",
    "installed" : true,
    "installed_locales" : [
        "enUS"
    ],
    "launch_arguments" : [],
    "local_version" : "3.2.D 2015-10-24 02:14:22.555304 [GSAccountProvider] {} Received GameTimeRemainingInfo: (Game: EU-WTCG-61433842) info={ m_minutesRemaining:  m_parentalDailyMinutesRemaining:  m_par0.10604",
    "patch_application_complete" : true,
    "playable" : true,
    "product" : "hsb",
    "region" : "eu",
    "selected_locale" : "enUS",
    "selected_asset_locale" : "enUS",
    "supports_multibox" : false,
    "update_method" : "containerless ngdp",
    "update_progress" : 1.000000,
    "last_version_check" : "1445652842502",
    "version_cooldown" : 40725.000000,
    "regional_version_info" : {
        "us" : {
            "config_key" : "21567095891b32592c0f5a040a4cc3df",
            "display_version" : "3.2.0.10604"
        },
        "eu" : {
            "config_key" : "21567095891b32592c0f5a040a4cc3df",
            "display_version" : "3.2.0.10604",
            "selected" : true
        },
        "kr" : {
            "config_key" : "21567095891b32592c0f5a040a4cc3df",
            "display_version" : "3.2.0.10604"
        },
        "cn" : {
            "config_key" : "21567095891b32592c0f5a040a4cc3df",
            "display_version" : "3.2.0.10604"
        }
    }
}
Request GET /game/agent  
Response 200 (7.2948 ms): {
    "background_download_available" : false,
    "background_download_complete" : true,
    "binaries" : {
        "game" : {
            "regex" : "Agent\\.(%d)*\\\\Agent\\.exe",
            "relative_path" : "Agent.exe",
            "relative_path_64" : "",
            "switcher" : true,
            "launch_arguments" : []
        }
    },
    "binary_launch_path" : "",
    "binary_launch_path64" : "",
    "current_version" : 4532.000000,
    "display_locales" : [],
    "download_complete" : true,
    "install_dir" : "C:/users/Public/Application Data/Battle.net/Agent",
    "installed" : true,
    "installed_locales" : [],
    "launch_arguments" : [],
    "local_version" : "2.1.2.4532",
    "patch_application_complete" : true,
    "playable" : true,
    "product" : "agent",
    "region" : "eu",
    "selected_locale" : "",
    "selected_asset_locale" : "",
    "supports_multibox" : true,
    "update_method" : "containerless ngdp",
    "update_progress" : 1.000000,
    "last_version_check" : "1445652841199",
    "version_cooldown" : 3756.000000,
    "regional_version_info" : {
        "us" : {
            "config_key" : "41a9eec9fb2f323284db6fb369c3b015",
            "display_version" : "2.1.2.4532"
        },
        "eu" : {
            "config_key" : "41a9eec9fb2f323284db6fb369c3b015",
            "display_version" : "2.1.2.4532",
            "selected" : true
        },
        "cn" : {
            "config_key" : "41a9eec9fb2f323284db6fb369c3b015",
            "display_version" : "2.1.2.4532"
        },
        "kr" : {
            "config_key" : "41a9eec9fb2f323284db6fb369c3b015",
            "display_version" : "2.1.2.4532"
        },
        "tw" : {
            "config_key" : "41a9eec9fb2f323284db6fb369c3b015",
            "display_version" : "2.1.2.4532"
        },
        "xx" : {
            "config_key" : "41a9eec9fb2f323284db6fb369c3b015",
            "display_version" : "2.1.2.4532"
        }
    }
}
Request GET /game/battle.net  
Response 200 (9.1982 ms): {
    "background_download_available" : false,
    "background_download_complete" : false,
    "binaries" : {
        "game" : {
            "regex" : "Battle\\.net\\.(beta\\.)*\\d+/Battle\\.net\\.exe",
            "relative_path" : "Battle.net.exe",
            "relative_path_64" : "",
            "switcher" : true,
            "launch_arguments" : []
        }
    },
    "binary_launch_path" : "",
    "binary_launch_path64" : "",
    "current_version" : 6233.000000,
    "display_locales" : [],
    "download_complete" : true,
    "install_dir" : "C:/Program Files/Battle.net",
    "installed" : true,
    "installed_locales" : [
        "enUS"
    ],
    "launch_arguments" : [],
    "local_version" : "1.3.3.6233",
    "patch_application_complete" : true,
    "playable" : true,
    "product" : "bna",
    "region" : "eu",
    "selected_locale" : "enUS",
    "selected_asset_locale" : "enUS",
    "supports_multibox" : true,
    "update_method" : "client update",
    "update_progress" : 1.000000,
    "last_version_check" : "1445652841528",
    "version_cooldown" : 3148.000000
}
Request GET /game/hs_beta  
Response 200 (8.1147 ms): {
    "background_download_available" : false,
    "background_download_complete" : true,
    "binaries" : {
        "game" : {
            "regex" : "",
            "relative_path" : "Hearthstone.exe",
            "relative_path_64" : "",
            "switcher" : false,
            "launch_arguments" : [
                "-launch"
            ]
        }
    },
    "binary_launch_path" : "",
    "binary_launch_path64" : "",
    "current_version" : 10604.000000,
    "display_locales" : [
        "deDE",
        "enGB",
        "enUS",
        "esMX",
        "esES",
        "frFR",
        "itIT",
        "jaJP",
        "plPL",
        "ptBR",
        "ruRU",
        "koKR",
        "zhTW",
        "zhCN"
    ],
    [10/24/15 05:17:21] - Running wine-1.7.15 Battle.net Launcher.exe (Working directory : /home/ata/.PlayOnLinux/wineprefix/hearthstone/drive_c/Program Files/Battle.net)
fixme:heap:HeapSetInformation (nil) 1 (nil) 0
fixme:winhttp:WinHttpDetectAutoProxyConfigUrl discovery via DHCP not supported
fixme:wininet:InternetSetOptionW Option 77 STUB
"download_complete" : true,
    "install_dir" : "C:/Program Files/Hearthstone",
    "installed" : true,
    "installed_locales" : [
        "enUS"
    ],
    "launch_arguments" : [],
    "local_version" : "3.2.0.10604",
    "patch_application_complete" : true,
    "playable" : true,
    "product" : "hsb",
    "region" : "eu",
    "selected_locale" : "enUS",
    "selected_asset_locale" : "enUS",
    "supports_multibox" : false,
    "update_method" : "containerless ngdp",
    "update_progress" : 1.000000,
    "last_version_check" : "1445652842502",
    "version_cooldown" : 0.000000,
    "regional_version_info" : {
        "us" : {
            "config_key" : "21567095891b32592c0f5a040a4cc3df",
            "display_version" : "3.2.0.10604"
        },
        "eu" : {
            "config_key" : "21567095891b32592c0f5a040a4cc3df",
            "display_version" : "3.2.0.10604",
            "selected" : true
        },
        "kr" : {
            "config_key" : "21567095891b32592c0f5a040a4cc3df",
            "display_version" : "3.2.0.10604"
        },
        "cn" : {
            "config_key" : "21567095891b32592c0f5a040a4cc3df",
            "display_version" : "3.2.0.10604"
        }
    }
}
Request GET /game/agent  
Response 200 (10.0047 ms): {
    "background_download_available" : false,
    "background_download_complete" : true,
    "binaries" : {
        "game" : {
            "regex" : "Agent\\.(%d)*\\\\Agent\\.exe",
            "relative_path" : "Agent.exe",
            "relative_path_64" : "",
            "switcher" : true,
            "launch_arguments" : []
        }
    },
    "binary_launch_path" : "",
    "binary_launch_path64" : "",
    "current_version" : 4532.000000,
    "display_locales" : [],
    "download_complete" : true,
    "install_dir" : "C:/users/Public/Application Data/Battle.net/Agent",
    "installed" : true,
    "installed_locales" : [],
    "launch_arguments" : [],
    "local_version" : "2.1.2.4532",
    "patch_application_complete" : true,
    "playable" : true,
    "product" : "agent",
    "region" : "eu",
    "selected_locale" : "",
    "selected_asset_locale" : "",
    "supports_multibox" : true,
    "update_method" : "containerless ngdp",
    "update_progress" : 1.000000,
    "last_version_check" : "1445652841199",
    "version_cooldown" : 0.000000,
    "regional_version_info" : {
        "us" : {
            "config_key" : "41a9eec9fb2f323284db6fb369c3b015",
            "display_version" : "2.1.2.4532"
        },
        "eu" : {
            "config_key" : "41a9eec9fb2f323284db6fb369c3b015",
            "display_version" : "2.1.2.4532",
            "selected" : true
        },
        "cn" : {
            "config_key" : "41a9eec9fb2f323284db6fb369c3b015",
            "display_version" : "2.1.2.4532"
        },
        "kr" : {
            "config_key" : "41a9eec9fb2f323284db6fb369c3b015",
            "display_version" : "2.1.2.4532"
        },
        "tw" : {
            "config_key" : "41a9eec9fb2f323284db6fb369c3b015",
            "display_version" : "2.1.2.4532"
        },
        "xx" : {
            "config_key" : "41a9eec9fb2f323284db6fb369c3b015",
            "display_version" : "2.1.2.4532"
        }
    }
}
Request GET /game/battle.net  
Response 200 (8.2573 ms): {
    "background_download_available" : false,
    "background_download_complete" : false,
    "binaries" : {
        "game" : {
            "regex" : "Battle\\.net\\.(beta\\.)*\\d+/Battle\\.net\\.exe",
            "relative_path" : "Battle.net.exe",
            "relative_path_64" : "",
            "switcher" : true,
            "launch_arguments" : []
        }
    },
    "binary_launch_path" : "",
    "binary_launch_path64" : "",
    "current_version" : 6233.000000,
    "display_locales" : [],
    "download_complete" : true,
    "install_dir" : "C:/Program Files/Battle.net",
    "installed" : true,
    "installed_locales" : [
        "enUS"
    ],
    "launch_arguments" : [],
    "local_version" : "1.3.3.6233",
    "patch_application_complete" : true,
    "playable" : true,
    "product" : "bna",
    "region" : "eu",
    "selected_locale" : "enUS",
    "selected_asset_locale" : "enUS",
    "supports_multibox" : true,
    "update_method" : "client update",
    "update_progress" : 1.000000,
    "last_version_check" : "1445652841528",
    "version_cooldown" : 0.000000
}
Request GET /agent  
Response 200 (166.2407 ms): {
    "pid" : 47.000000,
    "user_id" : "S-1-5-21-0-0-0-1000",
    "state" : 1004.000000,
    "version" : "2.1.2.4532",
    "region" : "eu",
    "type" : "retail",
    "opt_in_feedback" : true,
    "session" : "7347265500480182628",
    "authorization" : "10906ABA6215AEBB384444C6EDE17948"
}
Request POST /agent {
    "opt_in_feedback" : true
}
Response 200 (8.3062 ms): {}
Request POST /verI 2015-10-24 02:17:22.193516 [Main] {} Logging started for Battle.net build 1.3.3.6233
I 2015-10-24 02:17:22.194199 [Configuration] {} SharedConfigRoot: C:\users\Public\Application Data\Battle.net
I 2015-10-24 02:17:22.194352 [Configuration] {} RoamingConfigRoot: C:\users\ata\Application Data\Battle.net
I 2015-10-24 02:17:22.194391 [Configuration] {} LocalConfigRoot: C:\users\ata\Local Settings\Application Data\Battle.net
D 2015-10-24 02:17:22.194469 [Configuration] {} Searching for config file: C:\Program Files\Battle.net\Battle.net.6233\Battle.net.config
D 2015-10-24 02:17:22.194560 [Configuration] {} Searching for config file: C:\Program Files\Battle.net\Battle.net.config
D 2015-10-24 02:17:22.194934 [Configuration] {} User Configuration File: C:\users\ata\Application Data\Battle.net\Battle.net.config
I 2015-10-24 02:17:22.196448 [Main] {} Command line arguments: {}
I 2015-10-24 02:17:22.199687 [IPC] {} Opening IPC shared memory. queueName=User:ata:Battle.net App IPC ShMem mode=client
I 2015-10-24 02:17:22.200056 [Main] {} Leaving because another instance of battle.net is running
D 2015-10-24 02:17:22.200100 [Main] {} Shutting down Backend
D 2015-10-24 02:17:22.200143 [Main] {} Closing IPC Service
D 2015-10-24 02:17:22.200183 [IPC] {} IPCService is shutting down
D 2015-10-24 02:17:22.200334 [Main] {} Shutting down callback queue
I 2015-10-24 02:17:22.206073 [IPC] {} Dispatching Command: focus
D 2015-10-24 02:17:27.976028 [GameController] {} Shutting down GameController
D 2015-10-24 02:17:27.976230 [ProductState] {} Game product state destroyed: uid=agent
D 2015-10-24 02:17:27.976289 [ProductState] {} Game product state destroyed: uid=
D 2015-10-24 02:17:27.976345 [ProductState] {} Game product state destroyed: uid=d3cn
D 2015-10-24 02:17:27.976455 [ProductState] {} Game product state destroyed: uid=wow
D 2015-10-24 02:17:27.976562 [ProductState] {} Game product state destroyed: uid=diablo3
D 2015-10-24 02:17:27.976673 [ProductState] {} Game product state destroyed: uid=s2
D 2015-10-24 02:17:27.976779 [ProductState] {} Game product state destroyed: uid=hs_beta
D 2015-10-24 02:17:27.976896 [ProductState] {} Game product state destroyed: uid=heroes
D 2015-10-24 02:17:27.977003 [ProductState] {} Game product state destroyed: uid=prometheus
D 2015-10-24 02:17:28.158600 [Main] {} Shutting down Backend
D 2015-10-24 02:17:28.158675 [Main] {} Closing IPC Service
D 2015-10-24 02:17:28.158713 [IPC] {} IPCService is shutting down
D 2015-10-24 02:17:28.159081 [Main] {} Shutting down account manager
I 2015-10-24 02:17:28.159178 [GSStateTracker] {} State changed to: Incomplete
I 2015-10-24 02:17:28.159206 [AccountManager] {} Account manager state has changed to: Incomplete
I 2015-10-24 02:17:28.159247 [GameProvider] {} Game provider is no longer initialized and is now reset
I 2015-10-24 02:17:28.159334 [GSAccountProvider] {} Account provider destroyed
D 2015-10-24 02:17:28.159382 [Main] {} Shutting down CacheManager
D 2015-10-24 02:17:28.159408 [Main] {} Shutting down analytics processor
I 2015-10-24 02:17:28.189436 [http] {} In-progress Request Canceled: http://www.google-analytics.com/collect
I 2015-10-24 02:17:32.945080 [http] {} In-progress Request Canceled: http://www.google-analytics.com/collect
D 2015-10-24 02:17:32.945915 [Main] {} Shutting down worker pool
D 2015-10-24 02:17:32.948517 [Main] {} Shutting down backend processor
D 2015-10-24 02:17:32.949036 [Main] {} Shutting down data cache
D 2015-10-24 02:17:32.949284 [Main] {} Shutting down catalog manager
D 2015-10-24 02:17:32.949549 [Main] {} Shutting down environment manager
D 2015-10-24 02:17:32.949716 [Main] {} Shutting down remote content manager
D 2015-10-24 02:17:32.949801 [Main] {} Shutting down analytics session
D 2015-10-24 02:17:32.949878 [Main] {} Shutting down agent manager
D 2015-10-24 02:17:32.964038 [Agent] {} Communicated shutdown to Agent
D 2015-10-24 02:17:32.964139 [Main] {} Shutting down game provider
D 2015-10-24 02:17:32.964176 [Main] {} Shutting down battle.net engine
I 2015-10-24 02:17:32.964224 [BattlenetAPI] {} Forcibly disconnecting from Battle.net
E 2015-10-24 02:17:33.014431 [BattlenetAPI] {} Disconnected from Battle.net: err= (3005) connectionId=1
D 2015-10-24 02:17:33.224020 [Main] {} Shutting down callback queue
D 2015-10-24 02:17:33.225191 [CacheManager] {} Stats.TasksQueued: 115
D 2015-10-24 02:17:33.225288 [CacheManager] {} Stats.TasksCompleted: 115
D 2015-10-24 02:17:33.225389 [CacheManager] {} Stats.CacheReads: 8
D 2015-10-24 02:17:33.225478 [CacheManager] {} Stats.FilesReadFromArchive: 118
<html><head><title>Object moved</title></head><body>  
<h2>Object moved to <a href="http://www.blizzard.com/404">here</a>.</h2>  
</body></html>  
<html><head><title>Object moved</title></head><body>  
<h2>Object moved to <a href="http://www.blizzard.com/404">here</a>.</h2>  
</body></html>  
<html><head><title>Object moved</title></head><body>  
<h2>Object moved to <a href="http://www.blizzard.com/404">here</a>.</h2>  
</body></html>  
sion {"uid":"battle.net"}
Response 200 (9.3469 ms): {
    "response_uri" : "/version/battle.net"
}
Post Request to http://eu.patch.battle.net:1119/patch:
<version program="Bna"><record program="Bna" component="Win" version="0"/><record program="Bna" component="blob" version="1"/></version>
Queue Request for http://eu.patch.battle.net:1119/patch : handle - 0x00193ff8, index - 27, running - 0
Request GET /version/battle.net  
Response 200 (6.0380 ms): {
    "state" : 1007.000000,
    "playable" : true
}
Launched C:/Program Files/Battle.net/Battle.net.exe as PID: 22 with --switcherall
**********************************************
Request POST /gamesession {
    "uid" : "battle.net"
}
Response 200 (111.1055 ms): {
    "response_uri" : "/gamesession/battle.net"
}
Request DELETE /agent  
Response 200 (7.2352 ms): {}
Request GET /gamesession  
Response 200 (11.5551 ms): {
    "battle.net" : {
        "1" : {
            "request_id" : 42.000000,
            "pid" : -1.000000,
            "pid_path" : "",
            "binary_type" : "game"
        },
        "2" : {
            "request_id" : 22.000000,
            "pid" : 0.000000,
            "pid_path" : "",
            "binary_type" : "game"
        }
    },
    "hs_beta" : {
        "1" : {
            "request_id" : 50.000000,
            "pid" : -1.000000,
            "pid_path" : "",
            "binary_type" : "game"
        }
    }
}
GameProcessManager - TIMEOUT: process - uid:battle.net, pid:0, parent pid:22, pid path:.
Request GET /gamesession  
Response 200 (13.5854 ms): {
    "battle.net" : {
        "1" : {
            "request_id" : 42.000000,
            "pid" : -1.000000,
            "pid_path" : "",
            "binary_type" : "game"
        },
        "2" : {
            "request_id" : 22.000000,
            "pid" : -1.000000,
            "pid_path" : "",
            "binary_type" : "game"
        }
    },
    "hs_beta" : {
        "1" : {
            "request_id" : 50.000000,
            "pid" : -1.000000,
            "pid_path" : "",
            "binary_type" : "game"
        }
    }
}
OnComplete: handle - 0x00193ff8, result - 0, running - 1, request - found
Post Response:
<patch>
<record program="Bna" component="Win">
http://dist.blizzard.com.edgesuite.net/bna/bna6233/bna-6216-6233-win.mpq.torrent.5A9BC26BD280644EC8B05E6A43251CB5;http://dist.blizzard.com.edgesuite.net/bna/bna6233/bna-6233-win.mpq.torrent.8845AB45F7</record>
<record program="Bna" component="blob">
http://dist.blizzard.com.edgesuite.net/tools-pod/Battle.net/Blob.Battle.net;123B1C89A105C89BC22C7C3E4096AAFB;C2168BBB657CBA25473121362A6038A5;0
</record>
</patch>
Start concurrent operation. OP_VERSION for 'battle.net'
Executing operation: program_associations executablePath="C:\Program Files\Battle.net\Battle.net.exe" executableIconPath="C:\Program Files\Battle.net\Battle.net.exe" executableIconIndex=0 gameRegistry  
It combines all of our previous launchers into a single, integrated solution. Battle.net keeps all of your games up-to-date, and only requires you to sign in once to play any of them.  
 
With Battle.net, it's easier to stay in contact with your Battle.net friends than ever before."
Uri Scheme 0: name="starcraft" iconPath="C:\Program Files\Battle.net\Battle.net.exe" iconIndex=0 description="URL:StarCraft II Protocol" command='"C:\Program Files\Battle.net\Battle.net.exe" "%1"'
Uri Scheme 1: name="heroes" iconPath="C:\Program Files\Battle.net\Battle.net.exe" iconIndex=0 description="URL:Heroes of the Storm Protocol" command='"C:\Program Files\Battle.net\Battle.net.exe" "%1"'Uri Scheme 2: name="battlenet" iconPath="C:\Program Files\Battle.net\Battle.net.exe" iconIndex=0 description="URL:Blizzard Battle.net Protocol" command='"C:\Program Files\Battle.net\Battle.net.exe" "%Failed to create registry key - HKEY_LOCAL_MACHINE\Software\RegisteredApplications
Concurrent operation OP_VERSION for 'battle.net' completed
Request DELETE /agent  
Response 200 (12.5343 ms): {}
No Connected Clients detected: Initiating Shutdown Timer
No Connected Clients detected: Shutting Down
Agent is shutting down
Queue Request for http://iir.blizzard.com:3724/submit/BNET_APP : handle - 0x066f1d70, index - 28, running - 0
Start bnl::Cleanup
Finished bnl::Cleanup
OnComplete: handle - 0x066f1d70, result - 0, running - 1, request - found
Cleanup: total requests process - 29
Connection statistics (times in milliseconds)
    latency = 0.000 ms
    bandwidth = 0.000 MB/sec
    downloadUrlCount: 0
    downloadUrlCallTime: 0.000 (0.000000)
    downloadUrlElapsedTime: 0.000 (0.000000)
 
    connectionsCreated: 0
    connectionsClosed: 0
    requestsCreated: 0
    requestsClosed: 0
 
    parseUrlTime: 0.000 (0.000000)
    createRequestTime: 0.000 (0.000000)
    createHeadersTime: 0.000 (0.000000)
    sendRequestTime: 0.000 (0.000000)
    httpSendRequestTime: 0.000 (0.000000)
    httpResponseTime: 0.000 (0.000000)
 
    readissued: 0
    readsync: 0
    readasync: 0
    readfail: 0
    readzero: 0
    readnonzero: 0
    readfileTime: 0.000 (0.000000)
    readfileWaitTime: 0.000 (0.000000)
    readfileResponseTime: 0.000 (0.000000)
    readCallbackTime: 0.000 (0.000000)
 
    readBytes: 0

 

Replies

Anonymous
Wednesday 4 November 2015 at 17:24
I get the same black screen issue running on Debian 8.2. In my case, I can add that I have installed other blizzard games (Heroes of the Storm, WoW and Stracraft2) via the battle.net client on the same virtual machine and they all work fine, so the problem must be with hearthstone and not with battle.net.
Anonymous
Friday 4 December 2015 at 21:24
Yeah, same issue here with Ubuntu 14.04 and an Intel driver. I'm leaning towards it being a driver issue.

Wondering if it's something akin to:
http://www.webupd8.org/2014/10/partial-workaround-for-black-distorted.html
Anonymous
Wednesday 9 December 2015 at 2:24
Yep, I'm running an intel driver as well. Have you tried any of the workarounds in that link?
Anonymous
Sunday 3 January 2016 at 0:43
You have to install the libldap (32bits version)
Anonymous
Wednesday 6 January 2016 at 15:42
I have had that package installed all along... The issue persists...
Anonymous
Thursday 24 March 2016 at 17:49
I am having the same problem. Is there a way to start HS without the Battlenet-Launcher? I manage to run HS now, by just guessing, where the "Play" button in the launcher is...
Anonymous
Thursday 24 March 2016 at 18:11
Just gut it fixed!! After using this guy's manual: http://jeffhoogland.blogspot.de/2015/01/howto-fix-battlenet-client-distortion.html
bsnoguera Thursday 15 October 2015 at 5:00
bsnoguera Anonymous

Message

Hello, guys.

I'm not being able to play hearthstone using Play On Linux; the installer runs well, everything seems fine; Battle.net is installed and Hearthstone too, without a problem.

But when I click play, a black empty screen shows up in the window which is supposed to be the game's. It's completely black, no sounds. The battle.net launcher stays there, but the game simply does not start.

Here is a doc with the debug file:

https://docs.google.com/document/d/1X_fzUPHKibLN8xgzh8VCETZD4PbtSyydTzKjop26-K4/edit?usp=sharing

Please, keep in mind I'm new to linux, and don't know yet how to do most things.

My Linux version, by the way, is Mint 17.2 cinnamon, 64-bit.

Thank you all!

 

Replies

Anonymous
Wednesday 4 November 2015 at 17:25
I get the same black screen issue running on Debian 8.2. In my case, I can add that I have installed other blizzard games (Heroes of the Storm, WoW and Stracraft2) via the battle.net client on the same virtual machine and they all work fine, so the problem must be with hearthstone and not with battle.net.
marko47 Saturday 10 October 2015 at 3:26
marko47 Anonymous

Message

Playing for a week,  used default POL installer script works fine,  i had some problems with sound, itwas playing too fast until i restarted the game, found solution on forums,just typed in terminal  pulseaudio -k   now everything works good.

Replies

Anonymous
Saturday 10 October 2015 at 3:31
Oh, forgot to say, i'm using Ubuntu 14.04
petch Friday 2 October 2015 at 6:27
petch

Warning

This update has not been approved yet by the team.
Use it at your own risk

Message

Set dbghelp override to "native, buildin"

Differences

@@ -21,7 +21,7 @@
 # Might not be needed but seen several reports that said it was needed for them to install B.net client
 POL_Call POL_Install_flashplayer
 # http://appdb.winehq.org/objectManager.php?sClass=version&iId=29747
-POL_Wine_OverrideDLL "disabled" "dbghelp"
+POL_Wine_OverrideDLL "native,builtin" "dbghelp"
 POL_Wine_OverrideDLL "native,builtin" "msvcp100"
 
 # Download & Install the game.

New source code

#!/bin/bash
# Date : 2014-02-08 14:54
# Last revision : 2014-08-28 20:30
# Wine version used : 1.6.2, 1.7.15
# Distribution used to test : Ubuntu 13.10 x64, Debian Jessie, Arch Linux
# Author : kweepeer2, m1kc
# Depend :

[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"

TITLE="Hearthstone"
PREFIX="hearthstone"

POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE"
POL_SetupWindow_Init
POL_SetupWindow_presentation "$TITLE" "Blizzard" "http://us.battle.net/hearthstone/en/" "kweepeer2" "$PREFIX"
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "1.7.15"

# Might not be needed but seen several reports that said it was needed for them to install B.net client
POL_Call POL_Install_flashplayer
# http://appdb.winehq.org/objectManager.php?sClass=version&iId=29747
POL_Wine_OverrideDLL "native,builtin" "dbghelp"
POL_Wine_OverrideDLL "native,builtin" "msvcp100"

# Download & Install the game.
# Multiple Language support. See https://eu.battle.net/account/download/?show=hearthstone&style=hearthstone
POL_SetupWindow_menu "$(eval_gettext 'What language do you want to install?')" "Language Selection" \
    "English (US)|Español (AL)|Português (BR)|English (EU)|Deutsch|Español (EU)|Português (EU)|Français|Russian|Italiano|Polski|Korean|Chinese (Taiwan)|Chinese (China)" "|"
case "$APP_ANSWER" in
    "English (US)")
        EXE_FILE="Hearthstone-Setup-enUS.exe";;
    "Español (AL)")
        EXE_FILE="Hearthstone-Setup-esMX.exe";;
    "Português (BR)")
        EXE_FILE="Hearthstone-Setup-ptBR.exe";;
    "English (EU)")
        EXE_FILE="Hearthstone-Setup-enGB.exe";;
    "Deutsch")
        EXE_FILE="Hearthstone-Setup-deDE.exe";;
    "Español (EU)")
        EXE_FILE="Hearthstone-Setup-esES.exe";;
    "Português (EU)")
        EXE_FILE="Hearthstone-Setup-ptPT.exe";;
    "Français")
        EXE_FILE="Hearthstone-Setup-frFR.exe";;
    "Russian")
        EXE_FILE="Hearthstone-Setup-ruRU.exe";;
    "Italiano")
        EXE_FILE="Hearthstone-Setup-itIT.exe";;
    "Polski")
        EXE_FILE="Hearthstone-Setup-plPL.exe";;
    "Korean")
        EXE_FILE="Hearthstone-Setup-koKR.exe";;
    "Chinese (Taiwan)")
        EXE_FILE="Hearthstone-Setup-zhTW.exe";;
    "Chinese (China)")
        EXE_FILE="Hearthstone-Setup-zhCN.exe";;
    *)
        exit 1;;
esac

POL_System_TmpCreate "$PREFIX"
cd "$POL_System_TmpDir"
POL_Download "http://dist.blizzard.com/downloads/hs-installers/a6029a1d625c79252defff3914fb6e67/retail.1/${EXE_FILE}"
POL_Wine "$POL_System_TmpDir/${EXE_FILE}"
POL_Wine_WaitExit "$TITLE" --allow-kill
POL_System_TmpDelete

POL_SetupWindow_VMS "64"
POL_Wine_reboot

POL_Shortcut "Battle.net Launcher.exe" "$TITLE" "$TITLE.png" ""
POL_SetupWindow_Close

exit 0

Replies

Sunday 4 October 2015 at 19:49
This worked.
Kurolox Thursday 1 October 2015 at 15:49
Kurolox Anonymous

Message

Can't get it work in my netbook. It installs well, but when I try to launch it it shows the battle.net updater for one second and then dissapears.

 

Log: http://pastebin.com/vSFz6Mtp

 

Any idea of what could be causing this? I already tried changing wine versions, but it happens in every one of the

Replies

Anonymous
Monday 12 October 2015 at 21:37
Had the same problem after two hours I finally found the issue...
Anonymous
Monday 12 October 2015 at 21:38
Damn should have been a linebreak sry :/ If you are using arch make sure you enable multilib and have lib32-libldap installed: sudo pacman -S lib32-libldap
postaljester Thursday 1 October 2015 at 3:33
postaljester Anonymous

Message

was working for me until the latest patch scrambled it. global_error_asset_load_fail error happens at launch for me. I have googled it and it seems to be an older problem but the old work around didnt work for me.


 

Replies

Anonymous
Thursday 1 October 2015 at 3:39
workaround is enabling dbghelp in wine configure.
Friday 2 October 2015 at 6:43
That was confirmed by "thevdude" on IRC, I changed that in the script
syjeo Tuesday 15 September 2015 at 10:09
syjeo Anonymous

Message

Hello,

This install work fine but

I have this error message when  i first click "play"

"Battle.net requires the Windows Secondary Logon service to be enabled.

Errors: BLZAPPBTS0000K, BLZBNTBTS0000K, BLZAPPAGT02601, BLZBNTAGT02601, BLZBNTAGT00000A29"

I found a temporary workaround : clicking a second time will launch the game.

I will notice the battle.net support team.

 

Replies

Anonymous
Tuesday 15 September 2015 at 10:19
to be continued...
Anonymous
Tuesday 15 September 2015 at 12:37
Blizzard does not support linux (obvious) and does not care at all about the linux gamer community
Anonymous
Wednesday 16 September 2015 at 14:37
Same behaviour on mine installation. Working before : last played : Friday.
Anonymous
Wednesday 16 September 2015 at 14:46
Same workaround working : https://framapic.org/AoOixe4DsRjR/jvFtYnnD Thanks to syjeo .
Anonymous
Wednesday 16 September 2015 at 16:46
I confirm the problem. However I only get BLZBNTBTS00000025 as an error code without having had Hearthstone installed (I first tried 3 days ago).
Workaround doesn't work for me.
roygbiv Tuesday 1 September 2015 at 11:43
roygbiv Anonymous

Message

I recently switched machine from Ubuntu 15.04 to GoBang which is basically Ubuntu 14.04 light. Graphic card is Nvidia Geforece 740M. There seem to be several problems, I am not sure if something changed on the installation script or it is a matter of my machine/OS.

Everything was working pretty well before, now the game is uncharacteristically laggy and mouse movements are very slow

The Battle.net client also is kind of messed up with letters missing (see image) and buttons respond after a couple of clicks.

 

 

Replies

Anonymous
Wednesday 2 September 2015 at 13:40
I will also add that I tried it with both Wine 1.6 and Wine 1.7 with the same results..
Anonymous
Tuesday 15 September 2015 at 12:44
Hello roygbiv, I don't know if it'll help you but I had trouble with debian jessie and pulseaudio underruns (no problem with wheezy) resulting in sound distortion and lagging ... the solution i found was to remove pulse audio and activate alsa...
Reaver32 Tuesday 1 September 2015 at 6:24
Reaver32

Message

It works good for me. Only issues I've noticed is that if you have two screens, Hearthstone will only go fullscreen on one of them no matter what you do. Also, if you minimize Hearthstone, you're gonna have to force kill it. Lastly, in order to launch Hearthstone, you need to double click the "Play" button in the Battle.Net client. I thought my Battle.Net client was broken at first until I started clicking everywhere. 

Make sure you turn the settings to "High" in [Cog Wheel] -> Options -> Graphics in order to lift the 30FPS framerate cap. 

Replies

deri82 Sunday 9 August 2015 at 17:17
deri82 Anonymous

Message

You have set VMS value as 64mb. Isnt that the value of GPU memory size? That's really low.

Replies

flubbes Sunday 9 August 2015 at 14:10
flubbes Anonymous

Message

Error in POL_Shortcut
Binary not found: Battle.net Launcher.exe
Have you installed the program to the default location?

 

Yes I left everything at default

Replies

Anonymous
Wednesday 19 August 2015 at 19:59
The error I reported was not the reason it did not work. I installed lib32-libldap and resolved all of my problems. I'm currently playing the game
petch Wednesday 5 August 2015 at 22:54
petch

Warning

This update has not been approved yet by the team.
Use it at your own risk

Message

Use POL_Wine_WaitExit instead of POL_Wine_WaitBefore since the installer seems non-blocking (according to reports)

Differences

@@ -64,8 +64,8 @@
 POL_System_TmpCreate "$PREFIX"
 cd "$POL_System_TmpDir"
 POL_Download "http://dist.blizzard.com/downloads/hs-installers/a6029a1d625c79252defff3914fb6e67/retail.1/${EXE_FILE}"
-POL_Wine_WaitBefore "$TITLE" --allow-kill
 POL_Wine "$POL_System_TmpDir/${EXE_FILE}"
+POL_Wine_WaitExit "$TITLE" --allow-kill
 POL_System_TmpDelete
 
 POL_SetupWindow_VMS "64"

New source code

#!/bin/bash
# Date : 2014-02-08 14:54
# Last revision : 2014-08-28 20:30
# Wine version used : 1.6.2, 1.7.15
# Distribution used to test : Ubuntu 13.10 x64, Debian Jessie, Arch Linux
# Author : kweepeer2, m1kc
# Depend :

[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"

TITLE="Hearthstone"
PREFIX="hearthstone"

POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE"
POL_SetupWindow_Init
POL_SetupWindow_presentation "$TITLE" "Blizzard" "http://us.battle.net/hearthstone/en/" "kweepeer2" "$PREFIX"
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "1.7.15"

# Might not be needed but seen several reports that said it was needed for them to install B.net client
POL_Call POL_Install_flashplayer
# http://appdb.winehq.org/objectManager.php?sClass=version&iId=29747
POL_Wine_OverrideDLL "disabled" "dbghelp"
POL_Wine_OverrideDLL "native,builtin" "msvcp100"

# Download & Install the game.
# Multiple Language support. See https://eu.battle.net/account/download/?show=hearthstone&style=hearthstone
POL_SetupWindow_menu "$(eval_gettext 'What language do you want to install?')" "Language Selection" \
    "English (US)|Español (AL)|Português (BR)|English (EU)|Deutsch|Español (EU)|Português (EU)|Français|Russian|Italiano|Polski|Korean|Chinese (Taiwan)|Chinese (China)" "|"
case "$APP_ANSWER" in
    "English (US)")
        EXE_FILE="Hearthstone-Setup-enUS.exe";;
    "Español (AL)")
        EXE_FILE="Hearthstone-Setup-esMX.exe";;
    "Português (BR)")
        EXE_FILE="Hearthstone-Setup-ptBR.exe";;
    "English (EU)")
        EXE_FILE="Hearthstone-Setup-enGB.exe";;
    "Deutsch")
        EXE_FILE="Hearthstone-Setup-deDE.exe";;
    "Español (EU)")
        EXE_FILE="Hearthstone-Setup-esES.exe";;
    "Português (EU)")
        EXE_FILE="Hearthstone-Setup-ptPT.exe";;
    "Français")
        EXE_FILE="Hearthstone-Setup-frFR.exe";;
    "Russian")
        EXE_FILE="Hearthstone-Setup-ruRU.exe";;
    "Italiano")
        EXE_FILE="Hearthstone-Setup-itIT.exe";;
    "Polski")
        EXE_FILE="Hearthstone-Setup-plPL.exe";;
    "Korean")
        EXE_FILE="Hearthstone-Setup-koKR.exe";;
    "Chinese (Taiwan)")
        EXE_FILE="Hearthstone-Setup-zhTW.exe";;
    "Chinese (China)")
        EXE_FILE="Hearthstone-Setup-zhCN.exe";;
    *)
        exit 1;;
esac

POL_System_TmpCreate "$PREFIX"
cd "$POL_System_TmpDir"
POL_Download "http://dist.blizzard.com/downloads/hs-installers/a6029a1d625c79252defff3914fb6e67/retail.1/${EXE_FILE}"
POL_Wine "$POL_System_TmpDir/${EXE_FILE}"
POL_Wine_WaitExit "$TITLE" --allow-kill
POL_System_TmpDelete

POL_SetupWindow_VMS "64"
POL_Wine_reboot

POL_Shortcut "Battle.net Launcher.exe" "$TITLE" "$TITLE.png" ""
POL_SetupWindow_Close

exit 0

Replies

Anonymous
Sunday 9 August 2015 at 17:26
It now installs, but is crashing when I start it.
Anonymous
Sunday 9 August 2015 at 17:28


Object moved to here.

Anonymous
Sunday 9 August 2015 at 17:31
Im sorry: I can not post error messages in this small box... here again: GameProcessManager - TIMEOUT: process - uid:battle.net, pid:0, parent pid:34, pid path:.
amp Wednesday 5 August 2015 at 19:55
amp Anonymous

Message

The installer doesn't seem to work any more because the script thinks the installer exits before it actually does and triggers a reboot. I don't know POL scripting but I think there needs to be a change to this line:

POL_Wine_WaitBefore "$TITLE" --allow-kill

So that it waits for the entire install process to finish (which is multiple chained processes).

Other than this the game does work OK.

Replies

Anonymous
Wednesday 5 August 2015 at 20:00
I also am unable to install currently. Attempted to install and stated:
Anonymous
Wednesday 5 August 2015 at 20:00
Error in POL_Shortcut
Binary not found: Battle.net Launcher.exe
Have you installed the program to the default location?
kholyphoenix1 Thursday 30 July 2015 at 17:36
kholyphoenix1 Anonymous

Message

Plataform: Linux Fedora 22
Architecture: x64
Interface: KDE
Video Graphic: Intel HD Graphics 2000 + "driconf" with texture compression.

---

Without slowing down the speed is normal in the game.
I'm just muted. I would like to fix it? Alsa use as audio.

Replies

Anonymous
Friday 31 July 2015 at 15:15
winecfg -> audio -> alsasound all!
l3iggs Tuesday 28 July 2015 at 14:35
l3iggs Anonymous

Warning

This update has not been approved yet by the team.
Use it at your own risk

Message

The installation script seems to work fine for me when I run it on a mahine with an Nvidia GPU. Using an ATI or Intel GPU results in the battle.net client window being corrupted and completely unreadable  (although if you know where the "Play" button should be, you can click it and the game runs seemingly without issue.

 

The flashplayer install is not a requirement, it's only needed if you want to watch videos in the battle.net client interface. I suggest you remove it.

 

Also, I've tested this with wine version 1.7.47 (with Nvidia GPU) and it works fine. Maybe bumping the wine version could solve the ATI and Intel GPU issues I've seen.

Differences

@@ -1,7 +1,7 @@
 #!/bin/bash
 # Date : 2014-02-08 14:54
 # Last revision : 2014-08-28 20:30
-# Wine version used : 1.6.2, 1.7.15
+# Wine version used : 1.6.2, 1.7.47
 # Distribution used to test : Ubuntu 13.10 x64, Debian Jessie, Arch Linux
 # Author : kweepeer2, m1kc
 # Depend :
@@ -16,10 +16,8 @@
 POL_SetupWindow_Init
 POL_SetupWindow_presentation "$TITLE" "Blizzard" "http://us.battle.net/hearthstone/en/" "kweepeer2" "$PREFIX"
 POL_Wine_SelectPrefix "$PREFIX"
-POL_Wine_PrefixCreate "1.7.15"
+POL_Wine_PrefixCreate "1.7.47"
 
-# Might not be needed but seen several reports that said it was needed for them to install B.net client
-POL_Call POL_Install_flashplayer
 # http://appdb.winehq.org/objectManager.php?sClass=version&iId=29747
 POL_Wine_OverrideDLL "disabled" "dbghelp"
 POL_Wine_OverrideDLL "native,builtin" "msvcp100"

New source code

#!/bin/bash
# Date : 2014-02-08 14:54
# Last revision : 2014-08-28 20:30
# Wine version used : 1.6.2, 1.7.47
# Distribution used to test : Ubuntu 13.10 x64, Debian Jessie, Arch Linux
# Author : kweepeer2, m1kc
# Depend :

[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"

TITLE="Hearthstone"
PREFIX="hearthstone"

POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE"
POL_SetupWindow_Init
POL_SetupWindow_presentation "$TITLE" "Blizzard" "http://us.battle.net/hearthstone/en/" "kweepeer2" "$PREFIX"
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "1.7.47"

# http://appdb.winehq.org/objectManager.php?sClass=version&iId=29747
POL_Wine_OverrideDLL "disabled" "dbghelp"
POL_Wine_OverrideDLL "native,builtin" "msvcp100"

# Download & Install the game.
# Multiple Language support. See https://eu.battle.net/account/download/?show=hearthstone&style=hearthstone
POL_SetupWindow_menu "$(eval_gettext 'What language do you want to install?')" "Language Selection" \
    "English (US)|Español (AL)|Português (BR)|English (EU)|Deutsch|Español (EU)|Português (EU)|Français|Russian|Italiano|Polski|Korean|Chinese (Taiwan)|Chinese (China)" "|"
case "$APP_ANSWER" in
    "English (US)")
        EXE_FILE="Hearthstone-Setup-enUS.exe";;
    "Español (AL)")
        EXE_FILE="Hearthstone-Setup-esMX.exe";;
    "Português (BR)")
        EXE_FILE="Hearthstone-Setup-ptBR.exe";;
    "English (EU)")
        EXE_FILE="Hearthstone-Setup-enGB.exe";;
    "Deutsch")
        EXE_FILE="Hearthstone-Setup-deDE.exe";;
    "Español (EU)")
        EXE_FILE="Hearthstone-Setup-esES.exe";;
    "Português (EU)")
        EXE_FILE="Hearthstone-Setup-ptPT.exe";;
    "Français")
        EXE_FILE="Hearthstone-Setup-frFR.exe";;
    "Russian")
        EXE_FILE="Hearthstone-Setup-ruRU.exe";;
    "Italiano")
        EXE_FILE="Hearthstone-Setup-itIT.exe";;
    "Polski")
        EXE_FILE="Hearthstone-Setup-plPL.exe";;
    "Korean")
        EXE_FILE="Hearthstone-Setup-koKR.exe";;
    "Chinese (Taiwan)")
        EXE_FILE="Hearthstone-Setup-zhTW.exe";;
    "Chinese (China)")
        EXE_FILE="Hearthstone-Setup-zhCN.exe";;
    *)
        exit 1;;
esac

POL_System_TmpCreate "$PREFIX"
cd "$POL_System_TmpDir"
POL_Download "http://dist.blizzard.com/downloads/hs-installers/a6029a1d625c79252defff3914fb6e67/retail.1/${EXE_FILE}"
POL_Wine_WaitBefore "$TITLE" --allow-kill
POL_Wine "$POL_System_TmpDir/${EXE_FILE}"
POL_System_TmpDelete

POL_SetupWindow_VMS "64"
POL_Wine_reboot

POL_Shortcut "Battle.net Launcher.exe" "$TITLE" "$TITLE.png" ""
POL_SetupWindow_Close

exit 0

Replies

RepairedPanic1 Sunday 28 June 2015 at 21:55
RepairedPanic1 Anonymous

Message

I installed Hearthstone through POL with no trouble. The only issue with the game is that sometimes the audio bugs out, but all I have to do is turn the games volume off and on again and it is fixed. I'm fairly sure this is an issue with my computer rather than the game as it is old, slow and overall poor quality.

Replies

Kevin4linux Friday 26 June 2015 at 16:40
Kevin4linux Anonymous

Message

hey, everyone

I run into a trouble about image problem. When I open Bttle.net, the screen will crash like below. Could anyone please help me? I am freshmen, so please forget me can't find issue log file for you. :(

 

https://www.dropbox.com/s/iyttut7r178p5y7/Screenshot%20-%2006262015%20-%2010%3A08%3A33%20AM.png?dl=0

Replies

Friday 26 June 2015 at 16:45
Broken Intel video driver, try to update them
Kevin4linux Friday 26 June 2015 at 16:25
Kevin4linux Anonymous

Message

hey, everyone

I run into a trouble about image problem. When I open Bttle.net, the screen will crash like below. Could anyone please help me? I am freshmen, so please forget me can't find issue log file for you. :(

 

Replies

Iks Thursday 4 June 2015 at 12:14
Iks Anonymous

Message

Installer works fine.

The battle.net desktop application will try to scan for hearthstone and other blizzard games when you start hearthstone.

It will not find hearthstone , and now all you got is a black window where the launcher is.

log is filled with : fixme:d3d:resource_check_usage Unhandled usage flags 0x8

Launcher seams to be running , just that you cannot see it

Ubuntu 14.04 , POL 4.2.8

Replies

Thursday 4 June 2015 at 18:03
http://wiki.playonlinux.com/index.php/How_to_Post_in_the_Forums

To be more concise, the full debug output might give us some clues. Usually fixme messages can be ignored, even though they look malicious. Is it throwing any err messages? Those are normally the ones to look for. I would first check to make sure that you have your graphics drivers installed and updated, as well as any 32-bit libraries for them. We can start with that, and go from there. 
Anonymous
Monday 15 June 2015 at 12:55
Sorry , yes the drivers were installed (other games run just fine)
Anonymous
Monday 15 June 2015 at 12:56
Updated to Ubuntu 15.04 and the game and laucher run just fine, sorry did not save the debug. So I dont know why it got a blackscreen issue on Ubuntu 14.04
cramserb Wednesday 20 May 2015 at 21:07
cramserb Anonymous

Message

The installation seems to run well. It worked, asked for the login credentials for battle.net and connects well, but when arrives to "Scan for games" screen, says that "We could not find any Blizzard games on your system".

If I try to find it manually, it shows the OS structure, and as playonlinux is a hidden directory (".PlayOnLinux") is not shown.

 

 

Replies

Anonymous
Saturday 27 June 2015 at 19:29
I met the problem too. In my case, the POL actually did not install hearthstone, it just installed the Battlenet. However, I found a solution: you just find the Hearthstone-setup-**.exe that POL downloaded. Then you can configure Hearthstone --> Miscellaneous --> Run a .exe file in the virtual drive --> choose the corresponding setup program. Then after installation, it just works well.
le_med_amine Sunday 10 May 2015 at 16:10
le_med_amine Anonymous

Message

it does not work for me . battelnet was installed fine but when i open the launcher i have no clear image : this is what i get

Replies

petch Friday 24 April 2015 at 18:50
petch

Warning

This update has not been approved yet by the team.
Use it at your own risk

Message

Allow the user to kill the launcher so that the install script can continue

Differences

@@ -64,9 +64,8 @@
 POL_System_TmpCreate "$PREFIX"
 cd "$POL_System_TmpDir"
 POL_Download "http://dist.blizzard.com/downloads/hs-installers/a6029a1d625c79252defff3914fb6e67/retail.1/${EXE_FILE}"
-POL_SetupWindow_wait "$(eval_gettext 'Please wait while $TITLE is installed.')" "$TITLE"
+POL_Wine_WaitBefore "$TITLE" --allow-kill
 POL_Wine "$POL_System_TmpDir/${EXE_FILE}"
-POL_Wine_WaitExit
 POL_System_TmpDelete
 
 POL_SetupWindow_VMS "64"

New source code

#!/bin/bash
# Date : 2014-02-08 14:54
# Last revision : 2014-08-28 20:30
# Wine version used : 1.6.2, 1.7.15
# Distribution used to test : Ubuntu 13.10 x64, Debian Jessie, Arch Linux
# Author : kweepeer2, m1kc
# Depend :

[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"

TITLE="Hearthstone"
PREFIX="hearthstone"

POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE"
POL_SetupWindow_Init
POL_SetupWindow_presentation "$TITLE" "Blizzard" "http://us.battle.net/hearthstone/en/" "kweepeer2" "$PREFIX"
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "1.7.15"

# Might not be needed but seen several reports that said it was needed for them to install B.net client
POL_Call POL_Install_flashplayer
# http://appdb.winehq.org/objectManager.php?sClass=version&iId=29747
POL_Wine_OverrideDLL "disabled" "dbghelp"
POL_Wine_OverrideDLL "native,builtin" "msvcp100"

# Download & Install the game.
# Multiple Language support. See https://eu.battle.net/account/download/?show=hearthstone&style=hearthstone
POL_SetupWindow_menu "$(eval_gettext 'What language do you want to install?')" "Language Selection" \
    "English (US)|Español (AL)|Português (BR)|English (EU)|Deutsch|Español (EU)|Português (EU)|Français|Russian|Italiano|Polski|Korean|Chinese (Taiwan)|Chinese (China)" "|"
case "$APP_ANSWER" in
    "English (US)")
        EXE_FILE="Hearthstone-Setup-enUS.exe";;
    "Español (AL)")
        EXE_FILE="Hearthstone-Setup-esMX.exe";;
    "Português (BR)")
        EXE_FILE="Hearthstone-Setup-ptBR.exe";;
    "English (EU)")
        EXE_FILE="Hearthstone-Setup-enGB.exe";;
    "Deutsch")
        EXE_FILE="Hearthstone-Setup-deDE.exe";;
    "Español (EU)")
        EXE_FILE="Hearthstone-Setup-esES.exe";;
    "Português (EU)")
        EXE_FILE="Hearthstone-Setup-ptPT.exe";;
    "Français")
        EXE_FILE="Hearthstone-Setup-frFR.exe";;
    "Russian")
        EXE_FILE="Hearthstone-Setup-ruRU.exe";;
    "Italiano")
        EXE_FILE="Hearthstone-Setup-itIT.exe";;
    "Polski")
        EXE_FILE="Hearthstone-Setup-plPL.exe";;
    "Korean")
        EXE_FILE="Hearthstone-Setup-koKR.exe";;
    "Chinese (Taiwan)")
        EXE_FILE="Hearthstone-Setup-zhTW.exe";;
    "Chinese (China)")
        EXE_FILE="Hearthstone-Setup-zhCN.exe";;
    *)
        exit 1;;
esac

POL_System_TmpCreate "$PREFIX"
cd "$POL_System_TmpDir"
POL_Download "http://dist.blizzard.com/downloads/hs-installers/a6029a1d625c79252defff3914fb6e67/retail.1/${EXE_FILE}"
POL_Wine_WaitBefore "$TITLE" --allow-kill
POL_Wine "$POL_System_TmpDir/${EXE_FILE}"
POL_System_TmpDelete

POL_SetupWindow_VMS "64"
POL_Wine_reboot

POL_Shortcut "Battle.net Launcher.exe" "$TITLE" "$TITLE.png" ""
POL_SetupWindow_Close

exit 0

Replies

lulavc Saturday 28 February 2015 at 1:45
lulavc Anonymous

Message

UBUNTU 14.04 running fine. Only problem is some missing words on the cards. There is any fix ?

Replies

Saturday 28 February 2015 at 2:13
It might be a missing font. Try to install "tahoma2" from Install Components in the Configure window and see if that works. If not, try "tahoma". You might want to check on appdb.winehq.org to see if this is a known issue, too.
paladin_stz Tuesday 10 February 2015 at 3:02
paladin_stz Anonymous

Message

My problem is after clicking "play" show up a black screen, where nothing happens.

I'm on Manjaro Linux KDE 0.8.12 Ascella and I tried installing Hearthstone in several different ways so far.

Until you try to install with PlayOnLinux but the result was identic.

I tried to install with libraries on wine 1.7.15 by PlayOnLinux:

-wininet
-atl100
-atl90
-d3dx9_36
-d3dx9_43
-dgbhelp (disabled)
-msvcp100
-msvcr100


Someone help me???

Replies

Anonymous
Monday 27 April 2015 at 20:12
I have the same problem.
Anonymous
Sunday 6 September 2015 at 10:24
try to add 'env TZ=America/New_York' before shortcut command. Just worked for me.
RobLoach Friday 6 February 2015 at 16:54
RobLoach

Message

Hearthstone Icon for the Shortcut: https://www.dropbox.com/s/ccltbme0z6tr4ds/hearthstone.png?dl=0

Would this need to be hosted on PlayOnLinux? There seems to be no icon built in the Program Files directories.

Replies

Saturday 7 February 2015 at 15:19
Scaled and uploaded!
weesnich Monday 26 January 2015 at 5:09
weesnich Anonymous

Message

Hi,

In installed the game through playonlinux and directly tested it while the installation was not completed and everything worked fine. I then closed battle.net, an error popped up (Sorry did not copy it yet) and the game was not added to the library. Reinstalling always brings the same error.

To play the game I can now repeat the installation but only have to wait until battle.net starts and the game is already isntalled there. With my regular wine I don't get an internet connection. What can I do to just run battle.net from playonlinux?

 

Thanks!

Replies

Monday 26 January 2015 at 5:18
Can you post the debug output (not the popup error. Tools -> PlayOnLinux Debugger), please? It sounds like it just needs a shortcut created.

Reinstall it, and then exit it after it is fully installed, then try to create a shortcut to it:

PlayOnLinux -> configure -> select virtual drive -> General tab -> Make a shortcut from this virtual drive
daveood Tuesday 20 January 2015 at 20:02
daveood Anonymous

Message

Hello, i have a problem with installation of Hearthstone.

daveood@daveood-ThinkPad-R60e-R60i:~$ cat /etc/issue
Ubuntu 14.04 LTS \n \l

exactly Lubuntu distro

version of POL 4.2.5

i implemented LIBGL_ALWAYS_SOFTWARE=1 to POL

Battle.net client is installed well, but when i login i get blizz error : Failed to vreate graphics context. Restart of Bnet ofc doesnt work.

I dont meet sys. req., but when i had win xp on this machine, HS worked.. fine.. can you help me to fix my issue? Im not really experienced with linux, so please talk to me like to idiot ;) and im sorry for my english.

Thank you for all responds.

Daveood

Replies

LloydKM Sunday 11 January 2015 at 22:23
LloydKM Anonymous

Message

It worked on my Notebook with Ubuntu 14.04 LTS

I just had one problem. Although the game and battle.net installed (and the game worked immediatly), Play On Linux didn't add the game to the library.

Replies

Tuesday 20 January 2015 at 3:35
You have to quit Hearthstone, and the Battle.net launcher completely, so that the installer knows the installation process is complete. Once it's closed, it'll create the shortcut.
Tuesday 20 January 2015 at 4:23
Exactly. That happens with any game that does it's downloading during the actual POL/POM installs. :)
LowMemory Saturday 10 January 2015 at 18:27
LowMemory Anonymous

Message

Just to tell my feedback: I can play game online without problem.

Tiny things that can improve player's experience though:

- I need to clic many times on « Play » button before it launches (3 times as I remember)

- windowed mode does not work (only FullScreen): it leads to gamecrash.

- in FullScreen mode losing focus makes game go to a very little square top left of screen and impossible to get back and play (I force myself not to make anything else, even when waiting for a match to be found).

 

 

Ubuntu 12.04 LTS with latest PoL version from dedicated repository.

 

Replies

telzum Thursday 25 December 2014 at 12:11
telzum Anonymous

Message

Hello,

im trying to install hearthstone on Ubuntu 14.04 on a HP Chromebook 14.

Half way done while updating the agent the installation errors out with the error code BLZBNTBTS0000005C.

Is there anyway to fix this? :-/

Replies

Anonymous
Monday 5 January 2015 at 16:59
I am getting this error message as well. I have tried to re-install five (5) times now with the same result.
Anonymous
Tuesday 6 January 2015 at 12:22
Allright. I got the game to install (I needed to install Wine as well as PLayonLinux). Now however the game crashes when I try to start it in Battle.net
Fapi Saturday 13 December 2014 at 22:17
Fapi Anonymous

Message

Hi,

I have a different issue with Heartstone. The game works, I can play full games, and at some point the game freeze, the sound lag a lot and I have to reboot my computer manually.

In the logs of Playonlinux I can read this line reapeated a lot of times :

ALSA lib pcm.c:7843:(snd_pcm_recover) underrun occurred

So I think it's a problem with the sound and Alsa.

Can I edit something to avoid this problem ?

Replies

Sunday 14 December 2014 at 10:03
The game must be too slow at times to refill the sound card's buffer and prevent play interruption; To me it's most likely a consequence of performance issue than the root problem
Anonymous
Wednesday 17 December 2014 at 9:17
I have read elsewhere that this issue was linked to pulseaudio. I simply uninstalled it now everything works fine for me (wine goes straight to alsa driver).
Wednesday 17 December 2014 at 10:55
Correct, plain Wine has no specific support for PulseAudio http://www.playonlinux.com/en/issue-1314.html
Didn't know it could result in game freeze though
Anonymous
Wednesday 24 December 2014 at 20:36
I had the same problem with crackling audio. Starting playonlinux with this command solved it completely (found it as a solution for crackling audio in skype) "PULSE_LATENCY_MSEC=60 [your_path_to_playonlinux]/playonlinux"
Anonymous
Tuesday 30 December 2014 at 14:09
Yes same problem for me with starcraft 2. Putting this in the
Anonymous
Tuesday 30 December 2014 at 14:37
"Command to exec before running the program":
http://www.gamersonlinux.com/forum/attachments/firefox29-png.2660/
(export PULSE_LATENCY_MSEC=60)
seen in this comment:
http://askubuntu.com/questions/392911/wine-sound-is-played-way-too-fast-and-crackles-horribly#comment646523_477530
Playing yesterday without any problem
Anonymous
Friday 31 July 2015 at 14:13
I muted. I use Alsa.
bast Wednesday 10 December 2014 at 16:48
bast Anonymous

Message

Hearthstone graphic issue after last update.

It seems to be an AMD issue, please report if you got the same problem with NVIDIA.

After last update or if changing any video option, hearthstone crash on start-up with : with the message "Oops! The game crashed. The crash report folder named ..."

The work-around is to go to your /home/YOUR_USER/.PlayOnLinux/wineprefix/YOUR_WINE_DRIVE/drive_c/users/YOUR_USER/Local Settings/Application Data/Blizzard/Hearthstone/options.txt file.

One way is to just delete the file & relaunch hearthstone (but it seems to need a computer restart in rare cases). Then put the file on read-only once hearthstone recreates it to permantly resolve the issue.

The other way is to have "graphicsquality=1" if the line is there AND not having any graphicsheight= and graphicswidth= lines or otherwise it crashes.

Try to put the file on read-only to not have too much troubles in the future until an update that resolves the issue. I managed to get hearthstone on windowed mode this way, but i cannot resize it or it crash.

Replies

Anonymous
Saturday 13 December 2014 at 17:41
I have the same problem on Nvidia and the work-around doesn't help, sadly.
Anonymous
Tuesday 16 December 2014 at 12:52
Does the game launch after fresh reinstall before you change any video settings ? If it's not the case, it is another issue..
Anonymous
Wednesday 17 December 2014 at 9:14
Same problem here (amd). What solved it for me was to either delete the file each time I wanted to start the game or delete all the resolution/fullscreen settings from the options.txt file. Now I can launch the game without crash... but only in fullscreen :(
karakuroness Wednesday 10 December 2014 at 13:42
karakuroness Anonymous

Message

New issue with Hearthstone

http://fpdownload.macromedia.com/get/flashplayer/pdc/15.0.0.223 install_flash_player.exe

Error ! Files mismatch

Local : 511106cc6b79d7fff6e796566b024b96
Server : 2a3fa03719acdfab3998a489e95c2b65

Do you want to retry?

I visited the link and, surprise, 404 Not Found.

Replies

Anonymous
Wednesday 10 December 2014 at 16:38
I had the same issue but managed to install hearthstone anyway ignoring it (having flash installed by other ways anyway following this pipelight.net/cms/install/installation-ubuntu.html)
Anonymous
Thursday 11 December 2014 at 1:53
ELI5? xD i'm not a Linux guru. Can do anything you want in Windows but I'm still learning Linux. Like... I only just learned how to run an sh file >_>
Anonymous
Thursday 11 December 2014 at 3:33
This is an issue with the POL_Install_flashplayer function. I just submit an update for the function, but I have no clue how long it might take for that to get approved.
ttblue Friday 5 December 2014 at 20:51
ttblue Anonymous

Message

Hearthstone has been great so far through PlayonLinux. But I have a couple of issues with it. One being something which has persisted for a couple of months and the other is something which turned up right after the latest patch.

 

Old issue: My battlenet screen where I click "play" has had this weird visual bug for a while. Reinstalling doesn't quite fix it. But the buttons are still in the right places so I can still blindly click in approximate places to start the game. The game itself is fine.

 

 

 

 

 

 

 

 

 

 

 

 

 

New issue:

While playing the game, if I leave the screen and open another window, the game has another visual bug that makes it unplayable. The whole screen hangs, while the music and the game continues playing behind. I just noticed that the entire game is actually still displaying in a tiny window of around 20px by 20px at the top-left corner of the screen.

 

Please let me know if there's any way to fix these bugs! (Don't make me go back to windows... :( )

 

Replies

Anonymous
Friday 5 December 2014 at 20:53
Woops, the embedding of the image screwed up the text. Sorry for the excessive white-space!
Anonymous
Friday 5 December 2014 at 20:59
I have the same issue. It has to be related to recent HS update.
Anonymous
Monday 8 December 2014 at 8:20
recent HS update broke the game for me too. reinstall fixed it, but i m not able to change the video configuration. as soon as i change something in the ingame video configuration i get a short black screen and the game doesnt work anymore...
Monday 8 December 2014 at 11:47
The update triggers a bug in the Intel video drivers, the only known workaround is to disable hardware acceleration, but the game itself cannot be played that way, so it must not be launched from the updater... No easy fix
Anonymous
Wednesday 17 December 2014 at 18:59
I have the same problem. I write my issue here: http://www.playonlinux.com/en/issue-4922.html
Anonymous
Wednesday 17 December 2014 at 19:00
If someone know a workaround i will apreciate it alot
Anonymous
Thursday 18 December 2014 at 10:12
I find a workaround! It took me a month to find it, so i'll share with you:
Anonymous
Thursday 18 December 2014 at 10:13
Go to Configure / Miscellaneous / "Command to exec before running the program" and put: export LIBGL_ALWAYS_SOFTWARE=1
Anonymous
Monday 29 December 2014 at 9:19
Thanks, it solves the graphic "distorsion" issue even if almost all the text doesn't appear on the buttons. Yet I assume due to no support from my GPU, it puts a lot of charge on my CPU resulting in lagging and slow graphics in the game
Anonymous
Sunday 4 January 2015 at 0:34
I have just found a solution for this. It's not a workaround, it really fixes this driver problem. I founded it on the wine forum. I don't know if it can be programmed on the script, but at least should be good to add it on the startup screen of the script.

Just update the intel drivers. On Ubuntu 14.04.1, open Software and updates, flange Other software, Add, and write "ppa:xorg-edgers/ppa". Then update your system and all will work fine.
Anonymous
Monday 2 March 2015 at 1:05
I still have a problem with launcher, anybody has a solution?
Anonymous
Tuesday 26 May 2015 at 22:25
*bump*
Anonymous
Tuesday 26 May 2015 at 22:26
I'm also getting the weird battle.net bug with the skewed menu items. Anyone found a fix for this?
andrepd Friday 5 December 2014 at 12:44
andrepd Anonymous

Message

This script has worked flawlessly so far, but after this update I am unable to start the game, as it crashes on startup with the message "Oops! The game crashed. The crash report folder named "..." next to the game executable. It would be great if you sent it to the devs" The contents of the files in that folder are here: http://pastebin.com/4C3vyBDb , http://pastebin.com/FM0RDBQ1 , http://pastebin.com/en5BAL6A .

It seems to have something to do with dbghelp, which is overridden to "disable" in Wine. Enabling it makes the Hearthstone app close on startup like before (which is why it's overriden in the first place). 

If you need anything else please let me know. Thanks for any help.

Replies

Anonymous
Wednesday 10 December 2014 at 16:42
This is a known issue by now. I managed to resolve it. Go to : /home/YOUR_USER/.PlayOnLinux/wineprefix/YOUR_WINE_DRIVE/drive_c/users/YOUR_USER/Local Settings/Application Data/Blizzard/Hearthstone/options.txt and delete the file. It seems to be an AMD issue. Graphic quality must be set to 1 or not being in the option.txt at all, and there must not be any graphicsheight= and graphicswidth= lines or otherwise it crash. One way to solve it is to put the option.txt on read-only once you launched hearthstone & having it as you want it seems to be an solution.
matiej Tuesday 25 November 2014 at 11:48
matiej Anonymous

Message

 

I start PlayOnLinux, click the "instal" button and procede with everything until...

It get's stuck here. I'm complete noob with Linux and it's first game I tried to instal with PlayOnLinux, so can't really find solution on my own, any help?

Replies

Anonymous
Monday 15 December 2014 at 17:50
This happened to me as well. The UI froze but the install was actually still running in the background (I could see progress notifications in the terminal). Once it finished I killed the launcher and on restart it was installed just fine.
andrepd Sunday 16 November 2014 at 15:39
andrepd Anonymous

Message

During install it complains that the local and server copies of flash have different checksums, then I got this message

Error in POL_Wine
Wine seems to have crashed

If your program is running, just ignore this message

All goes fine until the big Battle.net window opens after login. The window is white, but if I try to close it it asks to be minimized to system tray, so I would guess it is still working on downloading Hearthstone even though it has a white screen. The Program Files/Hearthstone folder on the PoL drive is 1.4Gb in size. I'll wait about one hour and then try and see if I can run the game after.

Replies

Anonymous
Sunday 16 November 2014 at 18:43
I've manually downloaded and installed flash player (v15 for Internet Explorer) manually on the hearthstone drive and tried to launch Hearthstone, the full screen goes black for 5 seconds or so then crashes back to desktop and battle.net opens, still white screen.
Anonymous
Sunday 4 January 2015 at 0:35
I have just found a solution for this. It's not a workaround, it really fixes this driver problem. I founded it on the wine forum. I don't know if it can be programmed on the script, but at least should be good to add it on the startup screen of the script.

Just update the intel drivers. On Ubuntu 14.04.1, open Software and updates, flange Other software, Add, and write "ppa:xorg-edgers/ppa". Then update your system and all will work fine.
z3Kr0w Monday 10 November 2014 at 5:48
z3Kr0w Anonymous

Message

Run flawlessly with PlayOnLinux pluggin "Script Creator" on Ubuntu 14.10 64 bits.

Intel® Core™ i7 CPU Q 740 @ 1.73GHz × 8
Ati Mobility Radeon HD 5870
10 Gigs RAM
HDD Samsung SDD 500Gs

Replies

rincondelgabo Friday 7 November 2014 at 9:21
rincondelgabo Anonymous

Message

Hi, i'm using Ubuntu 14.04 and Playonlinux 4.2.5 from the official repositories from this web. Battle.net and Heartstone install correctly, but when i launch Hearthstone for first time, the Battle.net launcher looks like a mirror, all the image is upside down and i can't select the play option. It happens on Ubuntu 12.04 and Mint 17 and 13. And with Playonlinux 4.0.5 as well. The script works awesome until the las few months. Somebody knows if there is a patch on way or a workaround for this bug? I hope somebody can help me, i think more people is having this throuble. Thanks!

Replies

Friday 7 November 2014 at 13:34
Do you have a Intel HD graphic? If yes, check to force the second GPU. If you don't have a second GPU, good luck (button are in place, only the visual is broken). Sorry
Monday 10 November 2014 at 7:35
Hi,
Monday 10 November 2014 at 7:40
Hi, I have and intel GPU. The game installed and is playable though the play on linux installer is in Please wait... state. My hardware spec is http://paste.opensuse.org/8605204. The situation looks like on this screenshot http://paste.opensuse.org/8576604. I'm running openSUSE 13.1 and play on linux 4.2.5.
Anonymous
Sunday 4 January 2015 at 0:35
I have just found a solution for this. It's not a workaround, it really fixes this driver problem. I founded it on the wine forum. I don't know if it can be programmed on the script, but at least should be good to add it on the startup screen of the script.

Just update the intel drivers. On Ubuntu 14.04.1, open Software and updates, flange Other software, Add, and write "ppa:xorg-edgers/ppa". Then update your system and all will work fine.
shikaruko Monday 27 October 2014 at 22:28
shikaruko Anonymous

Message

Strange blackscreen on Mint 17 for battlenet

Replies

Anonymous
Sunday 4 January 2015 at 0:36
I have just found a solution for this. It's not a workaround, it really fixes this driver problem. I founded it on the wine forum. I don't know if it can be programmed on the script, but at least should be good to add it on the startup screen of the script.

Just update the intel drivers. On Ubuntu 14.04.1, open Software and updates, flange Other software, Add, and write "ppa:xorg-edgers/ppa". Then update your system and all will work fine.
Anonymous
Tuesday 24 March 2015 at 21:51
http://hpics.li/632af41 this is the 'blackscreen' that i get
bhouba Monday 27 October 2014 at 16:27
bhouba Anonymous

Message

ok like a charm on kubuntu 14.04 64 bits .

Thanks a lot !

Replies

stylou Monday 20 October 2014 at 13:10
stylou

Message

Installation et utilisation OK sous ubuntu 14.04

Replies

cgarlock Thursday 2 October 2014 at 21:57
cgarlock Anonymous

Message

This was working fine, but after yesterday (Oct 1 2014) the battle.net launcher comes up and all I see is a white box under the 'battle.net' title bar.

Replies

Anonymous
Friday 3 October 2014 at 10:46
Same Here, I'm on debian wheezy, with PoL 4.2.2.
Anonymous
Friday 3 October 2014 at 10:54
Ok sorry find this http://www.playonlinux.com/en/issue-4885.html the issue is already open
Anonymous
Sunday 4 January 2015 at 0:36
I have just found a solution for this. It's not a workaround, it really fixes this driver problem. I founded it on the wine forum. I don't know if it can be programmed on the script, but at least should be good to add it on the startup screen of the script.

Just update the intel drivers. On Ubuntu 14.04.1, open Software and updates, flange Other software, Add, and write "ppa:xorg-edgers/ppa". Then update your system and all will work fine.
HWHank Friday 19 September 2014 at 12:09
HWHank Anonymous

Message

After it's trying to install Flashplayer, I get the following error message:

Error in POL_Wine
Wine seems to have crashed

If your program is running, just ignore this message

That also happens when I install it manually. Hearthstone installs correctly, but I can't open it!

Replies

m1kc Friday 29 August 2014 at 16:50
m1kc

Warning

This update has not been approved yet by the team.
Use it at your own risk

Message

The same, but language names are now written using Latin characters.

Differences

@@ -1,14 +1,14 @@
 #!/bin/bash
 # Date : 2014-02-08 14:54
-# Last revision : 2014-07-30 19:54
+# Last revision : 2014-08-28 20:30
 # Wine version used : 1.6.2, 1.7.15
-# Distribution used to test : Ubuntu 13.10 x64, Debian Jessie
-# Author : kweepeer2
-# Depend : 
+# Distribution used to test : Ubuntu 13.10 x64, Debian Jessie, Arch Linux
+# Author : kweepeer2, m1kc
+# Depend :
 
 [ "$PLAYONLINUX" = "" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
- 
+
 TITLE="Hearthstone"
 PREFIX="hearthstone"
 
@@ -23,11 +23,11 @@
 # http://appdb.winehq.org/objectManager.php?sClass=version&iId=29747
 POL_Wine_OverrideDLL "disabled" "dbghelp"
 POL_Wine_OverrideDLL "native,builtin" "msvcp100"
- 
+
 # Download & Install the game.
 # Multiple Language support. See https://eu.battle.net/account/download/?show=hearthstone&style=hearthstone
 POL_SetupWindow_menu "$(eval_gettext 'What language do you want to install?')" "Language Selection" \
-    "English (US)|Español (AL)|Português (BR)|English (EU)|Deutsch|Español(EU)|Português (EU)|Français|???????|Italiano|Polski|???|????|????" "|"
+    "English (US)|Español (AL)|Português (BR)|English (EU)|Deutsch|Español (EU)|Português (EU)|Français|Russian|Italiano|Polski|Korean|Chinese (Taiwan)|Chinese (China)" "|"
 case "$APP_ANSWER" in
     "English (US)")
         EXE_FILE="Hearthstone-Setup-enUS.exe";;
@@ -39,23 +39,23 @@
         EXE_FILE="Hearthstone-Setup-enGB.exe";;
     "Deutsch")
         EXE_FILE="Hearthstone-Setup-deDE.exe";;
-    "Español(EU)")
+    "Español (EU)")
         EXE_FILE="Hearthstone-Setup-esES.exe";;
     "Português (EU)")
         EXE_FILE="Hearthstone-Setup-ptPT.exe";;
     "Français")
         EXE_FILE="Hearthstone-Setup-frFR.exe";;
-    "???????")
+    "Russian")
         EXE_FILE="Hearthstone-Setup-ruRU.exe";;
     "Italiano")
         EXE_FILE="Hearthstone-Setup-itIT.exe";;
     "Polski")
         EXE_FILE="Hearthstone-Setup-plPL.exe";;
-    "???")
+    "Korean")
         EXE_FILE="Hearthstone-Setup-koKR.exe";;
-    "????")
+    "Chinese (Taiwan)")
         EXE_FILE="Hearthstone-Setup-zhTW.exe";;
-    "????")
+    "Chinese (China)")
         EXE_FILE="Hearthstone-Setup-zhCN.exe";;
     *)
         exit 1;;
@@ -66,6 +66,7 @@
 POL_Download "http://dist.blizzard.com/downloads/hs-installers/a6029a1d625c79252defff3914fb6e67/retail.1/${EXE_FILE}"
 POL_SetupWindow_wait "$(eval_gettext 'Please wait while $TITLE is installed.')" "$TITLE"
 POL_Wine "$POL_System_TmpDir/${EXE_FILE}"
+POL_Wine_WaitExit
 POL_System_TmpDelete
 
 POL_SetupWindow_VMS "64"
@@ -74,4 +75,4 @@
 POL_Shortcut "Battle.net Launcher.exe" "$TITLE" "$TITLE.png" ""
 POL_SetupWindow_Close
 
-exit 0
\ No newline at end of file
+exit 0

New source code

#!/bin/bash
# Date : 2014-02-08 14:54
# Last revision : 2014-08-28 20:30
# Wine version used : 1.6.2, 1.7.15
# Distribution used to test : Ubuntu 13.10 x64, Debian Jessie, Arch Linux
# Author : kweepeer2, m1kc
# Depend :

[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"

TITLE="Hearthstone"
PREFIX="hearthstone"

POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE"
POL_SetupWindow_Init
POL_SetupWindow_presentation "$TITLE" "Blizzard" "http://us.battle.net/hearthstone/en/" "kweepeer2" "$PREFIX"
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "1.7.15"

# Might not be needed but seen several reports that said it was needed for them to install B.net client
POL_Call POL_Install_flashplayer
# http://appdb.winehq.org/objectManager.php?sClass=version&iId=29747
POL_Wine_OverrideDLL "disabled" "dbghelp"
POL_Wine_OverrideDLL "native,builtin" "msvcp100"

# Download & Install the game.
# Multiple Language support. See https://eu.battle.net/account/download/?show=hearthstone&style=hearthstone
POL_SetupWindow_menu "$(eval_gettext 'What language do you want to install?')" "Language Selection" \
    "English (US)|Español (AL)|Português (BR)|English (EU)|Deutsch|Español (EU)|Português (EU)|Français|Russian|Italiano|Polski|Korean|Chinese (Taiwan)|Chinese (China)" "|"
case "$APP_ANSWER" in
    "English (US)")
        EXE_FILE="Hearthstone-Setup-enUS.exe";;
    "Español (AL)")
        EXE_FILE="Hearthstone-Setup-esMX.exe";;
    "Português (BR)")
        EXE_FILE="Hearthstone-Setup-ptBR.exe";;
    "English (EU)")
        EXE_FILE="Hearthstone-Setup-enGB.exe";;
    "Deutsch")
        EXE_FILE="Hearthstone-Setup-deDE.exe";;
    "Español (EU)")
        EXE_FILE="Hearthstone-Setup-esES.exe";;
    "Português (EU)")
        EXE_FILE="Hearthstone-Setup-ptPT.exe";;
    "Français")
        EXE_FILE="Hearthstone-Setup-frFR.exe";;
    "Russian")
        EXE_FILE="Hearthstone-Setup-ruRU.exe";;
    "Italiano")
        EXE_FILE="Hearthstone-Setup-itIT.exe";;
    "Polski")
        EXE_FILE="Hearthstone-Setup-plPL.exe";;
    "Korean")
        EXE_FILE="Hearthstone-Setup-koKR.exe";;
    "Chinese (Taiwan)")
        EXE_FILE="Hearthstone-Setup-zhTW.exe";;
    "Chinese (China)")
        EXE_FILE="Hearthstone-Setup-zhCN.exe";;
    *)
        exit 1;;
esac

POL_System_TmpCreate "$PREFIX"
cd "$POL_System_TmpDir"
POL_Download "http://dist.blizzard.com/downloads/hs-installers/a6029a1d625c79252defff3914fb6e67/retail.1/${EXE_FILE}"
POL_SetupWindow_wait "$(eval_gettext 'Please wait while $TITLE is installed.')" "$TITLE"
POL_Wine "$POL_System_TmpDir/${EXE_FILE}"
POL_Wine_WaitExit
POL_System_TmpDelete

POL_SetupWindow_VMS "64"
POL_Wine_reboot

POL_Shortcut "Battle.net Launcher.exe" "$TITLE" "$TITLE.png" ""
POL_SetupWindow_Close

exit 0

Replies

Anonymous
Thursday 4 September 2014 at 2:24
Error in POL_Shortcut
Binary not found: Battle.net Launcher.exe
Have you installed the program to the default location?
Anonymous
Thursday 4 September 2014 at 2:25
that was during the install
Anonymous
Thursday 4 September 2014 at 21:59
same error here : I had to manually download and execute the hearthstone-setup-xxx.exe in configure-->hearthstone-->misc-->launch exe...
Anonymous
Friday 5 September 2014 at 3:23
Having the same problem as with the older script. Gets to installing Battle.net 53% and then hangs. Ubuntu 14.04.
Thursday 18 September 2014 at 20:08
@jerefefoufou damm it man , u solve it! gg wp
m1kc Friday 29 August 2014 at 16:42
m1kc

Warning

This update has not been approved yet by the team.
Use it at your own risk

Message

Slightly improved the script: fixed the string for "Russian" and added POL_Wine_WaitExit call 'cause POL tried to delete temp folder when installer is still running.

The game works fine, with no crashes and acceptable performance.

Differences

@@ -1,14 +1,14 @@
 #!/bin/bash
 # Date : 2014-02-08 14:54
-# Last revision : 2014-07-30 19:54
+# Last revision : 2014-08-28 20:30
 # Wine version used : 1.6.2, 1.7.15
-# Distribution used to test : Ubuntu 13.10 x64, Debian Jessie
-# Author : kweepeer2
-# Depend : 
+# Distribution used to test : Ubuntu 13.10 x64, Debian Jessie, Arch Linux
+# Author : kweepeer2, m1kc
+# Depend :
 
 [ "$PLAYONLINUX" = "" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
- 
+
 TITLE="Hearthstone"
 PREFIX="hearthstone"
 
@@ -23,11 +23,11 @@
 # http://appdb.winehq.org/objectManager.php?sClass=version&iId=29747
 POL_Wine_OverrideDLL "disabled" "dbghelp"
 POL_Wine_OverrideDLL "native,builtin" "msvcp100"
- 
+
 # Download & Install the game.
 # Multiple Language support. See https://eu.battle.net/account/download/?show=hearthstone&style=hearthstone
 POL_SetupWindow_menu "$(eval_gettext 'What language do you want to install?')" "Language Selection" \
-    "English (US)|Español (AL)|Português (BR)|English (EU)|Deutsch|Español(EU)|Português (EU)|Français|???????|Italiano|Polski|???|????|????" "|"
+    "English (US)|Español (AL)|Português (BR)|English (EU)|Deutsch|Español (EU)|Português (EU)|Français|???????|Italiano|Polski|???|????|????" "|"
 case "$APP_ANSWER" in
     "English (US)")
         EXE_FILE="Hearthstone-Setup-enUS.exe";;
@@ -39,13 +39,13 @@
         EXE_FILE="Hearthstone-Setup-enGB.exe";;
     "Deutsch")
         EXE_FILE="Hearthstone-Setup-deDE.exe";;
-    "Español(EU)")
+    "Español (EU)")
         EXE_FILE="Hearthstone-Setup-esES.exe";;
     "Português (EU)")
         EXE_FILE="Hearthstone-Setup-ptPT.exe";;
     "Français")
         EXE_FILE="Hearthstone-Setup-frFR.exe";;
-    "???????")
+    "???????")
         EXE_FILE="Hearthstone-Setup-ruRU.exe";;
     "Italiano")
         EXE_FILE="Hearthstone-Setup-itIT.exe";;
@@ -66,6 +66,7 @@
 POL_Download "http://dist.blizzard.com/downloads/hs-installers/a6029a1d625c79252defff3914fb6e67/retail.1/${EXE_FILE}"
 POL_SetupWindow_wait "$(eval_gettext 'Please wait while $TITLE is installed.')" "$TITLE"
 POL_Wine "$POL_System_TmpDir/${EXE_FILE}"
+POL_Wine_WaitExit
 POL_System_TmpDelete
 
 POL_SetupWindow_VMS "64"
@@ -74,4 +75,4 @@
 POL_Shortcut "Battle.net Launcher.exe" "$TITLE" "$TITLE.png" ""
 POL_SetupWindow_Close
 
-exit 0
\ No newline at end of file
+exit 0

New source code

#!/bin/bash
# Date : 2014-02-08 14:54
# Last revision : 2014-08-28 20:30
# Wine version used : 1.6.2, 1.7.15
# Distribution used to test : Ubuntu 13.10 x64, Debian Jessie, Arch Linux
# Author : kweepeer2, m1kc
# Depend :

[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"

TITLE="Hearthstone"
PREFIX="hearthstone"

POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE"
POL_SetupWindow_Init
POL_SetupWindow_presentation "$TITLE" "Blizzard" "http://us.battle.net/hearthstone/en/" "kweepeer2" "$PREFIX"
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "1.7.15"

# Might not be needed but seen several reports that said it was needed for them to install B.net client
POL_Call POL_Install_flashplayer
# http://appdb.winehq.org/objectManager.php?sClass=version&iId=29747
POL_Wine_OverrideDLL "disabled" "dbghelp"
POL_Wine_OverrideDLL "native,builtin" "msvcp100"

# Download & Install the game.
# Multiple Language support. See https://eu.battle.net/account/download/?show=hearthstone&style=hearthstone
POL_SetupWindow_menu "$(eval_gettext 'What language do you want to install?')" "Language Selection" \
    "English (US)|Español (AL)|Português (BR)|English (EU)|Deutsch|Español (EU)|Português (EU)|Français|???????|Italiano|Polski|???|????|????" "|"
case "$APP_ANSWER" in
    "English (US)")
        EXE_FILE="Hearthstone-Setup-enUS.exe";;
    "Español (AL)")
        EXE_FILE="Hearthstone-Setup-esMX.exe";;
    "Português (BR)")
        EXE_FILE="Hearthstone-Setup-ptBR.exe";;
    "English (EU)")
        EXE_FILE="Hearthstone-Setup-enGB.exe";;
    "Deutsch")
        EXE_FILE="Hearthstone-Setup-deDE.exe";;
    "Español (EU)")
        EXE_FILE="Hearthstone-Setup-esES.exe";;
    "Português (EU)")
        EXE_FILE="Hearthstone-Setup-ptPT.exe";;
    "Français")
        EXE_FILE="Hearthstone-Setup-frFR.exe";;
    "???????")
        EXE_FILE="Hearthstone-Setup-ruRU.exe";;
    "Italiano")
        EXE_FILE="Hearthstone-Setup-itIT.exe";;
    "Polski")
        EXE_FILE="Hearthstone-Setup-plPL.exe";;
    "???")
        EXE_FILE="Hearthstone-Setup-koKR.exe";;
    "????")
        EXE_FILE="Hearthstone-Setup-zhTW.exe";;
    "????")
        EXE_FILE="Hearthstone-Setup-zhCN.exe";;
    *)
        exit 1;;
esac

POL_System_TmpCreate "$PREFIX"
cd "$POL_System_TmpDir"
POL_Download "http://dist.blizzard.com/downloads/hs-installers/a6029a1d625c79252defff3914fb6e67/retail.1/${EXE_FILE}"
POL_SetupWindow_wait "$(eval_gettext 'Please wait while $TITLE is installed.')" "$TITLE"
POL_Wine "$POL_System_TmpDir/${EXE_FILE}"
POL_Wine_WaitExit
POL_System_TmpDelete

POL_SetupWindow_VMS "64"
POL_Wine_reboot

POL_Shortcut "Battle.net Launcher.exe" "$TITLE" "$TITLE.png" ""
POL_SetupWindow_Close

exit 0

Replies

Friday 29 August 2014 at 16:45
Hmmm, looks like that POL website kills any non-Latin symbols.
kweepeer2 Wednesday 30 July 2014 at 21:01
kweepeer2 Anonymous

Warning

This update has not been approved yet by the team.
Use it at your own risk

Differences

@@ -1,17 +1,14 @@
 #!/bin/bash
 # Date : 2014-02-08 14:54
-# Last revision : 2014-03-29 18:04
+# Last revision : 2014-07-30 19:54
 # Wine version used : 1.6.2, 1.7.15
-# Distribution used to test : Ubuntu 13.10 x64
+# Distribution used to test : Ubuntu 13.10 x64, Debian Jessie
 # Author : kweepeer2
-# Depend :
-
-# Known Issues :
-# - (Wine Bug 33943) Battle.net client dropdown menus won't appear until you hover over them.
+# Depend : 
 
 [ "$PLAYONLINUX" = "" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
-
+ 
 TITLE="Hearthstone"
 PREFIX="hearthstone"
 
@@ -21,55 +18,60 @@
 POL_Wine_SelectPrefix "$PREFIX"
 POL_Wine_PrefixCreate "1.7.15"
 
+# Might not be needed but seen several reports that said it was needed for them to install B.net client
+POL_Call POL_Install_flashplayer
+# http://appdb.winehq.org/objectManager.php?sClass=version&iId=29747
+POL_Wine_OverrideDLL "disabled" "dbghelp"
+POL_Wine_OverrideDLL "native,builtin" "msvcp100"
+ 
 # Download & Install the game.
 # Multiple Language support. See https://eu.battle.net/account/download/?show=hearthstone&style=hearthstone
 POL_SetupWindow_menu "$(eval_gettext 'What language do you want to install?')" "Language Selection" \
     "English (US)|Español (AL)|Português (BR)|English (EU)|Deutsch|Español(EU)|Português (EU)|Français|???????|Italiano|Polski|???|????|????" "|"
 case "$APP_ANSWER" in
     "English (US)")
-        DOWNLOAD_LINK="http://dist.blizzard.com/downloads/hs-installers/a6029a1d625c79252defff3914fb6e67/retail.1/Hearthstone-Setup-enUS.exe";;
+        EXE_FILE="Hearthstone-Setup-enUS.exe";;
     "Español (AL)")
-        DOWNLOAD_LINK="http://dist.blizzard.com/downloads/hs-installers/a6029a1d625c79252defff3914fb6e67/retail.1/Hearthstone-Setup-esMX.exe";;
+        EXE_FILE="Hearthstone-Setup-esMX.exe";;
     "Português (BR)")
-        DOWNLOAD_LINK="http://dist.blizzard.com/downloads/hs-installers/a6029a1d625c79252defff3914fb6e67/retail.1/Hearthstone-Setup-ptBR.exe";;
+        EXE_FILE="Hearthstone-Setup-ptBR.exe";;
     "English (EU)")
-        DOWNLOAD_LINK="http://dist.blizzard.com/downloads/hs-installers/a6029a1d625c79252defff3914fb6e67/retail.1/Hearthstone-Setup-enGB.exe";;
+        EXE_FILE="Hearthstone-Setup-enGB.exe";;
     "Deutsch")
-        DOWNLOAD_LINK="http://dist.blizzard.com/downloads/hs-installers/a6029a1d625c79252defff3914fb6e67/retail.1/Hearthstone-Setup-deDE.exe";;
+        EXE_FILE="Hearthstone-Setup-deDE.exe";;
     "Español(EU)")
-        DOWNLOAD_LINK="http://dist.blizzard.com/downloads/hs-installers/a6029a1d625c79252defff3914fb6e67/retail.1/Hearthstone-Setup-esES.exe";;
+        EXE_FILE="Hearthstone-Setup-esES.exe";;
     "Português (EU)")
-        DOWNLOAD_LINK="http://dist.blizzard.com/downloads/hs-installers/a6029a1d625c79252defff3914fb6e67/retail.1/Hearthstone-Setup-ptPT.exe";;
+        EXE_FILE="Hearthstone-Setup-ptPT.exe";;
     "Français")
-        DOWNLOAD_LINK="http://dist.blizzard.com/downloads/hs-installers/a6029a1d625c79252defff3914fb6e67/retail.1/Hearthstone-Setup-frFR.exe";;
+        EXE_FILE="Hearthstone-Setup-frFR.exe";;
     "???????")
-        DOWNLOAD_LINK="http://dist.blizzard.com/downloads/hs-installers/a6029a1d625c79252defff3914fb6e67/retail.1/Hearthstone-Setup-ruRU.exe";;
+        EXE_FILE="Hearthstone-Setup-ruRU.exe";;
     "Italiano")
-        DOWNLOAD_LINK="http://dist.blizzard.com/downloads/hs-installers/a6029a1d625c79252defff3914fb6e67/retail.1/Hearthstone-Setup-itIT.exe";;
+        EXE_FILE="Hearthstone-Setup-itIT.exe";;
     "Polski")
-        DOWNLOAD_LINK="http://dist.blizzard.com/downloads/hs-installers/a6029a1d625c79252defff3914fb6e67/retail.1/Hearthstone-Setup-plPL.exe";;
+        EXE_FILE="Hearthstone-Setup-plPL.exe";;
     "???")
-        DOWNLOAD_LINK="http://dist.blizzard.com/downloads/hs-installers/a6029a1d625c79252defff3914fb6e67/retail.1/Hearthstone-Setup-koKR.exe";;
+        EXE_FILE="Hearthstone-Setup-koKR.exe";;
     "????")
-        DOWNLOAD_LINK="http://dist.blizzard.com/downloads/hs-installers/a6029a1d625c79252defff3914fb6e67/retail.1/Hearthstone-Setup-zhTW.exe";;
+        EXE_FILE="Hearthstone-Setup-zhTW.exe";;
     "????")
-        DOWNLOAD_LINK="http://dist.blizzard.com/downloads/hs-installers/a6029a1d625c79252defff3914fb6e67/retail.1/Hearthstone-Setup-zhCN.exe";;
+        EXE_FILE="Hearthstone-Setup-zhCN.exe";;
     *)
         exit 1;;
 esac
 
 POL_System_TmpCreate "$PREFIX"
 cd "$POL_System_TmpDir"
-POL_Download "$DOWNLOAD_LINK"
+POL_Download "http://dist.blizzard.com/downloads/hs-installers/a6029a1d625c79252defff3914fb6e67/retail.1/${EXE_FILE}"
 POL_SetupWindow_wait "$(eval_gettext 'Please wait while $TITLE is installed.')" "$TITLE"
-EXE_FILE="${DOWNLOAD_LINK##*/}" # Get everything after last slash.
 POL_Wine "$POL_System_TmpDir/${EXE_FILE}"
 POL_System_TmpDelete
 
 POL_SetupWindow_VMS "64"
 POL_Wine_reboot
 
-POL_Shortcut "Battle.net.exe" "$TITLE" "$TITLE.png" ""
+POL_Shortcut "Battle.net Launcher.exe" "$TITLE" "$TITLE.png" ""
 POL_SetupWindow_Close
 
 exit 0
\ No newline at end of file

New source code

#!/bin/bash
# Date : 2014-02-08 14:54
# Last revision : 2014-07-30 19:54
# Wine version used : 1.6.2, 1.7.15
# Distribution used to test : Ubuntu 13.10 x64, Debian Jessie
# Author : kweepeer2
# Depend : 

[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="Hearthstone"
PREFIX="hearthstone"

POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE"
POL_SetupWindow_Init
POL_SetupWindow_presentation "$TITLE" "Blizzard" "http://us.battle.net/hearthstone/en/" "kweepeer2" "$PREFIX"
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "1.7.15"

# Might not be needed but seen several reports that said it was needed for them to install B.net client
POL_Call POL_Install_flashplayer
# http://appdb.winehq.org/objectManager.php?sClass=version&iId=29747
POL_Wine_OverrideDLL "disabled" "dbghelp"
POL_Wine_OverrideDLL "native,builtin" "msvcp100"
 
# Download & Install the game.
# Multiple Language support. See https://eu.battle.net/account/download/?show=hearthstone&style=hearthstone
POL_SetupWindow_menu "$(eval_gettext 'What language do you want to install?')" "Language Selection" \
    "English (US)|Español (AL)|Português (BR)|English (EU)|Deutsch|Español(EU)|Português (EU)|Français|???????|Italiano|Polski|???|????|????" "|"
case "$APP_ANSWER" in
    "English (US)")
        EXE_FILE="Hearthstone-Setup-enUS.exe";;
    "Español (AL)")
        EXE_FILE="Hearthstone-Setup-esMX.exe";;
    "Português (BR)")
        EXE_FILE="Hearthstone-Setup-ptBR.exe";;
    "English (EU)")
        EXE_FILE="Hearthstone-Setup-enGB.exe";;
    "Deutsch")
        EXE_FILE="Hearthstone-Setup-deDE.exe";;
    "Español(EU)")
        EXE_FILE="Hearthstone-Setup-esES.exe";;
    "Português (EU)")
        EXE_FILE="Hearthstone-Setup-ptPT.exe";;
    "Français")
        EXE_FILE="Hearthstone-Setup-frFR.exe";;
    "???????")
        EXE_FILE="Hearthstone-Setup-ruRU.exe";;
    "Italiano")
        EXE_FILE="Hearthstone-Setup-itIT.exe";;
    "Polski")
        EXE_FILE="Hearthstone-Setup-plPL.exe";;
    "???")
        EXE_FILE="Hearthstone-Setup-koKR.exe";;
    "????")
        EXE_FILE="Hearthstone-Setup-zhTW.exe";;
    "????")
        EXE_FILE="Hearthstone-Setup-zhCN.exe";;
    *)
        exit 1;;
esac

POL_System_TmpCreate "$PREFIX"
cd "$POL_System_TmpDir"
POL_Download "http://dist.blizzard.com/downloads/hs-installers/a6029a1d625c79252defff3914fb6e67/retail.1/${EXE_FILE}"
POL_SetupWindow_wait "$(eval_gettext 'Please wait while $TITLE is installed.')" "$TITLE"
POL_Wine "$POL_System_TmpDir/${EXE_FILE}"
POL_System_TmpDelete

POL_SetupWindow_VMS "64"
POL_Wine_reboot

POL_Shortcut "Battle.net Launcher.exe" "$TITLE" "$TITLE.png" ""
POL_SetupWindow_Close

exit 0

Replies

mir Friday 18 July 2014 at 3:52
mir Anonymous

Message

Keep getting "battle.net agent went to sleep"  when the battle.net agent starts.

Blizzard support said to try removing the agent.db file, which I did, but still no luck.

Replies

Anonymous
Thursday 4 September 2014 at 19:40
Try to start the "installation file" of Battle.net, it will start
Trynight Sunday 13 July 2014 at 14:53
Trynight Anonymous

Message

Works very well!

I used this libraries with wine 1.7.15:

-wininet

-atl100

-atl90

-d3dx9_36

-d3dx9_43
-dgbhelp (disabled)
-msvcp100

-msvcr100

And if you get error in the Battle.net launcher, install Adobe Flash Player!

(Image of the game: http://t.co/XGT88o6pCr )

Replies

Thursday 18 September 2014 at 19:28
dats my problem i cannot install flash player WIN POL error
gnegnelino Tuesday 24 June 2014 at 16:32
gnegnelino

Message

Processor: 4x Intel Core Quad Q9400 2.66GHz

Memory: 4049MB

OS: Ubuntu 12.04.4 LTS

OpenGL: GeForce 9800GT

 

Installation Ok

When Hearthstone start, it crash in charging window. frown

Replies