Hearthstone

Informations

Créateur Messages
kweepeer2 Anonymous

Attention

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

Informations

Plate-formes :
Téléchargements : 525247
Wine: 4.0.4

Retours d'expérience

Description

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

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

Code source

#!/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:

Contribuer
Membre Messages
kmelia Mercredi 24 Février 2021 à 18:24
kmelia Anonymous

Messages

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

Réponses

Edité par kmelia

Dick Tracy Lundi 28 Décembre 2020 à 23:12
Dick Tracy Anonymous

Messages

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.

Réponses

Dadu042 Dimanche 1 Novembre 2020 à 18:18
Dadu042

Information

Cette mise à jour a été acceptée par l'équipe

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

Nouveau code source

#!/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

Réponses

Dadu042 Dimanche 1 Novembre 2020 à 17:04
Dadu042

Warning

Cette mise à jour n'a pas été approuvée par l'équipe.
Utilisez-la à vos risques et périls

Messages

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

Nouveau code source

#!/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

Réponses

lem0nade Dimanche 1 Novembre 2020 à 15:25
lem0nade Anonymous

Warning

Cette mise à jour n'a pas été approuvée par l'équipe.
Utilisez-la à vos risques et périls

Messages

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"
   

Nouveau code source

#!/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

Réponses

Dimanche 1 Novembre 2020 à 17:03
You are right, thanks.
Dadu042 Mercredi 13 Novembre 2019 à 15:51
Dadu042

Warning

Cette mise à jour n'a pas été approuvée par l'équipe.
Utilisez-la à vos risques et périls

Messages

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

Nouveau code source

#!/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

Réponses

Edité par Dadu042

Dadu042 Samedi 25 Mai 2019 à 0:58
Dadu042

Warning

Cette mise à jour n'a pas été approuvée par l'équipe.
Utilisez-la à vos risques et périls

Messages

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

Nouveau code source

#!/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

Réponses

Anonymous
Lundi 9 September 2019 à 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.
Mercredi 13 Novembre 2019 à 15:53
Note: The IE8 is issue is because the Install_IE8 script is 32bits, and your OS is 64 bits.

Edité par Dadu042

iArska Dimanche 28 Janvier 2018 à 0:39
iArska Anonymous

Warning

Cette mise à jour n'a pas été approuvée par l'équipe.
Utilisez-la à vos risques et périls

Messages

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

Nouveau code source

#!/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

Réponses

pashr Dimanche 24 September 2017 à 15:44
pashr Anonymous

Messages

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?

Réponses

Anonymous
Lundi 25 September 2017 à 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 Jeudi 21 September 2017 à 23:18
Oria Anonymous

Messages

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!

Réponses

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

Warning

Cette mise à jour n'a pas été approuvée par l'équipe.
Utilisez-la à vos risques et périls

Messages

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

Nouveau code source

#!/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

Réponses

Anonymous
Lundi 18 September 2017 à 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
Lundi 25 September 2017 à 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
Lundi 25 September 2017 à 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
Samedi 9 Décembre 2017 à 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 Mercredi 6 September 2017 à 17:01
kmelia Anonymous

Messages

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.

Réponses

sorawotobu Samedi 2 September 2017 à 21:01
sorawotobu Anonymous

Messages

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.

Réponses

Anonymous
Dimanche 3 September 2017 à 16:23
It works fine with 2.15-staging
Anonymous
Lundi 4 September 2017 à 2:59
Not for me.
Doc.C Mercredi 23 Aoüt 2017 à 8:33
Doc.C Anonymous

Messages

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.

Réponses

Anonymous
Mercredi 23 Aoüt 2017 à 23:03
I just tried this and it works. Thank you!
Anonymous
Jeudi 24 Aoüt 2017 à 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
Dimanche 3 September 2017 à 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
Lundi 4 September 2017 à 18:53
You should try with corefonts, vcrun2015, winxp
Anonymous
Mercredi 6 September 2017 à 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
Mercredi 6 September 2017 à 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
Mercredi 6 September 2017 à 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 Vendredi 18 Aoüt 2017 à 0:09
tanaydin Anonymous

Warning

Cette mise à jour n'a pas été approuvée par l'équipe.
Utilisez-la à vos risques et périls

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

Nouveau code source

#!/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

Réponses

Anonymous
Samedi 19 Aoüt 2017 à 9:38
Not working, crashes at install :(
tanaydin Jeudi 17 Aoüt 2017 à 23:24
tanaydin Anonymous

Warning

Cette mise à jour n'a pas été approuvée par l'équipe.
Utilisez-la à vos risques et périls

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

Nouveau code source

#!/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

Réponses

MaReeo Jeudi 17 Aoüt 2017 à 12:25
MaReeo Anonymous

Messages

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?

Réponses

Anonymous
Jeudi 17 Aoüt 2017 à 12:39
Tried @kmeila's script, not working either.
Arizs Mercredi 9 Aoüt 2017 à 8:36
Arizs Anonymous

Messages

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  

Réponses

Anonymous
Mercredi 9 Aoüt 2017 à 8:38
* "The application encountered an unexpecter error"
Picon Vendredi 21 Juillet 2017 à 13:39
Picon Anonymous

Messages

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)

Réponses

Anonymous
Vendredi 21 Juillet 2017 à 16:26
can you post your Debug logs? Are you sure @kmelia's script run successfully?
Anonymous
Vendredi 21 Juillet 2017 à 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
Vendredi 21 Juillet 2017 à 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
Samedi 22 Juillet 2017 à 11:54
did u install package "wine:i386" ?
Anonymous
Samedi 22 Juillet 2017 à 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
Dimanche 23 Juillet 2017 à 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
Dimanche 23 Juillet 2017 à 23:03
And the Launcher log, after installing firefox as well: https://pastebin.com/iVw6faqp
pashr Vendredi 14 Juillet 2017 à 11:36
pashr Anonymous

Messages

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

 

Réponses

Anonymous
Vendredi 14 Juillet 2017 à 11:53
Same here, but what alternative is there?
Anonymous
Vendredi 14 Juillet 2017 à 12:47
Update: Tried kmelia's script below, I have HearthStone up and running now.
Anonymous
Vendredi 14 Juillet 2017 à 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
Jeudi 20 Juillet 2017 à 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
Vendredi 21 Juillet 2017 à 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
Dimanche 23 Juillet 2017 à 21:16
@pashr did you apply any other library overrides? Could you please share your wine-related packages that you have installed?
pashr Jeudi 22 Juin 2017 à 13:26
pashr Anonymous

Messages

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? 

Réponses

Anonymous
Samedi 1 Juillet 2017 à 18:45
Hi, try my script below
dlee Vendredi 16 Juin 2017 à 5:09
dlee Anonymous

Messages

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

Réponses

Anonymous
Dimanche 23 Juillet 2017 à 21:17
Hi, did you eventually find a way out of that?
Vendredi 17 Mai 2019 à 4:36
http://wiki.playonlinux.com/index.php/How_to_Read_Debug_Logs

Edité par Dadu042

kmelia Mercredi 14 Juin 2017 à 12:41
kmelia Anonymous

Warning

Cette mise à jour n'a pas été approuvée par l'équipe.
Utilisez-la à vos risques et périls

Messages

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

Nouveau code source

#!/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

Réponses

Anonymous
Samedi 1 Juillet 2017 à 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
Samedi 1 Juillet 2017 à 18:45
@aitsu so you try my script?
Anonymous
Lundi 3 Juillet 2017 à 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
Vendredi 14 Juillet 2017 à 12:05
@kmelia I tried your script - looks like it worked for me.
Anonymous
Vendredi 14 Juillet 2017 à 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
Mardi 18 Juillet 2017 à 16:10
How do I install .NET 4.0 ?
Anonymous
Mardi 18 Juillet 2017 à 16:34
Im having this error:
Anonymous
Mardi 18 Juillet 2017 à 16:35
rundll32.exe - .NET Framework Initialization
Anonymous
Mercredi 19 Juillet 2017 à 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
Mercredi 19 Juillet 2017 à 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 Mardi 13 Juin 2017 à 18:22
kmelia Anonymous

Warning

Cette mise à jour n'a pas été approuvée par l'équipe.
Utilisez-la à vos risques et périls

Messages

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

Nouveau code source

#!/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

Réponses

andrikos Mercredi 7 Juin 2017 à 20:34
andrikos

Messages

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. :)

 

Réponses

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

Messages

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.

Réponses

EfficiencyVI Vendredi 2 Juin 2017 à 3:07
EfficiencyVI Anonymous

Messages

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?

Réponses

Anonymous
Vendredi 2 Juin 2017 à 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
Vendredi 2 Juin 2017 à 16:10
I'm having the exact same problem as EfficiencyVI, can someone help plz?
Vendredi 2 Juin 2017 à 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
Vendredi 2 Juin 2017 à 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:
Vendredi 2 Juin 2017 à 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
Samedi 3 Juin 2017 à 14:29
Did anyone find any other way to make the glitches stop? Tried everything you guys suggested but nothing works :/
Anonymous
Dimanche 4 Juin 2017 à 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
Dimanche 4 Juin 2017 à 19:57
thank you!!!
Mercredi 7 Juin 2017 à 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. :)
Jeudi 8 Juin 2017 à 6:35
@NuSuey Thanks, that solution also works in Linux (Ubuntu 16.04) with wine 1.9.18
Berserker Jeudi 1 Juin 2017 à 0:38
Berserker Anonymous

Messages

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

Réponses

Anonymous
Mercredi 7 Juin 2017 à 7:38
Yes, it was scaring me too but you can try "Win7" with win-2.9-staging.
Anonymous
Mercredi 7 Juin 2017 à 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 Samedi 29 Avril 2017 à 23:42
Bouzigouloum Anonymous

Messages

!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!!!

Réponses

Anonymous
Mardi 2 Mai 2017 à 2:40
Thank you!!!! I just tried this and it works!
Anonymous
Mardi 16 Mai 2017 à 14:08
Thanks!
DrannorPOL Mardi 18 Avril 2017 à 19:31
DrannorPOL Anonymous

Messages

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?

Réponses

Anonymous
Mercredi 19 Avril 2017 à 16:33
I'm having the same exact issue
Anonymous
Vendredi 21 Avril 2017 à 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
Vendredi 21 Avril 2017 à 23:43
I find the problem!!, try using wine version 2.5 and add the library vcruntime140 as Native, that solve it.
Anonymous
Lundi 24 Avril 2017 à 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 Mardi 4 Avril 2017 à 20:54
Tsumikitty

Messages

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

 

Réponses

Anonymous
Mardi 4 Avril 2017 à 21:11
I have same problem :c
Anonymous
Mardi 4 Avril 2017 à 22:04
I changed to wine 2.5 on configuration->geral->version(I had download it) and now everythings works!
Anonymous
Jeudi 6 Avril 2017 à 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
Jeudi 6 Avril 2017 à 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
Vendredi 7 Avril 2017 à 9:57
Installed Wine 2.5 and it worked, previously had 1.9.16
mardraze Dimanche 2 Avril 2017 à 15:18
mardraze Anonymous

Messages

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

Réponses

DEVV Mercredi 29 Mars 2017 à 10:31
DEVV Anonymous

Messages

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)

 

Réponses

sparxx Samedi 25 Mars 2017 à 3:10
sparxx Anonymous

Messages

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

Réponses

Famekki Jeudi 9 Février 2017 à 10:20
Famekki Anonymous

Messages

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.

Réponses

GeorgeCh Samedi 24 Décembre 2016 à 20:22
GeorgeCh Anonymous

Messages

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.

Réponses

RandmSpesfic Mardi 29 Novembre 2016 à 1:12
RandmSpesfic Anonymous

Messages

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

Réponses

RandmSpesfic Vendredi 18 Novembre 2016 à 16:16
RandmSpesfic Anonymous

Messages

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

Réponses

Anonymous
Vendredi 18 Novembre 2016 à 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
Vendredi 18 Novembre 2016 à 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
Vendredi 18 Novembre 2016 à 16:24
https://www.reddit.com/r/linux_gaming/comments/32u25q/battlenet_on_wine_not_working/
treePL Vendredi 4 Novembre 2016 à 15:07
treePL Anonymous

Messages

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

Réponses

amplustomp Mercredi 12 Octobre 2016 à 6:44
amplustomp Anonymous

Messages

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

Réponses

hunebku Mardi 11 Octobre 2016 à 21:37
hunebku Anonymous

Messages

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

Réponses

bbame55 Lundi 10 Octobre 2016 à 2:52
bbame55 Anonymous

Messages

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

Réponses

tfid Jeudi 8 September 2016 à 22:37
tfid Anonymous

Warning

Cette mise à jour n'a pas été approuvée par l'équipe.
Utilisez-la à vos risques et périls

Messages

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

Nouveau code source

#!/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

Réponses

Anonymous
Mardi 13 September 2016 à 19:08
Thank you! Finally back
Vendredi 16 September 2016 à 13:59
I got Battle.net Helper error.
Anonymous
Samedi 17 September 2016 à 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
Lundi 21 Novembre 2016 à 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
Lundi 28 Novembre 2016 à 9:27
TatarUrs I had the same problem. Try to change default install location to somewhere else within the virtual drive_C
kweepeer2 Dimanche 7 Aoüt 2016 à 14:04
kweepeer2 Anonymous

Warning

Cette mise à jour n'a pas été approuvée par l'équipe.
Utilisez-la à vos risques et périls

Messages

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

Nouveau code source

#!/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

Réponses

Anonymous
Mardi 9 Aoüt 2016 à 19:38
I have just installed hearthstone using this new updated script and I get the "Battle.net Helper.exe" error.
Anonymous
Mardi 9 Aoüt 2016 à 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
Mardi 9 Aoüt 2016 à 19:50
I solved it by using winetricks to install vcrun2015. The game works now.
Anonymous
Mardi 9 Aoüt 2016 à 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
Vendredi 2 September 2016 à 21:56
hello
Anonymous
Vendredi 2 September 2016 à 21:57
same for me ! Didn't work with 1.9.17 without installing vcrun2015 with winetriks
MineElectricity Jeudi 28 Juillet 2016 à 1:40
MineElectricity Anonymous

Messages

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

Réponses

Anonymous
Jeudi 28 Juillet 2016 à 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
Jeudi 28 Juillet 2016 à 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
Jeudi 28 Juillet 2016 à 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
Jeudi 28 Juillet 2016 à 22:55
Okai, thx, You saved me 150 golds x')
Anonymous
Samedi 30 Juillet 2016 à 0:18
I can launch battle.net but now I neither can log in x')
Anonymous
Lundi 1 Aoüt 2016 à 10:15
Yeah, thanks for the quick fix and posting it here!
Anonymous
Jeudi 4 Aoüt 2016 à 3:48
yeah, no login button for me. just blue swirly
drdillio Mercredi 13 Juillet 2016 à 9:09
drdillio Anonymous

Messages

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!

Réponses

Anonymous
Vendredi 15 Juillet 2016 à 9:14
Mac has native version, no need to use this script. See http://playhearthstone.com
sbrdste Lundi 11 Juillet 2016 à 12:33
sbrdste Anonymous

Messages

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

Réponses

Anonymous
Vendredi 15 Juillet 2016 à 0:12
Have you found a solution of this Problem, because i have the same problem that i can't login.
Anonymous
Vendredi 15 Juillet 2016 à 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 Jeudi 30 Juin 2016 à 0:27
moss Anonymous

Messages

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?

Réponses

Anonymous
Vendredi 15 Juillet 2016 à 9:21
You probably don't have the MS fonts. From appdb notes :
Anonymous
Vendredi 15 Juillet 2016 à 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 Samedi 11 Juin 2016 à 0:39
RobinHood16 Anonymous

Messages

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").

Réponses

Anonymous
Mercredi 15 Juin 2016 à 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
Lundi 29 Aoüt 2016 à 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 Mardi 24 Mai 2016 à 21:43
kweepeer2 Anonymous

Warning

Cette mise à jour n'a pas été approuvée par l'équipe.
Utilisez-la à vos risques et périls

Messages

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

Nouveau code source

#!/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

Réponses

Anonymous
Dimanche 29 Mai 2016 à 15:59
Works like a charm! Thx!
Sleize Jeudi 14 Avril 2016 à 21:32
Sleize Anonymous

Messages

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

Réponses

Osveron Mardi 5 Avril 2016 à 11:34
Osveron Anonymous

Messages

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?

Réponses

bunnyapocalypse Mardi 29 Mars 2016 à 0:24
bunnyapocalypse Anonymous

Messages

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

Réponses

Anonymous
Mercredi 30 Mars 2016 à 3:23
This is actually caused by the server maintenance announcement. Keep this in mind if you are having this problem
Ludius Jeudi 24 Mars 2016 à 18:14
Ludius Anonymous

Messages

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

 

Réponses

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

Messages

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.

Réponses

kweepeer2 Lundi 22 Février 2016 à 21:04
kweepeer2 Anonymous

Warning

Cette mise à jour n'a pas été approuvée par l'équipe.
Utilisez-la à vos risques et périls

Messages

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

Nouveau code source

#!/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

Réponses

Anonymous
Jeudi 24 Mars 2016 à 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
Jeudi 14 Avril 2016 à 1:07
I can't choose what language to install at the beginning, no options appear.
Anonymous
Mardi 24 Mai 2016 à 21:44
@freestraws: Strange, works per usual here. Make sure you copy paste code correctly. Anyway, new version posted above.
Anonymous
Samedi 24 September 2016 à 13:29
How to install Heartstone with this script. "try this update" dont work.
raphamaster Mardi 9 Février 2016 à 23:58
raphamaster Anonymous

Messages

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?

Réponses

Mercredi 10 Février 2016 à 8:08
winehq?
Anonymous
Mercredi 10 Février 2016 à 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
Mercredi 10 Février 2016 à 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
Mercredi 10 Février 2016 à 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"
Mercredi 10 Février 2016 à 19:07
That shouldn't prevent flash installation, that's totally unrelated
Anonymous
Mercredi 10 Février 2016 à 19:15
So how should I get flash installed?
Lundi 15 Février 2016 à 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 Samedi 16 Janvier 2016 à 15:23
7z4r Anonymous

Messages

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

Réponses

Anonymous
Samedi 16 Janvier 2016 à 15:25
*screen tear (typo)
Anonymous
Samedi 16 Janvier 2016 à 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 Vendredi 15 Janvier 2016 à 21:00
7z4r Anonymous

Messages

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

Réponses

4402927 Jeudi 31 Décembre 2015 à 15:16
4402927 Anonymous

Messages

yesheart

Réponses

kholyphoenix1 Mercredi 30 Décembre 2015 à 15:05
kholyphoenix1 Anonymous

Messages

Pefect!

Réponses

petch Vendredi 4 Décembre 2015 à 23:50
petch

Warning

Cette mise à jour n'a pas été approuvée par l'équipe.
Utilisez-la à vos risques et périls

Messages

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"

Nouveau code source

#!/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

Réponses

asdbimbaj Mardi 1 Décembre 2015 à 11:06
asdbimbaj Anonymous

Messages

Ubuntu 15.10 Clean install

nvidia -355 driver

without a problem , works perfectly

 

Réponses

RobLoach Lundi 30 Novembre 2015 à 1:51
RobLoach

Warning

Cette mise à jour n'a pas été approuvée par l'équipe.
Utilisez-la à vos risques et périls

Messages

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

Nouveau code source

#!/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

Réponses

JonnyJungle Samedi 28 Novembre 2015 à 19:38
JonnyJungle Anonymous

Messages

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

Réponses

Anonymous
Samedi 28 Novembre 2015 à 21:26
It's just a visual bug. Move your cursor as if it was correctly working
kosmik Jeudi 26 Novembre 2015 à 19:07
kosmik Anonymous

Messages


 

Réponses

alexajax Mercredi 11 Novembre 2015 à 19:06
alexajax Anonymous

Messages

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?

Réponses

Youjin Mardi 10 Novembre 2015 à 20:12
Youjin Anonymous

Warning

Cette mise à jour n'a pas été approuvée par l'équipe.
Utilisez-la à vos risques et périls

Messages

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

Nouveau code source

#!/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

Réponses

Jeudi 19 Novembre 2015 à 8:44
This would be nice to have.
Jeudi 19 Novembre 2015 à 8:44
But perhaps just target 1.7.55 instead.
Anonymous
Mardi 24 Novembre 2015 à 21:09
Agreed about 1.7.55 for the new pulseaudio driver. But why not staging ?
Samedi 28 Novembre 2015 à 0:05
Good question!
hadronhearth Vendredi 6 Novembre 2015 à 2:43
hadronhearth Anonymous

Messages

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.

Réponses

tatso Samedi 24 Octobre 2015 à 4:20
tatso Anonymous

Messages

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

 

Réponses

Anonymous
Mercredi 4 Novembre 2015 à 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
Vendredi 4 Décembre 2015 à 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
Mercredi 9 Décembre 2015 à 2:24
Yep, I'm running an intel driver as well. Have you tried any of the workarounds in that link?
Anonymous
Dimanche 3 Janvier 2016 à 0:43
You have to install the libldap (32bits version)
Anonymous
Mercredi 6 Janvier 2016 à 15:42
I have had that package installed all along... The issue persists...
Anonymous
Jeudi 24 Mars 2016 à 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
Jeudi 24 Mars 2016 à 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 Jeudi 15 Octobre 2015 à 5:00
bsnoguera Anonymous

Messages

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!

 

Réponses

Anonymous
Mercredi 4 Novembre 2015 à 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 Samedi 10 Octobre 2015 à 3:26
marko47 Anonymous

Messages

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.

Réponses

Anonymous
Samedi 10 Octobre 2015 à 3:31
Oh, forgot to say, i'm using Ubuntu 14.04
petch Vendredi 2 Octobre 2015 à 6:27
petch

Warning

Cette mise à jour n'a pas été approuvée par l'équipe.
Utilisez-la à vos risques et périls

Messages

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.

Nouveau code source

#!/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

Réponses

Dimanche 4 Octobre 2015 à 19:49
This worked.
Kurolox Jeudi 1 Octobre 2015 à 15:49
Kurolox Anonymous

Messages

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

Réponses

Anonymous
Lundi 12 Octobre 2015 à 21:37
Had the same problem after two hours I finally found the issue...
Anonymous
Lundi 12 Octobre 2015 à 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 Jeudi 1 Octobre 2015 à 3:33
postaljester Anonymous

Messages

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.


 

Réponses

Anonymous
Jeudi 1 Octobre 2015 à 3:39
workaround is enabling dbghelp in wine configure.
Vendredi 2 Octobre 2015 à 6:43
That was confirmed by "thevdude" on IRC, I changed that in the script
syjeo Mardi 15 September 2015 à 10:09
syjeo Anonymous

Messages

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.

 

Réponses

Anonymous
Mardi 15 September 2015 à 10:19
to be continued...
Anonymous
Mardi 15 September 2015 à 12:37
Blizzard does not support linux (obvious) and does not care at all about the linux gamer community
Anonymous
Mercredi 16 September 2015 à 14:37
Same behaviour on mine installation. Working before : last played : Friday.
Anonymous
Mercredi 16 September 2015 à 14:46
Same workaround working : https://framapic.org/AoOixe4DsRjR/jvFtYnnD Thanks to syjeo .
Anonymous
Mercredi 16 September 2015 à 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 Mardi 1 September 2015 à 11:43
roygbiv Anonymous

Messages

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.

 

 

Réponses

Anonymous
Mercredi 2 September 2015 à 13:40
I will also add that I tried it with both Wine 1.6 and Wine 1.7 with the same results..
Anonymous
Mardi 15 September 2015 à 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 Mardi 1 September 2015 à 6:24
Reaver32

Messages

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. 

Réponses

deri82 Dimanche 9 Aoüt 2015 à 17:17
deri82 Anonymous

Messages

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

Réponses

flubbes Dimanche 9 Aoüt 2015 à 14:10
flubbes Anonymous

Messages

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

Réponses

Anonymous
Mercredi 19 Aoüt 2015 à 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 Mercredi 5 Aoüt 2015 à 22:54
petch

Warning

Cette mise à jour n'a pas été approuvée par l'équipe.
Utilisez-la à vos risques et périls

Messages

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"

Nouveau code source

#!/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

Réponses

Anonymous
Dimanche 9 Aoüt 2015 à 17:26
It now installs, but is crashing when I start it.
Anonymous
Dimanche 9 Aoüt 2015 à 17:28


Object moved to here.

Anonymous
Dimanche 9 Aoüt 2015 à 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 Mercredi 5 Aoüt 2015 à 19:55
amp Anonymous

Messages

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.

Réponses

Anonymous
Mercredi 5 Aoüt 2015 à 20:00
I also am unable to install currently. Attempted to install and stated:
Anonymous
Mercredi 5 Aoüt 2015 à 20:00
Error in POL_Shortcut
Binary not found: Battle.net Launcher.exe
Have you installed the program to the default location?
kholyphoenix1 Jeudi 30 Juillet 2015 à 17:36
kholyphoenix1 Anonymous

Messages

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.

Réponses

Anonymous
Vendredi 31 Juillet 2015 à 15:15
winecfg -> audio -> alsasound all!
l3iggs Mardi 28 Juillet 2015 à 14:35
l3iggs Anonymous

Warning

Cette mise à jour n'a pas été approuvée par l'équipe.
Utilisez-la à vos risques et périls

Messages

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"

Nouveau code source

#!/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

Réponses

RepairedPanic1 Dimanche 28 Juin 2015 à 21:55
RepairedPanic1 Anonymous

Messages

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.

Réponses

Kevin4linux Vendredi 26 Juin 2015 à 16:40
Kevin4linux Anonymous

Messages

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

Réponses

Vendredi 26 Juin 2015 à 16:45
Broken Intel video driver, try to update them
Kevin4linux Vendredi 26 Juin 2015 à 16:25
Kevin4linux Anonymous

Messages

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. :(

 

Réponses

Iks Jeudi 4 Juin 2015 à 12:14
Iks Anonymous

Messages

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

Réponses

Jeudi 4 Juin 2015 à 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
Lundi 15 Juin 2015 à 12:55
Sorry , yes the drivers were installed (other games run just fine)
Anonymous
Lundi 15 Juin 2015 à 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 Mercredi 20 Mai 2015 à 21:07
cramserb Anonymous

Messages

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.

 

 

Réponses

Anonymous
Samedi 27 Juin 2015 à 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 Dimanche 10 Mai 2015 à 16:10
le_med_amine Anonymous

Messages

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

Réponses

petch Vendredi 24 Avril 2015 à 18:50
petch

Warning

Cette mise à jour n'a pas été approuvée par l'équipe.
Utilisez-la à vos risques et périls

Messages

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"

Nouveau code source

#!/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

Réponses

lulavc Samedi 28 Février 2015 à 1:45
lulavc Anonymous

Messages

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

Réponses

Samedi 28 Février 2015 à 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 Mardi 10 Février 2015 à 3:02
paladin_stz Anonymous

Messages

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???

Réponses

Anonymous
Lundi 27 Avril 2015 à 20:12
I have the same problem.
Anonymous
Dimanche 6 September 2015 à 10:24
try to add 'env TZ=America/New_York' before shortcut command. Just worked for me.
RobLoach Vendredi 6 Février 2015 à 16:54
RobLoach

Messages

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.

Réponses

Samedi 7 Février 2015 à 15:19
Scaled and uploaded!
weesnich Lundi 26 Janvier 2015 à 5:09
weesnich Anonymous

Messages

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!

Réponses

Lundi 26 Janvier 2015 à 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 Mardi 20 Janvier 2015 à 20:02
daveood Anonymous

Messages

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

Réponses

LloydKM Dimanche 11 Janvier 2015 à 22:23
LloydKM Anonymous

Messages

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.

Réponses

Mardi 20 Janvier 2015 à 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.
Mardi 20 Janvier 2015 à 4:23
Exactly. That happens with any game that does it's downloading during the actual POL/POM installs. :)
LowMemory Samedi 10 Janvier 2015 à 18:27
LowMemory Anonymous

Messages

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.

 

Réponses

telzum Jeudi 25 Décembre 2014 à 12:11
telzum Anonymous

Messages

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? :-/

Réponses

Anonymous
Lundi 5 Janvier 2015 à 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
Mardi 6 Janvier 2015 à 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 Samedi 13 Décembre 2014 à 22:17
Fapi Anonymous

Messages

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 ?

Réponses

Dimanche 14 Décembre 2014 à 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
Mercredi 17 Décembre 2014 à 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).
Mercredi 17 Décembre 2014 à 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
Mercredi 24 Décembre 2014 à 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
Mardi 30 Décembre 2014 à 14:09
Yes same problem for me with starcraft 2. Putting this in the
Anonymous
Mardi 30 Décembre 2014 à 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
Vendredi 31 Juillet 2015 à 14:13
I muted. I use Alsa.
bast Mercredi 10 Décembre 2014 à 16:48
bast Anonymous

Messages

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.

Réponses

Anonymous
Samedi 13 Décembre 2014 à 17:41
I have the same problem on Nvidia and the work-around doesn't help, sadly.
Anonymous
Mardi 16 Décembre 2014 à 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
Mercredi 17 Décembre 2014 à 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 Mercredi 10 Décembre 2014 à 13:42
karakuroness Anonymous

Messages

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.

Réponses

Anonymous
Mercredi 10 Décembre 2014 à 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
Jeudi 11 Décembre 2014 à 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
Jeudi 11 Décembre 2014 à 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 Vendredi 5 Décembre 2014 à 20:51
ttblue Anonymous

Messages

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... :( )

 

Réponses

Anonymous
Vendredi 5 Décembre 2014 à 20:53
Woops, the embedding of the image screwed up the text. Sorry for the excessive white-space!
Anonymous
Vendredi 5 Décembre 2014 à 20:59
I have the same issue. It has to be related to recent HS update.
Anonymous
Lundi 8 Décembre 2014 à 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...
Lundi 8 Décembre 2014 à 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
Mercredi 17 Décembre 2014 à 18:59
I have the same problem. I write my issue here: http://www.playonlinux.com/en/issue-4922.html
Anonymous
Mercredi 17 Décembre 2014 à 19:00
If someone know a workaround i will apreciate it alot
Anonymous
Jeudi 18 Décembre 2014 à 10:12
I find a workaround! It took me a month to find it, so i'll share with you:
Anonymous
Jeudi 18 Décembre 2014 à 10:13
Go to Configure / Miscellaneous / "Command to exec before running the program" and put: export LIBGL_ALWAYS_SOFTWARE=1
Anonymous
Lundi 29 Décembre 2014 à 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
Dimanche 4 Janvier 2015 à 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
Lundi 2 Mars 2015 à 1:05
I still have a problem with launcher, anybody has a solution?
Anonymous
Mardi 26 Mai 2015 à 22:25
*bump*
Anonymous
Mardi 26 Mai 2015 à 22:26
I'm also getting the weird battle.net bug with the skewed menu items. Anyone found a fix for this?
andrepd Vendredi 5 Décembre 2014 à 12:44
andrepd Anonymous

Messages

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.

Réponses

Anonymous
Mercredi 10 Décembre 2014 à 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 Mardi 25 Novembre 2014 à 11:48
matiej Anonymous

Messages

 

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?

Réponses

Anonymous
Lundi 15 Décembre 2014 à 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 Dimanche 16 Novembre 2014 à 15:39
andrepd Anonymous

Messages

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.

Réponses

Anonymous
Dimanche 16 Novembre 2014 à 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
Dimanche 4 Janvier 2015 à 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 Lundi 10 Novembre 2014 à 5:48
z3Kr0w Anonymous

Messages

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

Réponses

rincondelgabo Vendredi 7 Novembre 2014 à 9:21
rincondelgabo Anonymous

Messages

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!

Réponses

Vendredi 7 Novembre 2014 à 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
Lundi 10 Novembre 2014 à 7:35
Hi,
Lundi 10 Novembre 2014 à 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
Dimanche 4 Janvier 2015 à 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 Lundi 27 Octobre 2014 à 22:28
shikaruko Anonymous

Messages

Strange blackscreen on Mint 17 for battlenet

Réponses

Anonymous
Dimanche 4 Janvier 2015 à 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
Mardi 24 Mars 2015 à 21:51
http://hpics.li/632af41 this is the 'blackscreen' that i get
bhouba Lundi 27 Octobre 2014 à 16:27
bhouba Anonymous

Messages

ok like a charm on kubuntu 14.04 64 bits .

Thanks a lot !

Réponses

stylou Lundi 20 Octobre 2014 à 13:10
stylou

Messages

Installation et utilisation OK sous ubuntu 14.04

Réponses

cgarlock Jeudi 2 Octobre 2014 à 21:57
cgarlock Anonymous

Messages

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.

Réponses

Anonymous
Vendredi 3 Octobre 2014 à 10:46
Same Here, I'm on debian wheezy, with PoL 4.2.2.
Anonymous
Vendredi 3 Octobre 2014 à 10:54
Ok sorry find this http://www.playonlinux.com/en/issue-4885.html the issue is already open
Anonymous
Dimanche 4 Janvier 2015 à 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 Vendredi 19 September 2014 à 12:09
HWHank Anonymous

Messages

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!

Réponses

m1kc Vendredi 29 Aoüt 2014 à 16:50
m1kc

Warning

Cette mise à jour n'a pas été approuvée par l'équipe.
Utilisez-la à vos risques et périls

Messages

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

Nouveau code source

#!/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

Réponses

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

Warning

Cette mise à jour n'a pas été approuvée par l'équipe.
Utilisez-la à vos risques et périls

Messages

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

Nouveau code source

#!/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

Réponses

Vendredi 29 Aoüt 2014 à 16:45
Hmmm, looks like that POL website kills any non-Latin symbols.
kweepeer2 Mercredi 30 Juillet 2014 à 21:01
kweepeer2 Anonymous

Warning

Cette mise à jour n'a pas été approuvée par l'équipe.
Utilisez-la à vos risques et périls

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

Nouveau code source

#!/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

Réponses

mir Vendredi 18 Juillet 2014 à 3:52
mir Anonymous

Messages

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.

Réponses

Anonymous
Jeudi 4 September 2014 à 19:40
Try to start the "installation file" of Battle.net, it will start
Trynight Dimanche 13 Juillet 2014 à 14:53
Trynight Anonymous

Messages

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 )

Réponses

Jeudi 18 September 2014 à 19:28
dats my problem i cannot install flash player WIN POL error
gnegnelino Mardi 24 Juin 2014 à 16:32
gnegnelino

Messages

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

Réponses

This site allows content generated by members, and we promptly remove any content that infringes copyright according to our Terms of Service. To report copyright infringement, please send a notice to dmca-notice@playonlinux.com