Battle.Net
Informations
Creator | Message |
---|---|
schotty
|
InformationThis installer has been approved by the team. InformationsPlatforms: Feedbacks12 19 DescriptionBlizzard Entertainment's Battle.Net launcher. Used to play World of Warcraft, Warcraft 3, Diablo 3, Hearthstone, Heroes of the Storm and Overwatch. ScreenshotsSource code#!/bin/bash # Date : (2015) # Last revision : see the changelog below # (latest) Distribution used to test : Kubuntu 18.04 x64 # Author : schotty # Licence : GPLv3 # PlayOnLinux: 4.3.4 # Notes: Pulls in the US instsallation file for Battle.Net. Not aware of issues outside of North America or the US, but this might be the cause if any do arise. # CHANGELOG # [schotty] (2015-08-21) # First script. # [BiTSHiFT] (201x) # Language switch. # [7z4r] (2016-07-26) # working fix for Hearthstone & HotS. # wine 1.9.2 -> 1.9.15 # POL_SetupWindow_VMS "1024" -> "64" (minimum for Hearthstone). # [BlondeValor, applied by 7z4r] (2016-07-28) # More POL_Wine_OverrideDLL. # [oloc] (2016-11-09) # win7 -> winxp # More POL_Wine_OverrideDLL. # [schotty] (2016-11-24) # wine 1.9.15 -> 1.9.23 # Disable POL_Wine_OverrideDLL (not necessary anymore). # [Fivelek (2017-04-30) # Improved version to make the launcher fully functional without some UI bugs that we had before (dropping menus, etc...). # Warning message (winxp required to install, then switching to win7 is possible). # [Dadu042] (2019-11-10) # Add changelog. # Wine 1.9.15 -> 4.0.2 # [Dadu042] (2020-03-15) # Clean up. # Wine 4.0.2 -> 4.0.3 (not tested. Perhaps 4.21 could be OK). # Add POL_RequiredVersion (v4.3.4). [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" PREFIX="battle.net" WINEVERSION="4.0.3" TITLE="Battle.Net" EDITOR="Blizzard Entertainment Inc." GAME_URL="http://us.battle.net/en" AUTHOR="Schotty" # Initialization 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 2599 POL_Debug_Init # Presentation POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX" POL_RequiredVersion "4.3.4" || POL_Debug_Fatal "$APPLICATION_TITLE $VERSION is required to install $TITLE" POL_SetupWindow_menu_list "$(eval_gettext 'Please choose your desired locale')" "$TITLE" "enGB~enUS~deDE~esES~frFR~ruRU~itIT~ptPT" "~" CLIENT_NAME="Battle.net-Setup-"$APP_ANSWER".exe" DOWNLOAD_BASE="http://dist.blizzard.com/downloads/bna-installers/322d5bb9ae0318de3d4cde7641c96425/retail.1/" POL_System_TmpCreate "$PREFIX" cd "$POL_System_TmpDir" POL_Download "$DOWNLOAD_BASE$CLIENT_NAME" # Create Prefix POL_Wine_SelectPrefix "$PREFIX" POL_System_SetArch "x86" POL_Wine_PrefixCreate "$WINEVERSION" # Configuration Set_OS "winxp" # POL_Wine_OverrideDLL "native,builtin" "*msvcr90" "msvcp100" "dbghelp" # not sure if this is really needed (2016): # POL_Wine_OverrideDLL "disabled" "d3dcompiler_46" # Dependencies POL_Call POL_Install_corefonts # Installation POL_SetupWindow_message "$(eval_gettext 'NOTICE: Do not close $TITLE until installation completes. When you are at the $TITLE login window, please close it. ')" "$TITLE" POL_Wine "$POL_System_TmpDir/$CLIENT_NAME" POL_Wine_WaitExit "$TITLE" --allow-kill POL_SetupWindow_VMS "64" POL_Wine_reboot # Create Shortcut POL_Shortcut "Battle.net Launcher.exe" "$TITLE" "" "" "Game;" # 2016 note: POL_SetupWindow_message "$(eval_gettext 'Wine has been configured with Windows XP as the Windows version to make the launcher works properly. You will have to change the Windows version to Windows 7 or higher (and install some components and/or DLLs) to play some games like Overwatch.\nChanging the Windows version for an higher version breaks some app functionalities but it does not prevent you from launching games. ')" "$TITLE" # Cleanup POL_System_TmpDelete POL_SetupWindow_Close exit 0 |
Contributions
Filters:
ContributeMember | Message |
kmelia | Wednesday 24 February 2021 at 18:25 |
kmelia
|
MessageAvec la dernière énorme mise à jour du client Battle.net, on a le droit à un écran noir lors de l'affichage du client. En fait, il manque Direct3D 11 qu'il faut ajouter ! Si ça intéresse des gens, j'ai mis à jour mon script : https://cameliaweb.fr/blog/jeux-video-gaming/bienvenue-sur-le-nouveau-battle-net Replies |
Dadu042 | Sunday 15 March 2020 at 9:06 |
Dadu042
|
InformationThis update has been approved by the team. Differences@@ -6,7 +6,7 @@ # Licence : GPLv3 # PlayOnLinux: 4.3.4 # Notes: Pulls in the US instsallation file for Battle.Net. Not aware of issues outside of North America or the US, but this might be the cause if any do arise. - + # CHANGELOG # [schotty] (2015-08-21) # First script. @@ -30,65 +30,72 @@ # [Dadu042] (2019-11-10) # Add changelog. # Wine 1.9.15 -> 4.0.2 +# [Dadu042] (2020-03-15) +# Clean up. +# Wine 4.0.2 -> 4.0.3 (not tested. Perhaps 4.21 could be OK). +# Add POL_RequiredVersion (v4.3.4). + [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" - + PREFIX="battle.net" -WINEVERSION="4.0.2" -POL_System_SetArch "x86" +WINEVERSION="4.0.3" TITLE="Battle.Net" EDITOR="Blizzard Entertainment Inc." GAME_URL="http://us.battle.net/en" AUTHOR="Schotty" - -#Initialization + +# Initialization 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 2599 - + POL_Debug_Init - + # Presentation POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX" +POL_RequiredVersion "4.3.4" || POL_Debug_Fatal "$APPLICATION_TITLE $VERSION is required to install $TITLE" POL_SetupWindow_menu_list "$(eval_gettext 'Please choose your desired locale')" "$TITLE" "enGB~enUS~deDE~esES~frFR~ruRU~itIT~ptPT" "~" CLIENT_NAME="Battle.net-Setup-"$APP_ANSWER".exe" DOWNLOAD_BASE="http://dist.blizzard.com/downloads/bna-installers/322d5bb9ae0318de3d4cde7641c96425/retail.1/" POL_System_TmpCreate "$PREFIX" - + cd "$POL_System_TmpDir" POL_Download "$DOWNLOAD_BASE$CLIENT_NAME" - + # Create Prefix POL_Wine_SelectPrefix "$PREFIX" +POL_System_SetArch "x86" POL_Wine_PrefixCreate "$WINEVERSION" - + # Configuration Set_OS "winxp" - + # POL_Wine_OverrideDLL "native,builtin" "*msvcr90" "msvcp100" "dbghelp" # not sure if this is really needed (2016): # POL_Wine_OverrideDLL "disabled" "d3dcompiler_46" - + # Dependencies POL_Call POL_Install_corefonts - + # Installation POL_SetupWindow_message "$(eval_gettext 'NOTICE: Do not close $TITLE until installation completes. When you are at the $TITLE login window, please close it. ')" "$TITLE" - + POL_Wine "$POL_System_TmpDir/$CLIENT_NAME" POL_Wine_WaitExit "$TITLE" --allow-kill - + POL_SetupWindow_VMS "64" POL_Wine_reboot - + # Create Shortcut POL_Shortcut "Battle.net Launcher.exe" "$TITLE" "" "" "Game;" - + +# 2016 note: POL_SetupWindow_message "$(eval_gettext 'Wine has been configured with Windows XP as the Windows version to make the launcher works properly. You will have to change the Windows version to Windows 7 or higher (and install some components and/or DLLs) to play some games like Overwatch.\nChanging the Windows version for an higher version breaks some app functionalities but it does not prevent you from launching games. ')" "$TITLE" - + # Cleanup POL_System_TmpDelete - + POL_SetupWindow_Close -exit 0 +exit 0 \ No newline at end of file New source code#!/bin/bash # Date : (2015) # Last revision : see the changelog below # (latest) Distribution used to test : Kubuntu 18.04 x64 # Author : schotty # Licence : GPLv3 # PlayOnLinux: 4.3.4 # Notes: Pulls in the US instsallation file for Battle.Net. Not aware of issues outside of North America or the US, but this might be the cause if any do arise. # CHANGELOG # [schotty] (2015-08-21) # First script. # [BiTSHiFT] (201x) # Language switch. # [7z4r] (2016-07-26) # working fix for Hearthstone & HotS. # wine 1.9.2 -> 1.9.15 # POL_SetupWindow_VMS "1024" -> "64" (minimum for Hearthstone). # [BlondeValor, applied by 7z4r] (2016-07-28) # More POL_Wine_OverrideDLL. # [oloc] (2016-11-09) # win7 -> winxp # More POL_Wine_OverrideDLL. # [schotty] (2016-11-24) # wine 1.9.15 -> 1.9.23 # Disable POL_Wine_OverrideDLL (not necessary anymore). # [Fivelek (2017-04-30) # Improved version to make the launcher fully functional without some UI bugs that we had before (dropping menus, etc...). # Warning message (winxp required to install, then switching to win7 is possible). # [Dadu042] (2019-11-10) # Add changelog. # Wine 1.9.15 -> 4.0.2 # [Dadu042] (2020-03-15) # Clean up. # Wine 4.0.2 -> 4.0.3 (not tested. Perhaps 4.21 could be OK). # Add POL_RequiredVersion (v4.3.4). [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" PREFIX="battle.net" WINEVERSION="4.0.3" TITLE="Battle.Net" EDITOR="Blizzard Entertainment Inc." GAME_URL="http://us.battle.net/en" AUTHOR="Schotty" # Initialization 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 2599 POL_Debug_Init # Presentation POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX" POL_RequiredVersion "4.3.4" || POL_Debug_Fatal "$APPLICATION_TITLE $VERSION is required to install $TITLE" POL_SetupWindow_menu_list "$(eval_gettext 'Please choose your desired locale')" "$TITLE" "enGB~enUS~deDE~esES~frFR~ruRU~itIT~ptPT" "~" CLIENT_NAME="Battle.net-Setup-"$APP_ANSWER".exe" DOWNLOAD_BASE="http://dist.blizzard.com/downloads/bna-installers/322d5bb9ae0318de3d4cde7641c96425/retail.1/" POL_System_TmpCreate "$PREFIX" cd "$POL_System_TmpDir" POL_Download "$DOWNLOAD_BASE$CLIENT_NAME" # Create Prefix POL_Wine_SelectPrefix "$PREFIX" POL_System_SetArch "x86" POL_Wine_PrefixCreate "$WINEVERSION" # Configuration Set_OS "winxp" # POL_Wine_OverrideDLL "native,builtin" "*msvcr90" "msvcp100" "dbghelp" # not sure if this is really needed (2016): # POL_Wine_OverrideDLL "disabled" "d3dcompiler_46" # Dependencies POL_Call POL_Install_corefonts # Installation POL_SetupWindow_message "$(eval_gettext 'NOTICE: Do not close $TITLE until installation completes. When you are at the $TITLE login window, please close it. ')" "$TITLE" POL_Wine "$POL_System_TmpDir/$CLIENT_NAME" POL_Wine_WaitExit "$TITLE" --allow-kill POL_SetupWindow_VMS "64" POL_Wine_reboot # Create Shortcut POL_Shortcut "Battle.net Launcher.exe" "$TITLE" "" "" "Game;" # 2016 note: POL_SetupWindow_message "$(eval_gettext 'Wine has been configured with Windows XP as the Windows version to make the launcher works properly. You will have to change the Windows version to Windows 7 or higher (and install some components and/or DLLs) to play some games like Overwatch.\nChanging the Windows version for an higher version breaks some app functionalities but it does not prevent you from launching games. ')" "$TITLE" # Cleanup POL_System_TmpDelete POL_SetupWindow_Close exit 0 Replies |
sokol99 | Sunday 15 March 2020 at 4:51 |
sokol99
|
MessageThis installed well for me on mint19.1 on an older iMac. Seems to be mostly working. Need to resize the screen to get fonts to display correctly. Crashes when I try to go to the purchase/download page for some reason. Trying to install Warcraft III ROC which requires 64 bit support. Unfortunately I'm not exactly sure what to do after switching to Win 7 though. Thanks for your work on this. Thanks, sokol99 Replies |
Dadu042 | Saturday 30 November 2019 at 12:55 |
Dadu042
|
WarningThis update has not been approved yet by the team. MessageI could not approve the updates made by Norway because of the Curl commands (these need comments). Differences@@ -4,7 +4,7 @@ # (latest) Distribution used to test : Kubuntu 18.04 x64 # Author : schotty # Licence : GPLv3 -# PlayOnLinux: 4.2.10 +# PlayOnLinux: 4.3.4 # Notes: Pulls in the US instsallation file for Battle.Net. Not aware of issues outside of North America or the US, but this might be the cause if any do arise. # CHANGELOG @@ -12,8 +12,21 @@ # First script. # [BiTSHiFT] (201x) # Language switch. -# [7z4r] (201x) +# [7z4r] (2016-07-26) # working fix for Hearthstone & HotS. +# wine 1.9.2 -> 1.9.15 +# POL_SetupWindow_VMS "1024" -> "64" (minimum for Hearthstone). +# [BlondeValor, applied by 7z4r] (2016-07-28) +# More POL_Wine_OverrideDLL. +# [oloc] (2016-11-09) +# win7 -> winxp +# More POL_Wine_OverrideDLL. +# [schotty] (2016-11-24) +# wine 1.9.15 -> 1.9.23 +# Disable POL_Wine_OverrideDLL (not necessary anymore). +# [Fivelek (2017-04-30) +# Improved version to make the launcher fully functional without some UI bugs that we had before (dropping menus, etc...). +# Warning message (winxp required to install, then switching to win7 is possible). # [Dadu042] (2019-11-10) # Add changelog. # Wine 1.9.15 -> 4.0.2 @@ -51,17 +64,17 @@ POL_Wine_PrefixCreate "$WINEVERSION" # Configuration -Set_OS "win7" +Set_OS "winxp" -POL_Wine_OverrideDLL "native,builtin" "*msvcr90" "msvcp100" "dbghelp" -# not sure if this is really needed: -POL_Wine_OverrideDLL "disabled" "d3dcompiler_46" +# POL_Wine_OverrideDLL "native,builtin" "*msvcr90" "msvcp100" "dbghelp" +# not sure if this is really needed (2016): +# POL_Wine_OverrideDLL "disabled" "d3dcompiler_46" # Dependencies POL_Call POL_Install_corefonts # Installation -POL_SetupWindow_message "$(eval_gettext 'NOTICE: Do not close $TITLE until installation completes and you are at the $TITLE login window. ')" "$TITLE" +POL_SetupWindow_message "$(eval_gettext 'NOTICE: Do not close $TITLE until installation completes. When you are at the $TITLE login window, please close it. ')" "$TITLE" POL_Wine "$POL_System_TmpDir/$CLIENT_NAME" POL_Wine_WaitExit "$TITLE" --allow-kill @@ -71,9 +84,11 @@ # Create Shortcut POL_Shortcut "Battle.net Launcher.exe" "$TITLE" "" "" "Game;" - + +POL_SetupWindow_message "$(eval_gettext 'Wine has been configured with Windows XP as the Windows version to make the launcher works properly. You will have to change the Windows version to Windows 7 or higher (and install some components and/or DLLs) to play some games like Overwatch.\nChanging the Windows version for an higher version breaks some app functionalities but it does not prevent you from launching games. ')" "$TITLE" + # Cleanup POL_System_TmpDelete POL_SetupWindow_Close -exit 0 \ No newline at end of file +exit 0 New source code#!/bin/bash # Date : (2015) # Last revision : see the changelog below # (latest) Distribution used to test : Kubuntu 18.04 x64 # Author : schotty # Licence : GPLv3 # PlayOnLinux: 4.3.4 # Notes: Pulls in the US instsallation file for Battle.Net. Not aware of issues outside of North America or the US, but this might be the cause if any do arise. # CHANGELOG # [schotty] (2015-08-21) # First script. # [BiTSHiFT] (201x) # Language switch. # [7z4r] (2016-07-26) # working fix for Hearthstone & HotS. # wine 1.9.2 -> 1.9.15 # POL_SetupWindow_VMS "1024" -> "64" (minimum for Hearthstone). # [BlondeValor, applied by 7z4r] (2016-07-28) # More POL_Wine_OverrideDLL. # [oloc] (2016-11-09) # win7 -> winxp # More POL_Wine_OverrideDLL. # [schotty] (2016-11-24) # wine 1.9.15 -> 1.9.23 # Disable POL_Wine_OverrideDLL (not necessary anymore). # [Fivelek (2017-04-30) # Improved version to make the launcher fully functional without some UI bugs that we had before (dropping menus, etc...). # Warning message (winxp required to install, then switching to win7 is possible). # [Dadu042] (2019-11-10) # Add changelog. # Wine 1.9.15 -> 4.0.2 [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" PREFIX="battle.net" WINEVERSION="4.0.2" POL_System_SetArch "x86" TITLE="Battle.Net" EDITOR="Blizzard Entertainment Inc." GAME_URL="http://us.battle.net/en" AUTHOR="Schotty" #Initialization 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 2599 POL_Debug_Init # Presentation POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX" POL_SetupWindow_menu_list "$(eval_gettext 'Please choose your desired locale')" "$TITLE" "enGB~enUS~deDE~esES~frFR~ruRU~itIT~ptPT" "~" CLIENT_NAME="Battle.net-Setup-"$APP_ANSWER".exe" DOWNLOAD_BASE="http://dist.blizzard.com/downloads/bna-installers/322d5bb9ae0318de3d4cde7641c96425/retail.1/" POL_System_TmpCreate "$PREFIX" cd "$POL_System_TmpDir" POL_Download "$DOWNLOAD_BASE$CLIENT_NAME" # Create Prefix POL_Wine_SelectPrefix "$PREFIX" POL_Wine_PrefixCreate "$WINEVERSION" # Configuration Set_OS "winxp" # POL_Wine_OverrideDLL "native,builtin" "*msvcr90" "msvcp100" "dbghelp" # not sure if this is really needed (2016): # POL_Wine_OverrideDLL "disabled" "d3dcompiler_46" # Dependencies POL_Call POL_Install_corefonts # Installation POL_SetupWindow_message "$(eval_gettext 'NOTICE: Do not close $TITLE until installation completes. When you are at the $TITLE login window, please close it. ')" "$TITLE" POL_Wine "$POL_System_TmpDir/$CLIENT_NAME" POL_Wine_WaitExit "$TITLE" --allow-kill POL_SetupWindow_VMS "64" POL_Wine_reboot # Create Shortcut POL_Shortcut "Battle.net Launcher.exe" "$TITLE" "" "" "Game;" POL_SetupWindow_message "$(eval_gettext 'Wine has been configured with Windows XP as the Windows version to make the launcher works properly. You will have to change the Windows version to Windows 7 or higher (and install some components and/or DLLs) to play some games like Overwatch.\nChanging the Windows version for an higher version breaks some app functionalities but it does not prevent you from launching games. ')" "$TITLE" # Cleanup POL_System_TmpDelete POL_SetupWindow_Close exit 0 RepliesEdited by Dadu042 |
Dadu042 | Saturday 30 November 2019 at 11:18 |
Dadu042
|
WarningThis update has not been approved yet by the team. MessageLatest approved script was release on 2016-07-26. I push this little update because I will review the submited scripts. Differences@@ -1,73 +1,79 @@ #!/bin/bash -# Date : (2016-07-26) -# Distribution used to test : Red Hat Enterprise Linux 7.2 64-bit -# Distribution used to test : Netrunner 17 (Kubuntu 15.10 x64) - tested and working: Hearthstone & HotS -# Distribution used to test : Linux Mint 17.3 Cinnamon 64-bit -# Distribution used to test : ubuntustudio 16.04.1 x64 +# Date : (2015) +# Last revision : see the changelog below +# (latest) Distribution used to test : Kubuntu 18.04 x64 # Author : schotty -# Author : 7z4r (working fix for Hearthstone & HotS) -# Author : BiTSHiFT (Language switch) # Licence : GPLv3 # PlayOnLinux: 4.2.10 # Notes: Pulls in the US instsallation file for Battle.Net. Not aware of issues outside of North America or the US, but this might be the cause if any do arise. - +# CHANGELOG +# [schotty] (2015-08-21) +# First script. +# [BiTSHiFT] (201x) +# Language switch. +# [7z4r] (201x) +# working fix for Hearthstone & HotS. +# [Dadu042] (2019-11-10) +# Add changelog. +# Wine 1.9.15 -> 4.0.2 + [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" - + PREFIX="battle.net" -WINEVERSION="1.9.15" +WINEVERSION="4.0.2" POL_System_SetArch "x86" TITLE="Battle.Net" EDITOR="Blizzard Entertainment Inc." GAME_URL="http://us.battle.net/en" AUTHOR="Schotty" - + #Initialization 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 2599 - + POL_Debug_Init - + # Presentation POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX" POL_SetupWindow_menu_list "$(eval_gettext 'Please choose your desired locale')" "$TITLE" "enGB~enUS~deDE~esES~frFR~ruRU~itIT~ptPT" "~" CLIENT_NAME="Battle.net-Setup-"$APP_ANSWER".exe" DOWNLOAD_BASE="http://dist.blizzard.com/downloads/bna-installers/322d5bb9ae0318de3d4cde7641c96425/retail.1/" POL_System_TmpCreate "$PREFIX" - + cd "$POL_System_TmpDir" POL_Download "$DOWNLOAD_BASE$CLIENT_NAME" - + # Create Prefix POL_Wine_SelectPrefix "$PREFIX" POL_Wine_PrefixCreate "$WINEVERSION" - + # Configuration Set_OS "win7" - + POL_Wine_OverrideDLL "native,builtin" "*msvcr90" "msvcp100" "dbghelp" # not sure if this is really needed: POL_Wine_OverrideDLL "disabled" "d3dcompiler_46" - + # Dependencies POL_Call POL_Install_corefonts - + # Installation POL_SetupWindow_message "$(eval_gettext 'NOTICE: Do not close $TITLE until installation completes and you are at the $TITLE login window. ')" "$TITLE" - + POL_Wine "$POL_System_TmpDir/$CLIENT_NAME" POL_Wine_WaitExit "$TITLE" --allow-kill - + POL_SetupWindow_VMS "64" POL_Wine_reboot - + # Create Shortcut -POL_Shortcut "Battle.net Launcher.exe" "$TITLE" - +POL_Shortcut "Battle.net Launcher.exe" "$TITLE" "" "" "Game;" + # Cleanup POL_System_TmpDelete - + POL_SetupWindow_Close exit 0 \ No newline at end of file New source code#!/bin/bash # Date : (2015) # Last revision : see the changelog below # (latest) Distribution used to test : Kubuntu 18.04 x64 # Author : schotty # Licence : GPLv3 # PlayOnLinux: 4.2.10 # Notes: Pulls in the US instsallation file for Battle.Net. Not aware of issues outside of North America or the US, but this might be the cause if any do arise. # CHANGELOG # [schotty] (2015-08-21) # First script. # [BiTSHiFT] (201x) # Language switch. # [7z4r] (201x) # working fix for Hearthstone & HotS. # [Dadu042] (2019-11-10) # Add changelog. # Wine 1.9.15 -> 4.0.2 [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" PREFIX="battle.net" WINEVERSION="4.0.2" POL_System_SetArch "x86" TITLE="Battle.Net" EDITOR="Blizzard Entertainment Inc." GAME_URL="http://us.battle.net/en" AUTHOR="Schotty" #Initialization 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 2599 POL_Debug_Init # Presentation POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX" POL_SetupWindow_menu_list "$(eval_gettext 'Please choose your desired locale')" "$TITLE" "enGB~enUS~deDE~esES~frFR~ruRU~itIT~ptPT" "~" CLIENT_NAME="Battle.net-Setup-"$APP_ANSWER".exe" DOWNLOAD_BASE="http://dist.blizzard.com/downloads/bna-installers/322d5bb9ae0318de3d4cde7641c96425/retail.1/" POL_System_TmpCreate "$PREFIX" cd "$POL_System_TmpDir" POL_Download "$DOWNLOAD_BASE$CLIENT_NAME" # Create Prefix POL_Wine_SelectPrefix "$PREFIX" POL_Wine_PrefixCreate "$WINEVERSION" # Configuration Set_OS "win7" POL_Wine_OverrideDLL "native,builtin" "*msvcr90" "msvcp100" "dbghelp" # not sure if this is really needed: POL_Wine_OverrideDLL "disabled" "d3dcompiler_46" # Dependencies POL_Call POL_Install_corefonts # Installation POL_SetupWindow_message "$(eval_gettext 'NOTICE: Do not close $TITLE until installation completes and you are at the $TITLE login window. ')" "$TITLE" POL_Wine "$POL_System_TmpDir/$CLIENT_NAME" POL_Wine_WaitExit "$TITLE" --allow-kill POL_SetupWindow_VMS "64" POL_Wine_reboot # Create Shortcut POL_Shortcut "Battle.net Launcher.exe" "$TITLE" "" "" "Game;" # Cleanup POL_System_TmpDelete POL_SetupWindow_Close exit 0 Replies |
norway | Wednesday 5 September 2018 at 11:34 |
norway
|
WarningThis update has not been approved yet by the team. MessageHi, I'm working on getting battle.net working on POL. It already works on latest wine-staging, but this version is not available on POL, so check this beta script. Differences@@ -1,73 +1,91 @@ #!/bin/bash -# Date : (2016-07-26) -# Distribution used to test : Red Hat Enterprise Linux 7.2 64-bit -# Distribution used to test : Netrunner 17 (Kubuntu 15.10 x64) - tested and working: Hearthstone & HotS -# Distribution used to test : Linux Mint 17.3 Cinnamon 64-bit -# Distribution used to test : ubuntustudio 16.04.1 x64 -# Author : schotty -# Author : 7z4r (working fix for Hearthstone & HotS) -# Author : BiTSHiFT (Language switch) +# Date : (2018-09-05 04-00) +# Wine version used : 3.15 +# Author : ulrickno94 # Licence : GPLv3 -# PlayOnLinux: 4.2.10 -# Notes: Pulls in the US instsallation file for Battle.Net. Not aware of issues outside of North America or the US, but this might be the cause if any do arise. - +# PlayOnLinux: 4.2.12-2 +# Only For : http://www.playonlinux.com +# Notes: This script uses latest wine version. For now it is possible to install battle.net and log in. Games not tested. + +# Testing system specs: + +# ?????????????????? ???????? kudintsev@SilverStone +# ?????????????????? ???????? OS: Manjaro 17.1.12 Hakoila +# ?????????????????? ???????? Kernel: x86_64 Linux 4.18.5-1-MANJARO +# ?????????????????? ???????? Uptime: 2d 16h 34m +# ???????? ???????? Packages: 1124 +# ???????? ???????? ???????? Shell: bash +# ???????? ???????? ???????? Resolution: 3200x1119 +# ???????? ???????? ???????? DE: MATE 1.20.1 +# ???????? ???????? ???????? WM: Metacity (Marco) +# ???????? ???????? ???????? GTK Theme: 'Adapta-Maia' [GTK2/3] +# ???????? ???????? ???????? Icon Theme: Papirus-Adapta-Maia +# ???????? ???????? ???????? Font: Sans 10 +# ???????? ???????? ???????? CPU: AMD FX-6300 Six-Core @ 6x 3.5GHz +# ???????? ???????? ???????? GPU: AMD Radeon (TM) RX 460 Graphics (POLARIS11, DRM 3.26.0, 4.18.5-1-MANJARO, LLVM 6.0.1) +# RAM: 4166MiB / 15942MiB + + [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" - + +# Setting the variables PREFIX="battle.net" -WINEVERSION="1.9.15" -POL_System_SetArch "x86" +WINEVERSION=`curl -s "https://source.winehq.org/git/wine.git/tags" | grep -E "wine-[0-9]\.[0-9]" | head -1 | sed 's/<[^>]\+>//g' | sed 's/wine-//g'` +POL_System_SetArch "amd64" TITLE="Battle.Net" EDITOR="Blizzard Entertainment Inc." -GAME_URL="http://us.battle.net/en" -AUTHOR="Schotty" +GAME_URL="https://www.blizzard.com" +AUTHOR="ulrickno94" #Initialization 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 2599 - POL_Debug_Init - + # Presentation POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX" -POL_SetupWindow_menu_list "$(eval_gettext 'Please choose your desired locale')" "$TITLE" "enGB~enUS~deDE~esES~frFR~ruRU~itIT~ptPT" "~" -CLIENT_NAME="Battle.net-Setup-"$APP_ANSWER".exe" -DOWNLOAD_BASE="http://dist.blizzard.com/downloads/bna-installers/322d5bb9ae0318de3d4cde7641c96425/retail.1/" POL_System_TmpCreate "$PREFIX" - + cd "$POL_System_TmpDir" -POL_Download "$DOWNLOAD_BASE$CLIENT_NAME" - +curl -s --output "Battle.net-Setup.exe" 'https://eu.battle.net/download/getInstaller?os=win&installer=Battle.net-Setup.exe' + # Create Prefix POL_Wine_SelectPrefix "$PREFIX" POL_Wine_PrefixCreate "$WINEVERSION" - + # Configuration -Set_OS "win7" - -POL_Wine_OverrideDLL "native,builtin" "*msvcr90" "msvcp100" "dbghelp" -# not sure if this is really needed: -POL_Wine_OverrideDLL "disabled" "d3dcompiler_46" +Set_OS "win10" # Dependencies POL_Call POL_Install_corefonts +# DLL's configuration +POL_Wine_OverrideDLL "native" "d3dx10_43" "d3dx11_43" "d3dx11_42" "d3dx9_36" "d3dx9_42" "d3dx9_43" + # Installation POL_SetupWindow_message "$(eval_gettext 'NOTICE: Do not close $TITLE until installation completes and you are at the $TITLE login window. ')" "$TITLE" - -POL_Wine "$POL_System_TmpDir/$CLIENT_NAME" -POL_Wine_WaitExit "$TITLE" --allow-kill - -POL_SetupWindow_VMS "64" -POL_Wine_reboot - + +POL_Wine "$POL_System_TmpDir/Battle.net-Setup.exe" +POL_Wine_WaitExit "$TITLE" + # Create Shortcut POL_Shortcut "Battle.net Launcher.exe" "$TITLE" - + # Cleanup POL_System_TmpDelete +# Final message +POL_SetupWindow_message "$(eval_gettext '$TITLE is installed')" "$TITLE" + +# Min memory size to run app +POL_SetupWindow_VMS "128" + +# Rebooting +POL_Wine_reboot + +# Exiting the POL window POL_SetupWindow_Close exit 0 \ No newline at end of file New source code#!/bin/bash # Date : (2018-09-05 04-00) # Wine version used : 3.15 # Author : ulrickno94 # Licence : GPLv3 # PlayOnLinux: 4.2.12-2 # Only For : http://www.playonlinux.com # Notes: This script uses latest wine version. For now it is possible to install battle.net and log in. Games not tested. # Testing system specs: # ?????????????????? ???????? kudintsev@SilverStone # ?????????????????? ???????? OS: Manjaro 17.1.12 Hakoila # ?????????????????? ???????? Kernel: x86_64 Linux 4.18.5-1-MANJARO # ?????????????????? ???????? Uptime: 2d 16h 34m # ???????? ???????? Packages: 1124 # ???????? ???????? ???????? Shell: bash # ???????? ???????? ???????? Resolution: 3200x1119 # ???????? ???????? ???????? DE: MATE 1.20.1 # ???????? ???????? ???????? WM: Metacity (Marco) # ???????? ???????? ???????? GTK Theme: 'Adapta-Maia' [GTK2/3] # ???????? ???????? ???????? Icon Theme: Papirus-Adapta-Maia # ???????? ???????? ???????? Font: Sans 10 # ???????? ???????? ???????? CPU: AMD FX-6300 Six-Core @ 6x 3.5GHz # ???????? ???????? ???????? GPU: AMD Radeon (TM) RX 460 Graphics (POLARIS11, DRM 3.26.0, 4.18.5-1-MANJARO, LLVM 6.0.1) # RAM: 4166MiB / 15942MiB [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" # Setting the variables PREFIX="battle.net" WINEVERSION=`curl -s "https://source.winehq.org/git/wine.git/tags" | grep -E "wine-[0-9]\.[0-9]" | head -1 | sed 's/<[^>]\+>//g' | sed 's/wine-//g'` POL_System_SetArch "amd64" TITLE="Battle.Net" EDITOR="Blizzard Entertainment Inc." GAME_URL="https://www.blizzard.com" AUTHOR="ulrickno94" #Initialization 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 2599 POL_Debug_Init # Presentation POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX" POL_System_TmpCreate "$PREFIX" cd "$POL_System_TmpDir" curl -s --output "Battle.net-Setup.exe" 'https://eu.battle.net/download/getInstaller?os=win&installer=Battle.net-Setup.exe' # Create Prefix POL_Wine_SelectPrefix "$PREFIX" POL_Wine_PrefixCreate "$WINEVERSION" # Configuration Set_OS "win10" # Dependencies POL_Call POL_Install_corefonts # DLL's configuration POL_Wine_OverrideDLL "native" "d3dx10_43" "d3dx11_43" "d3dx11_42" "d3dx9_36" "d3dx9_42" "d3dx9_43" # Installation POL_SetupWindow_message "$(eval_gettext 'NOTICE: Do not close $TITLE until installation completes and you are at the $TITLE login window. ')" "$TITLE" POL_Wine "$POL_System_TmpDir/Battle.net-Setup.exe" POL_Wine_WaitExit "$TITLE" # Create Shortcut POL_Shortcut "Battle.net Launcher.exe" "$TITLE" # Cleanup POL_System_TmpDelete # Final message POL_SetupWindow_message "$(eval_gettext '$TITLE is installed')" "$TITLE" # Min memory size to run app POL_SetupWindow_VMS "128" # Rebooting POL_Wine_reboot # Exiting the POL window POL_SetupWindow_Close exit 0 RepliesSunday 23 September 2018 at 9:23
Sunday 23 September 2018 at 9:23
Sunday 23 September 2018 at 9:24
Sunday 23 September 2018 at 9:24
Saturday 17 November 2018 at 7:06
Monday 26 November 2018 at 22:20
Monday 26 November 2018 at 23:17
Monday 26 November 2018 at 23:20
|
rekrek | Monday 29 January 2018 at 18:33 |
rekrek
|
WarningThis update has not been approved yet by the team. MessageWine 3.0 update installation script. Status : Not working There are a few glitch : Login screen : - Show warning that cookies are deactivated. - Second login prompt under normal one (use the second) Main screen : - Pop-up windows don't show news. + Can log in and install SC1 & SC2 Games : Starcraft2 : -Lunch and run, but can't click on a unit to select it (no gameplay possible) Starcraft1-Enhanced: -Won't lunch Differences@@ -1,5 +1,5 @@ #!/bin/bash -# Date : (2016-07-26) +# Date : (2018-01-29) # Distribution used to test : Red Hat Enterprise Linux 7.2 64-bit # Distribution used to test : Netrunner 17 (Kubuntu 15.10 x64) - tested and working: Hearthstone & HotS # Distribution used to test : Linux Mint 17.3 Cinnamon 64-bit @@ -16,7 +16,7 @@ source "$PLAYONLINUX/lib/sources" PREFIX="battle.net" -WINEVERSION="1.9.15" +WINEVERSION="3.0" POL_System_SetArch "x86" TITLE="Battle.Net" EDITOR="Blizzard Entertainment Inc." New source code#!/bin/bash # Date : (2018-01-29) # Distribution used to test : Red Hat Enterprise Linux 7.2 64-bit # Distribution used to test : Netrunner 17 (Kubuntu 15.10 x64) - tested and working: Hearthstone & HotS # Distribution used to test : Linux Mint 17.3 Cinnamon 64-bit # Distribution used to test : ubuntustudio 16.04.1 x64 # Author : schotty # Author : 7z4r (working fix for Hearthstone & HotS) # Author : BiTSHiFT (Language switch) # Licence : GPLv3 # PlayOnLinux: 4.2.10 # Notes: Pulls in the US instsallation file for Battle.Net. Not aware of issues outside of North America or the US, but this might be the cause if any do arise. [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" PREFIX="battle.net" WINEVERSION="3.0" POL_System_SetArch "x86" TITLE="Battle.Net" EDITOR="Blizzard Entertainment Inc." GAME_URL="http://us.battle.net/en" AUTHOR="Schotty" #Initialization 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 2599 POL_Debug_Init # Presentation POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX" POL_SetupWindow_menu_list "$(eval_gettext 'Please choose your desired locale')" "$TITLE" "enGB~enUS~deDE~esES~frFR~ruRU~itIT~ptPT" "~" CLIENT_NAME="Battle.net-Setup-"$APP_ANSWER".exe" DOWNLOAD_BASE="http://dist.blizzard.com/downloads/bna-installers/322d5bb9ae0318de3d4cde7641c96425/retail.1/" POL_System_TmpCreate "$PREFIX" cd "$POL_System_TmpDir" POL_Download "$DOWNLOAD_BASE$CLIENT_NAME" # Create Prefix POL_Wine_SelectPrefix "$PREFIX" POL_Wine_PrefixCreate "$WINEVERSION" # Configuration Set_OS "win7" POL_Wine_OverrideDLL "native,builtin" "*msvcr90" "msvcp100" "dbghelp" # not sure if this is really needed: POL_Wine_OverrideDLL "disabled" "d3dcompiler_46" # Dependencies POL_Call POL_Install_corefonts # Installation POL_SetupWindow_message "$(eval_gettext 'NOTICE: Do not close $TITLE until installation completes and you are at the $TITLE login window. ')" "$TITLE" POL_Wine "$POL_System_TmpDir/$CLIENT_NAME" POL_Wine_WaitExit "$TITLE" --allow-kill POL_SetupWindow_VMS "64" POL_Wine_reboot # Create Shortcut POL_Shortcut "Battle.net Launcher.exe" "$TITLE" # Cleanup POL_System_TmpDelete POL_SetupWindow_Close exit 0 RepliesMonday 29 January 2018 at 19:26
Wednesday 31 January 2018 at 16:55
Wednesday 31 January 2018 at 17:42
Wednesday 31 January 2018 at 21:35
Wednesday 31 January 2018 at 21:48
Wednesday 31 January 2018 at 21:53
Thursday 8 February 2018 at 10:32
Wednesday 14 February 2018 at 2:06
Friday 2 March 2018 at 9:38
Friday 2 March 2018 at 16:57
Saturday 3 March 2018 at 10:30
Friday 23 March 2018 at 11:00
Friday 23 March 2018 at 17:19
Tuesday 26 June 2018 at 12:32
Tuesday 26 June 2018 at 12:41
Tuesday 26 June 2018 at 12:55
|
AsciiWolf | Wednesday 6 December 2017 at 12:12 |
AsciiWolf
|
MessageCould anyone from the POL team please update the installer? Replies |
steve723 | Thursday 9 November 2017 at 16:14 |
steve723
|
MessageThis script runs until you tell it that battlenet finished installing then it hangs. I had to cancle it. I created a Icon manualy. I can not install WOW as the battle.net client thinks I don't meet system requierments. I exceed them! Probably a wine thing where it's not reporting proper info. Replies |
hakanaydin | Saturday 4 November 2017 at 13:47 |
hakanaydin
|
MessageCan i use this script on ''playonmac"" or does this only work in playonlinux? Replies |
Greyvend | Tuesday 29 August 2017 at 8:01 |
Greyvend
|
MessageAfter Blizzard app has updated to 1.8.6.9262 it stopped recognizing the login info. After I enter password and press Login with Blizzard, it gets cleaned and Please enter your password phrase appears.
Configuration:
RepliesWednesday 30 August 2017 at 11:56
Monday 9 October 2017 at 23:52
Monday 9 October 2017 at 23:56
Tuesday 24 October 2017 at 1:16
|
tanaydin | Thursday 17 August 2017 at 23:49 |
tanaydin
|
WarningThis update has not been approved yet by the team. Differences@@ -16,7 +16,7 @@ source "$PLAYONLINUX/lib/sources" PREFIX="battle.net" -WINEVERSION="1.9.15" +WINEVERSION="2.14" POL_System_SetArch "x86" TITLE="Battle.Net" EDITOR="Blizzard Entertainment Inc." New source code#!/bin/bash # Date : (2016-07-26) # Distribution used to test : Red Hat Enterprise Linux 7.2 64-bit # Distribution used to test : Netrunner 17 (Kubuntu 15.10 x64) - tested and working: Hearthstone & HotS # Distribution used to test : Linux Mint 17.3 Cinnamon 64-bit # Distribution used to test : ubuntustudio 16.04.1 x64 # Author : schotty # Author : 7z4r (working fix for Hearthstone & HotS) # Author : BiTSHiFT (Language switch) # Licence : GPLv3 # PlayOnLinux: 4.2.10 # Notes: Pulls in the US instsallation file for Battle.Net. Not aware of issues outside of North America or the US, but this might be the cause if any do arise. [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" PREFIX="battle.net" WINEVERSION="2.14" POL_System_SetArch "x86" TITLE="Battle.Net" EDITOR="Blizzard Entertainment Inc." GAME_URL="http://us.battle.net/en" AUTHOR="Schotty" #Initialization 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 2599 POL_Debug_Init # Presentation POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX" POL_SetupWindow_menu_list "$(eval_gettext 'Please choose your desired locale')" "$TITLE" "enGB~enUS~deDE~esES~frFR~ruRU~itIT~ptPT" "~" CLIENT_NAME="Battle.net-Setup-"$APP_ANSWER".exe" DOWNLOAD_BASE="http://dist.blizzard.com/downloads/bna-installers/322d5bb9ae0318de3d4cde7641c96425/retail.1/" POL_System_TmpCreate "$PREFIX" cd "$POL_System_TmpDir" POL_Download "$DOWNLOAD_BASE$CLIENT_NAME" # Create Prefix POL_Wine_SelectPrefix "$PREFIX" POL_Wine_PrefixCreate "$WINEVERSION" # Configuration Set_OS "win7" POL_Wine_OverrideDLL "native,builtin" "*msvcr90" "msvcp100" "dbghelp" # not sure if this is really needed: POL_Wine_OverrideDLL "disabled" "d3dcompiler_46" # Dependencies POL_Call POL_Install_corefonts # Installation POL_SetupWindow_message "$(eval_gettext 'NOTICE: Do not close $TITLE until installation completes and you are at the $TITLE login window. ')" "$TITLE" POL_Wine "$POL_System_TmpDir/$CLIENT_NAME" POL_Wine_WaitExit "$TITLE" --allow-kill POL_SetupWindow_VMS "64" POL_Wine_reboot # Create Shortcut POL_Shortcut "Battle.net Launcher.exe" "$TITLE" # Cleanup POL_System_TmpDelete POL_SetupWindow_Close exit 0 RepliesFriday 18 August 2017 at 10:19
|
Fivelek | Sunday 30 April 2017 at 1:05 |
Fivelek
|
WarningThis update has not been approved yet by the team. MessageI've made an updated and a little bit improved version of Schotty's script to make the launcher fully functional without some UI bugs that we had before (dropping menus, etc...). Differences@@ -1,26 +1,24 @@ #!/bin/bash -# Date : (2016-07-26) -# Distribution used to test : Red Hat Enterprise Linux 7.2 64-bit -# Distribution used to test : Netrunner 17 (Kubuntu 15.10 x64) - tested and working: Hearthstone & HotS -# Distribution used to test : Linux Mint 17.3 Cinnamon 64-bit -# Distribution used to test : ubuntustudio 16.04.1 x64 +# Date : (2017-04-30) +# Distribution used to test : Ubuntu 16.04 LTS # Author : schotty # Author : 7z4r (working fix for Hearthstone & HotS) # Author : BiTSHiFT (Language switch) +# Author : Fivelek (updating the script) # Licence : GPLv3 # PlayOnLinux: 4.2.10 -# Notes: Pulls in the US instsallation file for Battle.Net. Not aware of issues outside of North America or the US, but this might be the cause if any do arise. +# NOTE : this is an updated and a little bit improved version of Schotty's script [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" -PREFIX="battle.net" -WINEVERSION="1.9.15" +PREFIX="BlizzardApp" +WINEVERSION="2.4-staging" POL_System_SetArch "x86" -TITLE="Battle.Net" +TITLE="Blizzard Application" EDITOR="Blizzard Entertainment Inc." -GAME_URL="http://us.battle.net/en" +GAME_URL="http://battle.net/" AUTHOR="Schotty" #Initialization @@ -45,9 +43,9 @@ POL_Wine_PrefixCreate "$WINEVERSION" # Configuration -Set_OS "win7" +Set_OS "winxp" -POL_Wine_OverrideDLL "native,builtin" "*msvcr90" "msvcp100" "dbghelp" +POL_Wine_OverrideDLL "native,builtin" "*msvcr90" "msvcp100" "dbghelp" "api-ms-win-crt-runtime-l1-1-0" "ucrtbase.dll" # not sure if this is really needed: POL_Wine_OverrideDLL "disabled" "d3dcompiler_46" @@ -55,11 +53,13 @@ POL_Call POL_Install_corefonts # Installation -POL_SetupWindow_message "$(eval_gettext 'NOTICE: Do not close $TITLE until installation completes and you are at the $TITLE login window. ')" "$TITLE" +POL_SetupWindow_message "$(eval_gettext 'NOTICE: Do not close $TITLE until installation completes. When you are at the $TITLE login window, please close it. ')" "$TITLE" POL_Wine "$POL_System_TmpDir/$CLIENT_NAME" POL_Wine_WaitExit "$TITLE" --allow-kill +POL_SetupWindow_message "$(eval_gettext 'Wine has been configured with Windows XP as the Windows version to make the launcher works properly. You will have to change the Windows version to Windows 7 or higher (and install some components and/or DLLs) to play some games like Overwatch. Changing the Windows version for an higher version breaks some app functionalities but it does not prevent you from launching games. ')" "$TITLE" + POL_SetupWindow_VMS "64" POL_Wine_reboot New source code#!/bin/bash # Date : (2017-04-30) # Distribution used to test : Ubuntu 16.04 LTS # Author : schotty # Author : 7z4r (working fix for Hearthstone & HotS) # Author : BiTSHiFT (Language switch) # Author : Fivelek (updating the script) # Licence : GPLv3 # PlayOnLinux: 4.2.10 # NOTE : this is an updated and a little bit improved version of Schotty's script [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" PREFIX="BlizzardApp" WINEVERSION="2.4-staging" POL_System_SetArch "x86" TITLE="Blizzard Application" EDITOR="Blizzard Entertainment Inc." GAME_URL="http://battle.net/" AUTHOR="Schotty" #Initialization 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 2599 POL_Debug_Init # Presentation POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX" POL_SetupWindow_menu_list "$(eval_gettext 'Please choose your desired locale')" "$TITLE" "enGB~enUS~deDE~esES~frFR~ruRU~itIT~ptPT" "~" CLIENT_NAME="Battle.net-Setup-"$APP_ANSWER".exe" DOWNLOAD_BASE="http://dist.blizzard.com/downloads/bna-installers/322d5bb9ae0318de3d4cde7641c96425/retail.1/" POL_System_TmpCreate "$PREFIX" cd "$POL_System_TmpDir" POL_Download "$DOWNLOAD_BASE$CLIENT_NAME" # Create Prefix POL_Wine_SelectPrefix "$PREFIX" POL_Wine_PrefixCreate "$WINEVERSION" # Configuration Set_OS "winxp" POL_Wine_OverrideDLL "native,builtin" "*msvcr90" "msvcp100" "dbghelp" "api-ms-win-crt-runtime-l1-1-0" "ucrtbase.dll" # not sure if this is really needed: POL_Wine_OverrideDLL "disabled" "d3dcompiler_46" # Dependencies POL_Call POL_Install_corefonts # Installation POL_SetupWindow_message "$(eval_gettext 'NOTICE: Do not close $TITLE until installation completes. When you are at the $TITLE login window, please close it. ')" "$TITLE" POL_Wine "$POL_System_TmpDir/$CLIENT_NAME" POL_Wine_WaitExit "$TITLE" --allow-kill POL_SetupWindow_message "$(eval_gettext 'Wine has been configured with Windows XP as the Windows version to make the launcher works properly. You will have to change the Windows version to Windows 7 or higher (and install some components and/or DLLs) to play some games like Overwatch. Changing the Windows version for an higher version breaks some app functionalities but it does not prevent you from launching games. ')" "$TITLE" POL_SetupWindow_VMS "64" POL_Wine_reboot # Create Shortcut POL_Shortcut "Battle.net Launcher.exe" "$TITLE" # Cleanup POL_System_TmpDelete POL_SetupWindow_Close exit 0 Replies |
Mekkatorque | Saturday 29 April 2017 at 22:50 |
Mekkatorque
|
MessageI tried starting Battle.net (or Blizzard app), but it crashes showing an error message that "Blizzard app encountered a serious problem and needs to close". The "Show details" option shows the following thread. Can anybody help me? Unhandled exception: unimplemented function api-ms-win-crt-runtime-l1-1-0.d._get_narrow_winmain_command_line called in 32-bit code (0x7b43fbe2).
RepliesSaturday 29 April 2017 at 23:25
Saturday 29 April 2017 at 23:27
|
gogosrcool | Sunday 5 March 2017 at 22:07 |
gogosrcool
|
MessageInstalling with Windows XP worked great, however, I am unable to run overwatch. Thr error is that my windows version is out of date. When I switched Wine to Windows seven, It exceeded the minimum OS requirement BUT still states that my OS is out of date. Any suggestions? Blizzard recommends updating DirectX in their FAQ, but I have no idea how in Wine ;_; RepliesMonday 6 March 2017 at 21:31
|
l740314 | Thursday 2 March 2017 at 15:43 |
l740314
|
WarningThis update has not been approved yet by the team. MessageNeeds more recent version of wine not to crash during install Differences@@ -16,7 +16,7 @@ source "$PLAYONLINUX/lib/sources" PREFIX="battle.net" -WINEVERSION="1.9.15" +WINEVERSION="2.2" POL_System_SetArch "x86" TITLE="Battle.Net" EDITOR="Blizzard Entertainment Inc." New source code#!/bin/bash # Date : (2016-07-26) # Distribution used to test : Red Hat Enterprise Linux 7.2 64-bit # Distribution used to test : Netrunner 17 (Kubuntu 15.10 x64) - tested and working: Hearthstone & HotS # Distribution used to test : Linux Mint 17.3 Cinnamon 64-bit # Distribution used to test : ubuntustudio 16.04.1 x64 # Author : schotty # Author : 7z4r (working fix for Hearthstone & HotS) # Author : BiTSHiFT (Language switch) # Licence : GPLv3 # PlayOnLinux: 4.2.10 # Notes: Pulls in the US instsallation file for Battle.Net. Not aware of issues outside of North America or the US, but this might be the cause if any do arise. [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" PREFIX="battle.net" WINEVERSION="2.2" POL_System_SetArch "x86" TITLE="Battle.Net" EDITOR="Blizzard Entertainment Inc." GAME_URL="http://us.battle.net/en" AUTHOR="Schotty" #Initialization 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 2599 POL_Debug_Init # Presentation POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX" POL_SetupWindow_menu_list "$(eval_gettext 'Please choose your desired locale')" "$TITLE" "enGB~enUS~deDE~esES~frFR~ruRU~itIT~ptPT" "~" CLIENT_NAME="Battle.net-Setup-"$APP_ANSWER".exe" DOWNLOAD_BASE="http://dist.blizzard.com/downloads/bna-installers/322d5bb9ae0318de3d4cde7641c96425/retail.1/" POL_System_TmpCreate "$PREFIX" cd "$POL_System_TmpDir" POL_Download "$DOWNLOAD_BASE$CLIENT_NAME" # Create Prefix POL_Wine_SelectPrefix "$PREFIX" POL_Wine_PrefixCreate "$WINEVERSION" # Configuration Set_OS "win7" POL_Wine_OverrideDLL "native,builtin" "*msvcr90" "msvcp100" "dbghelp" # not sure if this is really needed: POL_Wine_OverrideDLL "disabled" "d3dcompiler_46" # Dependencies POL_Call POL_Install_corefonts # Installation POL_SetupWindow_message "$(eval_gettext 'NOTICE: Do not close $TITLE until installation completes and you are at the $TITLE login window. ')" "$TITLE" POL_Wine "$POL_System_TmpDir/$CLIENT_NAME" POL_Wine_WaitExit "$TITLE" --allow-kill POL_SetupWindow_VMS "64" POL_Wine_reboot # Create Shortcut POL_Shortcut "Battle.net Launcher.exe" "$TITLE" # Cleanup POL_System_TmpDelete POL_SetupWindow_Close exit 0 Replies |
fouky159 | Friday 17 February 2017 at 14:46 |
fouky159
|
MessageHi, I am having this error while trying to install Battlenet. "Error in POL_Wine In the error logs: PlayonLinux version: 4.2.10
Thank you for your help. Replies |
FragHunt | Thursday 22 December 2016 at 17:27 |
FragHunt
|
MessageFrom the PlayOnLinux debugger: fixme:winhttp:get_system_proxy_autoconfig_url no support on this platform From Wine debugger: Unhandled exception: unimplemented function api-ms-win-crt-runtime-l1-1-0.d._get_narrow_winmain_command_line called in 32-bit code (0x7b43fbe2).
Replies |
papist | Friday 16 December 2016 at 19:18 |
papist
|
Messagewhen i am installing his all was ok, but when he is begins start, he's speaking error, i put log.http://drive.google.com/open?id=0B5nAAji2madqTW9yV2F6cFBBNXM Replies |
zedling | Tuesday 6 December 2016 at 12:44 |
zedling
|
MessageI've tried to run Battle.net and Hearthstone, but the B.net client crashes every time I try to log in. In offline mode I can download and install all games. Here is the error backtrace
Please advise Replies |
schotty | Thursday 24 November 2016 at 17:42 |
schotty
|
WarningThis update has not been approved yet by the team. MessageTested twice on RHEL 7.2 with NVIDIA Proprietary drivers from elrepo. Played a bit of WoW and D3:RoS to ensure that all is well. Differences@@ -1,5 +1,5 @@ #!/bin/bash -# Date : (2016-07-26) +# Date : (2016-11-24) # Distribution used to test : Red Hat Enterprise Linux 7.2 64-bit # Distribution used to test : Netrunner 17 (Kubuntu 15.10 x64) - tested and working: Hearthstone & HotS # Distribution used to test : Linux Mint 17.3 Cinnamon 64-bit @@ -9,65 +9,65 @@ # Author : BiTSHiFT (Language switch) # Licence : GPLv3 # PlayOnLinux: 4.2.10 -# Notes: Pulls in the US instsallation file for Battle.Net. Not aware of issues outside of North America or the US, but this might be the cause if any do arise. - - +# Notes: Pulls in the US instsallation file for Battle.Net. Not aware of issues outside of North America or the US, but this might be the cause if any do arise. For 32-Bit Battle.net, World Of Warcraft Legion, and Diablo 3 Reaper of Souls these configurations work perfectly. + + [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" - + PREFIX="battle.net" -WINEVERSION="1.9.15" +WINEVERSION="1.9.23" POL_System_SetArch "x86" TITLE="Battle.Net" EDITOR="Blizzard Entertainment Inc." GAME_URL="http://us.battle.net/en" AUTHOR="Schotty" - + #Initialization 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 2599 - + POL_Debug_Init - + # Presentation POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX" POL_SetupWindow_menu_list "$(eval_gettext 'Please choose your desired locale')" "$TITLE" "enGB~enUS~deDE~esES~frFR~ruRU~itIT~ptPT" "~" CLIENT_NAME="Battle.net-Setup-"$APP_ANSWER".exe" DOWNLOAD_BASE="http://dist.blizzard.com/downloads/bna-installers/322d5bb9ae0318de3d4cde7641c96425/retail.1/" POL_System_TmpCreate "$PREFIX" - + cd "$POL_System_TmpDir" POL_Download "$DOWNLOAD_BASE$CLIENT_NAME" - + # Create Prefix POL_Wine_SelectPrefix "$PREFIX" POL_Wine_PrefixCreate "$WINEVERSION" - + # Configuration Set_OS "win7" - -POL_Wine_OverrideDLL "native,builtin" "*msvcr90" "msvcp100" "dbghelp" -# not sure if this is really needed: -POL_Wine_OverrideDLL "disabled" "d3dcompiler_46" - + +# OLD DLL OVERRIDES +# POL_Wine_OverrideDLL "native,builtin" "*msvcr90" "msvcp100" "dbghelp" +# POL_Wine_OverrideDLL "disabled" "d3dcompiler_46" + # Dependencies POL_Call POL_Install_corefonts - + # Installation -POL_SetupWindow_message "$(eval_gettext 'NOTICE: Do not close $TITLE until installation completes and you are at the $TITLE login window. ')" "$TITLE" - +POL_SetupWindow_message "$(eval_gettext 'NOTICE: Allow $TITLE to finish the installation. After completion you may need to go into Battle.Net settings -> Advanced -> Uncheck Browser Hardware Accelleration to fix missing text.')" "$TITLE" + POL_Wine "$POL_System_TmpDir/$CLIENT_NAME" POL_Wine_WaitExit "$TITLE" --allow-kill - + POL_SetupWindow_VMS "64" POL_Wine_reboot - + # Create Shortcut POL_Shortcut "Battle.net Launcher.exe" "$TITLE" - + # Cleanup POL_System_TmpDelete - + POL_SetupWindow_Close exit 0 \ No newline at end of file New source code#!/bin/bash # Date : (2016-11-24) # Distribution used to test : Red Hat Enterprise Linux 7.2 64-bit # Distribution used to test : Netrunner 17 (Kubuntu 15.10 x64) - tested and working: Hearthstone & HotS # Distribution used to test : Linux Mint 17.3 Cinnamon 64-bit # Distribution used to test : ubuntustudio 16.04.1 x64 # Author : schotty # Author : 7z4r (working fix for Hearthstone & HotS) # Author : BiTSHiFT (Language switch) # Licence : GPLv3 # PlayOnLinux: 4.2.10 # Notes: Pulls in the US instsallation file for Battle.Net. Not aware of issues outside of North America or the US, but this might be the cause if any do arise. For 32-Bit Battle.net, World Of Warcraft Legion, and Diablo 3 Reaper of Souls these configurations work perfectly. [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" PREFIX="battle.net" WINEVERSION="1.9.23" POL_System_SetArch "x86" TITLE="Battle.Net" EDITOR="Blizzard Entertainment Inc." GAME_URL="http://us.battle.net/en" AUTHOR="Schotty" #Initialization 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 2599 POL_Debug_Init # Presentation POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX" POL_SetupWindow_menu_list "$(eval_gettext 'Please choose your desired locale')" "$TITLE" "enGB~enUS~deDE~esES~frFR~ruRU~itIT~ptPT" "~" CLIENT_NAME="Battle.net-Setup-"$APP_ANSWER".exe" DOWNLOAD_BASE="http://dist.blizzard.com/downloads/bna-installers/322d5bb9ae0318de3d4cde7641c96425/retail.1/" POL_System_TmpCreate "$PREFIX" cd "$POL_System_TmpDir" POL_Download "$DOWNLOAD_BASE$CLIENT_NAME" # Create Prefix POL_Wine_SelectPrefix "$PREFIX" POL_Wine_PrefixCreate "$WINEVERSION" # Configuration Set_OS "win7" # OLD DLL OVERRIDES # POL_Wine_OverrideDLL "native,builtin" "*msvcr90" "msvcp100" "dbghelp" # POL_Wine_OverrideDLL "disabled" "d3dcompiler_46" # Dependencies POL_Call POL_Install_corefonts # Installation POL_SetupWindow_message "$(eval_gettext 'NOTICE: Allow $TITLE to finish the installation. After completion you may need to go into Battle.Net settings -> Advanced -> Uncheck Browser Hardware Accelleration to fix missing text.')" "$TITLE" POL_Wine "$POL_System_TmpDir/$CLIENT_NAME" POL_Wine_WaitExit "$TITLE" --allow-kill POL_SetupWindow_VMS "64" POL_Wine_reboot # Create Shortcut POL_Shortcut "Battle.net Launcher.exe" "$TITLE" # Cleanup POL_System_TmpDelete POL_SetupWindow_Close exit 0 RepliesThursday 24 November 2016 at 17:44
Thursday 24 November 2016 at 22:48
Thursday 24 November 2016 at 22:48
Thursday 24 November 2016 at 22:51
Sunday 27 November 2016 at 17:15
Sunday 27 November 2016 at 18:23
Sunday 27 November 2016 at 23:29
Tuesday 6 December 2016 at 12:39
Saturday 10 December 2016 at 4:43
|
oloc | Wednesday 9 November 2016 at 22:24 |
oloc
|
WarningThis update has not been approved yet by the team. Differences@@ -1,5 +1,6 @@ + #!/bin/bash -# Date : (2016-07-26) +# Date : (2016-11-22) # Distribution used to test : Red Hat Enterprise Linux 7.2 64-bit # Distribution used to test : Netrunner 17 (Kubuntu 15.10 x64) - tested and working: Hearthstone & HotS # Distribution used to test : Linux Mint 17.3 Cinnamon 64-bit @@ -10,64 +11,66 @@ # Licence : GPLv3 # PlayOnLinux: 4.2.10 # Notes: Pulls in the US instsallation file for Battle.Net. Not aware of issues outside of North America or the US, but this might be the cause if any do arise. - - + + [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" - + PREFIX="battle.net" -WINEVERSION="1.9.15" +WINEVERSION="1.9.22" POL_System_SetArch "x86" TITLE="Battle.Net" EDITOR="Blizzard Entertainment Inc." GAME_URL="http://us.battle.net/en" AUTHOR="Schotty" - + #Initialization 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 2599 - + POL_Debug_Init - + # Presentation POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX" POL_SetupWindow_menu_list "$(eval_gettext 'Please choose your desired locale')" "$TITLE" "enGB~enUS~deDE~esES~frFR~ruRU~itIT~ptPT" "~" CLIENT_NAME="Battle.net-Setup-"$APP_ANSWER".exe" DOWNLOAD_BASE="http://dist.blizzard.com/downloads/bna-installers/322d5bb9ae0318de3d4cde7641c96425/retail.1/" POL_System_TmpCreate "$PREFIX" - + cd "$POL_System_TmpDir" POL_Download "$DOWNLOAD_BASE$CLIENT_NAME" - + # Create Prefix POL_Wine_SelectPrefix "$PREFIX" POL_Wine_PrefixCreate "$WINEVERSION" - + # Configuration -Set_OS "win7" - -POL_Wine_OverrideDLL "native,builtin" "*msvcr90" "msvcp100" "dbghelp" +Set_OS "winxp" + +POL_Wine_OverrideDLL "native,builtin" "*msvcr90" "msvcp100" "msvcp140" +POL_Wine_OverrideDLL "native,builtin" "api-ms-win-crt-runtime-l1-1-0.dll" "api-ms-win-crt-stdio-l1-1-0.dll" "ucrtbase.dll" "vcruntime140.dll" +POL_Wine_OverrideDLL "disabled" "dbghelp" # not sure if this is really needed: POL_Wine_OverrideDLL "disabled" "d3dcompiler_46" - + # Dependencies POL_Call POL_Install_corefonts - + # Installation POL_SetupWindow_message "$(eval_gettext 'NOTICE: Do not close $TITLE until installation completes and you are at the $TITLE login window. ')" "$TITLE" - + POL_Wine "$POL_System_TmpDir/$CLIENT_NAME" POL_Wine_WaitExit "$TITLE" --allow-kill - + POL_SetupWindow_VMS "64" POL_Wine_reboot - + # Create Shortcut POL_Shortcut "Battle.net Launcher.exe" "$TITLE" - + # Cleanup POL_System_TmpDelete - + POL_SetupWindow_Close -exit 0 \ No newline at end of file +exit 0 New source code#!/bin/bash # Date : (2016-11-22) # Distribution used to test : Red Hat Enterprise Linux 7.2 64-bit # Distribution used to test : Netrunner 17 (Kubuntu 15.10 x64) - tested and working: Hearthstone & HotS # Distribution used to test : Linux Mint 17.3 Cinnamon 64-bit # Distribution used to test : ubuntustudio 16.04.1 x64 # Author : schotty # Author : 7z4r (working fix for Hearthstone & HotS) # Author : BiTSHiFT (Language switch) # Licence : GPLv3 # PlayOnLinux: 4.2.10 # Notes: Pulls in the US instsallation file for Battle.Net. Not aware of issues outside of North America or the US, but this might be the cause if any do arise. [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" PREFIX="battle.net" WINEVERSION="1.9.22" POL_System_SetArch "x86" TITLE="Battle.Net" EDITOR="Blizzard Entertainment Inc." GAME_URL="http://us.battle.net/en" AUTHOR="Schotty" #Initialization 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 2599 POL_Debug_Init # Presentation POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX" POL_SetupWindow_menu_list "$(eval_gettext 'Please choose your desired locale')" "$TITLE" "enGB~enUS~deDE~esES~frFR~ruRU~itIT~ptPT" "~" CLIENT_NAME="Battle.net-Setup-"$APP_ANSWER".exe" DOWNLOAD_BASE="http://dist.blizzard.com/downloads/bna-installers/322d5bb9ae0318de3d4cde7641c96425/retail.1/" POL_System_TmpCreate "$PREFIX" cd "$POL_System_TmpDir" POL_Download "$DOWNLOAD_BASE$CLIENT_NAME" # Create Prefix POL_Wine_SelectPrefix "$PREFIX" POL_Wine_PrefixCreate "$WINEVERSION" # Configuration Set_OS "winxp" POL_Wine_OverrideDLL "native,builtin" "*msvcr90" "msvcp100" "msvcp140" POL_Wine_OverrideDLL "native,builtin" "api-ms-win-crt-runtime-l1-1-0.dll" "api-ms-win-crt-stdio-l1-1-0.dll" "ucrtbase.dll" "vcruntime140.dll" POL_Wine_OverrideDLL "disabled" "dbghelp" # not sure if this is really needed: POL_Wine_OverrideDLL "disabled" "d3dcompiler_46" # Dependencies POL_Call POL_Install_corefonts # Installation POL_SetupWindow_message "$(eval_gettext 'NOTICE: Do not close $TITLE until installation completes and you are at the $TITLE login window. ')" "$TITLE" POL_Wine "$POL_System_TmpDir/$CLIENT_NAME" POL_Wine_WaitExit "$TITLE" --allow-kill POL_SetupWindow_VMS "64" POL_Wine_reboot # Create Shortcut POL_Shortcut "Battle.net Launcher.exe" "$TITLE" # Cleanup POL_System_TmpDelete POL_SetupWindow_Close exit 0 RepliesThursday 10 November 2016 at 10:29
Monday 14 November 2016 at 15:58
Saturday 19 November 2016 at 13:43
Saturday 19 November 2016 at 23:14
Saturday 19 November 2016 at 23:15
|
claytron1116 | Tuesday 8 November 2016 at 23:50 |
claytron1116
|
Message1. sudo apt-get update download battle.net installer .exe file RepliesWednesday 9 November 2016 at 3:36
Wednesday 9 November 2016 at 3:53
|
SalkinD | Saturday 5 November 2016 at 11:15 |
SalkinD
|
MessageWine error: Unhandled exception: unimplemented function api-ms-win-crt-runtime-l1-1-0.d._get_narrow_winmain_command_line called in 32-bit code (0x7b43fbe2). It is not possible to start the launcher. RepliesSaturday 5 November 2016 at 16:07
Saturday 5 November 2016 at 16:09
Saturday 5 November 2016 at 16:13
|
feydreva | Sunday 23 October 2016 at 20:28 |
feydreva
|
MessageSince last Battle.net patch, battle.net do do run anymore, or crash at launch. As of now, not Bnet game works :/ Replies |
oloc | Tuesday 18 October 2016 at 14:42 |
oloc
|
WarningThis update has not been approved yet by the team. Differences@@ -45,9 +45,11 @@ POL_Wine_PrefixCreate "$WINEVERSION" # Configuration -Set_OS "win7" +Set_OS "winxp" -POL_Wine_OverrideDLL "native,builtin" "*msvcr90" "msvcp100" "dbghelp" +POL_Wine_OverrideDLL "native,builtin" "*msvcr90" "msvcp100" "msvcp140" +POL_Wine_OverrideDLL "native,builtin" "api-ms-win-crt-runtime-l1-1-0.dll" "api-ms-win-crt-stdio-l1-1-0.dll" "ucrtbase.dll" "vcruntime140.dll" +POL_Wine_OverrideDLL "disabled" "dbghelp" # not sure if this is really needed: POL_Wine_OverrideDLL "disabled" "d3dcompiler_46" New source code#!/bin/bash # Date : (2016-07-26) # Distribution used to test : Red Hat Enterprise Linux 7.2 64-bit # Distribution used to test : Netrunner 17 (Kubuntu 15.10 x64) - tested and working: Hearthstone & HotS # Distribution used to test : Linux Mint 17.3 Cinnamon 64-bit # Distribution used to test : ubuntustudio 16.04.1 x64 # Author : schotty # Author : 7z4r (working fix for Hearthstone & HotS) # Author : BiTSHiFT (Language switch) # Licence : GPLv3 # PlayOnLinux: 4.2.10 # Notes: Pulls in the US instsallation file for Battle.Net. Not aware of issues outside of North America or the US, but this might be the cause if any do arise. [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" PREFIX="battle.net" WINEVERSION="1.9.15" POL_System_SetArch "x86" TITLE="Battle.Net" EDITOR="Blizzard Entertainment Inc." GAME_URL="http://us.battle.net/en" AUTHOR="Schotty" #Initialization 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 2599 POL_Debug_Init # Presentation POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX" POL_SetupWindow_menu_list "$(eval_gettext 'Please choose your desired locale')" "$TITLE" "enGB~enUS~deDE~esES~frFR~ruRU~itIT~ptPT" "~" CLIENT_NAME="Battle.net-Setup-"$APP_ANSWER".exe" DOWNLOAD_BASE="http://dist.blizzard.com/downloads/bna-installers/322d5bb9ae0318de3d4cde7641c96425/retail.1/" POL_System_TmpCreate "$PREFIX" cd "$POL_System_TmpDir" POL_Download "$DOWNLOAD_BASE$CLIENT_NAME" # Create Prefix POL_Wine_SelectPrefix "$PREFIX" POL_Wine_PrefixCreate "$WINEVERSION" # Configuration Set_OS "winxp" POL_Wine_OverrideDLL "native,builtin" "*msvcr90" "msvcp100" "msvcp140" POL_Wine_OverrideDLL "native,builtin" "api-ms-win-crt-runtime-l1-1-0.dll" "api-ms-win-crt-stdio-l1-1-0.dll" "ucrtbase.dll" "vcruntime140.dll" POL_Wine_OverrideDLL "disabled" "dbghelp" # not sure if this is really needed: POL_Wine_OverrideDLL "disabled" "d3dcompiler_46" # Dependencies POL_Call POL_Install_corefonts # Installation POL_SetupWindow_message "$(eval_gettext 'NOTICE: Do not close $TITLE until installation completes and you are at the $TITLE login window. ')" "$TITLE" POL_Wine "$POL_System_TmpDir/$CLIENT_NAME" POL_Wine_WaitExit "$TITLE" --allow-kill POL_SetupWindow_VMS "64" POL_Wine_reboot # Create Shortcut POL_Shortcut "Battle.net Launcher.exe" "$TITLE" # Cleanup POL_System_TmpDelete POL_SetupWindow_Close exit 0 Replies |
spiritofyoba | Sunday 16 October 2016 at 17:08 |
spiritofyoba
|
|
jcllings | Tuesday 11 October 2016 at 23:14 |
jcllings
|
|
claytron1116 | Thursday 6 October 2016 at 4:23 |
claytron1116
|
MessageUbuntu: Run: Install your Graphics Card or Proprietary Drivers using "Additional Drivers" Install: For Ubuntu based distros: sudo apt-get install ubuntu-restricted-extras Playonlinux: Use wine-staging 1.9.13 Add to winecfg: RepliesThursday 6 October 2016 at 10:42
|
BloodyIron | Wednesday 24 August 2016 at 20:16 |
BloodyIron
|
MessageAn update a few months ago (July?) made it so vcrun2015 is required. Since POL doesn't have that as an option yet, I had to do some DLL work arounds. I grabbed the DLLs from : https://www.winehq.org/pipermail/wine-bugs/2015-November/428425.html And then copied them overtop of the existing ones in the relevant locations in the Windows folders. I think I also had to run the reg file (can't recall conclusively). Then it worked properly! Supposedly this is corrected by installing vcrun2015, but I don't know a convenient way to do that yet in POL (some say winetricks?) Replies |
Etherliah | Wednesday 10 August 2016 at 2:23 |
Etherliah
|
MessageHi, I'm new here , I've decide to runaway from windows, no more dual-boot :)
https://framabin.org/?5853f5693fc00c0f#0G0oeOEjDuvpKKK+1UrIE1Do3Eh63qOVq4LL34WGEB0= Hardware : I5 2500k, gtx 970 , 8go ram Replies |
gandor | Tuesday 9 August 2016 at 1:47 |
gandor
|
MessageI now have Battle.net launcher working and launching Diablo III !!!!!!!! wine 1.9.16 windows version: Windows XP Libraries: vcruntime140 (native, builtin) api-ms-win-crt-runtime-l1-1-0 (native, builtin) d3dcompiler_74 (native, builtin) msvcp140(native, builtin) vcruntime140(native, builtin)
RepliesTuesday 9 August 2016 at 1:53
Sunday 28 August 2016 at 10:21
Sunday 28 August 2016 at 10:23
Thursday 1 September 2016 at 6:32
|
duffmean | Saturday 6 August 2016 at 22:17 |
duffmean
|
MessageHello, It only worked for me using it on wine 1.9.13 and with BlondVador config: https://imgur.com/hyJV8Ik Still it didnt connect inicitally, so I entered OFFLINE and a miracle happened, it upgraded the WoW version. I dont have any idiea how it could not connect with my login but it can download and upgrade programs. But I am just a user, if it works I am happy. thank you! RepliesSaturday 6 August 2016 at 22:22
|
7z4r | Friday 5 August 2016 at 12:03 |
7z4r
|
MessageI was tired of constant crashes and various trouble with Linux so I solved all that problems simply by installing Windows 10. I bought a much cheaper activation key from some Chinese retailer at keyonlinestore.com and I'm perfectly happy... Farewell to you all Replies |
pugnobellum | Saturday 30 July 2016 at 0:50 |
pugnobellum
|
MessageHi, So intallation got to 100% then crashed and gave me this report. please help thanks! Unhandled exception: unimplemented function api-ms-win-crt-runtime-l1-1-0.d._get_narrow_winmain_command_line called in 32-bit code (0x7b43fbe2). RepliesSaturday 30 July 2016 at 1:06
Saturday 30 July 2016 at 1:08
Saturday 30 July 2016 at 1:59
Saturday 30 July 2016 at 2:05
Saturday 30 July 2016 at 10:00
Sunday 31 July 2016 at 17:22
|
7z4r | Thursday 28 July 2016 at 2:21 |
7z4r
|
WarningThis update has not been approved yet by the team. Messageafter yeat another Blizzard update everything crashes again! fortunately there's a new script update for wine config - courtesy of BlondVador! https://imgur.com/hyJV8Ik I updated the script with information from above image. I hope I didn't make any typos and that my asumptions about editing the scrip are correct... I didn't test the script because I already have everything installed, but I tested new wine config and it works! thanks again BlondVador Differences@@ -1,5 +1,5 @@ #!/bin/bash -# Date : (2016-07-26) +# Date : (2016-07-28) # Distribution used to test : Red Hat Enterprise Linux 7.2 64-bit # Distribution used to test : Netrunner 17 (Kubuntu 15.10 x64) - tested and working: Hearthstone & HotS # Distribution used to test : Linux Mint 17.3 Cinnamon 64-bit @@ -7,6 +7,7 @@ # Author : schotty # Author : 7z4r (working fix for Hearthstone & HotS) # Author : BiTSHiFT (Language switch) +# Author : BlondVador (wine config fix) # Licence : GPLv3 # PlayOnLinux: 4.2.10 # Notes: Pulls in the US instsallation file for Battle.Net. Not aware of issues outside of North America or the US, but this might be the cause if any do arise. @@ -47,9 +48,9 @@ # Configuration Set_OS "win7" -POL_Wine_OverrideDLL "native,builtin" "*msvcr90" "msvcp100" "dbghelp" -# not sure if this is really needed: -POL_Wine_OverrideDLL "disabled" "d3dcompiler_46" +POL_Wine_OverrideDLL "native" "api-ms-win-crt-heap-l1-1-0" "api-ms-win-crt-locale-l1-1-0" "api-ms-win-crt-runtime-l1-1-0" "api-ms-win-crt-stdio-l1-1-0" "ucrtbase" +POL_Wine_OverrideDLL "native,builtin" "battle.net" "msvcp100" "msvcr100" "msvcr140" "vcruntime140" "wininet" +POL_Wine_OverrideDLL "disabled" "dbghelp" # Dependencies POL_Call POL_Install_corefonts New source code#!/bin/bash # Date : (2016-07-28) # Distribution used to test : Red Hat Enterprise Linux 7.2 64-bit # Distribution used to test : Netrunner 17 (Kubuntu 15.10 x64) - tested and working: Hearthstone & HotS # Distribution used to test : Linux Mint 17.3 Cinnamon 64-bit # Distribution used to test : ubuntustudio 16.04.1 x64 # Author : schotty # Author : 7z4r (working fix for Hearthstone & HotS) # Author : BiTSHiFT (Language switch) # Author : BlondVador (wine config fix) # Licence : GPLv3 # PlayOnLinux: 4.2.10 # Notes: Pulls in the US instsallation file for Battle.Net. Not aware of issues outside of North America or the US, but this might be the cause if any do arise. [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" PREFIX="battle.net" WINEVERSION="1.9.15" POL_System_SetArch "x86" TITLE="Battle.Net" EDITOR="Blizzard Entertainment Inc." GAME_URL="http://us.battle.net/en" AUTHOR="Schotty" #Initialization 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 2599 POL_Debug_Init # Presentation POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX" POL_SetupWindow_menu_list "$(eval_gettext 'Please choose your desired locale')" "$TITLE" "enGB~enUS~deDE~esES~frFR~ruRU~itIT~ptPT" "~" CLIENT_NAME="Battle.net-Setup-"$APP_ANSWER".exe" DOWNLOAD_BASE="http://dist.blizzard.com/downloads/bna-installers/322d5bb9ae0318de3d4cde7641c96425/retail.1/" POL_System_TmpCreate "$PREFIX" cd "$POL_System_TmpDir" POL_Download "$DOWNLOAD_BASE$CLIENT_NAME" # Create Prefix POL_Wine_SelectPrefix "$PREFIX" POL_Wine_PrefixCreate "$WINEVERSION" # Configuration Set_OS "win7" POL_Wine_OverrideDLL "native" "api-ms-win-crt-heap-l1-1-0" "api-ms-win-crt-locale-l1-1-0" "api-ms-win-crt-runtime-l1-1-0" "api-ms-win-crt-stdio-l1-1-0" "ucrtbase" POL_Wine_OverrideDLL "native,builtin" "battle.net" "msvcp100" "msvcr100" "msvcr140" "vcruntime140" "wininet" POL_Wine_OverrideDLL "disabled" "dbghelp" # Dependencies POL_Call POL_Install_corefonts # Installation POL_SetupWindow_message "$(eval_gettext 'NOTICE: Do not close $TITLE until installation completes and you are at the $TITLE login window. ')" "$TITLE" POL_Wine "$POL_System_TmpDir/$CLIENT_NAME" POL_Wine_WaitExit "$TITLE" --allow-kill POL_SetupWindow_VMS "64" POL_Wine_reboot # Create Shortcut POL_Shortcut "Battle.net Launcher.exe" "$TITLE" # Cleanup POL_System_TmpDelete POL_SetupWindow_Close exit 0 Replies |
7z4r | Tuesday 26 July 2016 at 2:59 |
7z4r
|
WarningThis update has not been approved yet by the team. Messageok here's the thing: DON'T use distros based on ubuntu 14.04 - it's a nasty piss of shit and it causes all the trouble! i used ubuntustudio 16.04 when it first arrived and everything worked great concerning wine software. then i had to revert to 14.04 because there is no fglrx for 16.04 yet and i had other problems not related to PoL. then all the Battle.net problems started in 14.04 - at first i could play but that annoying error crash popup window was there to greet me every time. then when Blizzard did that famous last update for dx11 support i couldn't log in and connect to server anymore like many other people... trusty tahr's crap 14.04 also could not find my printer driver so i switched back to 16.04.1 and all is fine now except there's still no fglrx... but open source driver works great in wine and performance is excellent! sadly native games don't work because of some stupid bug in mesa... but anyway - the soultion for all your problems concerning Battle.net is that you have a 16.04 based distro (if you use ubuntu derviatives) and install it with this new script: i added latest wine 1.9.15 (tested&working) and i reduced required vram to 64MB since it's minimum for Hearthstone - so someone on a weaker computer can also use the script. FEW TIPS: - if this is your first install in fresh PoL don't click on "installation finished" right away after the Battle.net is downloaded, but instead just close the Battle.net window and wait a little - after a minute or two PoL will probably ask you about your vram and then the setup will continue. - if you need to install fresh PoL in 16.04 the painless way is to open the terminal/console and type without the quotes: "sudo apt-get install playonlinux" - if this script is still not approved by the time you need it and you can't wait then just copy it and save in a text editor on your local computer and run locally from options in PoL window. hopefully Blizzard won't fuck up everything again at least in the near future... Differences@@ -1,8 +1,9 @@ #!/bin/bash -# Date : (2016-02-08) +# Date : (2016-07-26) # Distribution used to test : Red Hat Enterprise Linux 7.2 64-bit # Distribution used to test : Netrunner 17 (Kubuntu 15.10 x64) - tested and working: Hearthstone & HotS # Distribution used to test : Linux Mint 17.3 Cinnamon 64-bit +# Distribution used to test : ubuntustudio 16.04.1 x64 # Author : schotty # Author : 7z4r (working fix for Hearthstone & HotS) # Author : BiTSHiFT (Language switch) @@ -15,7 +16,7 @@ source "$PLAYONLINUX/lib/sources" PREFIX="battle.net" -WINEVERSION="1.9.2" +WINEVERSION="1.9.15" POL_System_SetArch "x86" TITLE="Battle.Net" EDITOR="Blizzard Entertainment Inc." @@ -59,7 +60,7 @@ POL_Wine "$POL_System_TmpDir/$CLIENT_NAME" POL_Wine_WaitExit "$TITLE" --allow-kill -POL_SetupWindow_VMS "1024" +POL_SetupWindow_VMS "64" POL_Wine_reboot # Create Shortcut New source code#!/bin/bash # Date : (2016-07-26) # Distribution used to test : Red Hat Enterprise Linux 7.2 64-bit # Distribution used to test : Netrunner 17 (Kubuntu 15.10 x64) - tested and working: Hearthstone & HotS # Distribution used to test : Linux Mint 17.3 Cinnamon 64-bit # Distribution used to test : ubuntustudio 16.04.1 x64 # Author : schotty # Author : 7z4r (working fix for Hearthstone & HotS) # Author : BiTSHiFT (Language switch) # Licence : GPLv3 # PlayOnLinux: 4.2.10 # Notes: Pulls in the US instsallation file for Battle.Net. Not aware of issues outside of North America or the US, but this might be the cause if any do arise. [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" PREFIX="battle.net" WINEVERSION="1.9.15" POL_System_SetArch "x86" TITLE="Battle.Net" EDITOR="Blizzard Entertainment Inc." GAME_URL="http://us.battle.net/en" AUTHOR="Schotty" #Initialization 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 2599 POL_Debug_Init # Presentation POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX" POL_SetupWindow_menu_list "$(eval_gettext 'Please choose your desired locale')" "$TITLE" "enGB~enUS~deDE~esES~frFR~ruRU~itIT~ptPT" "~" CLIENT_NAME="Battle.net-Setup-"$APP_ANSWER".exe" DOWNLOAD_BASE="http://dist.blizzard.com/downloads/bna-installers/322d5bb9ae0318de3d4cde7641c96425/retail.1/" POL_System_TmpCreate "$PREFIX" cd "$POL_System_TmpDir" POL_Download "$DOWNLOAD_BASE$CLIENT_NAME" # Create Prefix POL_Wine_SelectPrefix "$PREFIX" POL_Wine_PrefixCreate "$WINEVERSION" # Configuration Set_OS "win7" POL_Wine_OverrideDLL "native,builtin" "*msvcr90" "msvcp100" "dbghelp" # not sure if this is really needed: POL_Wine_OverrideDLL "disabled" "d3dcompiler_46" # Dependencies POL_Call POL_Install_corefonts # Installation POL_SetupWindow_message "$(eval_gettext 'NOTICE: Do not close $TITLE until installation completes and you are at the $TITLE login window. ')" "$TITLE" POL_Wine "$POL_System_TmpDir/$CLIENT_NAME" POL_Wine_WaitExit "$TITLE" --allow-kill POL_SetupWindow_VMS "64" POL_Wine_reboot # Create Shortcut POL_Shortcut "Battle.net Launcher.exe" "$TITLE" # Cleanup POL_System_TmpDelete POL_SetupWindow_Close exit 0 RepliesTuesday 26 July 2016 at 3:03
Tuesday 26 July 2016 at 3:04
Tuesday 26 July 2016 at 7:48
Wednesday 27 July 2016 at 8:24
Wednesday 27 July 2016 at 14:47
Wednesday 27 July 2016 at 14:48
Wednesday 27 July 2016 at 16:55
Wednesday 27 July 2016 at 23:11
Thursday 28 July 2016 at 0:06
Thursday 28 July 2016 at 2:01
Thursday 28 July 2016 at 2:22
|
Orcris | Tuesday 12 July 2016 at 23:04 |
Orcris
|
MessageI'm on Fedora 23. I have a couple Battle.net instances installed. One has been unable to log in for a while through the bnet log in. The login window comes up but I never receive the blue swirly that loads the log in button. The other instance was logged in a while ago and was working fine (both live and beta WoW) until today's update logged it out, now both instances are broke. I can run WoW directly with the Wow-64 launcher, so I'm able to play. I just can't log in with bnet. I ran with debug and I get the following errors p11-kit: couldn't load module: /usr/lib/pkcs11/p11-kit-trust.so: /usr/lib/pkcs11/p11-kit-trust.so: cannot open shared object file: No such file or directory p11-kit: couldn't load module: /usr/lib/pkcs11/gnome-keyring-pkcs11.so: /usr/lib/pkcs11/ I have tried unsuccessfully to find the 32 bit versions of p11-kit-trust.so and gnome-keyring-pkcs11.so for Fedora. err:ole:CoGetClassObject class {77f10cf0-3db5-4966-b520-b7c54fd35ed6} not registered err:ole:CoGetClassObject no class object {77f10cf0-3db5-4966-b520-b7c54fd35ed6} could be created for context 0x1
err:wininet:open_http_connection create_netconn failed: 12029 I read that this has something to do with a missing ldap library, but I have been unable to find the correct one for Fedora. I have not had time to try and load a new install using 32 bit wine but I'm guessing that won't help much since I'm missing the 32 bit files anyway.
Replies |
amphacid | Wednesday 15 June 2016 at 19:48 |
amphacid
|
MessageHi, I'm sorry I keep compiling source for Wine 1.8.2 then 1.9.2 and wine64 --version :-| I've a problem. I can't log anymore. I was logged for near a year and the game was running but I disconnected and now when I want to log there is a blue intricated animated stuff below ID and Password. I can't click anywhere to log in. Region and other options still accessible. Can you help me T_T Linux mint 17.1
RepliesThursday 16 June 2016 at 7:55
Thursday 16 June 2016 at 21:05
Thursday 16 June 2016 at 21:06
Friday 17 June 2016 at 16:44
Friday 17 June 2016 at 16:49
Saturday 18 June 2016 at 20:47
Saturday 18 June 2016 at 20:54
Tuesday 21 June 2016 at 9:11
Tuesday 21 June 2016 at 19:29
Tuesday 21 June 2016 at 22:18
Tuesday 21 June 2016 at 22:45
Wednesday 22 June 2016 at 1:46
Wednesday 22 June 2016 at 1:46
Wednesday 22 June 2016 at 23:14
Wednesday 22 June 2016 at 23:26
Wednesday 22 June 2016 at 23:26
Thursday 23 June 2016 at 3:22
Thursday 23 June 2016 at 3:23
Thursday 23 June 2016 at 3:24
|
terryc | Saturday 11 June 2016 at 6:54 |
terryc
|
MessageThere was a request for read out of PoL debug output. This is the output from running PoL in a terminal and then selecting Debug->Battle.Net and copy&paste the terminal log. Hopefully it may help fix this problem from a recent(2 days ago) upgrade of battle.net. System is Debian:Jessie-AMD64. [code]
Replies |
tobber | Monday 22 February 2016 at 13:34 |
tobber
|
MessageHey There! Your script runs well. I got battle.net to start. what i did? i set up a fresh linux mint machine got newest playonlinux version got newest wine --version the login screen is a bit tricky... you can't simply choose the right region... but with a few mouseclicks it works and you can login nice work!!
RepliesMonday 22 February 2016 at 13:46
Wednesday 9 March 2016 at 14:51
Wednesday 9 March 2016 at 14:53
Saturday 12 March 2016 at 19:10
Sunday 13 March 2016 at 0:40
Sunday 13 March 2016 at 18:49
Saturday 16 April 2016 at 11:21
Thursday 28 April 2016 at 3:53
Saturday 30 April 2016 at 3:07
Sunday 29 May 2016 at 17:28
Sunday 29 May 2016 at 17:28
Sunday 29 May 2016 at 17:29
Sunday 5 June 2016 at 8:43
Sunday 5 June 2016 at 8:44
Sunday 5 June 2016 at 8:46
Thursday 9 June 2016 at 2:12
Saturday 11 June 2016 at 9:38
Saturday 11 June 2016 at 9:40
Sunday 12 June 2016 at 17:30
|
BiTSHiFT | Monday 8 February 2016 at 16:39 |
BiTSHiFT
|
WarningThis update has not been approved yet by the team. MessageI'm using the version that 7z4r posted. Because I was in need of installing the german client I thought "why not include a language switch?". Differences@@ -1,7 +1,11 @@ #!/bin/bash -# Date : (2016-01-23) +# Date : (2016-02-08) # Distribution used to test : Red Hat Enterprise Linux 7.2 64-bit +# Distribution used to test : Netrunner 17 (Kubuntu 15.10 x64) - tested and working: Hearthstone & HotS +# Distribution used to test : Linux Mint 17.3 Cinnamon 64-bit # Author : schotty +# Author : 7z4r (working fix for Hearthstone & HotS) +# Author : BiTSHiFT (Language switch) # Licence : GPLv3 # PlayOnLinux: 4.2.10 # Notes: Pulls in the US instsallation file for Battle.Net. Not aware of issues outside of North America or the US, but this might be the cause if any do arise. @@ -17,7 +21,6 @@ EDITOR="Blizzard Entertainment Inc." GAME_URL="http://us.battle.net/en" AUTHOR="Schotty" -DOWNLOAD_URL="http://dist.blizzard.com/downloads/bna-installers/322d5bb9ae0318de3d4cde7641c96425/retail.1/Battle.net-Setup-enUS.exe" #Initialization POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE" @@ -28,10 +31,13 @@ # Presentation POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX" - +POL_SetupWindow_menu_list "$(eval_gettext 'Please choose your desired locale')" "$TITLE" "enGB~enUS~deDE~esES~frFR~ruRU~itIT~ptPT" "~" +CLIENT_NAME="Battle.net-Setup-"$APP_ANSWER".exe" +DOWNLOAD_BASE="http://dist.blizzard.com/downloads/bna-installers/322d5bb9ae0318de3d4cde7641c96425/retail.1/" POL_System_TmpCreate "$PREFIX" + cd "$POL_System_TmpDir" -POL_Download "$DOWNLOAD_URL" +POL_Download "$DOWNLOAD_BASE$CLIENT_NAME" # Create Prefix POL_Wine_SelectPrefix "$PREFIX" @@ -40,9 +46,9 @@ # Configuration Set_OS "win7" -POL_Wine_OverrideDLL "native,builtin" "*msvcr90" "msvcp100" +POL_Wine_OverrideDLL "native,builtin" "*msvcr90" "msvcp100" "dbghelp" +# not sure if this is really needed: POL_Wine_OverrideDLL "disabled" "d3dcompiler_46" -POL_Wine_OverrideDLL "native" "dbghelp" # Dependencies POL_Call POL_Install_corefonts @@ -50,8 +56,11 @@ # Installation POL_SetupWindow_message "$(eval_gettext 'NOTICE: Do not close $TITLE until installation completes and you are at the $TITLE login window. ')" "$TITLE" -POL_Wine "$POL_System_TmpDir/Battle.net-Setup-enUS.exe" -POL_Wine_WaitExit "$TITLE" +POL_Wine "$POL_System_TmpDir/$CLIENT_NAME" +POL_Wine_WaitExit "$TITLE" --allow-kill + +POL_SetupWindow_VMS "1024" +POL_Wine_reboot # Create Shortcut POL_Shortcut "Battle.net Launcher.exe" "$TITLE" New source code#!/bin/bash # Date : (2016-02-08) # Distribution used to test : Red Hat Enterprise Linux 7.2 64-bit # Distribution used to test : Netrunner 17 (Kubuntu 15.10 x64) - tested and working: Hearthstone & HotS # Distribution used to test : Linux Mint 17.3 Cinnamon 64-bit # Author : schotty # Author : 7z4r (working fix for Hearthstone & HotS) # Author : BiTSHiFT (Language switch) # Licence : GPLv3 # PlayOnLinux: 4.2.10 # Notes: Pulls in the US instsallation file for Battle.Net. Not aware of issues outside of North America or the US, but this might be the cause if any do arise. [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" PREFIX="battle.net" WINEVERSION="1.9.2" POL_System_SetArch "x86" TITLE="Battle.Net" EDITOR="Blizzard Entertainment Inc." GAME_URL="http://us.battle.net/en" AUTHOR="Schotty" #Initialization 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 2599 POL_Debug_Init # Presentation POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX" POL_SetupWindow_menu_list "$(eval_gettext 'Please choose your desired locale')" "$TITLE" "enGB~enUS~deDE~esES~frFR~ruRU~itIT~ptPT" "~" CLIENT_NAME="Battle.net-Setup-"$APP_ANSWER".exe" DOWNLOAD_BASE="http://dist.blizzard.com/downloads/bna-installers/322d5bb9ae0318de3d4cde7641c96425/retail.1/" POL_System_TmpCreate "$PREFIX" cd "$POL_System_TmpDir" POL_Download "$DOWNLOAD_BASE$CLIENT_NAME" # Create Prefix POL_Wine_SelectPrefix "$PREFIX" POL_Wine_PrefixCreate "$WINEVERSION" # Configuration Set_OS "win7" POL_Wine_OverrideDLL "native,builtin" "*msvcr90" "msvcp100" "dbghelp" # not sure if this is really needed: POL_Wine_OverrideDLL "disabled" "d3dcompiler_46" # Dependencies POL_Call POL_Install_corefonts # Installation POL_SetupWindow_message "$(eval_gettext 'NOTICE: Do not close $TITLE until installation completes and you are at the $TITLE login window. ')" "$TITLE" POL_Wine "$POL_System_TmpDir/$CLIENT_NAME" POL_Wine_WaitExit "$TITLE" --allow-kill POL_SetupWindow_VMS "1024" POL_Wine_reboot # Create Shortcut POL_Shortcut "Battle.net Launcher.exe" "$TITLE" # Cleanup POL_System_TmpDelete POL_SetupWindow_Close exit 0 RepliesMonday 8 February 2016 at 21:19
Monday 8 February 2016 at 22:41
Saturday 16 April 2016 at 23:00
Edited by petch |
7z4r | Monday 25 January 2016 at 21:04 |
7z4r
|
MessageI'll give myself additional thumbs-up because that's how awesome I am... Replies |
7z4r | Monday 25 January 2016 at 21:01 |
7z4r
|
WarningThis update has not been approved yet by the team. MessageIf you want something done right - do it yourself... Well here it is - tested and working script for Hearthstone and Heroes of the Storm. I don't know if it works with other Blizzard games and I don't care since I don't play them since they're not free... Hearthstone works like a charm and HotS suffers some performance toll compared with native Windows installation - but I guess that's normal and nothing can be done about that... Now this would be a good time to point out that I actually never made a single script in my life and I don't understand half of this shit. But what I did was compare schotty's script with other working scripts for Hearthstone and HotS also tested and available here on this very site - and then I used simple logic and common sense to add what was missing. Was that too much to ask for? Now schotty you may play Blizz games using this script while I go and hack Pentagon because that's how awesome I am right now. I rule so fucking hard... But seriously now - thanks for making the original script. This turned out to be much better because I actually learned some scripting... Btw you should fix the description - it's supposed to be Starcraft 2 instead of Warcraft 3! Differences@@ -1,7 +1,9 @@ #!/bin/bash -# Date : (2016-01-23) +# Date : (2016-01-25) # Distribution used to test : Red Hat Enterprise Linux 7.2 64-bit +# Distribution used to test : Netrunner 17 (Kubuntu 15.10 x64) - tested and working: Hearthstone & HotS # Author : schotty +# Author : 7z4r (working fix for Hearthstone & HotS) # Licence : GPLv3 # PlayOnLinux: 4.2.10 # Notes: Pulls in the US instsallation file for Battle.Net. Not aware of issues outside of North America or the US, but this might be the cause if any do arise. @@ -40,9 +42,9 @@ # Configuration Set_OS "win7" -POL_Wine_OverrideDLL "native,builtin" "*msvcr90" "msvcp100" +POL_Wine_OverrideDLL "native,builtin" "*msvcr90" "msvcp100" "dbghelp" +# not sure if this is really needed: POL_Wine_OverrideDLL "disabled" "d3dcompiler_46" -POL_Wine_OverrideDLL "native" "dbghelp" # Dependencies POL_Call POL_Install_corefonts @@ -51,7 +53,10 @@ POL_SetupWindow_message "$(eval_gettext 'NOTICE: Do not close $TITLE until installation completes and you are at the $TITLE login window. ')" "$TITLE" POL_Wine "$POL_System_TmpDir/Battle.net-Setup-enUS.exe" -POL_Wine_WaitExit "$TITLE" +POL_Wine_WaitExit "$TITLE" --allow-kill + +POL_SetupWindow_VMS "1024" +POL_Wine_reboot # Create Shortcut POL_Shortcut "Battle.net Launcher.exe" "$TITLE" New source code#!/bin/bash # Date : (2016-01-25) # Distribution used to test : Red Hat Enterprise Linux 7.2 64-bit # Distribution used to test : Netrunner 17 (Kubuntu 15.10 x64) - tested and working: Hearthstone & HotS # Author : schotty # Author : 7z4r (working fix for Hearthstone & HotS) # Licence : GPLv3 # PlayOnLinux: 4.2.10 # Notes: Pulls in the US instsallation file for Battle.Net. Not aware of issues outside of North America or the US, but this might be the cause if any do arise. [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" PREFIX="battle.net" WINEVERSION="1.9.2" POL_System_SetArch "x86" TITLE="Battle.Net" EDITOR="Blizzard Entertainment Inc." GAME_URL="http://us.battle.net/en" AUTHOR="Schotty" DOWNLOAD_URL="http://dist.blizzard.com/downloads/bna-installers/322d5bb9ae0318de3d4cde7641c96425/retail.1/Battle.net-Setup-enUS.exe" #Initialization 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 2599 POL_Debug_Init # Presentation POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX" POL_System_TmpCreate "$PREFIX" cd "$POL_System_TmpDir" POL_Download "$DOWNLOAD_URL" # Create Prefix POL_Wine_SelectPrefix "$PREFIX" POL_Wine_PrefixCreate "$WINEVERSION" # Configuration Set_OS "win7" POL_Wine_OverrideDLL "native,builtin" "*msvcr90" "msvcp100" "dbghelp" # not sure if this is really needed: POL_Wine_OverrideDLL "disabled" "d3dcompiler_46" # Dependencies POL_Call POL_Install_corefonts # Installation POL_SetupWindow_message "$(eval_gettext 'NOTICE: Do not close $TITLE until installation completes and you are at the $TITLE login window. ')" "$TITLE" POL_Wine "$POL_System_TmpDir/Battle.net-Setup-enUS.exe" POL_Wine_WaitExit "$TITLE" --allow-kill POL_SetupWindow_VMS "1024" POL_Wine_reboot # Create Shortcut POL_Shortcut "Battle.net Launcher.exe" "$TITLE" # Cleanup POL_System_TmpDelete POL_SetupWindow_Close exit 0 RepliesTuesday 26 January 2016 at 0:54
Wednesday 27 January 2016 at 1:40
Wednesday 27 January 2016 at 1:45
Wednesday 3 February 2016 at 21:14
Edited by petch |
7z4r | Sunday 24 January 2016 at 23:57 |
7z4r
|
MessageExept "Please wait while Battle.net is installed..." problem there's also GLOBAL_ERROR_ASSET_LOAD_FAILED once I start Hearthstone... I tought this installer will dowload everything needed to actually PLAY games from the installer - not just what's needed for the Battle.net installer itself - that's pretty useless and doesn't make much sense... There are already finished working installers for Hearthstone and other games fully available - why not just integrate that code with this so that actually works? I'm really dissapointed... Replies |
petch | Sunday 24 January 2016 at 19:26 |
petch
|
WarningThis update has not been approved yet by the team. MessageAdd POL_SetupWindow_SetID, use POL_Wine_OverrideDLL Delay virtual drive creation Differences@@ -5,11 +5,11 @@ # Licence : GPLv3 # PlayOnLinux: 4.2.10 # Notes: Pulls in the US instsallation file for Battle.Net. Not aware of issues outside of North America or the US, but this might be the cause if any do arise. - - + + [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" - + PREFIX="battle.net" WINEVERSION="1.9.2" POL_System_SetArch "x86" @@ -18,52 +18,46 @@ GAME_URL="http://us.battle.net/en" AUTHOR="Schotty" DOWNLOAD_URL="http://dist.blizzard.com/downloads/bna-installers/322d5bb9ae0318de3d4cde7641c96425/retail.1/Battle.net-Setup-enUS.exe" - + #Initialization 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 2599 + POL_Debug_Init - + # Presentation POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX" - + +POL_System_TmpCreate "$PREFIX" +cd "$POL_System_TmpDir" +POL_Download "$DOWNLOAD_URL" + # Create Prefix POL_Wine_SelectPrefix "$PREFIX" POL_Wine_PrefixCreate "$WINEVERSION" - + # Configuration Set_OS "win7" - -#DLL Overrides -cat << EOF > BNET.reg -[HKEY_CURRENT_USER\\Software\\Wine\\DllOverrides] -"*msvcr90"="native,builtin" -"d3dcompiler_46"="disabled" -"dbghelp"="native" -"msvcp100"="native,builtin" -EOF -POL_Wine regedit BNET.reg -rm -f BNET.reg - + +POL_Wine_OverrideDLL "native,builtin" "*msvcr90" "msvcp100" +POL_Wine_OverrideDLL "disabled" "d3dcompiler_46" +POL_Wine_OverrideDLL "native" "dbghelp" + # Dependencies POL_Call POL_Install_corefonts - + # Installation -POL_System_TmpCreate "$PREFIX" -cd $POL_System_TmpDir -POL_Download "$DOWNLOAD_URL" - POL_SetupWindow_message "$(eval_gettext 'NOTICE: Do not close $TITLE until installation completes and you are at the $TITLE login window. ')" "$TITLE" - -POL_Wine "Battle.net-Setup-enUS.exe" + +POL_Wine "$POL_System_TmpDir/Battle.net-Setup-enUS.exe" POL_Wine_WaitExit "$TITLE" - + # Create Shortcut POL_Shortcut "Battle.net Launcher.exe" "$TITLE" - + # Cleanup POL_System_TmpDelete - + POL_SetupWindow_Close exit 0 \ No newline at end of file New source code#!/bin/bash # Date : (2016-01-23) # Distribution used to test : Red Hat Enterprise Linux 7.2 64-bit # Author : schotty # Licence : GPLv3 # PlayOnLinux: 4.2.10 # Notes: Pulls in the US instsallation file for Battle.Net. Not aware of issues outside of North America or the US, but this might be the cause if any do arise. [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" PREFIX="battle.net" WINEVERSION="1.9.2" POL_System_SetArch "x86" TITLE="Battle.Net" EDITOR="Blizzard Entertainment Inc." GAME_URL="http://us.battle.net/en" AUTHOR="Schotty" DOWNLOAD_URL="http://dist.blizzard.com/downloads/bna-installers/322d5bb9ae0318de3d4cde7641c96425/retail.1/Battle.net-Setup-enUS.exe" #Initialization 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 2599 POL_Debug_Init # Presentation POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX" POL_System_TmpCreate "$PREFIX" cd "$POL_System_TmpDir" POL_Download "$DOWNLOAD_URL" # Create Prefix POL_Wine_SelectPrefix "$PREFIX" POL_Wine_PrefixCreate "$WINEVERSION" # Configuration Set_OS "win7" POL_Wine_OverrideDLL "native,builtin" "*msvcr90" "msvcp100" POL_Wine_OverrideDLL "disabled" "d3dcompiler_46" POL_Wine_OverrideDLL "native" "dbghelp" # Dependencies POL_Call POL_Install_corefonts # Installation POL_SetupWindow_message "$(eval_gettext 'NOTICE: Do not close $TITLE until installation completes and you are at the $TITLE login window. ')" "$TITLE" POL_Wine "$POL_System_TmpDir/Battle.net-Setup-enUS.exe" POL_Wine_WaitExit "$TITLE" # Create Shortcut POL_Shortcut "Battle.net Launcher.exe" "$TITLE" # Cleanup POL_System_TmpDelete POL_SetupWindow_Close exit 0 RepliesSunday 24 January 2016 at 23:30
Sunday 24 January 2016 at 23:33
Sunday 24 January 2016 at 23:41
Monday 25 January 2016 at 0:04
Monday 11 July 2016 at 16:23
Edited by petch |
7z4r | Saturday 23 January 2016 at 22:41 |
7z4r
|
MessageThank you very much for making this installer - I always wanted one battle.net launcher for all Blizz games in wine and to be able to install and run everything from there like on windows. :) I couldn't wait so I tested your script locally. Battle.net got installed fine but POL installer doesen't register when battle.net is finished installing and just waits eternaly... All I could do is press cancel. If you could please fix that I'd be really grateful... Cheers RepliesMonday 11 July 2016 at 16:25
|
schotty | Saturday 23 January 2016 at 18:35 |
schotty
|
WarningThis update has not been approved yet by the team. Differences@@ -0,0 +1,69 @@ +#!/bin/bash +# Date : (2016-01-23) +# Distribution used to test : Red Hat Enterprise Linux 7.2 64-bit +# Author : schotty +# Licence : GPLv3 +# PlayOnLinux: 4.2.10 +# Notes: Pulls in the US instsallation file for Battle.Net. Not aware of issues outside of North America or the US, but this might be the cause if any do arise. + + +[ "$PLAYONLINUX" = "" ] && exit 0 +source "$PLAYONLINUX/lib/sources" + +PREFIX="battle.net" +WINEVERSION="1.9.2" +POL_System_SetArch "x86" +TITLE="Battle.Net" +EDITOR="Blizzard Entertainment Inc." +GAME_URL="http://us.battle.net/en" +AUTHOR="Schotty" +DOWNLOAD_URL="http://dist.blizzard.com/downloads/bna-installers/322d5bb9ae0318de3d4cde7641c96425/retail.1/Battle.net-Setup-enUS.exe" + +#Initialization +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_Debug_Init + +# Presentation +POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX" + +# Create Prefix +POL_Wine_SelectPrefix "$PREFIX" +POL_Wine_PrefixCreate "$WINEVERSION" + +# Configuration +Set_OS "win7" + +#DLL Overrides +cat << EOF > BNET.reg +[HKEY_CURRENT_USER\\Software\\Wine\\DllOverrides] +"*msvcr90"="native,builtin" +"d3dcompiler_46"="disabled" +"dbghelp"="native" +"msvcp100"="native,builtin" +EOF +POL_Wine regedit BNET.reg +rm -f BNET.reg + +# Dependencies +POL_Call POL_Install_corefonts + +# Installation +POL_System_TmpCreate "$PREFIX" +cd $POL_System_TmpDir +POL_Download "$DOWNLOAD_URL" + +POL_SetupWindow_message "$(eval_gettext 'NOTICE: Do not close $TITLE until installation completes and you are at the $TITLE login window. ')" "$TITLE" + +POL_Wine "Battle.net-Setup-enUS.exe" +POL_Wine_WaitExit "$TITLE" + +# Create Shortcut +POL_Shortcut "Battle.net Launcher.exe" "$TITLE" + +# Cleanup +POL_System_TmpDelete + +POL_SetupWindow_Close +exit 0 \ No newline at end of file New source code#!/bin/bash # Date : (2016-01-23) # Distribution used to test : Red Hat Enterprise Linux 7.2 64-bit # Author : schotty # Licence : GPLv3 # PlayOnLinux: 4.2.10 # Notes: Pulls in the US instsallation file for Battle.Net. Not aware of issues outside of North America or the US, but this might be the cause if any do arise. [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" PREFIX="battle.net" WINEVERSION="1.9.2" POL_System_SetArch "x86" TITLE="Battle.Net" EDITOR="Blizzard Entertainment Inc." GAME_URL="http://us.battle.net/en" AUTHOR="Schotty" DOWNLOAD_URL="http://dist.blizzard.com/downloads/bna-installers/322d5bb9ae0318de3d4cde7641c96425/retail.1/Battle.net-Setup-enUS.exe" #Initialization 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_Debug_Init # Presentation POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX" # Create Prefix POL_Wine_SelectPrefix "$PREFIX" POL_Wine_PrefixCreate "$WINEVERSION" # Configuration Set_OS "win7" #DLL Overrides cat << EOF > BNET.reg [HKEY_CURRENT_USER\\Software\\Wine\\DllOverrides] "*msvcr90"="native,builtin" "d3dcompiler_46"="disabled" "dbghelp"="native" "msvcp100"="native,builtin" EOF POL_Wine regedit BNET.reg rm -f BNET.reg # Dependencies POL_Call POL_Install_corefonts # Installation POL_System_TmpCreate "$PREFIX" cd $POL_System_TmpDir POL_Download "$DOWNLOAD_URL" POL_SetupWindow_message "$(eval_gettext 'NOTICE: Do not close $TITLE until installation completes and you are at the $TITLE login window. ')" "$TITLE" POL_Wine "Battle.net-Setup-enUS.exe" POL_Wine_WaitExit "$TITLE" # Create Shortcut POL_Shortcut "Battle.net Launcher.exe" "$TITLE" # Cleanup POL_System_TmpDelete POL_SetupWindow_Close exit 0 RepliesSaturday 23 January 2016 at 18:36
|
schotty | Friday 21 August 2015 at 16:39 |
schotty
|
WarningThis update has not been approved yet by the team. Differences@@ -0,0 +1,68 @@ +#!/bin/bash +# Date : (2015-08-21) +# Distribution used to test : Red Hat Enterprise 7.1 64-bit +# Author : schotty +# Licence : GPLv3 +# PlayOnLinux: 4.2.8 + + +[ "$PLAYONLINUX" = "" ] && exit 0 +source "$PLAYONLINUX/lib/sources" + +PREFIX="battlenet" +WINEVERSION="1.7.49" +POL_System_SetArch "x86" +TITLE="Battle.Net US" +EDITOR="Blizzard Entertainment Inc." +GAME_URL="http://us.battle.net/en" +AUTHOR="Schotty" +DOWNLOAD_URL="http://dist.blizzard.com/downloads/bna-installers/322d5bb9ae0318de3d4cde7641c96425/retail.1/Battle.net-Setup-enUS.exe" + +#Initialization +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_Debug_Init + +# Presentation +POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX" + +# Create Prefix +POL_Wine_SelectPrefix "$PREFIX" +POL_Wine_PrefixCreate "$WINEVERSION" + +# Configuration +Set_OS "win7" + +#DLL Overrides +cat << EOF > BNET.reg +[HKEY_CURRENT_USER\\Software\\Wine\\DllOverrides] +"*msvcr90"="native,builtin" +"d3dcompiler_46"="disabled" +"dbghelp"="native" +"msvcp100"="native,builtin" +EOF +POL_Wine regedit BNET.reg +rm -f BNET.reg + +# Dependencies +POL_Call POL_Install_corefonts + +# Installation +POL_System_TmpCreate "$PREFIX" +cd $POL_System_TmpDir +POL_Download "$DOWNLOAD_URL" + +POL_SetupWindow_message "$(eval_gettext 'NOTICE: Do not close $TITLE until installation completes and you are at the $TITLE login window. ')" "$TITLE" + +POL_Wine "Battle.net-Setup-enUS.exe" +POL_Wine_WaitExit "$TITLE" + +# Create Shortcut +POL_Shortcut "Battle.net Launcher.exe" "$TITLE" + +# Cleanup +POL_System_TmpDelete + +POL_SetupWindow_Close +exit 0 \ No newline at end of file New source code#!/bin/bash # Date : (2015-08-21) # Distribution used to test : Red Hat Enterprise 7.1 64-bit # Author : schotty # Licence : GPLv3 # PlayOnLinux: 4.2.8 [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" PREFIX="battlenet" WINEVERSION="1.7.49" POL_System_SetArch "x86" TITLE="Battle.Net US" EDITOR="Blizzard Entertainment Inc." GAME_URL="http://us.battle.net/en" AUTHOR="Schotty" DOWNLOAD_URL="http://dist.blizzard.com/downloads/bna-installers/322d5bb9ae0318de3d4cde7641c96425/retail.1/Battle.net-Setup-enUS.exe" #Initialization 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_Debug_Init # Presentation POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX" # Create Prefix POL_Wine_SelectPrefix "$PREFIX" POL_Wine_PrefixCreate "$WINEVERSION" # Configuration Set_OS "win7" #DLL Overrides cat << EOF > BNET.reg [HKEY_CURRENT_USER\\Software\\Wine\\DllOverrides] "*msvcr90"="native,builtin" "d3dcompiler_46"="disabled" "dbghelp"="native" "msvcp100"="native,builtin" EOF POL_Wine regedit BNET.reg rm -f BNET.reg # Dependencies POL_Call POL_Install_corefonts # Installation POL_System_TmpCreate "$PREFIX" cd $POL_System_TmpDir POL_Download "$DOWNLOAD_URL" POL_SetupWindow_message "$(eval_gettext 'NOTICE: Do not close $TITLE until installation completes and you are at the $TITLE login window. ')" "$TITLE" POL_Wine "Battle.net-Setup-enUS.exe" POL_Wine_WaitExit "$TITLE" # Create Shortcut POL_Shortcut "Battle.net Launcher.exe" "$TITLE" # Cleanup POL_System_TmpDelete POL_SetupWindow_Close exit 0 RepliesMonday 7 September 2015 at 3:40
Monday 7 September 2015 at 3:43
Sunday 20 December 2015 at 14:00
Wednesday 15 June 2016 at 19:42
Thursday 28 July 2016 at 5:28
|
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