You are here    Supported software    Heroes of the Storm nl sv ru pl es de fr

Heroes of the Storm

Informations

Creator Message
EdRIn

Information

This installer has been approved by the team.

Informations

Platforms:
Downloads: 40027
Wine: 1.9.3-HeroesOfStorm-40083bugfix

Feedbacks

Description

Heroes of the Storm is a multiplayer online battle arena (MOBA) video game developed by Blizzard Entertainment. The game features heroes from Blizzard's franchises including Warcraft, Diablo, and StarCraft. The game uses both free-to-play and freemium models and is supported by micropayments, which can be used to purchase heroes, visual alterations for the heroes in the game and mounts.

Source code

#!/bin/bash
# Date : 2016-07-31 08:45
# Last revision :
# Wine version used : 1.9.3
# Distribution used to test : Ubuntu 16.04 64bits
# Author : nosklo
# Depend :

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

TITLE="Heroes of the Storm"
PREFIX="heroes_of_the_storm"

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/" "EdRIn" "$PREFIX"
POL_Wine_SelectPrefix "$PREFIX"
POL_System_SetArch "x86"
POL_Wine_PrefixCreate "1.9.3-HeroesOfStorm-40083bugfix"

# 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_OverrideDLL "native,builtin" "api-ms-win-crt-heap-l1-1-0"
POL_Wine_OverrideDLL "native,builtin" "api-ms-win-crt-locale-l1-1-0"
POL_Wine_OverrideDLL "native,builtin" "api-ms-win-crt-runtime-l1-1-0"
POL_Wine_OverrideDLL "native,builtin" "api-ms-win-crt-stdio-l1-1-0"
POL_Wine_OverrideDLL "native,builtin" "api-ms-win-crt-convert-l1-1-0"
POL_Wine_OverrideDLL "native,builtin" "ucrtbase"
POL_Wine_OverrideDLL "native,builtin" "vcruntime140"
POL_Wine_OverrideDLL "" "d3d11"


# 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="Heroes-of-the-Storm-Setup-enUS.exe";;
    "Español (AL)")
        EXE_FILE="Heroes-of-the-Storm-Setup-esMX.exe";;
    "Português (BR)")
        EXE_FILE="Heroes-of-the-Storm-Setup-ptBR.exe";;
    "English (EU)")
        EXE_FILE="Heroes-of-the-Storm-Setup-enGB.exe";;
    "Deutsch")
        EXE_FILE="Heroes-of-the-Storm-Setup-deDE.exe";;
    "Español (EU)")
        EXE_FILE="Heroes-of-the-Storm-Setup-esES.exe";;
    "Português (EU)")
        EXE_FILE="Heroes-of-the-Storm-Setup-ptPT.exe";;
    "Français")
        EXE_FILE="Heroes-of-the-Storm-Setup-frFR.exe";;
    "Russian")
        EXE_FILE="Heroes-of-the-Storm-Setup-ruRU.exe";;
    "Italiano")
        EXE_FILE="Heroes-of-the-Storm-Setup-itIT.exe";;
    "Polski")
        EXE_FILE="Heroes-of-the-Storm-Setup-plPL.exe";;
    "Korean")
        EXE_FILE="Heroes-of-the-Storm-Setup-koKR.exe";;
    "Chinese (Taiwan)")
        EXE_FILE="Heroes-of-the-Storm-Setup-zhTW.exe";;
    "Chinese (China)")
        EXE_FILE="Heroes-of-the-Storm-Setup-zhCN.exe";;
    *)
        exit 1;;
esac

POL_System_TmpCreate "$PREFIX"
cd "$POL_System_TmpDir"
POL_Download "http://dist.blizzard.com/downloads/storm-installers/7C96DEC684D71DCDD4809F35F5D1E2BE/storm.1/${EXE_FILE}"

# POL_Call POL_Install_vcrun2008
# POL_Call POL_Install_winhttp

POL_Wine "$POL_System_TmpDir/${EXE_FILE}"

POL_Wine_WaitExit "$TITLE"

POL_System_TmpDelete

POL_SetupWindow_VMS "256"
POL_Wine_reboot

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

exit 0

Contributions

Filters:

Contribute
Member Message
SimbaLion Thursday 25 May 2017 at 5:11
SimbaLion Anonymous

Message

crashes constantly. Tried changing the "Windows version" from XP to Win7 and then it couldn't even start battle.net

Replies

Anonymous
Thursday 25 May 2017 at 5:13 -
This seems to be the culprit: wine: Call from 0x7b83eba2 to unimplemented function api-ms-win-crt-math-l1-1-0.dll._except1, aborting
Anonymous
Wednesday 31 May 2017 at 21:28 -
I used also to launch it with XP but as blizzard is no longer supporting this I've made a test with windows 7 and it crashes also like you
Anonymous
Wednesday 31 May 2017 at 22:00 -
By using wine version 2.4-staging, you can select Windows 10.
Anonymous
Wednesday 7 June 2017 at 19:00 -
indeed it works like this
Anonymous
Friday 28 July 2017 at 1:10 -
Nice! I firstly tried my already installed 2.8 wine version with windows 10. Sadly It didn't worked, even though it's a later version from 2.4.
So I tried the latest 'staging' version (from the time I'm writing this: 2.13-staging) and it worked!
I also solved the old misterious problem with the invisible context menus from battle.net interface. I think the key here is using the 'staging' version, I guess...
Anonymous
Friday 28 July 2017 at 1:11 -
*It also solved the old misterious problem...
JamEater Saturday 10 December 2016 at 12:10
JamEater Anonymous

Message

Hello there, whenever I want to run game, it loads normaly, but few seconds after starting screen pops up (that one that ask you about experiance with game like HoTS) game crash, and window witch "Unexpected Fatal Error" appears.

 

I ask for help.

Replies

Anonymous
Friday 3 March 2017 at 23:42 -
This may be a bit late, but... can you show us the log of it?
(Open PlayOnLinux, select your Heroes of The Storm app and click on "Debug", located on the left menu. A Window will pop up with the logs)
ThanosApostolou Thursday 1 December 2016 at 14:14
ThanosApostolou

Warning

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

Message

I tried to polish a bit the script. I removed the option English (EU) from the installers since as you can see at battle.net, heroes of the storm has only one english installer. It seems that it works only with the staging wine builds nowadays, so I chose the latest 1.9.23-staging. Heroes of the storm doesn't have any icons at http://files.playonlinux.com/resources/ so if someone knows how we can add icons (especially for the shortcut) please do it (or let us know with a message).

Differences

@@ -1,52 +1,58 @@
 #!/bin/bash
 # Date : 2016-07-31 08:45
-# Last revision :
-# Wine version used : 1.9.3
-# Distribution used to test : Ubuntu 16.04 64bits
+# Last revision : 2016-12-01
+# Wine version used : 1.9.23-staging
+# Distribution used to test : Ubuntu 16.04 64bits, manjaro
 # Author : nosklo
+# Last Editor: ThanosApostolou
 # Depend :
-
+ 
 [ "$PLAYONLINUX" = "" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
-
+ 
 TITLE="Heroes of the Storm"
 PREFIX="heroes_of_the_storm"
-
+ 
 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/" "EdRIn" "$PREFIX"
+POL_SetupWindow_SetID 2627
+POL_Debug_Init
+
+POL_SetupWindow_presentation "$TITLE" "Blizzard" "http://us.battle.net/heroes/en/" "EdRIn" "$PREFIX"
 POL_Wine_SelectPrefix "$PREFIX"
 POL_System_SetArch "x86"
-POL_Wine_PrefixCreate "1.9.3-HeroesOfStorm-40083bugfix"
-
-# 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_PrefixCreate "1.9.23-staging"
+ 
+# Might be needed if you get crashes
 # POL_Wine_OverrideDLL "native,builtin" "dbghelp"
-# POL_Wine_OverrideDLL "native,builtin" "msvcp100"
+# POL_Wine_OverrideDLL "native,builtin" "winhttp"
+# POL_Wine_OverrideDLL "native,builtin" "wininet"
+
 POL_Wine_OverrideDLL "native,builtin" "api-ms-win-crt-heap-l1-1-0"
 POL_Wine_OverrideDLL "native,builtin" "api-ms-win-crt-locale-l1-1-0"
+POL_Wine_OverrideDLL "native,builtin" "api-ms-win-crt-math-l1-1-0"
 POL_Wine_OverrideDLL "native,builtin" "api-ms-win-crt-runtime-l1-1-0"
 POL_Wine_OverrideDLL "native,builtin" "api-ms-win-crt-stdio-l1-1-0"
 POL_Wine_OverrideDLL "native,builtin" "api-ms-win-crt-convert-l1-1-0"
+POL_Wine_OverrideDLL "native,builtin" "msvcp140"
 POL_Wine_OverrideDLL "native,builtin" "ucrtbase"
 POL_Wine_OverrideDLL "native,builtin" "vcruntime140"
 POL_Wine_OverrideDLL "" "d3d11"
 
-
+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)" "|"
+    "English|Español (AL)|Português (BR) |Deutsch|Español (EU)|Português (EU)|Français|Russian|Italiano|Polski|Korean|Chinese (Taiwan)|Chinese (China)" "|"
 case "$APP_ANSWER" in
-    "English (US)")
+    "English")
         EXE_FILE="Heroes-of-the-Storm-Setup-enUS.exe";;
     "Español (AL)")
         EXE_FILE="Heroes-of-the-Storm-Setup-esMX.exe";;
     "Português (BR)")
         EXE_FILE="Heroes-of-the-Storm-Setup-ptBR.exe";;
-    "English (EU)")
-        EXE_FILE="Heroes-of-the-Storm-Setup-enGB.exe";;
     "Deutsch")
         EXE_FILE="Heroes-of-the-Storm-Setup-deDE.exe";;
     "Español (EU)")
@@ -70,24 +76,21 @@
     *)
         exit 1;;
 esac
-
+ 
 POL_System_TmpCreate "$PREFIX"
 cd "$POL_System_TmpDir"
 POL_Download "http://dist.blizzard.com/downloads/storm-installers/7C96DEC684D71DCDD4809F35F5D1E2BE/storm.1/${EXE_FILE}"
-
-# POL_Call POL_Install_vcrun2008
-# POL_Call POL_Install_winhttp
-
+ 
 POL_Wine "$POL_System_TmpDir/${EXE_FILE}"
-
+ 
 POL_Wine_WaitExit "$TITLE"
-
+ 
 POL_System_TmpDelete
-
+ 
 POL_SetupWindow_VMS "256"
 POL_Wine_reboot
-
+ 
 POL_Shortcut "Battle.net Launcher.exe" "$TITLE" "$TITLE.png" ""
 POL_SetupWindow_Close
-
+ 
 exit 0
\ No newline at end of file

New source code

#!/bin/bash
# Date : 2016-07-31 08:45
# Last revision : 2016-12-01
# Wine version used : 1.9.23-staging
# Distribution used to test : Ubuntu 16.04 64bits, manjaro
# Author : nosklo
# Last Editor: ThanosApostolou
# Depend :
 
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="Heroes of the Storm"
PREFIX="heroes_of_the_storm"
 
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 2627
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "Blizzard" "http://us.battle.net/heroes/en/" "EdRIn" "$PREFIX"
POL_Wine_SelectPrefix "$PREFIX"
POL_System_SetArch "x86"
POL_Wine_PrefixCreate "1.9.23-staging"
 
# Might be needed if you get crashes
# POL_Wine_OverrideDLL "native,builtin" "dbghelp"
# POL_Wine_OverrideDLL "native,builtin" "winhttp"
# POL_Wine_OverrideDLL "native,builtin" "wininet"

POL_Wine_OverrideDLL "native,builtin" "api-ms-win-crt-heap-l1-1-0"
POL_Wine_OverrideDLL "native,builtin" "api-ms-win-crt-locale-l1-1-0"
POL_Wine_OverrideDLL "native,builtin" "api-ms-win-crt-math-l1-1-0"
POL_Wine_OverrideDLL "native,builtin" "api-ms-win-crt-runtime-l1-1-0"
POL_Wine_OverrideDLL "native,builtin" "api-ms-win-crt-stdio-l1-1-0"
POL_Wine_OverrideDLL "native,builtin" "api-ms-win-crt-convert-l1-1-0"
POL_Wine_OverrideDLL "native,builtin" "msvcp140"
POL_Wine_OverrideDLL "native,builtin" "ucrtbase"
POL_Wine_OverrideDLL "native,builtin" "vcruntime140"
POL_Wine_OverrideDLL "" "d3d11"

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|Español (AL)|Português (BR) |Deutsch|Español (EU)|Português (EU)|Français|Russian|Italiano|Polski|Korean|Chinese (Taiwan)|Chinese (China)" "|"
case "$APP_ANSWER" in
    "English")
        EXE_FILE="Heroes-of-the-Storm-Setup-enUS.exe";;
    "Español (AL)")
        EXE_FILE="Heroes-of-the-Storm-Setup-esMX.exe";;
    "Português (BR)")
        EXE_FILE="Heroes-of-the-Storm-Setup-ptBR.exe";;
    "Deutsch")
        EXE_FILE="Heroes-of-the-Storm-Setup-deDE.exe";;
    "Español (EU)")
        EXE_FILE="Heroes-of-the-Storm-Setup-esES.exe";;
    "Português (EU)")
        EXE_FILE="Heroes-of-the-Storm-Setup-ptPT.exe";;
    "Français")
        EXE_FILE="Heroes-of-the-Storm-Setup-frFR.exe";;
    "Russian")
        EXE_FILE="Heroes-of-the-Storm-Setup-ruRU.exe";;
    "Italiano")
        EXE_FILE="Heroes-of-the-Storm-Setup-itIT.exe";;
    "Polski")
        EXE_FILE="Heroes-of-the-Storm-Setup-plPL.exe";;
    "Korean")
        EXE_FILE="Heroes-of-the-Storm-Setup-koKR.exe";;
    "Chinese (Taiwan)")
        EXE_FILE="Heroes-of-the-Storm-Setup-zhTW.exe";;
    "Chinese (China)")
        EXE_FILE="Heroes-of-the-Storm-Setup-zhCN.exe";;
    *)
        exit 1;;
esac
 
POL_System_TmpCreate "$PREFIX"
cd "$POL_System_TmpDir"
POL_Download "http://dist.blizzard.com/downloads/storm-installers/7C96DEC684D71DCDD4809F35F5D1E2BE/storm.1/${EXE_FILE}"
 
POL_Wine "$POL_System_TmpDir/${EXE_FILE}"
 
POL_Wine_WaitExit "$TITLE"
 
POL_System_TmpDelete
 
POL_SetupWindow_VMS "256"
POL_Wine_reboot
 
POL_Shortcut "Battle.net Launcher.exe" "$TITLE" "$TITLE.png" ""
POL_SetupWindow_Close
 
exit 0

Replies

Thursday 1 December 2016 at 14:31 -
Edit: you can use a non staging wine too like 1.9.24 but you need to add the line: POL_Wine_OverrideDLL "" "dbghelp"
ThanosApostolou Thursday 1 December 2016 at 14:03
ThanosApostolou

Warning

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

Differences

@@ -1,9 +1,10 @@
 #!/bin/bash
 # Date : 2016-07-31 08:45
 # Last revision :
-# Wine version used : 1.9.3
+# Wine version used : 1.9.23-staging
 # Distribution used to test : Ubuntu 16.04 64bits
 # Author : nosklo
+# Last edited by : ThanosApostolou
 # Depend :
 
 [ "$PLAYONLINUX" = "" ] && exit 0
@@ -14,39 +15,43 @@
 
 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/" "EdRIn" "$PREFIX"
+POL_SetupWindow_SetID 2627
+POL_Debug_Init
+
+PPOL_SetupWindow_presentation "$TITLE" "Blizzard" "http://us.battle.net/heroes/en/" "EdRIn" "$PREFIX"
 POL_Wine_SelectPrefix "$PREFIX"
 POL_System_SetArch "x86"
-POL_Wine_PrefixCreate "1.9.3-HeroesOfStorm-40083bugfix"
+POL_Wine_PrefixCreate "1.9.23-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
+# Might be needed if you get crashes
 # POL_Wine_OverrideDLL "native,builtin" "dbghelp"
-# POL_Wine_OverrideDLL "native,builtin" "msvcp100"
+# POL_Wine_OverrideDLL "native,builtin" "winhttp"
+# POL_Wine_OverrideDLL "native,builtin" "wininet"
+
 POL_Wine_OverrideDLL "native,builtin" "api-ms-win-crt-heap-l1-1-0"
 POL_Wine_OverrideDLL "native,builtin" "api-ms-win-crt-locale-l1-1-0"
 POL_Wine_OverrideDLL "native,builtin" "api-ms-win-crt-runtime-l1-1-0"
 POL_Wine_OverrideDLL "native,builtin" "api-ms-win-crt-stdio-l1-1-0"
 POL_Wine_OverrideDLL "native,builtin" "api-ms-win-crt-convert-l1-1-0"
+POL_Wine_OverrideDLL "native,builtin" "msvcp140"
 POL_Wine_OverrideDLL "native,builtin" "ucrtbase"
 POL_Wine_OverrideDLL "native,builtin" "vcruntime140"
 POL_Wine_OverrideDLL "" "d3d11"
 
+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)" "|"
+    "English|Español (AL)|Português (BR)|Deutsch|Español (EU)|Português (EU)|Français|Russian|Italiano|Polski|Korean|Chinese (Taiwan)|Chinese (China)" "|"
 case "$APP_ANSWER" in
-    "English (US)")
+    "English")
         EXE_FILE="Heroes-of-the-Storm-Setup-enUS.exe";;
     "Español (AL)")
         EXE_FILE="Heroes-of-the-Storm-Setup-esMX.exe";;
     "Português (BR)")
         EXE_FILE="Heroes-of-the-Storm-Setup-ptBR.exe";;
-    "English (EU)")
-        EXE_FILE="Heroes-of-the-Storm-Setup-enGB.exe";;
     "Deutsch")
         EXE_FILE="Heroes-of-the-Storm-Setup-deDE.exe";;
     "Español (EU)")
@@ -75,9 +80,6 @@
 cd "$POL_System_TmpDir"
 POL_Download "http://dist.blizzard.com/downloads/storm-installers/7C96DEC684D71DCDD4809F35F5D1E2BE/storm.1/${EXE_FILE}"
 
-# POL_Call POL_Install_vcrun2008
-# POL_Call POL_Install_winhttp
-
 POL_Wine "$POL_System_TmpDir/${EXE_FILE}"
 
 POL_Wine_WaitExit "$TITLE"

New source code

#!/bin/bash
# Date : 2016-07-31 08:45
# Last revision :
# Wine version used : 1.9.23-staging
# Distribution used to test : Ubuntu 16.04 64bits
# Author : nosklo
# Last edited by : ThanosApostolou
# Depend :

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

TITLE="Heroes of the Storm"
PREFIX="heroes_of_the_storm"

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

PPOL_SetupWindow_presentation "$TITLE" "Blizzard" "http://us.battle.net/heroes/en/" "EdRIn" "$PREFIX"
POL_Wine_SelectPrefix "$PREFIX"
POL_System_SetArch "x86"
POL_Wine_PrefixCreate "1.9.23-staging"

# Might be needed if you get crashes
# POL_Wine_OverrideDLL "native,builtin" "dbghelp"
# POL_Wine_OverrideDLL "native,builtin" "winhttp"
# POL_Wine_OverrideDLL "native,builtin" "wininet"

POL_Wine_OverrideDLL "native,builtin" "api-ms-win-crt-heap-l1-1-0"
POL_Wine_OverrideDLL "native,builtin" "api-ms-win-crt-locale-l1-1-0"
POL_Wine_OverrideDLL "native,builtin" "api-ms-win-crt-runtime-l1-1-0"
POL_Wine_OverrideDLL "native,builtin" "api-ms-win-crt-stdio-l1-1-0"
POL_Wine_OverrideDLL "native,builtin" "api-ms-win-crt-convert-l1-1-0"
POL_Wine_OverrideDLL "native,builtin" "msvcp140"
POL_Wine_OverrideDLL "native,builtin" "ucrtbase"
POL_Wine_OverrideDLL "native,builtin" "vcruntime140"
POL_Wine_OverrideDLL "" "d3d11"

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|Español (AL)|Português (BR)|Deutsch|Español (EU)|Português (EU)|Français|Russian|Italiano|Polski|Korean|Chinese (Taiwan)|Chinese (China)" "|"
case "$APP_ANSWER" in
    "English")
        EXE_FILE="Heroes-of-the-Storm-Setup-enUS.exe";;
    "Español (AL)")
        EXE_FILE="Heroes-of-the-Storm-Setup-esMX.exe";;
    "Português (BR)")
        EXE_FILE="Heroes-of-the-Storm-Setup-ptBR.exe";;
    "Deutsch")
        EXE_FILE="Heroes-of-the-Storm-Setup-deDE.exe";;
    "Español (EU)")
        EXE_FILE="Heroes-of-the-Storm-Setup-esES.exe";;
    "Português (EU)")
        EXE_FILE="Heroes-of-the-Storm-Setup-ptPT.exe";;
    "Français")
        EXE_FILE="Heroes-of-the-Storm-Setup-frFR.exe";;
    "Russian")
        EXE_FILE="Heroes-of-the-Storm-Setup-ruRU.exe";;
    "Italiano")
        EXE_FILE="Heroes-of-the-Storm-Setup-itIT.exe";;
    "Polski")
        EXE_FILE="Heroes-of-the-Storm-Setup-plPL.exe";;
    "Korean")
        EXE_FILE="Heroes-of-the-Storm-Setup-koKR.exe";;
    "Chinese (Taiwan)")
        EXE_FILE="Heroes-of-the-Storm-Setup-zhTW.exe";;
    "Chinese (China)")
        EXE_FILE="Heroes-of-the-Storm-Setup-zhCN.exe";;
    *)
        exit 1;;
esac

POL_System_TmpCreate "$PREFIX"
cd "$POL_System_TmpDir"
POL_Download "http://dist.blizzard.com/downloads/storm-installers/7C96DEC684D71DCDD4809F35F5D1E2BE/storm.1/${EXE_FILE}"

POL_Wine "$POL_System_TmpDir/${EXE_FILE}"

POL_Wine_WaitExit "$TITLE"

POL_System_TmpDelete

POL_SetupWindow_VMS "256"
POL_Wine_reboot

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

exit 0

Replies

Thursday 1 December 2016 at 14:07 -
Lol I accidentally pressed a button and did a typo. Since I don't see anything to edit it I will send an new update.
ThanosApostolou Tuesday 25 October 2016 at 7:49
ThanosApostolou

Warning

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

Message

The "api-ms-win-crt-math-l1-1-0" library override was suggested by hbobenicio.
Wine version higher than 1.16 and "msvcp140" are needed in order to run on manjaro and for battlenet autologin.
The English (EU) download url doesn't work, but I don't know how to fix it. If someone knows how to fix it, or else we should remove it completely.

Differences

@@ -1,8 +1,8 @@
 #!/bin/bash
 # Date : 2016-07-31 08:45
 # Last revision :
-# Wine version used : 1.9.3
-# Distribution used to test : Ubuntu 16.04 64bits
+# Wine version used : 1.9.20
+# Distribution used to test : Ubuntu 16.04 64bits,Ubuntu 16.10 64bits, Manjaro 64bits 
 # Author : nosklo
 # Depend :
 
@@ -17,18 +17,26 @@
 POL_SetupWindow_presentation "$TITLE" "Blizzard" "http://us.battle.net/hearthstone/en/" "EdRIn" "$PREFIX"
 POL_Wine_SelectPrefix "$PREFIX"
 POL_System_SetArch "x86"
-POL_Wine_PrefixCreate "1.9.3-HeroesOfStorm-40083bugfix"
+POL_Wine_PrefixCreate "1.9.20"
 
 # 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"
+
+# NOTES:
+# api-ms-win-crt-math-l1-1-0 was suggested by hbobenicio
+# Wine version higher than 1.16 and msvcp140 are needed in order to run on manjaro and for battlenet autologin.
+# The English (EU) download url doesn't work.
+
 POL_Wine_OverrideDLL "native,builtin" "api-ms-win-crt-heap-l1-1-0"
 POL_Wine_OverrideDLL "native,builtin" "api-ms-win-crt-locale-l1-1-0"
+POL_Wine_OverrideDLL "native,builtin" "api-ms-win-crt-math-l1-1-0"
 POL_Wine_OverrideDLL "native,builtin" "api-ms-win-crt-runtime-l1-1-0"
 POL_Wine_OverrideDLL "native,builtin" "api-ms-win-crt-stdio-l1-1-0"
 POL_Wine_OverrideDLL "native,builtin" "api-ms-win-crt-convert-l1-1-0"
+POL_Wine_OverrideDLL "native,builtin" "msvcp140"
 POL_Wine_OverrideDLL "native,builtin" "ucrtbase"
 POL_Wine_OverrideDLL "native,builtin" "vcruntime140"
 POL_Wine_OverrideDLL "" "d3d11"

New source code

#!/bin/bash
# Date : 2016-07-31 08:45
# Last revision :
# Wine version used : 1.9.20
# Distribution used to test : Ubuntu 16.04 64bits,Ubuntu 16.10 64bits, Manjaro 64bits 
# Author : nosklo
# Depend :

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

TITLE="Heroes of the Storm"
PREFIX="heroes_of_the_storm"

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/" "EdRIn" "$PREFIX"
POL_Wine_SelectPrefix "$PREFIX"
POL_System_SetArch "x86"
POL_Wine_PrefixCreate "1.9.20"

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

# NOTES:
# api-ms-win-crt-math-l1-1-0 was suggested by hbobenicio
# Wine version higher than 1.16 and msvcp140 are needed in order to run on manjaro and for battlenet autologin.
# The English (EU) download url doesn't work.

POL_Wine_OverrideDLL "native,builtin" "api-ms-win-crt-heap-l1-1-0"
POL_Wine_OverrideDLL "native,builtin" "api-ms-win-crt-locale-l1-1-0"
POL_Wine_OverrideDLL "native,builtin" "api-ms-win-crt-math-l1-1-0"
POL_Wine_OverrideDLL "native,builtin" "api-ms-win-crt-runtime-l1-1-0"
POL_Wine_OverrideDLL "native,builtin" "api-ms-win-crt-stdio-l1-1-0"
POL_Wine_OverrideDLL "native,builtin" "api-ms-win-crt-convert-l1-1-0"
POL_Wine_OverrideDLL "native,builtin" "msvcp140"
POL_Wine_OverrideDLL "native,builtin" "ucrtbase"
POL_Wine_OverrideDLL "native,builtin" "vcruntime140"
POL_Wine_OverrideDLL "" "d3d11"


# 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="Heroes-of-the-Storm-Setup-enUS.exe";;
    "Español (AL)")
        EXE_FILE="Heroes-of-the-Storm-Setup-esMX.exe";;
    "Português (BR)")
        EXE_FILE="Heroes-of-the-Storm-Setup-ptBR.exe";;
    "English (EU)")
        EXE_FILE="Heroes-of-the-Storm-Setup-enGB.exe";;
    "Deutsch")
        EXE_FILE="Heroes-of-the-Storm-Setup-deDE.exe";;
    "Español (EU)")
        EXE_FILE="Heroes-of-the-Storm-Setup-esES.exe";;
    "Português (EU)")
        EXE_FILE="Heroes-of-the-Storm-Setup-ptPT.exe";;
    "Français")
        EXE_FILE="Heroes-of-the-Storm-Setup-frFR.exe";;
    "Russian")
        EXE_FILE="Heroes-of-the-Storm-Setup-ruRU.exe";;
    "Italiano")
        EXE_FILE="Heroes-of-the-Storm-Setup-itIT.exe";;
    "Polski")
        EXE_FILE="Heroes-of-the-Storm-Setup-plPL.exe";;
    "Korean")
        EXE_FILE="Heroes-of-the-Storm-Setup-koKR.exe";;
    "Chinese (Taiwan)")
        EXE_FILE="Heroes-of-the-Storm-Setup-zhTW.exe";;
    "Chinese (China)")
        EXE_FILE="Heroes-of-the-Storm-Setup-zhCN.exe";;
    *)
        exit 1;;
esac

POL_System_TmpCreate "$PREFIX"
cd "$POL_System_TmpDir"
POL_Download "http://dist.blizzard.com/downloads/storm-installers/7C96DEC684D71DCDD4809F35F5D1E2BE/storm.1/${EXE_FILE}"

# POL_Call POL_Install_vcrun2008
# POL_Call POL_Install_winhttp

POL_Wine "$POL_System_TmpDir/${EXE_FILE}"

POL_Wine_WaitExit "$TITLE"

POL_System_TmpDelete

POL_SetupWindow_VMS "256"
POL_Wine_reboot

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

exit 0

Replies

Anonymous
Wednesday 26 October 2016 at 22:28 -
Hi.
I try to install this update and everythink goes fine until i am trying to join the game. The game freezes on conntecting to server and in battle net log i see such message
[1026/230800:ERROR:network_change_notifier_win.cc(157)] WSALookupServiceBegin failed with: 8
Mb you know how to fix this?
Thursday 27 October 2016 at 9:50 -
Try this. When you open battlenet go to Settings-> Game Settings-> Check the "Additional command line arguments" and add "-dx9" (without the quotes).
Anonymous
Friday 28 October 2016 at 11:46 -
it doens't help
kronecker Saturday 22 October 2016 at 20:04
kronecker Anonymous

Message

Hi,

Since the last update, Battle.net crashes when I try to start it. I get the following log:

Unhandled exception: page fault on read access to 0x00000004 in 32-bit code (0x7e4d9afd).
Register dump:
 CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b
 EIP:7e4d9afd ESP:0033f270 EBP:0033f2c8 EFLAGS:00010206(  R- --  I   - -P- )
 EAX:00000000 EBX:7e539104 ECX:001b7f30 EDX:001b8038
 ESI:00000005 EDI:001b8198
Stack dump:
0x0033f270:  7e4c67c9 00000001 00000020 1002f7cb
0x0033f280:  0033f2bc 1002f7cb 00110000 00000000
0x0033f290:  00000020 001b8038 0033f2d8 001b8038
0x0033f2a0:  00000020 00000010 7e4d9beb 00000000
0x0033f2b0:  00000000 00000028 0033f2e0 7e539104
0x0033f2c0:  001b8038 0033f590 0033f318 7e4c6b7e
000c: sel=0067 base=00000000 limit=00000000 16-bit r-x
Backtrace:
=>0 0x7e4d9afd vtbl_wrapper_4+0x5() in msvcp140 (0x0033f2c8)
  1 0x7e4c67c9 locale__Locimp_copy_ctor+0xd8() in msvcp140 (0x0033f2c8)
  2 0x7e4c6b7e locale__Locimp__New_Locimp+0x4d() in msvcp140 (0x0033f318)
  3 0x00c0d15f in battle.net (+0x80d15e) (0x0033f384)
  4 0x00c0dcf1 in battle.net (+0x80dcf0) (0x0033f3b0)
  5 0x00beaf05 in battle.net (+0x7eaf04) (0x0033f3f8)
  6 0x7e4d9bcf vtbl_wrapper_56+0x6e() in msvcp140 (0x0033f428)
  7 0x7bc417dd RtlLeaveCriticalSection+0x1c() in ntdll (0x0033f458)
  8 0x00000000 (0x001b4718)
  9 0x00110098 (0x001b002a)
  10 0x002000fb (0x94c80000)
0x7e4d9afd vtbl_wrapper_4+0x5 in msvcp140: jmp    *0x4(%eax)
Modules:
Module    Address            Debug info    Name (253 modules)
PE      340000-  355000    Deferred        vcruntime140
PE      360000-  364000    Deferred        api-ms-win-crt-runtime-l1-1-0
PE      370000-  373000    Deferred        api-ms-win-crt-heap-l1-1-0
PE      380000-  384000    Deferred        api-ms-win-crt-stdio-l1-1-0
PE      390000-  394000    Deferred        api-ms-win-crt-convert-l1-1-0
PE      3a0000-  3a5000    Deferred        api-ms-win-crt-math-l1-1-0
PE      3c0000-  3c3000    Deferred        api-ms-win-crt-locale-l1-1-0
PE      400000- 108b000    Export          battle.net
PE     11a0000- 165d000    Deferred        qt5gui
PE     1660000- 16f1000    Deferred        qt5multimedia
PE     1700000- 198e000    Deferred        qt5quick
PE     1990000- 19c6000    Deferred        qt5winextras
PE     19d0000- 1f02000    Deferred        vivoxsdk
PE     1f10000- 1f9a000    Deferred        ortp
PE     1fa0000- 43a8000    Deferred        libcef
PE    10000000-100dc000    Deferred        ucrtbase
PE    61000000-61029000    Deferred        qt5xml
PE    64000000-640b8000    Deferred        qt5network
PE    65000000-6545a000    Deferred        qt5widgets
PE    66000000-6628c000    Deferred        qt5qml
PE    67000000-67485000    Deferred        qt5core
ELF    7a800000-7a92a000    Deferred        opengl32<elf>
  \-PE    7a820000-7a92a000    \               opengl32
ELF    7b400000-7b7f5000    Deferred        kernel32<elf>
  \-PE    7b420000-7b7f5000    \               kernel32
ELF    7bc00000-7bd05000    Dwarf           ntdll<elf>
  \-PE    7bc10000-7bd05000    \               ntdll
ELF    7c000000-7c003000    Deferred        <wine-loader>
ELF    7c3b6000-7c3ef000    Deferred        uxtheme<elf>
  \-PE    7c3c0000-7c3ef000    \               uxtheme
ELF    7c3ef000-7c3f5000    Deferred        libxfixes.so.3
ELF    7c3f5000-7c400000    Deferred        libxcursor.so.1
ELF    7c407000-7c417000    Deferred        libxi.so.6
ELF    7c417000-7c41b000    Deferred        libxcomposite.so.1
ELF    7c41b000-7c426000    Deferred        libxrandr.so.2
ELF    7c426000-7c431000    Deferred        libxrender.so.1
ELF    7c431000-7c437000    Deferred        libxxf86vm.so.1
ELF    7c437000-7c43b000    Deferred        libxinerama.so.1
ELF    7c43b000-7c442000    Deferred        libxdmcp.so.6
ELF    7c442000-7c446000    Deferred        libxau.so.6
ELF    7c446000-7c468000    Deferred        libxcb.so.1
ELF    7c468000-7c59c000    Deferred        libx11.so.6
ELF    7c59c000-7c5af000    Deferred        libxext.so.6
ELF    7c5af000-7c64e000    Deferred        winex11<elf>
  \-PE    7c5c0000-7c64e000    \               winex11
ELF    7c74e000-7c762000    Deferred        libtasn1.so.6
ELF    7c762000-7c792000    Deferred        p11-kit-trust.so
ELF    7c792000-7c796000    Deferred        libkeyutils.so.1
ELF    7c796000-7c7e1000    Deferred        libdbus-1.so.3
ELF    7c7e1000-7c7ed000    Deferred        libkrb5support.so.0
ELF    7c7ed000-7c81d000    Deferred        libk5crypto.so.3
ELF    7c81d000-7c8db000    Deferred        libkrb5.so.3
ELF    7c8db000-7c8ed000    Deferred        libavahi-client.so.3
ELF    7c8ed000-7c8fb000    Deferred        libavahi-common.so.3
ELF    7c8fb000-7c941000    Deferred        libgssapi_krb5.so.2
ELF    7c941000-7c9ae000    Deferred        libcups.so.2
ELF    7c9d7000-7cacd000    Deferred        msvcr120<elf>
  \-PE    7c9f0000-7cacd000    \               msvcr120
ELF    7cacd000-7caec000    Deferred        concrt140<elf>
  \-PE    7cad0000-7caec000    \               concrt140
PE    7caec000-7caff000    Deferred        api-ms-win-core-localization-l1-
PE    7caf0000-7caff000    Deferred        api-ms-win-core-localization-l1-C:\windows\system32\api-ms-win-core-localization-l1-2-1.dll
ELF    7caff000-7cb12000    Deferred        api-ms-win-core-fibers-l1-1-1<el
PE    7cb00000-7cb12000    Deferred        api-ms-win-core-fibers-l1-1-1
ELF    7cc29000-7cc52000    Deferred        libexpat.so.1
ELF    7cc52000-7cc8d000    Deferred        libfontconfig.so.1
ELF    7cc8d000-7ccb5000    Deferred        libpng12.so.0
ELF    7ccb5000-7cd55000    Deferred        libfreetype.so.6
ELF    7cd55000-7cddc000    Deferred        ddraw<elf>
  \-PE    7cd60000-7cddc000    \               ddraw
ELF    7cddc000-7cf3f000    Deferred        wined3d<elf>
  \-PE    7cdf0000-7cf3f000    \               wined3d
ELF    7cfae000-7cfed000    Deferred        d3d9<elf>
  \-PE    7cfb0000-7cfed000    \               d3d9
ELF    7cfed000-7d000000    Deferred        api-ms-win-crt-conio-l1-1-0<elf>
  \-PE    7cff0000-7d000000    \               api-ms-win-crt-conio-l1-1-0
ELF    7d000000-7d073000    Deferred        setupapi<elf>
  \-PE    7d010000-7d073000    \               setupapi
ELF    7d073000-7d0c1000    Deferred        usp10<elf>
  \-PE    7d080000-7d0c1000    \               usp10
ELF    7d0c1000-7d0f7000    Deferred        secur32<elf>
  \-PE    7d0d0000-7d0f7000    \               secur32
ELF    7d0f7000-7d157000    Deferred        oleacc<elf>
  \-PE    7d100000-7d157000    \               oleacc
ELF    7d157000-7d17d000    Deferred        imm32<elf>
  \-PE    7d160000-7d17d000    \               imm32
ELF    7d17d000-7d228000    Deferred        urlmon<elf>
  \-PE    7d190000-7d228000    \               urlmon
ELF    7d228000-7d240000    Deferred        userenv<elf>
  \-PE    7d230000-7d240000    \               userenv
ELF    7d240000-7d372000    Deferred        comctl32<elf>
  \-PE    7d250000-7d372000    \               comctl32
ELF    7d372000-7d46a000    Deferred        comdlg32<elf>
  \-PE    7d380000-7d46a000    \               comdlg32
ELF    7d46a000-7d4b1000    Deferred        winspool<elf>
  \-PE    7d470000-7d4b1000    \               winspool
ELF    7d4b1000-7d4b8000    Deferred        libffi.so.6
ELF    7d4b8000-7d4e9000    Deferred        libcrypt.so.1
ELF    7d4e9000-7d5a6000    Deferred        libsqlite3.so.0
ELF    7d5a6000-7d5ed000    Deferred        libhx509.so.5
ELF    7d5ed000-7d5fc000    Deferred        libheimbase.so.1
ELF    7d5fc000-7d625000    Deferred        libwind.so.0
ELF    7d625000-7d661000    Deferred        libp11-kit.so.0
ELF    7d661000-7d673000    Deferred        libtasn1.so.3
ELF    7d673000-7d689000    Deferred        libroken.so.18
ELF    7d689000-7d6be000    Deferred        libhcrypto.so.4
ELF    7d6be000-7d764000    Deferred        libasn1.so.8
ELF    7d764000-7d7ea000    Deferred        libkrb5.so.26
ELF    7d7ea000-7d86f000    Deferred        libgcrypt.so.11
ELF    7d86f000-7d938000    Deferred        libgnutls.so.26
ELF    7d938000-7d974000    Deferred        libgssapi.so.3
ELF    7d974000-7d98f000    Deferred        libsasl2.so.2
ELF    7d98f000-7d9e1000    Deferred        libldap_r-2.4.so.2
ELF    7d9e3000-7d9f7000    Deferred        dhcpcsvc<elf>
  \-PE    7d9f0000-7d9f7000    \               dhcpcsvc
ELF    7d9f7000-7da0a000    Deferred        sensapi<elf>
  \-PE    7da00000-7da0a000    \               sensapi
ELF    7da0a000-7da6f000    Deferred        wldap32<elf>
  \-PE    7da10000-7da6f000    \               wldap32
ELF    7da6f000-7da82000    Deferred        psapi<elf>
  \-PE    7da70000-7da82000    \               psapi
ELF    7da82000-7dbd5000    Deferred        oleaut32<elf>
  \-PE    7daa0000-7dbd5000    \               oleaut32
ELF    7dbd5000-7dbf2000    Deferred        jsproxy<elf>
  \-PE    7dbe0000-7dbf2000    \               jsproxy
ELF    7dbf2000-7dc36000    Deferred        winhttp<elf>
  \-PE    7dc00000-7dc36000    \               winhttp
ELF    7dc36000-7dc4f000    Deferred        libz.so.1
ELF    7dc4f000-7dcd9000    Deferred        wininet<elf>
  \-PE    7dc60000-7dcd9000    \               wininet
ELF    7dcd9000-7dd04000    Deferred        iphlpapi<elf>
  \-PE    7dce0000-7dd04000    \               iphlpapi
ELF    7dd04000-7dd36000    Deferred        netapi32<elf>
  \-PE    7dd10000-7dd36000    \               netapi32
ELF    7dd36000-7dd4e000    Deferred        libresolv.so.2
ELF    7dd52000-7dd57000    Deferred        libgpg-error.so.0
ELF    7dd57000-7dd60000    Deferred        libheimntlm.so.0
ELF    7dd60000-7dd77000    Deferred        wtsapi32<elf>
  \-PE    7dd70000-7dd77000    \               wtsapi32
ELF    7dd77000-7dd97000    Deferred        dnsapi<elf>
  \-PE    7dd80000-7dd97000    \               dnsapi
ELF    7dd97000-7ddc3000    Deferred        msacm32<elf>
  \-PE    7dda0000-7ddc3000    \               msacm32
ELF    7ddc3000-7de83000    Deferred        winmm<elf>
  \-PE    7ddd0000-7de83000    \               winmm
ELF    7de83000-7de9e000    Deferred        dinput8<elf>
  \-PE    7de90000-7de9e000    \               dinput8
ELF    7de9e000-7deb2000    Deferred        mswsock<elf>
  \-PE    7dea0000-7deb2000    \               mswsock
ELF    7deb2000-7df98000    Deferred        crypt32<elf>
  \-PE    7dec0000-7df98000    \               crypt32
ELF    7df98000-7dfcf000    Deferred        wintrust<elf>
  \-PE    7dfa0000-7dfcf000    \               wintrust
ELF    7dfcf000-7e0be000    Deferred        msvcr110<elf>
  \-PE    7dff0000-7e0be000    \               msvcr110
ELF    7e0be000-7e1ed000    Deferred        msvcp110<elf>
  \-PE    7e100000-7e1ed000    \               msvcp110
PE    7e1ed000-7e200000    Deferred        api-ms-win-crt-filesystem-l1-1-0
PE    7e1f0000-7e200000    Deferred        api-ms-win-crt-filesystem-l1-1-0C:\windows\system32\api-ms-win-crt-filesystem-l1-1-0.dll
ELF    7e200000-7e213000    Deferred        api-ms-win-crt-time-l1-1-0<elf>
  \-PE    7e210000-7e213000    \               api-ms-win-crt-time-l1-1-0
ELF    7e213000-7e226000    Deferred        api-ms-win-crt-utility-l1-1-0<el
PE    7e220000-7e226000    Deferred        api-ms-win-crt-utility-l1-1-0
PE    7e226000-7e239000    Deferred        api-ms-win-crt-environment-l1-1-
PE    7e230000-7e239000    Deferred        api-ms-win-crt-environment-l1-1-C:\windows\system32\api-ms-win-crt-environment-l1-1-0.dll
ELF    7e239000-7e24e000    Deferred        api-ms-win-crt-string-l1-1-0<elf
PE    7e240000-7e24e000    Deferred        api-ms-win-crt-string-l1-1-0
PE    7e24e000-7e261000    Deferred        api-ms-win-core-interlocked-l1-1
PE    7e250000-7e261000    Deferred        api-ms-win-core-interlocked-l1-1C:\windows\system32\api-ms-win-core-interlocked-l1-1-0.dll
PE    7e261000-7e274000    Deferred        api-ms-win-core-rtlsupport-l1-1-
PE    7e270000-7e274000    Deferred        api-ms-win-core-rtlsupport-l1-1-C:\windows\system32\api-ms-win-core-rtlsupport-l1-1-0.dll
ELF    7e274000-7e287000    Deferred        api-ms-win-core-util-l1-1-0<elf>
  \-PE    7e280000-7e287000    \               api-ms-win-core-util-l1-1-0
ELF    7e287000-7e29a000    Deferred        api-ms-win-core-memory-l1-1-0<el
PE    7e290000-7e29a000    Deferred        api-ms-win-core-memory-l1-1-0
ELF    7e29a000-7e2ad000    Deferred        api-ms-win-core-profile-l1-1-0<e
PE    7e2a0000-7e2ad000    Deferred        api-ms-win-core-profile-l1-1-0
ELF    7e2ad000-7e2c1000    Deferred        api-ms-win-core-file-l1-2-0<elf>
  \-PE    7e2b0000-7e2c1000    \               api-ms-win-core-file-l1-2-0
PE    7e2c1000-7e2d4000    Deferred        api-ms-win-core-processthreads-l
PE    7e2d0000-7e2d4000    Deferred        api-ms-win-core-processthreads-lC:\windows\system32\api-ms-win-core-processthreads-l1-1-1.dll
ELF    7e2d4000-7e2e7000    Deferred        api-ms-win-core-debug-l1-1-0<elf
PE    7e2e0000-7e2e7000    Deferred        api-ms-win-core-debug-l1-1-0
ELF    7e2e7000-7e2fa000    Deferred        api-ms-win-core-console-l1-1-0<e
PE    7e2f0000-7e2fa000    Deferred        api-ms-win-core-console-l1-1-0
ELF    7e2fa000-7e30d000    Deferred        api-ms-win-core-synch-l1-2-0<elf
PE    7e300000-7e30d000    Deferred        api-ms-win-core-synch-l1-2-0
ELF    7e30d000-7e320000    Deferred        api-ms-win-core-sysinfo-l1-1-0<e
PE    7e310000-7e320000    Deferred        api-ms-win-core-sysinfo-l1-1-0
PE    7e320000-7e333000    Deferred        api-ms-win-core-localization-l1-
PE    7e330000-7e333000    Deferred        api-ms-win-core-localization-l1-C:\windows\system32\api-ms-win-core-localization-l1-2-0.dll
ELF    7e333000-7e346000    Deferred        api-ms-win-core-datetime-l1-1-0<
PE    7e340000-7e346000    Deferred        api-ms-win-core-datetime-l1-1-0
PE    7e346000-7e359000    Deferred        api-ms-win-core-processenvironme
PE    7e350000-7e359000    Deferred        api-ms-win-core-processenvironmeC:\windows\system32\api-ms-win-core-processenvironment-l1-1-0.dll
PE    7e359000-7e36c000    Deferred        api-ms-win-core-processthreads-l
PE    7e360000-7e36c000    Deferred        api-ms-win-core-processthreads-lC:\windows\system32\api-ms-win-core-processthreads-l1-1-0.dll
ELF    7e36c000-7e37f000    Deferred        api-ms-win-core-synch-l1-1-0<elf
PE    7e370000-7e37f000    Deferred        api-ms-win-core-synch-l1-1-0
PE    7e37f000-7e392000    Deferred        api-ms-win-core-libraryloader-l1
PE    7e380000-7e392000    Deferred        api-ms-win-core-libraryloader-l1C:\windows\system32\api-ms-win-core-libraryloader-l1-1-0.dll
ELF    7e392000-7e3a5000    Deferred        api-ms-win-core-heap-l1-1-0<elf>
  \-PE    7e3a0000-7e3a5000    \               api-ms-win-core-heap-l1-1-0
ELF    7e3a5000-7e3b8000    Deferred        api-ms-win-core-file-l2-1-0<elf>
  \-PE    7e3b0000-7e3b8000    \               api-ms-win-core-file-l2-1-0
ELF    7e3b8000-7e3cb000    Deferred        api-ms-win-core-handle-l1-1-0<el
PE    7e3c0000-7e3cb000    Deferred        api-ms-win-core-handle-l1-1-0
PE    7e3cb000-7e3de000    Deferred        api-ms-win-core-namedpipe-l1-1-0
PE    7e3d0000-7e3de000    Deferred        api-ms-win-core-namedpipe-l1-1-0C:\windows\system32\api-ms-win-core-namedpipe-l1-1-0.dll
ELF    7e3de000-7e3f2000    Deferred        api-ms-win-core-file-l1-1-0<elf>
  \-PE    7e3e0000-7e3f2000    \               api-ms-win-core-file-l1-1-0
ELF    7e3f2000-7e405000    Deferred        api-ms-win-core-timezone-l1-1-0<
PE    7e400000-7e405000    Deferred        api-ms-win-core-timezone-l1-1-0
PE    7e405000-7e418000    Deferred        api-ms-win-core-errorhandling-l1
PE    7e410000-7e418000    Deferred        api-ms-win-core-errorhandling-l1C:\windows\system32\api-ms-win-core-errorhandling-l1-1-0.dll
ELF    7e418000-7e42b000    Deferred        api-ms-win-core-string-l1-1-0<el
PE    7e420000-7e42b000    Deferred        api-ms-win-core-string-l1-1-0
ELF    7e42b000-7e558000    Dwarf           msvcp140<elf>
  \-PE    7e470000-7e558000    \               msvcp140
ELF    7e558000-7e580000    Deferred        mpr<elf>
  \-PE    7e560000-7e580000    \               mpr
ELF    7e580000-7e5bd000    Deferred        ws2_32<elf>
  \-PE    7e590000-7e5bd000    \               ws2_32
ELF    7e5bd000-7e64c000    Deferred        rpcrt4<elf>
  \-PE    7e5d0000-7e64c000    \               rpcrt4
ELF    7e64c000-7e7a1000    Deferred        ole32<elf>
  \-PE    7e660000-7e7a1000    \               ole32
ELF    7e7a1000-7e81e000    Deferred        shlwapi<elf>
  \-PE    7e7b0000-7e81e000    \               shlwapi
ELF    7e81e000-7ea76000    Deferred        shell32<elf>
  \-PE    7e830000-7ea76000    \               shell32
ELF    7ea76000-7eaf7000    Deferred        advapi32<elf>
  \-PE    7ea80000-7eaf7000    \               advapi32
ELF    7eaf7000-7ec4f000    Deferred        gdi32<elf>
  \-PE    7eb00000-7ec4f000    \               gdi32
ELF    7ec4f000-7edd8000    Deferred        user32<elf>
  \-PE    7ec60000-7edd8000    \               user32
ELF    7edd8000-7ede4000    Deferred        libnss_files.so.2
ELF    7ede4000-7edf0000    Deferred        libnss_nis.so.2
ELF    7edf0000-7edff000    Deferred        liblber-2.4.so.2
ELF    7edff000-7ee19000    Deferred        version<elf>
  \-PE    7ee00000-7ee19000    \               version
ELF    7ef88000-7efce000    Deferred        libm.so.6
ELF    7efce000-7efd7000    Deferred        librt.so.1
ELF    7efd7000-7efdc000    Deferred        libcom_err.so.2
ELF    7efdc000-7eff5000    Deferred        libnsl.so.1
ELF    7eff5000-7effe000    Deferred        libnss_compat.so.2
ELF    f73b7000-f73bc000    Deferred        libdl.so.2
ELF    f73bc000-f756b000    Deferred        libc.so.6
ELF    f756b000-f7587000    Deferred        libpthread.so.0
ELF    f75b1000-f7769000    Dwarf           libwine.so.1
ELF    f776b000-f778d000    Deferred        ld-linux.so.2
ELF    f778d000-f778e000    Deferred        [vdso].so
Threads:
process  tid      prio (all id:s are in hex)
0000000e services.exe
    00000020    0
    0000001f    0
    00000017    0
    00000016    0
    00000014    0
    00000010    0
    0000000f    0
00000012 winedevice.exe
    0000001e    0
    0000001b    0
    0000001a    0
    00000019    0
    00000018    0
    00000013    0
0000001c plugplay.exe
    00000022    0
    00000021    0
    0000001d    0
00000023 (D) C:\Program Files (x86)\Battle.net\Battle.net.8098\Battle.net.exe
    00000024    0 <==
00000026 explorer.exe
    0000002c    0
    0000002b    0
    0000002a    0
    00000029    0
    00000028    0
    00000027    0
System information:
    Wine build: wine-1.9.20
    Platform: i386 (WOW64)
    Version: Windows XP
    Host system: Linux
    Host version: 3.13.0-24-generic

I tried to change the configuration to msvcp140 (native,builtin), but now Battle.net does not crash anymore, but it does not start either (nothing happends, and when I try to quit I get a message saying that the program is not responding).

Thanks for your help!

Replies

Monday 24 October 2016 at 15:22 -
In my Ubuntu 16.10 it works well with wine 1.9.20-staging and msvcp140 library (all wine versions higher than 1.16 I've tested need the msvcp140), so maybe try to backup your drive_c, recreate the virtualdrive, reinstall the game and move the drive_c back. If you can't make it work like this, try to use wine 1.15 and msvcp100 instead of 140 (with wine 1.15 or lower, autologin to battlenet doesn't work but after you login battlenet runs fine). I'm still not able to make it work on my manjaro.
Tuesday 25 October 2016 at 7:34 -
UPDATE: now it works on my manjaro linux too.
hbobenicio Friday 16 September 2016 at 2:57
hbobenicio Anonymous

Warning

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

Differences

@@ -26,6 +26,7 @@
 # POL_Wine_OverrideDLL "native,builtin" "msvcp100"
 POL_Wine_OverrideDLL "native,builtin" "api-ms-win-crt-heap-l1-1-0"
 POL_Wine_OverrideDLL "native,builtin" "api-ms-win-crt-locale-l1-1-0"
+POL_Wine_OverrideDLL "native,builtin" "api-ms-win-crt-math-l1-1-0"
 POL_Wine_OverrideDLL "native,builtin" "api-ms-win-crt-runtime-l1-1-0"
 POL_Wine_OverrideDLL "native,builtin" "api-ms-win-crt-stdio-l1-1-0"
 POL_Wine_OverrideDLL "native,builtin" "api-ms-win-crt-convert-l1-1-0"

New source code

#!/bin/bash
# Date : 2016-07-31 08:45
# Last revision :
# Wine version used : 1.9.3
# Distribution used to test : Ubuntu 16.04 64bits
# Author : nosklo
# Depend :

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

TITLE="Heroes of the Storm"
PREFIX="heroes_of_the_storm"

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/" "EdRIn" "$PREFIX"
POL_Wine_SelectPrefix "$PREFIX"
POL_System_SetArch "x86"
POL_Wine_PrefixCreate "1.9.3-HeroesOfStorm-40083bugfix"

# 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_OverrideDLL "native,builtin" "api-ms-win-crt-heap-l1-1-0"
POL_Wine_OverrideDLL "native,builtin" "api-ms-win-crt-locale-l1-1-0"
POL_Wine_OverrideDLL "native,builtin" "api-ms-win-crt-math-l1-1-0"
POL_Wine_OverrideDLL "native,builtin" "api-ms-win-crt-runtime-l1-1-0"
POL_Wine_OverrideDLL "native,builtin" "api-ms-win-crt-stdio-l1-1-0"
POL_Wine_OverrideDLL "native,builtin" "api-ms-win-crt-convert-l1-1-0"
POL_Wine_OverrideDLL "native,builtin" "ucrtbase"
POL_Wine_OverrideDLL "native,builtin" "vcruntime140"
POL_Wine_OverrideDLL "" "d3d11"


# 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="Heroes-of-the-Storm-Setup-enUS.exe";;
    "Español (AL)")
        EXE_FILE="Heroes-of-the-Storm-Setup-esMX.exe";;
    "Português (BR)")
        EXE_FILE="Heroes-of-the-Storm-Setup-ptBR.exe";;
    "English (EU)")
        EXE_FILE="Heroes-of-the-Storm-Setup-enGB.exe";;
    "Deutsch")
        EXE_FILE="Heroes-of-the-Storm-Setup-deDE.exe";;
    "Español (EU)")
        EXE_FILE="Heroes-of-the-Storm-Setup-esES.exe";;
    "Português (EU)")
        EXE_FILE="Heroes-of-the-Storm-Setup-ptPT.exe";;
    "Français")
        EXE_FILE="Heroes-of-the-Storm-Setup-frFR.exe";;
    "Russian")
        EXE_FILE="Heroes-of-the-Storm-Setup-ruRU.exe";;
    "Italiano")
        EXE_FILE="Heroes-of-the-Storm-Setup-itIT.exe";;
    "Polski")
        EXE_FILE="Heroes-of-the-Storm-Setup-plPL.exe";;
    "Korean")
        EXE_FILE="Heroes-of-the-Storm-Setup-koKR.exe";;
    "Chinese (Taiwan)")
        EXE_FILE="Heroes-of-the-Storm-Setup-zhTW.exe";;
    "Chinese (China)")
        EXE_FILE="Heroes-of-the-Storm-Setup-zhCN.exe";;
    *)
        exit 1;;
esac

POL_System_TmpCreate "$PREFIX"
cd "$POL_System_TmpDir"
POL_Download "http://dist.blizzard.com/downloads/storm-installers/7C96DEC684D71DCDD4809F35F5D1E2BE/storm.1/${EXE_FILE}"

# POL_Call POL_Install_vcrun2008
# POL_Call POL_Install_winhttp

POL_Wine "$POL_System_TmpDir/${EXE_FILE}"

POL_Wine_WaitExit "$TITLE"

POL_System_TmpDelete

POL_SetupWindow_VMS "256"
POL_Wine_reboot

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

exit 0

Replies

Anonymous
Friday 16 September 2016 at 2:58 -
After the start of the Season 2 (a few days ago), my game started to crash when I was clicking on the "Play" tab inside the main screen.
After looking on the log, I saw that I was getting this error:



wine: Call from 0x7b43fbb2 to unimplemented function api-ms-win-crt-math-l1-1-0.dll._except1, aborting



So then, I went to Configure > Wine > Configure Wine > Libraries > Add a new library substitution entry for:

api-ms-win-crt-math-l1-1-0



After I did that and restarted Heroes of the Storm, the game stopped crashing and It's working now.
Anonymous
Saturday 17 September 2016 at 10:43 -
Thank you! I was hoping someone would help out. Same thing happened, this fix worked perfectly.
Anonymous
Thursday 22 September 2016 at 22:15 -
Hello,
Anonymous
Thursday 22 September 2016 at 22:16 -
Confirming this patch is working ! Thank you !
Anonymous
Tuesday 4 October 2016 at 0:00 -
yes it works, thx
hbobenicio Friday 16 September 2016 at 2:56
hbobenicio Anonymous

Message

After the start of the Season 2 (a few days ago), my game started to crash when I was clicking on the "Play" tab inside the main screen.
After looking on the log, I saw that I was getting this error:

 

wine: Call from 0x7b43fbb2 to unimplemented function api-ms-win-crt-math-l1-1-0.dll._except1, aborting

 

So then, I went to Configure > Wine > Configure Wine > Libraries > Add a new library substitution entry for:

api-ms-win-crt-math-l1-1-0

 

After I did that and restarted Heroes of the Storm, the game stopped crashing and It's working now.

Replies

nosklo Sunday 31 July 2016 at 13:47
nosklo Anonymous

Information

This update has been approved by the team.

Message

I have added the overrides I used to the script and it is working for me now. Only issue is that the battle.net password is not being saved and you have to enter it every time.

Differences

@@ -1,9 +1,9 @@
 #!/bin/bash
-# Date : 2016-02-04 18:48
+# Date : 2016-07-31 08:45
 # Last revision :
 # Wine version used : 1.9.3
-# Distribution used to test : Ubuntu 15.10 64
-# Author : EdRIn
+# Distribution used to test : Ubuntu 16.04 64bits
+# Author : nosklo
 # Depend :
 
 [ "$PLAYONLINUX" = "" ] && exit 0
@@ -24,6 +24,15 @@
 # http://appdb.winehq.org/objectManager.php?sClass=version&iId=29747
 # POL_Wine_OverrideDLL "native,builtin" "dbghelp"
 # POL_Wine_OverrideDLL "native,builtin" "msvcp100"
+POL_Wine_OverrideDLL "native,builtin" "api-ms-win-crt-heap-l1-1-0"
+POL_Wine_OverrideDLL "native,builtin" "api-ms-win-crt-locale-l1-1-0"
+POL_Wine_OverrideDLL "native,builtin" "api-ms-win-crt-runtime-l1-1-0"
+POL_Wine_OverrideDLL "native,builtin" "api-ms-win-crt-stdio-l1-1-0"
+POL_Wine_OverrideDLL "native,builtin" "api-ms-win-crt-convert-l1-1-0"
+POL_Wine_OverrideDLL "native,builtin" "ucrtbase"
+POL_Wine_OverrideDLL "native,builtin" "vcruntime140"
+POL_Wine_OverrideDLL "" "d3d11"
+
 
 # Download & Install the game.
 # Multiple Language support. See https://eu.battle.net/account/download/?show=hearthstone&style=hearthstone

New source code

#!/bin/bash
# Date : 2016-07-31 08:45
# Last revision :
# Wine version used : 1.9.3
# Distribution used to test : Ubuntu 16.04 64bits
# Author : nosklo
# Depend :

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

TITLE="Heroes of the Storm"
PREFIX="heroes_of_the_storm"

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/" "EdRIn" "$PREFIX"
POL_Wine_SelectPrefix "$PREFIX"
POL_System_SetArch "x86"
POL_Wine_PrefixCreate "1.9.3-HeroesOfStorm-40083bugfix"

# 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_OverrideDLL "native,builtin" "api-ms-win-crt-heap-l1-1-0"
POL_Wine_OverrideDLL "native,builtin" "api-ms-win-crt-locale-l1-1-0"
POL_Wine_OverrideDLL "native,builtin" "api-ms-win-crt-runtime-l1-1-0"
POL_Wine_OverrideDLL "native,builtin" "api-ms-win-crt-stdio-l1-1-0"
POL_Wine_OverrideDLL "native,builtin" "api-ms-win-crt-convert-l1-1-0"
POL_Wine_OverrideDLL "native,builtin" "ucrtbase"
POL_Wine_OverrideDLL "native,builtin" "vcruntime140"
POL_Wine_OverrideDLL "" "d3d11"


# 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="Heroes-of-the-Storm-Setup-enUS.exe";;
    "Español (AL)")
        EXE_FILE="Heroes-of-the-Storm-Setup-esMX.exe";;
    "Português (BR)")
        EXE_FILE="Heroes-of-the-Storm-Setup-ptBR.exe";;
    "English (EU)")
        EXE_FILE="Heroes-of-the-Storm-Setup-enGB.exe";;
    "Deutsch")
        EXE_FILE="Heroes-of-the-Storm-Setup-deDE.exe";;
    "Español (EU)")
        EXE_FILE="Heroes-of-the-Storm-Setup-esES.exe";;
    "Português (EU)")
        EXE_FILE="Heroes-of-the-Storm-Setup-ptPT.exe";;
    "Français")
        EXE_FILE="Heroes-of-the-Storm-Setup-frFR.exe";;
    "Russian")
        EXE_FILE="Heroes-of-the-Storm-Setup-ruRU.exe";;
    "Italiano")
        EXE_FILE="Heroes-of-the-Storm-Setup-itIT.exe";;
    "Polski")
        EXE_FILE="Heroes-of-the-Storm-Setup-plPL.exe";;
    "Korean")
        EXE_FILE="Heroes-of-the-Storm-Setup-koKR.exe";;
    "Chinese (Taiwan)")
        EXE_FILE="Heroes-of-the-Storm-Setup-zhTW.exe";;
    "Chinese (China)")
        EXE_FILE="Heroes-of-the-Storm-Setup-zhCN.exe";;
    *)
        exit 1;;
esac

POL_System_TmpCreate "$PREFIX"
cd "$POL_System_TmpDir"
POL_Download "http://dist.blizzard.com/downloads/storm-installers/7C96DEC684D71DCDD4809F35F5D1E2BE/storm.1/${EXE_FILE}"

# POL_Call POL_Install_vcrun2008
# POL_Call POL_Install_winhttp

POL_Wine "$POL_System_TmpDir/${EXE_FILE}"

POL_Wine_WaitExit "$TITLE"

POL_System_TmpDelete

POL_SetupWindow_VMS "256"
POL_Wine_reboot

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

exit 0

Replies

Anonymous
Sunday 7 August 2016 at 14:52 -
Thanks for the contribution, Nosklo!
Anonymous
Monday 15 August 2016 at 11:14 -
Great, indeed I cannot use the battle app for login since a while, I'm login into the hots game directly
Diogovmm Thursday 28 July 2016 at 14:18
Diogovmm Anonymous

Message

Hello. I am very fresh linux user. I use Xubuntu and 4.2.10 version of PlayOnLinux.

Every time I try to run Heroes of the storm or battlenet or hearthstone I get this:

[07/28/16 13:05:04] - Running wine-1.9.10 Battle.net Launcher.exe (Working directory : /home/xut/.PlayOnLinux/wineprefix/heroes_of_the_storm/drive_c/Program Files/Battle.net)
fixme:heap:RtlSetHeapInformation (nil) 1 (nil) 0 stub
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.
fixme:winhttp:get_system_proxy_autoconfig_url no support on this platform
fixme:winhttp:WinHttpDetectAutoProxyConfigUrl discovery via DHCP not supported
fixme:winhttp:get_system_proxy_autoconfig_url no support on this platform
fixme:wininet:InternetSetOptionW Option 77 STUB
err:wininet:open_http_connection create_netconn failed: 12029
fixme:ver:GetCurrentPackageId (0x456ea08 (nil)): stub
fixme:wininet:InternetSetOptionW Option 77 STUB
err:wininet:open_http_connection create_netconn failed: 12029
fixme:wininet:InternetSetOptionW Option 77 STUB
err:wininet:open_http_connection create_netconn failed: 12029
fixme:winhttp:get_system_proxy_autoconfig_url no support on this platform
fixme:wininet:InternetSetOptionW Option 77 STUB
err:wininet:open_http_connection create_netconn failed: 12029
fixme:wininet:InternetSetOptionW Option 77 STUB
err:wininet:open_http_connection create_netconn failed: 12029
fixme:ver:GetCurrentPackageId (0x33e8ac (nil)): stub
fixme:wininet:InternetSetOptionW Option 77 STUB
err:wininet:open_http_connection create_netconn failed: 12029
fixme:wininet:InternetSetOptionW Option 77 STUB
err:wininet:open_http_connection create_netconn failed: 12029
fixme:win:EnumDisplayDevicesW ((null),0,0x33f578,0x00000000), stub!
fixme:wininet:InternetSetOptionW Option 77 STUB
err:wininet:open_http_connection create_netconn failed: 12029
fixme:wbemprox:wbem_locator_ConnectServer unsupported flags
fixme:wbemprox:client_security_SetBlanket 0x7daffba8, 0x178a68, 10, 0, (null), 3, 3, (nil), 0x00000000
fixme:wbemprox:client_security_Release 0x7daffba8
fixme:winhttp:get_system_proxy_autoconfig_url no support on this platform
fixme:winhttp:WinHttpDetectAutoProxyConfigUrl discovery via DHCP not supported
fixme:wininet:InternetSetOptionW Option 77 STUB
fixme:wbemprox:enum_class_object_Next timeout not supported
fixme:winhttp:get_system_proxy_autoconfig_url no support on this platform
fixme:winhttp:get_system_proxy_autoconfig_url no support on this platform
fixme:winhttp:get_system_proxy_autoconfig_url no support on this platform
fixme:ver:GetCurrentPackageId (0x456ea08 (nil)): stub
fixme:winhttp:get_system_proxy_autoconfig_url no support on this platform
fixme:module:load_library unsupported flag(s) used (flags: 0x00000800)
fixme:module:load_library unsupported flag(s) used (flags: 0x00000800)
fixme:module:load_library unsupported flag(s) used (flags: 0x00000800)
fixme:module:load_library unsupported flag(s) used (flags: 0x00000800)
fixme:module:load_library unsupported flag(s) used (flags: 0x00000800)
fixme:winhttp:get_system_proxy_autoconfig_url no support on this platform
fixme:module:load_library unsupported flag(s) used (flags: 0x00000800)
fixme:module:load_library unsupported flag(s) used (flags: 0x00000800)
wine: Call from 0x7b43fb52 to unimplemented function api-ms-win-crt-locale-l1-1-0.dll._lock_locales, aborting
err:module:attach_process_dlls "MSVCP140.dll" failed to initialize, aborting
err:module:LdrInitializeThunk Main exe initialization for L"C:\\Program Files\\Battle.net\\Battle.net.7730\\Battle.net.exe" failed, status 80000100
fixme:winhttp:get_system_proxy_autoconfig_url no support on this platform
<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>  
fixme:winhttp:get_system_proxy_autoconfig_url no support on this platform
fixme:winhttp:get_system_proxy_autoconfig_url no support on this platform
fixme:winhttp:get_system_proxy_autoconfig_url no support on this platform
fixme:winhttp:get_system_proxy_autoconfig_url no support on this platform
fixme:winhttp:get_system_proxy_autoconfig_url no support on this platform
fixme:winhttp:get_system_proxy_autoconfig_url no support on this platform
fixme:winhttp:get_system_proxy_autoconfig_url no support on this platform
fixme:winhttp:get_system_proxy_autoconfig_url no support on this platform
fixme:winhttp:get_system_proxy_autoconfig_url no support on this platform
[07/28/16 13:06:33] - Running wine-1.9.10 winecfg (Working directory : /usr/share/playonlinux/python)
fixme:msg:pack_message msg 14 (WM_ERASEBKGND) not supported yet

I have tried to solve this for some time now, but as I don't understand half what is happening I got to nowhere. I searched for "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." on web and tried some things but nothing worked.

Sorry, it probably is something idiotic of mine but thanks for any help given.

 

Replies

Anonymous
Friday 29 July 2016 at 19:01 -
I've tried many things envolving wininet and winhttp. I can't install them as in - https://github.com/Winetricks/winetricks/issues/600 I've followed it but when I try to execute I get and error saying the system languages is not the same as the update.. Can someone help please?
Anonymous
Saturday 30 July 2016 at 17:18 -
wine: Call from 0x7b43fb52 to unimplemented function api-ms-win-crt-locale-l1-1-0.dll._lock_locales, aborting
err:module:attach_process_dlls "MSVCP140.dll" failed to initialize, aborting
err:module:LdrInitializeThunk Main exe initialization for L"C:\\Program Files\\Battle.net\\Battle.net.7730\\Battle.net.exe" failed, status 80000100
Anonymous
Saturday 30 July 2016 at 17:19 -
This is the real error
Anonymous
Saturday 30 July 2016 at 17:21 -
The problem came with a recent update to battle.net application. I got my game to partially work by adding a lot of libraries in wine config, for each error just go there and add the library, for your error "Call from 0x7b43fb52 to unimplemented function api-ms-win-crt-locale-l1-1-0.dll._lock_locales, aborting" you must add api-ms-win-crt-locale-l1-1-0 to your winecfg libraries tab. Keep doing that and eventually it will load
ElPasso Wednesday 27 July 2016 at 18:58
ElPasso Anonymous

Message

Another day, another update.

Another update, another broken HoTS.

GG again Blizzard, now the 1.9.3 hotfix cannot run BNet... newer versions fail too (tested 1.9.14staging and 1.9.15). There is some workaround for BNet to be installed on 1.9.15 but this version cannot run HotS.

Some forums propose to have vcrun2015 but it is not available in PoL.

Is there a way to run directly HoTS without BNet interface? Any idea how to launch it ?

 

Replies

Anonymous
Thursday 28 July 2016 at 0:45 -
I had the same problem with last update.
This solved the problem:
https://www.reddit.com/r/hearthstone/comments/4uspc8/are_other_linux_users_having_problems_with/?st=ir5gsrqv&sh=9604638b

Basicly all you need to do is to override some api-ms-win-crt-* libraries
(http://i.imgur.com/Gs7QgH2.png)

Go to Configure > Wine > Libraries and add
api-ms-win-crt-heap-l1-1-0
api-ms-win-crt-locale-l1-1-0
api-ms-win-crt-runtime-l1-1-0
api-ms-win-crt-stdio-l1-1-0
ucrtbase
vcruntime140
(all native, then embedded)

Make someone could update the HOTS POL instalation script to add those wine overrides, and alert the user at the end that he need to configure HOTS's (inside BNet) to use the launch parameter -dx9 (forcing directX 9).
Anonymous
Thursday 28 July 2016 at 0:45 -
*Maybe someone could...
Anonymous
Thursday 28 July 2016 at 9:28 -
It works!!!

Thank you so much dude, I was missing stdio in the list.
No need to reinstall or tweaking with vcrun2015, this is great!
Anonymous
Saturday 30 July 2016 at 17:22 -
it stops saving the password though so you have to enter it again every time.
bodtx Wednesday 13 July 2016 at 23:17
bodtx Anonymous

Message

Today with the new patch 19.0.44468, when i arrive in the game menu, the screen is black. I have only the mouse pointer and the sound. I can hear the buttons where I click but no video.

I have no special error in my log. I am under linux mint 18. Anybody else?

 

Replies

Anonymous
Thursday 14 July 2016 at 12:52 -
Yes. Same problem here. I tryed an updated version of wine (1.9.13)... Gul'dan appears on the login screen, but it's shading and textures are all messed up. Nothing else appears though. No top buttonbar, no bottom buttonbar...

I think Blizzard changed something in the game to support DirectX 11 that broke hots sandbox on playonlinux.
Anonymous
Thursday 14 July 2016 at 14:49 -
Same problem here. The game was working perfectly before update.
Anonymous
Thursday 14 July 2016 at 14:55 -
I managed to start the game with wine-staging 1.9.14 under Ubuntu but it is terribly slow (10fps approx). Changing the graphic settings is useless, the game now put all my settings back to low/disabled at restart, writing that my card (GTX 660) is not supported by higher settings. The official Wine version (1.9.3 bugfix) just throw a black screen with white triangles... Optimizations by CMST / Strict Draw Ordering, Windowed mode do not help. I hope this can help someone to find a fix, for the moment the game is unplayable...
Anonymous
Thursday 14 July 2016 at 14:58 -
Upgrade from Ubuntu 14.04 to 16.04 does not help either
Anonymous
Friday 15 July 2016 at 5:43 -
this link says that HOTS was built on dx9: http://us.battle.net/heroes/en/forum/topic/20745756224

HOTS' Patch note for Patch 19.0 says that: "Heroes of the Storm now supports DirectX 11."
Blizzard should've changed lots of code for this directx support upgrade. Is that why this POL sandbox isn't working anymore? Is it possible to use directX 11 with wine/POL or is just not stable yet?
Anonymous
Friday 15 July 2016 at 10:35 -
Considering this : https://www.winehq.org/winapi_stats which say that DX10 is at 86%, DX10.1 is at 43% and DX11 at 6%

I think heroes of the storm on Linux is now dead for a long time... but maybe there is a fallback mode using DX9?
Anonymous
Friday 15 July 2016 at 10:55 -
FIXED :
run battle.net and go to "options" -> "game parameters"
Add :

-dx9

Run the game! Performance is back but no more ultra settings, the game says I lack of memory.
Anyway it works, enjoy.
Anonymous
Friday 15 July 2016 at 11:19 -
Fixed the "memory lack" and poor setings issue too :
In PoL go to "Configure" -> "Display" and put your "video memory size"
(mine is 2048 but pick the memory of your card found in NVidia settings or so)
Game is back to normal, hope this can help!
Anonymous
Friday 15 July 2016 at 11:31 -
Nice, -dx9 is working for me also, thank you! https://snag.gy/OHhQFW.jpg
Anonymous
Friday 15 July 2016 at 12:01 -
Its worked here too! Thanks! The funny part is that I've tried -dx9 option before, but as a wine argument, instead of a hots argument :P

I hope Blizzand don't fully upgrade to Dx11 and forget the Dx9 support so soon...
Anonymous
Wednesday 20 July 2016 at 0:51 -
I would be nice to add to the installation script a final step telling the user that he needs to add the option "-dx9" in the Battle.net HOTS configuration.
BloodyIron Saturday 18 June 2016 at 22:28
BloodyIron

Message

I was having some pretty meh performance with "1.9.3-HeroesOfStorm-40083bugfix" so I tried some alternatives, and I saw massive gains!

I grabbed "1.9.12-staging", and adjusted the following things:

  1. Turned on CSMT
  2. Set "Strict Draw Ordering" to "disabled" ( http://www.gamersonlinux.com/forum/threads/playonlinux-explained-display-settings.266/ )
  3. Set to run windowed "fullscreen" mode. If I run true fullscreen, alt-tabbing crashes the rendering engine, running windowed ("fullscreen" mode or not) corrects this.

Previously, I had to switch to all low settings and would get 30-55FPS or so. With these new settings I was able to run on everything Extreme/Ultra and get 50-70FPS. Oddly enough switching to High resulted in lower FPS, go figure.

Also note, the pull-down menus in the battle.net launcher need a bit of babysitting, so heads up on that. Not fully working as one would expect there.

Specs:

  1. CPU: i7-980x (stock clocks)
  2. GPU: nVidia 960 GTX SFF version (Asus), 2GB RAM
  3. Storage: 120GB Samsung 840 SSD
  4. RAM: 12GB
  5. Monitors: 3 monitors, each 1920x1080, as of testing all in landscape mode

Game on!

Replies

Saturday 18 June 2016 at 22:29 -
Oh, forgot to mention, I plan to try these settings with Starcraft 2 later also.
petch Tuesday 16 February 2016 at 19:02
petch
Developer

Warning

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

Message

Wine version typo fix

Differences

@@ -17,7 +17,7 @@
 POL_SetupWindow_presentation "$TITLE" "Blizzard" "http://us.battle.net/hearthstone/en/" "EdRIn" "$PREFIX"
 POL_Wine_SelectPrefix "$PREFIX"
 POL_System_SetArch "x86"
-POL_Wine_PrefixCreate "1.9.3-HeroesOfStorm-430083bugfix"
+POL_Wine_PrefixCreate "1.9.3-HeroesOfStorm-40083bugfix"
 
 # Might not be needed but seen several reports that said it was needed for them to install B.net client
 # POL_Call POL_Install_flashplayer

New source code

#!/bin/bash
# Date : 2016-02-04 18:48
# Last revision :
# Wine version used : 1.9.3
# Distribution used to test : Ubuntu 15.10 64
# Author : EdRIn
# Depend :

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

TITLE="Heroes of the Storm"
PREFIX="heroes_of_the_storm"

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/" "EdRIn" "$PREFIX"
POL_Wine_SelectPrefix "$PREFIX"
POL_System_SetArch "x86"
POL_Wine_PrefixCreate "1.9.3-HeroesOfStorm-40083bugfix"

# 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="Heroes-of-the-Storm-Setup-enUS.exe";;
    "Español (AL)")
        EXE_FILE="Heroes-of-the-Storm-Setup-esMX.exe";;
    "Português (BR)")
        EXE_FILE="Heroes-of-the-Storm-Setup-ptBR.exe";;
    "English (EU)")
        EXE_FILE="Heroes-of-the-Storm-Setup-enGB.exe";;
    "Deutsch")
        EXE_FILE="Heroes-of-the-Storm-Setup-deDE.exe";;
    "Español (EU)")
        EXE_FILE="Heroes-of-the-Storm-Setup-esES.exe";;
    "Português (EU)")
        EXE_FILE="Heroes-of-the-Storm-Setup-ptPT.exe";;
    "Français")
        EXE_FILE="Heroes-of-the-Storm-Setup-frFR.exe";;
    "Russian")
        EXE_FILE="Heroes-of-the-Storm-Setup-ruRU.exe";;
    "Italiano")
        EXE_FILE="Heroes-of-the-Storm-Setup-itIT.exe";;
    "Polski")
        EXE_FILE="Heroes-of-the-Storm-Setup-plPL.exe";;
    "Korean")
        EXE_FILE="Heroes-of-the-Storm-Setup-koKR.exe";;
    "Chinese (Taiwan)")
        EXE_FILE="Heroes-of-the-Storm-Setup-zhTW.exe";;
    "Chinese (China)")
        EXE_FILE="Heroes-of-the-Storm-Setup-zhCN.exe";;
    *)
        exit 1;;
esac

POL_System_TmpCreate "$PREFIX"
cd "$POL_System_TmpDir"
POL_Download "http://dist.blizzard.com/downloads/storm-installers/7C96DEC684D71DCDD4809F35F5D1E2BE/storm.1/${EXE_FILE}"

# POL_Call POL_Install_vcrun2008
# POL_Call POL_Install_winhttp

POL_Wine "$POL_System_TmpDir/${EXE_FILE}"

POL_Wine_WaitExit "$TITLE"

POL_System_TmpDelete

POL_SetupWindow_VMS "256"
POL_Wine_reboot

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

exit 0

Replies

nosklo Sunday 14 February 2016 at 23:55
nosklo Anonymous

Warning

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

Message

This version fixes latest issues by using the patched wine 1.9.3

Differences

@@ -1,31 +1,30 @@
 #!/bin/bash
 # Date : 2016-02-04 18:48
 # Last revision :
-# Wine version used : 1.9.2
+# Wine version used : 1.9.3
 # Distribution used to test : Ubuntu 15.10 64
 # Author : EdRIn
 # Depend :
- 
+
 [ "$PLAYONLINUX" = "" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
- 
+
 TITLE="Heroes of the Storm"
 PREFIX="heroes_of_the_storm"
- 
+
 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/" "EdRIn" "$PREFIX"
 POL_Wine_SelectPrefix "$PREFIX"
-POL_System_SetArch "amd64"
-POL_Wine_PrefixCreate "1.9.2"
-POL_Wine_OverrideDLL "" "shcore"
+POL_System_SetArch "x86"
+POL_Wine_PrefixCreate "1.9.3-HeroesOfStorm-430083bugfix"
 
 # 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" \
@@ -62,7 +61,7 @@
     *)
         exit 1;;
 esac
- 
+
 POL_System_TmpCreate "$PREFIX"
 cd "$POL_System_TmpDir"
 POL_Download "http://dist.blizzard.com/downloads/storm-installers/7C96DEC684D71DCDD4809F35F5D1E2BE/storm.1/${EXE_FILE}"
@@ -75,11 +74,11 @@
 POL_Wine_WaitExit "$TITLE"
 
 POL_System_TmpDelete
- 
+
 POL_SetupWindow_VMS "256"
 POL_Wine_reboot
- 
+
 POL_Shortcut "Battle.net Launcher.exe" "$TITLE" "$TITLE.png" ""
 POL_SetupWindow_Close
- 
-exit 0
+
+exit 0
\ No newline at end of file

New source code

#!/bin/bash
# Date : 2016-02-04 18:48
# Last revision :
# Wine version used : 1.9.3
# Distribution used to test : Ubuntu 15.10 64
# Author : EdRIn
# Depend :

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

TITLE="Heroes of the Storm"
PREFIX="heroes_of_the_storm"

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/" "EdRIn" "$PREFIX"
POL_Wine_SelectPrefix "$PREFIX"
POL_System_SetArch "x86"
POL_Wine_PrefixCreate "1.9.3-HeroesOfStorm-430083bugfix"

# 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="Heroes-of-the-Storm-Setup-enUS.exe";;
    "Español (AL)")
        EXE_FILE="Heroes-of-the-Storm-Setup-esMX.exe";;
    "Português (BR)")
        EXE_FILE="Heroes-of-the-Storm-Setup-ptBR.exe";;
    "English (EU)")
        EXE_FILE="Heroes-of-the-Storm-Setup-enGB.exe";;
    "Deutsch")
        EXE_FILE="Heroes-of-the-Storm-Setup-deDE.exe";;
    "Español (EU)")
        EXE_FILE="Heroes-of-the-Storm-Setup-esES.exe";;
    "Português (EU)")
        EXE_FILE="Heroes-of-the-Storm-Setup-ptPT.exe";;
    "Français")
        EXE_FILE="Heroes-of-the-Storm-Setup-frFR.exe";;
    "Russian")
        EXE_FILE="Heroes-of-the-Storm-Setup-ruRU.exe";;
    "Italiano")
        EXE_FILE="Heroes-of-the-Storm-Setup-itIT.exe";;
    "Polski")
        EXE_FILE="Heroes-of-the-Storm-Setup-plPL.exe";;
    "Korean")
        EXE_FILE="Heroes-of-the-Storm-Setup-koKR.exe";;
    "Chinese (Taiwan)")
        EXE_FILE="Heroes-of-the-Storm-Setup-zhTW.exe";;
    "Chinese (China)")
        EXE_FILE="Heroes-of-the-Storm-Setup-zhCN.exe";;
    *)
        exit 1;;
esac

POL_System_TmpCreate "$PREFIX"
cd "$POL_System_TmpDir"
POL_Download "http://dist.blizzard.com/downloads/storm-installers/7C96DEC684D71DCDD4809F35F5D1E2BE/storm.1/${EXE_FILE}"

# POL_Call POL_Install_vcrun2008
# POL_Call POL_Install_winhttp

POL_Wine "$POL_System_TmpDir/${EXE_FILE}"

POL_Wine_WaitExit "$TITLE"

POL_System_TmpDelete

POL_SetupWindow_VMS "256"
POL_Wine_reboot

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

exit 0

Replies

Anonymous
Tuesday 16 February 2016 at 18:00 -
The 64bit patch (listed in POL) did not work. Game froze after loading match.

Edited by petch

frezier Thursday 11 February 2016 at 21:25
frezier Anonymous

Message

Since the latest patch, in 32 or 64b and with (or without)  shcore disabled, the same problem than last week crashes the game just after loading a map. Tried with 1.9.2 and 1.9.3. Was working on 1.9.2 until today's patch.

 

Edit: link to WineHQ corresponding bug. https://bugs.winehq.org/show_bug.cgi?id=40083

Please go post a comment on this one too.

Replies

Anonymous
Thursday 11 February 2016 at 21:27 -
Same issue here, 64bit was working so far... but not anymore.
Anonymous
Friday 12 February 2016 at 9:54 -
a wine patch seems to resolve this. https://bugs.winehq.org/attachment.cgi?id=53623&action=diff
Anonymous
Friday 12 February 2016 at 11:51 -
is there a tuto on how to apply it?
Anonymous
Friday 12 February 2016 at 12:03 -
I'm affraid not :/ I'll try it tonight, if i can...
Anonymous
Friday 12 February 2016 at 13:52 -
http://us.battle.net/heroes/en/forum/topic/20419814648?page=5#93
Anonymous
Friday 12 February 2016 at 14:27 -
The patch works fine. Anyone knows if that patch will make it to wine? If it doesn't, we might have to request a new patched build of wine on playonlinux to make the installation script....
Anonymous
Friday 12 February 2016 at 14:34 -
I made it this morning: https://www.playonlinux.com/en/issue-5218.html
Anonymous
Friday 12 February 2016 at 14:35 -
Right now, patch is still in "UNCONFIRMED" status, so we won't have it in wine before a long time.
Anonymous
Friday 12 February 2016 at 22:48 -
I downloaded the updated DLL and it works perfectly :) thanks all!
Anonymous
Saturday 13 February 2016 at 17:29 -
Same thing here, crash at the start of the Game, there is a new wine version 1.9.3-HeroesOfStorm-40083bugfix with the patched dll. So it works like this. Install battle.net from POL (will be the 32 bit version) choose the patched wine version. Then launch battle.net and DL the game and play :)

Edited by frezier

nosklo Thursday 4 February 2016 at 21:50
nosklo Anonymous

Warning

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

Differences

@@ -1,8 +1,8 @@
 #!/bin/bash
-# Date : 2015-10-02 14:54
+# Date : 2016-02-04 18:48
 # Last revision :
-# Wine version used : 1.7.51
-# Distribution used to test : Ubuntu 14.10 LTS 64
+# Wine version used : 1.9.2
+# Distribution used to test : Ubuntu 15.10 64
 # Author : EdRIn
 # Depend :
  
@@ -16,9 +16,10 @@
 POL_SetupWindow_Init
 POL_SetupWindow_presentation "$TITLE" "Blizzard" "http://us.battle.net/hearthstone/en/" "EdRIn" "$PREFIX"
 POL_Wine_SelectPrefix "$PREFIX"
-POL_System_SetArch "x86"
-POL_Wine_PrefixCreate "1.7.51"
- 
+POL_System_SetArch "amd64"
+POL_Wine_PrefixCreate "1.9.2"
+POL_Wine_OverrideDLL "" "shcore"
+
 # 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

New source code

#!/bin/bash
# Date : 2016-02-04 18:48
# Last revision :
# Wine version used : 1.9.2
# Distribution used to test : Ubuntu 15.10 64
# Author : EdRIn
# Depend :
 
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="Heroes of the Storm"
PREFIX="heroes_of_the_storm"
 
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/" "EdRIn" "$PREFIX"
POL_Wine_SelectPrefix "$PREFIX"
POL_System_SetArch "amd64"
POL_Wine_PrefixCreate "1.9.2"
POL_Wine_OverrideDLL "" "shcore"

# 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="Heroes-of-the-Storm-Setup-enUS.exe";;
    "Español (AL)")
        EXE_FILE="Heroes-of-the-Storm-Setup-esMX.exe";;
    "Português (BR)")
        EXE_FILE="Heroes-of-the-Storm-Setup-ptBR.exe";;
    "English (EU)")
        EXE_FILE="Heroes-of-the-Storm-Setup-enGB.exe";;
    "Deutsch")
        EXE_FILE="Heroes-of-the-Storm-Setup-deDE.exe";;
    "Español (EU)")
        EXE_FILE="Heroes-of-the-Storm-Setup-esES.exe";;
    "Português (EU)")
        EXE_FILE="Heroes-of-the-Storm-Setup-ptPT.exe";;
    "Français")
        EXE_FILE="Heroes-of-the-Storm-Setup-frFR.exe";;
    "Russian")
        EXE_FILE="Heroes-of-the-Storm-Setup-ruRU.exe";;
    "Italiano")
        EXE_FILE="Heroes-of-the-Storm-Setup-itIT.exe";;
    "Polski")
        EXE_FILE="Heroes-of-the-Storm-Setup-plPL.exe";;
    "Korean")
        EXE_FILE="Heroes-of-the-Storm-Setup-koKR.exe";;
    "Chinese (Taiwan)")
        EXE_FILE="Heroes-of-the-Storm-Setup-zhTW.exe";;
    "Chinese (China)")
        EXE_FILE="Heroes-of-the-Storm-Setup-zhCN.exe";;
    *)
        exit 1;;
esac
 
POL_System_TmpCreate "$PREFIX"
cd "$POL_System_TmpDir"
POL_Download "http://dist.blizzard.com/downloads/storm-installers/7C96DEC684D71DCDD4809F35F5D1E2BE/storm.1/${EXE_FILE}"

# POL_Call POL_Install_vcrun2008
# POL_Call POL_Install_winhttp

POL_Wine "$POL_System_TmpDir/${EXE_FILE}"

POL_Wine_WaitExit "$TITLE"

POL_System_TmpDelete
 
POL_SetupWindow_VMS "256"
POL_Wine_reboot
 
POL_Shortcut "Battle.net Launcher.exe" "$TITLE" "$TITLE.png" ""
POL_SetupWindow_Close
 
exit 0

Replies

Anonymous
Thursday 4 February 2016 at 21:50 -
I have also disabled shcore. I have tested this version from a new ubuntu installation and it works fine.
Friday 5 February 2016 at 15:40 -
It works fine with 14.04 LTS 64.
Anonymous
Saturday 6 February 2016 at 11:04 -
I had several crashes on Fedora 21... the app starts, but once the game start it dies on me. It dies on me after reconnecting as well. Once in a while, after insisting enough its "finally" works and then its possible to play several games in a row without problem. After quitting game, restarting it will cause the same issues.
Anonymous
Saturday 6 February 2016 at 11:10 -
it also forces a weird resolution change forcing into 4:3 when my screen is 16:9, which causes an overall host system change of resolution even after quitting the game.
Anonymous
Sunday 7 February 2016 at 11:58 -
Same problem on linux mint 17.2 It freezes at the start of the game
Anonymous
Sunday 7 February 2016 at 11:58 -
Same problem on linux mint 17.2 It freezes at the start of the game, with your patch it works well
Anonymous
Thursday 11 February 2016 at 21:26 -
New update crashes everything again
nosklo Thursday 4 February 2016 at 4:06
nosklo Anonymous

Warning

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

Message

The code attached works for me after game patch 16.0.40431; Please test it

Differences

@@ -1,7 +1,7 @@
 #!/bin/bash
-# Date : 2015-10-02 14:54
+# Date : 2016-02-04 01:06
 # Last revision :
-# Wine version used : 1.7.51
+# Wine version used : 1.9.2-staging
 # Distribution used to test : Ubuntu 14.10 LTS 64
 # Author : EdRIn
 # Depend :
@@ -16,8 +16,8 @@
 POL_SetupWindow_Init
 POL_SetupWindow_presentation "$TITLE" "Blizzard" "http://us.battle.net/hearthstone/en/" "EdRIn" "$PREFIX"
 POL_Wine_SelectPrefix "$PREFIX"
-POL_System_SetArch "x86"
-POL_Wine_PrefixCreate "1.7.51"
+POL_System_SetArch "amd64"
+POL_Wine_PrefixCreate "1.9.2-staging"
  
 # Might not be needed but seen several reports that said it was needed for them to install B.net client
 # POL_Call POL_Install_flashplayer

New source code

#!/bin/bash
# Date : 2016-02-04 01:06
# Last revision :
# Wine version used : 1.9.2-staging
# Distribution used to test : Ubuntu 14.10 LTS 64
# Author : EdRIn
# Depend :
 
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="Heroes of the Storm"
PREFIX="heroes_of_the_storm"
 
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/" "EdRIn" "$PREFIX"
POL_Wine_SelectPrefix "$PREFIX"
POL_System_SetArch "amd64"
POL_Wine_PrefixCreate "1.9.2-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="Heroes-of-the-Storm-Setup-enUS.exe";;
    "Español (AL)")
        EXE_FILE="Heroes-of-the-Storm-Setup-esMX.exe";;
    "Português (BR)")
        EXE_FILE="Heroes-of-the-Storm-Setup-ptBR.exe";;
    "English (EU)")
        EXE_FILE="Heroes-of-the-Storm-Setup-enGB.exe";;
    "Deutsch")
        EXE_FILE="Heroes-of-the-Storm-Setup-deDE.exe";;
    "Español (EU)")
        EXE_FILE="Heroes-of-the-Storm-Setup-esES.exe";;
    "Português (EU)")
        EXE_FILE="Heroes-of-the-Storm-Setup-ptPT.exe";;
    "Français")
        EXE_FILE="Heroes-of-the-Storm-Setup-frFR.exe";;
    "Russian")
        EXE_FILE="Heroes-of-the-Storm-Setup-ruRU.exe";;
    "Italiano")
        EXE_FILE="Heroes-of-the-Storm-Setup-itIT.exe";;
    "Polski")
        EXE_FILE="Heroes-of-the-Storm-Setup-plPL.exe";;
    "Korean")
        EXE_FILE="Heroes-of-the-Storm-Setup-koKR.exe";;
    "Chinese (Taiwan)")
        EXE_FILE="Heroes-of-the-Storm-Setup-zhTW.exe";;
    "Chinese (China)")
        EXE_FILE="Heroes-of-the-Storm-Setup-zhCN.exe";;
    *)
        exit 1;;
esac
 
POL_System_TmpCreate "$PREFIX"
cd "$POL_System_TmpDir"
POL_Download "http://dist.blizzard.com/downloads/storm-installers/7C96DEC684D71DCDD4809F35F5D1E2BE/storm.1/${EXE_FILE}"

# POL_Call POL_Install_vcrun2008
# POL_Call POL_Install_winhttp

POL_Wine "$POL_System_TmpDir/${EXE_FILE}"

POL_Wine_WaitExit "$TITLE"

POL_System_TmpDelete
 
POL_SetupWindow_VMS "256"
POL_Wine_reboot
 
POL_Shortcut "Battle.net Launcher.exe" "$TITLE" "$TITLE.png" ""
POL_SetupWindow_Close
 
exit 0

Replies

Thursday 4 February 2016 at 7:37 -
POL_System_SetArch "amd64" will prevent the installer from running on 32bit operating systems, can you use POL_System_SetArch "auto" instead?
Anonymous
Thursday 4 February 2016 at 13:18 -
Would installing the 64 bit version on a 32 bit OS accomplish something? As in, would it not be unable to run anyways?
Anonymous
Thursday 4 February 2016 at 13:19 -
I also had to deactivate "shcore" library or the game would crash when launching in 64 bit, don't see it in the source diff, has that issue been fixed?
Thursday 4 February 2016 at 13:44 -
You can't install 64bit apps in a 32bit virtual drive, so it wouldn't run
Anonymous
Thursday 4 February 2016 at 15:09 -
Exactly so, given the game is bugged in the 32bit version, there's nothing accomplished in allowing it to install in a 32bit OS. I'd say keep it "amd64" not "auto"
Thursday 4 February 2016 at 17:06 -
ok, just asking
Anonymous
Thursday 4 February 2016 at 21:45 -
'auto' won't work because only the 64-bit version is working. That's why I am forcing 64-bit version.
arienreth Thursday 4 February 2016 at 1:48
arienreth Anonymous

Message

With last update the game hangs when starting a new match, this happens only on the 32bit version.

Replies

Anonymous
Thursday 4 February 2016 at 1:50 -
Just to clarify, in order to play the game install the 64bit version. If not update till tommorrow i might poke around the installer, will need to read a bit first.
nosklo Wednesday 3 February 2016 at 0:39
nosklo Anonymous

Message

After the release of the new patch 16.0.40431 today, game doesn't work anymore. It freezes when the match finishes loading and is about to start, any game mode. Here's a thread in the blizzard forums about the subject, with more information http://us.battle.net/heroes/en/forum/topic/20419814648

Replies

Anonymous
Thursday 4 February 2016 at 4:08 -
fixed by using 64-bit prefix
7z4r Saturday 16 January 2016 at 16:48
7z4r Anonymous

Message

i can run the game but playonlinux installer doesn't get it when everything is installed and finished so it stays eternaly at "please wait while the game installs" and only thing you can do is press cancel...

whenever i want to run the game i must behave like i'm going to install it again from scratch with the same script and then select overwrite option when notified that wine virtual disk already exists with that name... then battle.net launcher will appear and i can select play.

and during the first time installation only english(us) installer will work. if i select english(eu) then the installer breaks!

also i was wondering would it be possible to make such script that both Heros of the Storm and Hearthstone can be installed in same wine enviroment and launched from the same battle.net launcher... that would be great!

thanks for your time making this script - please fix it if you can...

cheers

Replies

EdRIn Friday 2 October 2015 at 16:04
EdRIn

Warning

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

Differences

@@ -0,0 +1,84 @@
+#!/bin/bash
+# Date : 2015-10-02 14:54
+# Last revision :
+# Wine version used : 1.7.51
+# Distribution used to test : Ubuntu 14.10 LTS 64
+# Author : EdRIn
+# Depend :
+ 
+[ "$PLAYONLINUX" = "" ] && exit 0
+source "$PLAYONLINUX/lib/sources"
+ 
+TITLE="Heroes of the Storm"
+PREFIX="heroes_of_the_storm"
+ 
+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/" "EdRIn" "$PREFIX"
+POL_Wine_SelectPrefix "$PREFIX"
+POL_System_SetArch "x86"
+POL_Wine_PrefixCreate "1.7.51"
+ 
+# 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="Heroes-of-the-Storm-Setup-enUS.exe";;
+    "Español (AL)")
+        EXE_FILE="Heroes-of-the-Storm-Setup-esMX.exe";;
+    "Português (BR)")
+        EXE_FILE="Heroes-of-the-Storm-Setup-ptBR.exe";;
+    "English (EU)")
+        EXE_FILE="Heroes-of-the-Storm-Setup-enGB.exe";;
+    "Deutsch")
+        EXE_FILE="Heroes-of-the-Storm-Setup-deDE.exe";;
+    "Español (EU)")
+        EXE_FILE="Heroes-of-the-Storm-Setup-esES.exe";;
+    "Português (EU)")
+        EXE_FILE="Heroes-of-the-Storm-Setup-ptPT.exe";;
+    "Français")
+        EXE_FILE="Heroes-of-the-Storm-Setup-frFR.exe";;
+    "Russian")
+        EXE_FILE="Heroes-of-the-Storm-Setup-ruRU.exe";;
+    "Italiano")
+        EXE_FILE="Heroes-of-the-Storm-Setup-itIT.exe";;
+    "Polski")
+        EXE_FILE="Heroes-of-the-Storm-Setup-plPL.exe";;
+    "Korean")
+        EXE_FILE="Heroes-of-the-Storm-Setup-koKR.exe";;
+    "Chinese (Taiwan)")
+        EXE_FILE="Heroes-of-the-Storm-Setup-zhTW.exe";;
+    "Chinese (China)")
+        EXE_FILE="Heroes-of-the-Storm-Setup-zhCN.exe";;
+    *)
+        exit 1;;
+esac
+ 
+POL_System_TmpCreate "$PREFIX"
+cd "$POL_System_TmpDir"
+POL_Download "http://dist.blizzard.com/downloads/storm-installers/7C96DEC684D71DCDD4809F35F5D1E2BE/storm.1/${EXE_FILE}"
+
+# POL_Call POL_Install_vcrun2008
+# POL_Call POL_Install_winhttp
+
+POL_Wine "$POL_System_TmpDir/${EXE_FILE}"
+
+POL_Wine_WaitExit "$TITLE"
+
+POL_System_TmpDelete
+ 
+POL_SetupWindow_VMS "256"
+POL_Wine_reboot
+ 
+POL_Shortcut "Battle.net Launcher.exe" "$TITLE" "$TITLE.png" ""
+POL_SetupWindow_Close
+ 
+exit 0

New source code

#!/bin/bash
# Date : 2015-10-02 14:54
# Last revision :
# Wine version used : 1.7.51
# Distribution used to test : Ubuntu 14.10 LTS 64
# Author : EdRIn
# Depend :
 
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="Heroes of the Storm"
PREFIX="heroes_of_the_storm"
 
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/" "EdRIn" "$PREFIX"
POL_Wine_SelectPrefix "$PREFIX"
POL_System_SetArch "x86"
POL_Wine_PrefixCreate "1.7.51"
 
# 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="Heroes-of-the-Storm-Setup-enUS.exe";;
    "Español (AL)")
        EXE_FILE="Heroes-of-the-Storm-Setup-esMX.exe";;
    "Português (BR)")
        EXE_FILE="Heroes-of-the-Storm-Setup-ptBR.exe";;
    "English (EU)")
        EXE_FILE="Heroes-of-the-Storm-Setup-enGB.exe";;
    "Deutsch")
        EXE_FILE="Heroes-of-the-Storm-Setup-deDE.exe";;
    "Español (EU)")
        EXE_FILE="Heroes-of-the-Storm-Setup-esES.exe";;
    "Português (EU)")
        EXE_FILE="Heroes-of-the-Storm-Setup-ptPT.exe";;
    "Français")
        EXE_FILE="Heroes-of-the-Storm-Setup-frFR.exe";;
    "Russian")
        EXE_FILE="Heroes-of-the-Storm-Setup-ruRU.exe";;
    "Italiano")
        EXE_FILE="Heroes-of-the-Storm-Setup-itIT.exe";;
    "Polski")
        EXE_FILE="Heroes-of-the-Storm-Setup-plPL.exe";;
    "Korean")
        EXE_FILE="Heroes-of-the-Storm-Setup-koKR.exe";;
    "Chinese (Taiwan)")
        EXE_FILE="Heroes-of-the-Storm-Setup-zhTW.exe";;
    "Chinese (China)")
        EXE_FILE="Heroes-of-the-Storm-Setup-zhCN.exe";;
    *)
        exit 1;;
esac
 
POL_System_TmpCreate "$PREFIX"
cd "$POL_System_TmpDir"
POL_Download "http://dist.blizzard.com/downloads/storm-installers/7C96DEC684D71DCDD4809F35F5D1E2BE/storm.1/${EXE_FILE}"

# POL_Call POL_Install_vcrun2008
# POL_Call POL_Install_winhttp

POL_Wine "$POL_System_TmpDir/${EXE_FILE}"

POL_Wine_WaitExit "$TITLE"

POL_System_TmpDelete
 
POL_SetupWindow_VMS "256"
POL_Wine_reboot
 
POL_Shortcut "Battle.net Launcher.exe" "$TITLE" "$TITLE.png" ""
POL_SetupWindow_Close
 
exit 0

Replies