Heroes of the Storm
Informations
Creator | Message |
---|---|
EdRIn
|
InformationThis installer has been approved by the team. InformationsPlatforms: Feedbacks4 8 DescriptionHeroes of the Storm is a multiplayer online battle arena (MOBA) video game. The game features heroes from Blizzard's franchises including Warcraft, Diablo, and StarCraft. The game uses both free-to-play and freemium models. Source code#!/bin/bash # Last revision : see changelog below # Wine version used : 6.3-staging # Distribution used to test : Manjaro KDE 2021.03 # Author : nosklo # Last Editor: Kepsz # Depend : vkd3d, lib32-vkd3d # # CHANGELOG; # [EdRIn] (2016) # Initial writting ?. # [Nosklo] (2016) # ... # [ThanosApostolou] (2016) # Wine "1.9.3-HeroesOfStorm-40083bugfix" -> "1.9.23-staging" because "It seems that it works only with the staging wine builds nowadays". # ... # [Dadu042] (2019-06-03) # - Crashed before to reach the "Blizzard Battle.net Login" window ("Blizzard Error. Unknown error, please report to Blizzard ... <Close>". Occurs with Wine 1.9.23-stating and 3.0.5. Fixed with: Wine 4.0.1 # - Game now need a 64 bits OS. # - Remove # POL_Wine_OverrideDLL "" "d3d11" because launcher says it can find a ".DLL" (D3D11). Games can work with D3D9 (ref: appdb.winehq.org) # - Tried to add (for safety): "-force-d3d9", but game still launch with d3d11. # - Add support for dual GPU. # Canceled (to delete): # - According Appdb.winehq.org this game can also work with Wine 2.x and 3.x. Since it is currently broken, I remove the Wine version in order to use OS's version. # # [Kepsz] (2020-03-17) # - The game is no longer have a DX9 option, and only supports 64 bit. Also, it can only work with wine-staging. # - Two of Wine's dll's needs to be replaced with DLL's from the game. # - Information about vkd3d is added. The (at the time) official vkd3d 1.1 is not enough to play the game. You have to use the GIT version of vkd3d, until they release a new mayor version. # [Kepsz] (2020-09-27) # - Script is updated because vkd3d 1.2 is reelased. Wine version is updated to 5.10-staging. # [Kepsz] (2021-02-26) # - Script is updated because of bnet launcher changes. Wine version is updated to 6.0-staging. DLL overrieds removed, they do not needed with current wine-staging versions. # [Kepsz] (2021-03-15) # - wine-staging version is updated to 6.3 [ "$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" #some notification to the user POL_SetupWindow_message "Since HOTS uses DX12, you will need tho install the vkd3d and lib32-vkd3d packages from the package manager of your operating system. You have to install both of them before you click next, this is important! *note: you may need to hit ENTER on your keyboard to proceed with your login data in the BNet launcher because of the not properly displayed OK button." "$TITLE" POL_SetupWindow_message "At the end of HOTS installation, do not press the 'Play' button. Instead, close the Battle.Net client (choose Exit) and wait for the PlayOnLinux installation wizard window to close, it will take some time. After that, you can then start the game as usual." "$TITLE" POL_Wine_SelectPrefix "$PREFIX" POL_System_SetArch "amd64" POL_Wine_PrefixCreate "6.3-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" ####################################### # Setup GPU # ####################################### POL_SetupWindow_VMS "256" POL_Call POL_Install_VideoDriver ####################################### # Replace Wine's dll files with links # # to the dll files at storm's folder # ####################################### mv "/home/$USER/.PlayOnLinux/wineprefix/$PREFIX/drive_c/windows/system32/d3dcompiler_47.dll" "/home/$USER/.PlayOnLinux/wineprefix/$PREFIX/drive_c/windows/system32/d3dcompiler_47.dll.bak" mv "/home/$USER/.PlayOnLinux/wineprefix/$PREFIX/drive_c/windows/system32/d3dx11_42.dll" "/home/$USER/.PlayOnLinux/wineprefix/$PREFIX/drive_c/windows/system32/d3dx11_42.dll.bak" ln -s "/home/$USER/.PlayOnLinux/wineprefix/$PREFIX/drive_c/Program Files (x86)/$TITLE/Support64/d3dcompiler_47.dll" "/home/$USER/.PlayOnLinux/wineprefix/$PREFIX/drive_c/windows/system32/d3dcompiler_47.dll" ln -s "/home/$USER/.PlayOnLinux/wineprefix/$PREFIX/drive_c/Program Files (x86)/$TITLE/Support64/d3dx11_42.dll" "/home/$USER/.PlayOnLinux/wineprefix/$PREFIX/drive_c/windows/system32/d3dx11_42.dll" POL_System_TmpDelete POL_Wine_reboot POL_Shortcut "Battle.net Launcher.exe" "$TITLE" "$TITLE.png" "" "Game;StrategyGame;" POL_SetupWindow_Close exit 0 |
Contributions
Filters:
ContributeMember | Message |
Kepsz | Monday 15 March 2021 at 15:31 |
Kepsz
|
InformationThis update has been approved by the team. MessageScript updated to us wine-staging 6.3 - Battle.Net works fine. The game works fine too. Differences@@ -1,7 +1,7 @@ #!/bin/bash # Last revision : see changelog below -# Wine version used : 5.10-staging -# Distribution used to test : Manjaro KDE 2020.09 +# Wine version used : 6.3-staging +# Distribution used to test : Manjaro KDE 2021.03 # Author : nosklo # Last Editor: Kepsz # Depend : vkd3d, lib32-vkd3d @@ -30,7 +30,13 @@ # - Information about vkd3d is added. The (at the time) official vkd3d 1.1 is not enough to play the game. You have to use the GIT version of vkd3d, until they release a new mayor version. # [Kepsz] (2020-09-27) -# - Script is updated because vkd3d 1.2 is reelased. Wine version is also changed. +# - Script is updated because vkd3d 1.2 is reelased. Wine version is updated to 5.10-staging. + +# [Kepsz] (2021-02-26) +# - Script is updated because of bnet launcher changes. Wine version is updated to 6.0-staging. DLL overrieds removed, they do not needed with current wine-staging versions. + +# [Kepsz] (2021-03-15) +# - wine-staging version is updated to 6.3 [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" @@ -46,28 +52,28 @@ POL_SetupWindow_presentation "$TITLE" "Blizzard" "http://us.battle.net/heroes/en/" "EdRIn" "$PREFIX" #some notification to the user -POL_SetupWindow_message "Since HOTS uses DX12, you will need tho install the vkd3d and lib32-vkd3d packages from the package manager of your operating system. You have to install both of them before you click next, it is important!" "$TITLE" +POL_SetupWindow_message "Since HOTS uses DX12, you will need tho install the vkd3d and lib32-vkd3d packages from the package manager of your operating system. You have to install both of them before you click next, this is important! *note: you may need to hit ENTER on your keyboard to proceed with your login data in the BNet launcher because of the not properly displayed OK button." "$TITLE" -POL_SetupWindow_message "At the end of HOTS installation, do not press the 'Play' button. Instead, close the Battle.Net client (on the tray) and wait for the PlayOnLinux installation wizard window to close, it will take some time. After that, you can then start the game as usual." "$TITLE" +POL_SetupWindow_message "At the end of HOTS installation, do not press the 'Play' button. Instead, close the Battle.Net client (choose Exit) and wait for the PlayOnLinux installation wizard window to close, it will take some time. After that, you can then start the game as usual." "$TITLE" POL_Wine_SelectPrefix "$PREFIX" POL_System_SetArch "amd64" -POL_Wine_PrefixCreate "5.10-staging" +POL_Wine_PrefixCreate "6.3-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 "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 New source code#!/bin/bash # Last revision : see changelog below # Wine version used : 6.3-staging # Distribution used to test : Manjaro KDE 2021.03 # Author : nosklo # Last Editor: Kepsz # Depend : vkd3d, lib32-vkd3d # # CHANGELOG; # [EdRIn] (2016) # Initial writting ?. # [Nosklo] (2016) # ... # [ThanosApostolou] (2016) # Wine "1.9.3-HeroesOfStorm-40083bugfix" -> "1.9.23-staging" because "It seems that it works only with the staging wine builds nowadays". # ... # [Dadu042] (2019-06-03) # - Crashed before to reach the "Blizzard Battle.net Login" window ("Blizzard Error. Unknown error, please report to Blizzard ... <Close>". Occurs with Wine 1.9.23-stating and 3.0.5. Fixed with: Wine 4.0.1 # - Game now need a 64 bits OS. # - Remove # POL_Wine_OverrideDLL "" "d3d11" because launcher says it can find a ".DLL" (D3D11). Games can work with D3D9 (ref: appdb.winehq.org) # - Tried to add (for safety): "-force-d3d9", but game still launch with d3d11. # - Add support for dual GPU. # Canceled (to delete): # - According Appdb.winehq.org this game can also work with Wine 2.x and 3.x. Since it is currently broken, I remove the Wine version in order to use OS's version. # # [Kepsz] (2020-03-17) # - The game is no longer have a DX9 option, and only supports 64 bit. Also, it can only work with wine-staging. # - Two of Wine's dll's needs to be replaced with DLL's from the game. # - Information about vkd3d is added. The (at the time) official vkd3d 1.1 is not enough to play the game. You have to use the GIT version of vkd3d, until they release a new mayor version. # [Kepsz] (2020-09-27) # - Script is updated because vkd3d 1.2 is reelased. Wine version is updated to 5.10-staging. # [Kepsz] (2021-02-26) # - Script is updated because of bnet launcher changes. Wine version is updated to 6.0-staging. DLL overrieds removed, they do not needed with current wine-staging versions. # [Kepsz] (2021-03-15) # - wine-staging version is updated to 6.3 [ "$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" #some notification to the user POL_SetupWindow_message "Since HOTS uses DX12, you will need tho install the vkd3d and lib32-vkd3d packages from the package manager of your operating system. You have to install both of them before you click next, this is important! *note: you may need to hit ENTER on your keyboard to proceed with your login data in the BNet launcher because of the not properly displayed OK button." "$TITLE" POL_SetupWindow_message "At the end of HOTS installation, do not press the 'Play' button. Instead, close the Battle.Net client (choose Exit) and wait for the PlayOnLinux installation wizard window to close, it will take some time. After that, you can then start the game as usual." "$TITLE" POL_Wine_SelectPrefix "$PREFIX" POL_System_SetArch "amd64" POL_Wine_PrefixCreate "6.3-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" ####################################### # Setup GPU # ####################################### POL_SetupWindow_VMS "256" POL_Call POL_Install_VideoDriver ####################################### # Replace Wine's dll files with links # # to the dll files at storm's folder # ####################################### mv "/home/$USER/.PlayOnLinux/wineprefix/$PREFIX/drive_c/windows/system32/d3dcompiler_47.dll" "/home/$USER/.PlayOnLinux/wineprefix/$PREFIX/drive_c/windows/system32/d3dcompiler_47.dll.bak" mv "/home/$USER/.PlayOnLinux/wineprefix/$PREFIX/drive_c/windows/system32/d3dx11_42.dll" "/home/$USER/.PlayOnLinux/wineprefix/$PREFIX/drive_c/windows/system32/d3dx11_42.dll.bak" ln -s "/home/$USER/.PlayOnLinux/wineprefix/$PREFIX/drive_c/Program Files (x86)/$TITLE/Support64/d3dcompiler_47.dll" "/home/$USER/.PlayOnLinux/wineprefix/$PREFIX/drive_c/windows/system32/d3dcompiler_47.dll" ln -s "/home/$USER/.PlayOnLinux/wineprefix/$PREFIX/drive_c/Program Files (x86)/$TITLE/Support64/d3dx11_42.dll" "/home/$USER/.PlayOnLinux/wineprefix/$PREFIX/drive_c/windows/system32/d3dx11_42.dll" POL_System_TmpDelete POL_Wine_reboot POL_Shortcut "Battle.net Launcher.exe" "$TITLE" "$TITLE.png" "" "Game;StrategyGame;" POL_SetupWindow_Close exit 0 Replies |
Kepsz | Friday 26 February 2021 at 18:25 |
Kepsz
|
WarningThis update has not been approved yet by the team. MessageScript updated for wine-staging 6.0 The install works fine. But after the next BNet start, the BNet's main window is showing a black screen (at least for me). It may be DXVK / hardware related, I'm not sure. But, that's not a showstopper, because of the HotS can be launched from the BNet tray icon and the game runs well. Differences@@ -1,7 +1,7 @@ #!/bin/bash # Last revision : see changelog below -# Wine version used : 5.10-staging -# Distribution used to test : Manjaro KDE 2020.09 +# Wine version used : 6.0-staging +# Distribution used to test : Manjaro KDE 2021.02 # Author : nosklo # Last Editor: Kepsz # Depend : vkd3d, lib32-vkd3d @@ -30,7 +30,10 @@ # - Information about vkd3d is added. The (at the time) official vkd3d 1.1 is not enough to play the game. You have to use the GIT version of vkd3d, until they release a new mayor version. # [Kepsz] (2020-09-27) -# - Script is updated because vkd3d 1.2 is reelased. Wine version is also changed. +# - Script is updated because vkd3d 1.2 is reelased. Wine version is updated to 5.10-staging. + +# [Kepsz] (2021-02-26) +# - Script is updated because of bnet launcher changes. Wine version is updated to 6.0-staging. DLL overrieds removed, they do not needed. [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" @@ -46,28 +49,28 @@ POL_SetupWindow_presentation "$TITLE" "Blizzard" "http://us.battle.net/heroes/en/" "EdRIn" "$PREFIX" #some notification to the user -POL_SetupWindow_message "Since HOTS uses DX12, you will need tho install the vkd3d and lib32-vkd3d packages from the package manager of your operating system. You have to install both of them before you click next, it is important!" "$TITLE" +POL_SetupWindow_message "Since HOTS uses DX12, you will need tho install the vkd3d and lib32-vkd3d packages from the package manager of your operating system. You have to install both of them before you click next, this is important! *note: you may need to hit ENTER on your keyboard to proceed with your login data in the BNet launcher because of the not properly displayed OK button." "$TITLE" -POL_SetupWindow_message "At the end of HOTS installation, do not press the 'Play' button. Instead, close the Battle.Net client (on the tray) and wait for the PlayOnLinux installation wizard window to close, it will take some time. After that, you can then start the game as usual." "$TITLE" +POL_SetupWindow_message "At the end of HOTS installation, do not press the 'Play' button. Instead, close the Battle.Net client (choose Exit) and wait for the PlayOnLinux installation wizard window to close, it will take some time. After that, you can then start the game as usual." "$TITLE" POL_Wine_SelectPrefix "$PREFIX" POL_System_SetArch "amd64" -POL_Wine_PrefixCreate "5.10-staging" +POL_Wine_PrefixCreate "6.0-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 "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 New source code#!/bin/bash # Last revision : see changelog below # Wine version used : 6.0-staging # Distribution used to test : Manjaro KDE 2021.02 # Author : nosklo # Last Editor: Kepsz # Depend : vkd3d, lib32-vkd3d # # CHANGELOG; # [EdRIn] (2016) # Initial writting ?. # [Nosklo] (2016) # ... # [ThanosApostolou] (2016) # Wine "1.9.3-HeroesOfStorm-40083bugfix" -> "1.9.23-staging" because "It seems that it works only with the staging wine builds nowadays". # ... # [Dadu042] (2019-06-03) # - Crashed before to reach the "Blizzard Battle.net Login" window ("Blizzard Error. Unknown error, please report to Blizzard ... <Close>". Occurs with Wine 1.9.23-stating and 3.0.5. Fixed with: Wine 4.0.1 # - Game now need a 64 bits OS. # - Remove # POL_Wine_OverrideDLL "" "d3d11" because launcher says it can find a ".DLL" (D3D11). Games can work with D3D9 (ref: appdb.winehq.org) # - Tried to add (for safety): "-force-d3d9", but game still launch with d3d11. # - Add support for dual GPU. # Canceled (to delete): # - According Appdb.winehq.org this game can also work with Wine 2.x and 3.x. Since it is currently broken, I remove the Wine version in order to use OS's version. # # [Kepsz] (2020-03-17) # - The game is no longer have a DX9 option, and only supports 64 bit. Also, it can only work with wine-staging. # - Two of Wine's dll's needs to be replaced with DLL's from the game. # - Information about vkd3d is added. The (at the time) official vkd3d 1.1 is not enough to play the game. You have to use the GIT version of vkd3d, until they release a new mayor version. # [Kepsz] (2020-09-27) # - Script is updated because vkd3d 1.2 is reelased. Wine version is updated to 5.10-staging. # [Kepsz] (2021-02-26) # - Script is updated because of bnet launcher changes. Wine version is updated to 6.0-staging. DLL overrieds removed, they do not needed. [ "$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" #some notification to the user POL_SetupWindow_message "Since HOTS uses DX12, you will need tho install the vkd3d and lib32-vkd3d packages from the package manager of your operating system. You have to install both of them before you click next, this is important! *note: you may need to hit ENTER on your keyboard to proceed with your login data in the BNet launcher because of the not properly displayed OK button." "$TITLE" POL_SetupWindow_message "At the end of HOTS installation, do not press the 'Play' button. Instead, close the Battle.Net client (choose Exit) and wait for the PlayOnLinux installation wizard window to close, it will take some time. After that, you can then start the game as usual." "$TITLE" POL_Wine_SelectPrefix "$PREFIX" POL_System_SetArch "amd64" POL_Wine_PrefixCreate "6.0-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" ####################################### # Setup GPU # ####################################### POL_SetupWindow_VMS "256" POL_Call POL_Install_VideoDriver ####################################### # Replace Wine's dll files with links # # to the dll files at storm's folder # ####################################### mv "/home/$USER/.PlayOnLinux/wineprefix/$PREFIX/drive_c/windows/system32/d3dcompiler_47.dll" "/home/$USER/.PlayOnLinux/wineprefix/$PREFIX/drive_c/windows/system32/d3dcompiler_47.dll.bak" mv "/home/$USER/.PlayOnLinux/wineprefix/$PREFIX/drive_c/windows/system32/d3dx11_42.dll" "/home/$USER/.PlayOnLinux/wineprefix/$PREFIX/drive_c/windows/system32/d3dx11_42.dll.bak" ln -s "/home/$USER/.PlayOnLinux/wineprefix/$PREFIX/drive_c/Program Files (x86)/$TITLE/Support64/d3dcompiler_47.dll" "/home/$USER/.PlayOnLinux/wineprefix/$PREFIX/drive_c/windows/system32/d3dcompiler_47.dll" ln -s "/home/$USER/.PlayOnLinux/wineprefix/$PREFIX/drive_c/Program Files (x86)/$TITLE/Support64/d3dx11_42.dll" "/home/$USER/.PlayOnLinux/wineprefix/$PREFIX/drive_c/windows/system32/d3dx11_42.dll" POL_System_TmpDelete POL_Wine_reboot POL_Shortcut "Battle.net Launcher.exe" "$TITLE" "$TITLE.png" "" "Game;StrategyGame;" POL_SetupWindow_Close exit 0 Replies |
Kepsz | Sunday 27 September 2020 at 11:36 |
Kepsz
|
WarningThis update has not been approved yet by the team. Differences@@ -1,11 +1,10 @@ #!/bin/bash -# Date : 2016-07-31 08:45 -# Last revision : see changelog -# Wine version used : 5.2-staging -# Distribution used to test : Manjaro KDE 2020.03 +# Last revision : see changelog below +# Wine version used : 5.10-staging +# Distribution used to test : Manjaro KDE 2020.09 # Author : nosklo # Last Editor: Kepsz -# Depend : +# Depend : vkd3d, lib32-vkd3d # # CHANGELOG; # [EdRIn] (2016) @@ -21,7 +20,7 @@ # - Remove # POL_Wine_OverrideDLL "" "d3d11" because launcher says it can find a ".DLL" (D3D11). Games can work with D3D9 (ref: appdb.winehq.org) # - Tried to add (for safety): "-force-d3d9", but game still launch with d3d11. # - Add support for dual GPU. - + # Canceled (to delete): # - According Appdb.winehq.org this game can also work with Wine 2.x and 3.x. Since it is currently broken, I remove the Wine version in order to use OS's version. # @@ -29,34 +28,37 @@ # - The game is no longer have a DX9 option, and only supports 64 bit. Also, it can only work with wine-staging. # - Two of Wine's dll's needs to be replaced with DLL's from the game. # - Information about vkd3d is added. The (at the time) official vkd3d 1.1 is not enough to play the game. You have to use the GIT version of vkd3d, until they release a new mayor version. - + +# [Kepsz] (2020-09-27) +# - Script is updated because vkd3d 1.2 is reelased. Wine version is also changed. + [ "$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" - + #some notification to the user -POL_SetupWindow_message "Since HOTS already uses DX12, you will need the GIT version of the vkd3d and lib32-vkd3d packages, as the officially released vkd3d 1.1 is not enough to run the game. You have to install these manually. If a new vkd3d package is officially released since I wrote these lines, then dismiss this message." "$TITLE" - +POL_SetupWindow_message "Since HOTS uses DX12, you will need tho install the vkd3d and lib32-vkd3d packages from the package manager of your operating system. You have to install both of them before you click next, it is important!" "$TITLE" + POL_SetupWindow_message "At the end of HOTS installation, do not press the 'Play' button. Instead, close the Battle.Net client (on the tray) and wait for the PlayOnLinux installation wizard window to close, it will take some time. After that, you can then start the game as usual." "$TITLE" - + POL_Wine_SelectPrefix "$PREFIX" POL_System_SetArch "amd64" -POL_Wine_PrefixCreate "5.2-staging" - +POL_Wine_PrefixCreate "5.10-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" @@ -67,10 +69,10 @@ 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" \ @@ -105,36 +107,36 @@ *) 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" - + ####################################### # Setup GPU # ####################################### - + POL_SetupWindow_VMS "256" POL_Call POL_Install_VideoDriver - + ####################################### # Replace Wine's dll files with links # # to the dll files at storm's folder # ####################################### - + mv "/home/$USER/.PlayOnLinux/wineprefix/$PREFIX/drive_c/windows/system32/d3dcompiler_47.dll" "/home/$USER/.PlayOnLinux/wineprefix/$PREFIX/drive_c/windows/system32/d3dcompiler_47.dll.bak" mv "/home/$USER/.PlayOnLinux/wineprefix/$PREFIX/drive_c/windows/system32/d3dx11_42.dll" "/home/$USER/.PlayOnLinux/wineprefix/$PREFIX/drive_c/windows/system32/d3dx11_42.dll.bak" - + ln -s "/home/$USER/.PlayOnLinux/wineprefix/$PREFIX/drive_c/Program Files (x86)/$TITLE/Support64/d3dcompiler_47.dll" "/home/$USER/.PlayOnLinux/wineprefix/$PREFIX/drive_c/windows/system32/d3dcompiler_47.dll" ln -s "/home/$USER/.PlayOnLinux/wineprefix/$PREFIX/drive_c/Program Files (x86)/$TITLE/Support64/d3dx11_42.dll" "/home/$USER/.PlayOnLinux/wineprefix/$PREFIX/drive_c/windows/system32/d3dx11_42.dll" - + POL_System_TmpDelete POL_Wine_reboot - + POL_Shortcut "Battle.net Launcher.exe" "$TITLE" "$TITLE.png" "" "Game;StrategyGame;" POL_SetupWindow_Close -exit 0 +exit 0 New source code#!/bin/bash # Last revision : see changelog below # Wine version used : 5.10-staging # Distribution used to test : Manjaro KDE 2020.09 # Author : nosklo # Last Editor: Kepsz # Depend : vkd3d, lib32-vkd3d # # CHANGELOG; # [EdRIn] (2016) # Initial writting ?. # [Nosklo] (2016) # ... # [ThanosApostolou] (2016) # Wine "1.9.3-HeroesOfStorm-40083bugfix" -> "1.9.23-staging" because "It seems that it works only with the staging wine builds nowadays". # ... # [Dadu042] (2019-06-03) # - Crashed before to reach the "Blizzard Battle.net Login" window ("Blizzard Error. Unknown error, please report to Blizzard ... <Close>". Occurs with Wine 1.9.23-stating and 3.0.5. Fixed with: Wine 4.0.1 # - Game now need a 64 bits OS. # - Remove # POL_Wine_OverrideDLL "" "d3d11" because launcher says it can find a ".DLL" (D3D11). Games can work with D3D9 (ref: appdb.winehq.org) # - Tried to add (for safety): "-force-d3d9", but game still launch with d3d11. # - Add support for dual GPU. # Canceled (to delete): # - According Appdb.winehq.org this game can also work with Wine 2.x and 3.x. Since it is currently broken, I remove the Wine version in order to use OS's version. # # [Kepsz] (2020-03-17) # - The game is no longer have a DX9 option, and only supports 64 bit. Also, it can only work with wine-staging. # - Two of Wine's dll's needs to be replaced with DLL's from the game. # - Information about vkd3d is added. The (at the time) official vkd3d 1.1 is not enough to play the game. You have to use the GIT version of vkd3d, until they release a new mayor version. # [Kepsz] (2020-09-27) # - Script is updated because vkd3d 1.2 is reelased. Wine version is also changed. [ "$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" #some notification to the user POL_SetupWindow_message "Since HOTS uses DX12, you will need tho install the vkd3d and lib32-vkd3d packages from the package manager of your operating system. You have to install both of them before you click next, it is important!" "$TITLE" POL_SetupWindow_message "At the end of HOTS installation, do not press the 'Play' button. Instead, close the Battle.Net client (on the tray) and wait for the PlayOnLinux installation wizard window to close, it will take some time. After that, you can then start the game as usual." "$TITLE" POL_Wine_SelectPrefix "$PREFIX" POL_System_SetArch "amd64" POL_Wine_PrefixCreate "5.10-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" ####################################### # Setup GPU # ####################################### POL_SetupWindow_VMS "256" POL_Call POL_Install_VideoDriver ####################################### # Replace Wine's dll files with links # # to the dll files at storm's folder # ####################################### mv "/home/$USER/.PlayOnLinux/wineprefix/$PREFIX/drive_c/windows/system32/d3dcompiler_47.dll" "/home/$USER/.PlayOnLinux/wineprefix/$PREFIX/drive_c/windows/system32/d3dcompiler_47.dll.bak" mv "/home/$USER/.PlayOnLinux/wineprefix/$PREFIX/drive_c/windows/system32/d3dx11_42.dll" "/home/$USER/.PlayOnLinux/wineprefix/$PREFIX/drive_c/windows/system32/d3dx11_42.dll.bak" ln -s "/home/$USER/.PlayOnLinux/wineprefix/$PREFIX/drive_c/Program Files (x86)/$TITLE/Support64/d3dcompiler_47.dll" "/home/$USER/.PlayOnLinux/wineprefix/$PREFIX/drive_c/windows/system32/d3dcompiler_47.dll" ln -s "/home/$USER/.PlayOnLinux/wineprefix/$PREFIX/drive_c/Program Files (x86)/$TITLE/Support64/d3dx11_42.dll" "/home/$USER/.PlayOnLinux/wineprefix/$PREFIX/drive_c/windows/system32/d3dx11_42.dll" POL_System_TmpDelete POL_Wine_reboot POL_Shortcut "Battle.net Launcher.exe" "$TITLE" "$TITLE.png" "" "Game;StrategyGame;" POL_SetupWindow_Close exit 0 Replies |
Kepsz | Tuesday 17 March 2020 at 19:53 |
Kepsz
|
WarningThis update has not been approved yet by the team. Differences@@ -1,10 +1,10 @@ #!/bin/bash # Date : 2016-07-31 08:45 # Last revision : see changelog -# Wine version used : system -# Distribution used to test : XUbuntu 18.04 +# Wine version used : 5.2-staging +# Distribution used to test : Manjaro KDE 2020.03 # Author : nosklo -# Last Editor: ThanosApostolou +# Last Editor: Kepsz # Depend : # # CHANGELOG; @@ -13,40 +13,50 @@ # [Nosklo] (2016) # ... # [ThanosApostolou] (2016) -# Wine "1.9.3-HeroesOfStorm-40083bugfix" -> "1.9.23-staging" because "It seems that it works only with the staging wine builds nowadays". +# Wine "1.9.3-HeroesOfStorm-40083bugfix" -> "1.9.23-staging" because "It seems that it works only with the staging wine builds nowadays". # ... # [Dadu042] (2019-06-03) -# - Crashed before to reach the "Blizzard Battle.net Login" window ("Blizzard Error. Unknown error, please report to Blizzard ... <Close>". Occurs with Wine 1.9.23-stating and 3.0.5. Fixed with: Wine 4.0.1 -# - Game now need a 64 bits OS. -# - Remove # POL_Wine_OverrideDLL "" "d3d11" because launcher says it can find a ".DLL" (D3D11). Games can work with D3D9 (ref: appdb.winehq.org) -# - Tried to add (for safety): "-force-d3d9", but game still launch with d3d11. +# - Crashed before to reach the "Blizzard Battle.net Login" window ("Blizzard Error. Unknown error, please report to Blizzard ... <Close>". Occurs with Wine 1.9.23-stating and 3.0.5. Fixed with: Wine 4.0.1 +# - Game now need a 64 bits OS. +# - Remove # POL_Wine_OverrideDLL "" "d3d11" because launcher says it can find a ".DLL" (D3D11). Games can work with D3D9 (ref: appdb.winehq.org) +# - Tried to add (for safety): "-force-d3d9", but game still launch with d3d11. # - Add support for dual GPU. - + # Canceled (to delete): -# - According Appdb.winehq.org this game can also work with Wine 2.x and 3.x. Since it is currently broken, I remove the Wine version in order to use OS's version. - - +# - According Appdb.winehq.org this game can also work with Wine 2.x and 3.x. Since it is currently broken, I remove the Wine version in order to use OS's version. +# +# [Kepsz] (2020-03-17) +# - The game is no longer have a DX9 option, and only supports 64 bit. Also, it can only work with wine-staging. +# - Two of Wine's dll's needs to be replaced with DLL's from the game. +# - Information about vkd3d is added. The (at the time) official vkd3d 1.1 is not enough to play the game. You have to use the GIT version of vkd3d, until they release a new mayor version. + [ "$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" + +#some notification to the user +POL_SetupWindow_message "Since HOTS already uses DX12, you will need the GIT version of the vkd3d and lib32-vkd3d packages, as the officially released vkd3d 1.1 is not enough to run the game. You have to install these manually. If a new vkd3d package is officially released since I wrote these lines, then dismiss this message." "$TITLE" + +POL_SetupWindow_message "At the end of HOTS installation, do not press the 'Play' button. Instead, close the Battle.Net client (on the tray) and wait for the PlayOnLinux installation wizard window to close, it will take some time. After that, you can then start the game as usual." "$TITLE" + POL_Wine_SelectPrefix "$PREFIX" POL_System_SetArch "amd64" -POL_Wine_PrefixCreate "4.0.1" - +POL_Wine_PrefixCreate "5.2-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" @@ -56,11 +66,11 @@ POL_Wine_OverrideDLL "native,builtin" "msvcp140" POL_Wine_OverrideDLL "native,builtin" "ucrtbase" POL_Wine_OverrideDLL "native,builtin" "vcruntime140" -# POL_Wine_OverrideDLL "" "d3d11" - +# 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" \ @@ -95,25 +105,36 @@ *) 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" ####################################### # Setup GPU # ####################################### - + POL_SetupWindow_VMS "256" POL_Call POL_Install_VideoDriver -POL_System_TmpDelete +####################################### +# Replace Wine's dll files with links # +# to the dll files at storm's folder # +####################################### + +mv "/home/$USER/.PlayOnLinux/wineprefix/$PREFIX/drive_c/windows/system32/d3dcompiler_47.dll" "/home/$USER/.PlayOnLinux/wineprefix/$PREFIX/drive_c/windows/system32/d3dcompiler_47.dll.bak" +mv "/home/$USER/.PlayOnLinux/wineprefix/$PREFIX/drive_c/windows/system32/d3dx11_42.dll" "/home/$USER/.PlayOnLinux/wineprefix/$PREFIX/drive_c/windows/system32/d3dx11_42.dll.bak" + +ln -s "/home/$USER/.PlayOnLinux/wineprefix/$PREFIX/drive_c/Program Files (x86)/$TITLE/Support64/d3dcompiler_47.dll" "/home/$USER/.PlayOnLinux/wineprefix/$PREFIX/drive_c/windows/system32/d3dcompiler_47.dll" +ln -s "/home/$USER/.PlayOnLinux/wineprefix/$PREFIX/drive_c/Program Files (x86)/$TITLE/Support64/d3dx11_42.dll" "/home/$USER/.PlayOnLinux/wineprefix/$PREFIX/drive_c/windows/system32/d3dx11_42.dll" + +POL_System_TmpDelete POL_Wine_reboot - + POL_Shortcut "Battle.net Launcher.exe" "$TITLE" "$TITLE.png" "" "Game;StrategyGame;" POL_SetupWindow_Close -exit 0 \ No newline at end of file +exit 0 New source code#!/bin/bash # Date : 2016-07-31 08:45 # Last revision : see changelog # Wine version used : 5.2-staging # Distribution used to test : Manjaro KDE 2020.03 # Author : nosklo # Last Editor: Kepsz # Depend : # # CHANGELOG; # [EdRIn] (2016) # Initial writting ?. # [Nosklo] (2016) # ... # [ThanosApostolou] (2016) # Wine "1.9.3-HeroesOfStorm-40083bugfix" -> "1.9.23-staging" because "It seems that it works only with the staging wine builds nowadays". # ... # [Dadu042] (2019-06-03) # - Crashed before to reach the "Blizzard Battle.net Login" window ("Blizzard Error. Unknown error, please report to Blizzard ... <Close>". Occurs with Wine 1.9.23-stating and 3.0.5. Fixed with: Wine 4.0.1 # - Game now need a 64 bits OS. # - Remove # POL_Wine_OverrideDLL "" "d3d11" because launcher says it can find a ".DLL" (D3D11). Games can work with D3D9 (ref: appdb.winehq.org) # - Tried to add (for safety): "-force-d3d9", but game still launch with d3d11. # - Add support for dual GPU. # Canceled (to delete): # - According Appdb.winehq.org this game can also work with Wine 2.x and 3.x. Since it is currently broken, I remove the Wine version in order to use OS's version. # # [Kepsz] (2020-03-17) # - The game is no longer have a DX9 option, and only supports 64 bit. Also, it can only work with wine-staging. # - Two of Wine's dll's needs to be replaced with DLL's from the game. # - Information about vkd3d is added. The (at the time) official vkd3d 1.1 is not enough to play the game. You have to use the GIT version of vkd3d, until they release a new mayor version. [ "$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" #some notification to the user POL_SetupWindow_message "Since HOTS already uses DX12, you will need the GIT version of the vkd3d and lib32-vkd3d packages, as the officially released vkd3d 1.1 is not enough to run the game. You have to install these manually. If a new vkd3d package is officially released since I wrote these lines, then dismiss this message." "$TITLE" POL_SetupWindow_message "At the end of HOTS installation, do not press the 'Play' button. Instead, close the Battle.Net client (on the tray) and wait for the PlayOnLinux installation wizard window to close, it will take some time. After that, you can then start the game as usual." "$TITLE" POL_Wine_SelectPrefix "$PREFIX" POL_System_SetArch "amd64" POL_Wine_PrefixCreate "5.2-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" ####################################### # Setup GPU # ####################################### POL_SetupWindow_VMS "256" POL_Call POL_Install_VideoDriver ####################################### # Replace Wine's dll files with links # # to the dll files at storm's folder # ####################################### mv "/home/$USER/.PlayOnLinux/wineprefix/$PREFIX/drive_c/windows/system32/d3dcompiler_47.dll" "/home/$USER/.PlayOnLinux/wineprefix/$PREFIX/drive_c/windows/system32/d3dcompiler_47.dll.bak" mv "/home/$USER/.PlayOnLinux/wineprefix/$PREFIX/drive_c/windows/system32/d3dx11_42.dll" "/home/$USER/.PlayOnLinux/wineprefix/$PREFIX/drive_c/windows/system32/d3dx11_42.dll.bak" ln -s "/home/$USER/.PlayOnLinux/wineprefix/$PREFIX/drive_c/Program Files (x86)/$TITLE/Support64/d3dcompiler_47.dll" "/home/$USER/.PlayOnLinux/wineprefix/$PREFIX/drive_c/windows/system32/d3dcompiler_47.dll" ln -s "/home/$USER/.PlayOnLinux/wineprefix/$PREFIX/drive_c/Program Files (x86)/$TITLE/Support64/d3dx11_42.dll" "/home/$USER/.PlayOnLinux/wineprefix/$PREFIX/drive_c/windows/system32/d3dx11_42.dll" POL_System_TmpDelete POL_Wine_reboot POL_Shortcut "Battle.net Launcher.exe" "$TITLE" "$TITLE.png" "" "Game;StrategyGame;" POL_SetupWindow_Close exit 0 RepliesTuesday 17 March 2020 at 20:36
|
Dadu042 | Monday 15 July 2019 at 15:07 |
Dadu042
|
WarningThis update has not been approved yet by the team. MessageGame succeed to reach the login window. Not tested more. Differences@@ -1,33 +1,52 @@ #!/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 +# Last revision : see changelog +# Wine version used : system +# Distribution used to test : XUbuntu 18.04 # Author : nosklo # Last Editor: ThanosApostolou # Depend : - +# +# CHANGELOG; +# [EdRIn] (2016) +# Initial writting ?. +# [Nosklo] (2016) +# ... +# [ThanosApostolou] (2016) +# Wine "1.9.3-HeroesOfStorm-40083bugfix" -> "1.9.23-staging" because "It seems that it works only with the staging wine builds nowadays". +# ... +# [Dadu042] (2019-06-03) +# - Crashed before to reach the "Blizzard Battle.net Login" window ("Blizzard Error. Unknown error, please report to Blizzard ... <Close>". Occurs with Wine 1.9.23-stating and 3.0.5. Fixed with: Wine 4.0.1 +# - Game now need a 64 bits OS. +# - Remove # POL_Wine_OverrideDLL "" "d3d11" because launcher says it can find a ".DLL" (D3D11). Games can work with D3D9 (ref: appdb.winehq.org) +# - Tried to add (for safety): "-force-d3d9", but game still launch with d3d11. +# - Add support for dual GPU. + +# Canceled (to delete): +# - According Appdb.winehq.org this game can also work with Wine 2.x and 3.x. Since it is currently broken, I remove the Wine version in order to use OS's version. + + [ "$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" - +POL_System_SetArch "amd64" +POL_Wine_PrefixCreate "4.0.1" + # 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" @@ -37,11 +56,11 @@ POL_Wine_OverrideDLL "native,builtin" "msvcp140" POL_Wine_OverrideDLL "native,builtin" "ucrtbase" POL_Wine_OverrideDLL "native,builtin" "vcruntime140" -POL_Wine_OverrideDLL "" "d3d11" - +# 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" \ @@ -76,21 +95,25 @@ *) 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 + +####################################### +# Setup GPU # +####################################### POL_SetupWindow_VMS "256" +POL_Call POL_Install_VideoDriver + +POL_System_TmpDelete POL_Wine_reboot - -POL_Shortcut "Battle.net Launcher.exe" "$TITLE" "$TITLE.png" "" + +POL_Shortcut "Battle.net Launcher.exe" "$TITLE" "$TITLE.png" "" "Game;StrategyGame;" POL_SetupWindow_Close - exit 0 \ No newline at end of file New source code#!/bin/bash # Date : 2016-07-31 08:45 # Last revision : see changelog # Wine version used : system # Distribution used to test : XUbuntu 18.04 # Author : nosklo # Last Editor: ThanosApostolou # Depend : # # CHANGELOG; # [EdRIn] (2016) # Initial writting ?. # [Nosklo] (2016) # ... # [ThanosApostolou] (2016) # Wine "1.9.3-HeroesOfStorm-40083bugfix" -> "1.9.23-staging" because "It seems that it works only with the staging wine builds nowadays". # ... # [Dadu042] (2019-06-03) # - Crashed before to reach the "Blizzard Battle.net Login" window ("Blizzard Error. Unknown error, please report to Blizzard ... <Close>". Occurs with Wine 1.9.23-stating and 3.0.5. Fixed with: Wine 4.0.1 # - Game now need a 64 bits OS. # - Remove # POL_Wine_OverrideDLL "" "d3d11" because launcher says it can find a ".DLL" (D3D11). Games can work with D3D9 (ref: appdb.winehq.org) # - Tried to add (for safety): "-force-d3d9", but game still launch with d3d11. # - Add support for dual GPU. # Canceled (to delete): # - According Appdb.winehq.org this game can also work with Wine 2.x and 3.x. Since it is currently broken, I remove the Wine version in order to use OS's version. [ "$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 "amd64" POL_Wine_PrefixCreate "4.0.1" # 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" ####################################### # Setup GPU # ####################################### POL_SetupWindow_VMS "256" POL_Call POL_Install_VideoDriver POL_System_TmpDelete POL_Wine_reboot POL_Shortcut "Battle.net Launcher.exe" "$TITLE" "$TITLE.png" "" "Game;StrategyGame;" POL_SetupWindow_Close exit 0 RepliesEdited by Dadu042 |
the_mentor | Monday 27 November 2017 at 4:20 |
the_mentor
|
MessageWhy is the recipe for this program is not being updated to support the latest version of this game? currently its unplayable and I dont know how to fix it to make it playable. Any help to get this working would be appriciated.
Thanks for the help! RepliesMonday 15 July 2019 at 11:22
|
SimbaLion | Thursday 25 May 2017 at 5:11 |
SimbaLion
|
Messagecrashes constantly. Tried changing the "Windows version" from XP to Win7 and then it couldn't even start battle.net RepliesThursday 25 May 2017 at 5:13
Wednesday 31 May 2017 at 21:28
Wednesday 31 May 2017 at 22:00
Wednesday 7 June 2017 at 19:00
Friday 28 July 2017 at 1:10
Friday 28 July 2017 at 1:11
|
JamEater | Saturday 10 December 2016 at 12:10 |
JamEater
|
MessageHello 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. RepliesFriday 3 March 2017 at 23:42
|
ThanosApostolou | Thursday 1 December 2016 at 14:14 |
ThanosApostolou
|
WarningThis update has not been approved yet by the team. MessageI 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 RepliesThursday 1 December 2016 at 14:31
Wednesday 3 July 2019 at 15:29
|
ThanosApostolou | Thursday 1 December 2016 at 14:03 |
ThanosApostolou
|
WarningThis update has not been approved yet by the team. 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 RepliesThursday 1 December 2016 at 14:07
|
ThanosApostolou | Tuesday 25 October 2016 at 7:49 |
ThanosApostolou
|
WarningThis update has not been approved yet by the team. MessageThe "api-ms-win-crt-math-l1-1-0" library override was suggested by hbobenicio. 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 RepliesWednesday 26 October 2016 at 22:28
Thursday 27 October 2016 at 9:50
Friday 28 October 2016 at 11:46
|
kronecker | Saturday 22 October 2016 at 20:04 |
kronecker
|
MessageHi, 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). 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! RepliesMonday 24 October 2016 at 15:22
Tuesday 25 October 2016 at 7:34
|
hbobenicio | Friday 16 September 2016 at 2:57 |
hbobenicio
|
WarningThis update has not been approved yet by the team. 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 RepliesFriday 16 September 2016 at 2:58
Saturday 17 September 2016 at 10:43
Thursday 22 September 2016 at 22:15
Thursday 22 September 2016 at 22:16
Tuesday 4 October 2016 at 0:00
|
hbobenicio | Friday 16 September 2016 at 2:56 |
hbobenicio
|
MessageAfter 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.
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
|
WarningThis update has not been approved yet by the team. MessageI 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 RepliesSunday 7 August 2016 at 14:52
Monday 15 August 2016 at 11:14
|
Diogovmm | Thursday 28 July 2016 at 14:18 |
Diogovmm
|
MessageHello. 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 |
ElPasso | Wednesday 27 July 2016 at 18:58 |
ElPasso
|
MessageAnother 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 ?
RepliesThursday 28 July 2016 at 0:45
Thursday 28 July 2016 at 0:45
Thursday 28 July 2016 at 9:28
Saturday 30 July 2016 at 17:22
|
bodtx | Wednesday 13 July 2016 at 23:17 |
bodtx
|
MessageToday 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?
RepliesThursday 14 July 2016 at 12:52
Thursday 14 July 2016 at 14:49
Thursday 14 July 2016 at 14:55
Thursday 14 July 2016 at 14:58
Friday 15 July 2016 at 5:43
Friday 15 July 2016 at 10:35
Friday 15 July 2016 at 10:55
Friday 15 July 2016 at 11:19
Friday 15 July 2016 at 11:31
Friday 15 July 2016 at 12:01
Wednesday 20 July 2016 at 0:51
|
BloodyIron | Saturday 18 June 2016 at 22:28 |
BloodyIron
|
MessageI 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:
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:
Game on! RepliesSaturday 18 June 2016 at 22:29
|
petch | Tuesday 16 February 2016 at 19:02 |
petch
|
WarningThis update has not been approved yet by the team. MessageWine 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
|
WarningThis update has not been approved yet by the team. MessageThis 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 RepliesTuesday 16 February 2016 at 18:00
Edited by petch |
frezier | Thursday 11 February 2016 at 21:25 |
frezier
|
MessageSince 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. RepliesThursday 11 February 2016 at 21:27
Friday 12 February 2016 at 9:54
Friday 12 February 2016 at 11:51
Friday 12 February 2016 at 12:03
Friday 12 February 2016 at 13:52
Friday 12 February 2016 at 14:27
Friday 12 February 2016 at 14:34
Friday 12 February 2016 at 14:35
Friday 12 February 2016 at 22:48
Saturday 13 February 2016 at 17:29
Edited by frezier |
nosklo | Thursday 4 February 2016 at 21:50 |
nosklo
|
WarningThis update has not been approved yet by the team. 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 RepliesThursday 4 February 2016 at 21:50
Friday 5 February 2016 at 15:40
Saturday 6 February 2016 at 11:04
Saturday 6 February 2016 at 11:10
Sunday 7 February 2016 at 11:58
Sunday 7 February 2016 at 11:58
Thursday 11 February 2016 at 21:26
|
nosklo | Thursday 4 February 2016 at 4:06 |
nosklo
|
WarningThis update has not been approved yet by the team. MessageThe 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 |
arienreth | Thursday 4 February 2016 at 1:48 |
arienreth
|
MessageWith last update the game hangs when starting a new match, this happens only on the 32bit version. RepliesThursday 4 February 2016 at 1:50
|
nosklo | Wednesday 3 February 2016 at 0:39 |
nosklo
|
MessageAfter 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 RepliesThursday 4 February 2016 at 4:08
|
7z4r | Saturday 16 January 2016 at 16:48 |
7z4r
|
Messagei 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
|
WarningThis update has not been approved yet by the team. 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 |
This site allows content generated by members, and we promptly remove any content that infringes copyright according to our Terms of Service. To report copyright infringement, please send a notice to dmca-notice@playonlinux.com