Battle.net (64-bit)
Informations
Créateur | Messages | ||
---|---|---|---|
RavonTUS
|
AttentionThis installer is a beta script. It means that it might not work as expected InformationsPlate-formes : Retours d'expérience2 3 DescriptionGreeting, Battle.net desktop app, gives you access to all your Blizzard games. This script was written with 64-bit, WIndows 10, and DirectX11 in mind, trying to push Linux, Wine and PlayOnLinux to the max. Recently, Blizzard has been releasing their games with a 64-bit client. This script is an attempt to move forward to that design.
Tested on...
Note: After the install is complete, if Wine < v3 then do the following to improve performance...
32-bit or 64-bit: Everything I tested works great in 32-bit client mode. The 64-bit is still a under developed but moving forward. To switch between these do the following in Battle.net
Enjoy! Code source#!/usr/bin/env playonlinux-bash # Date : (2017-01-14) # Battle.Net Patch 1.6.0 - pass # World of Warcraft - installs but video is messed up # Diablo 3 Patch 2.4.3 (32-bit client) - pass # Diablo 3 Patch 2.4.3 (64-bit client) - fails D3D error # StarCart II - not tested # HearthStone 7.0.0 - pass # Heroes of the Strom 22.7.49495 (32-bit client) - pass # Heroes of the Strom 22.7.49495 (64-bit client) - pass, slow video # Overwatch - not tested # Wine version used : 2.0-rc3-staging # Distribution used to test : Ubuntu 16.04 LTS # NVIDIA binary driver v375.26 # NVidia GeForce GTX 960/PCIe/SSE2 # AMD FX(tm)-6300 Six-Core Processor × 6 # CHANGELOG # [Dadu042] (2020-03-23 00-08) # Wine "2.0-rc3-staging" (outdated) -> 3.0.3 # [RavonTUS] (14-JAN-2017) # added testing of other games # [RavonTUS] (12-JAN-2017) # added addition tips menu for better Diabo performance # tested other Blizzard games # [RavonTUS] (06-JAN-2017) # added Dependencies to improve the install # [SomeGuy42] (2016-11-22) # Wine 1.7.15 => 1.9.23 # Battle.net Patch 1.5.2 Build 8142 # Diablo 3 v2.4.2.41394 # Notes: install tweaked for D3 performance # [petch] (2014-03-24) # Wine 1.5.5-DiabloIII_v3 => 1.7.15 (DarkNekros) # [SuperPlumus] (2013-06-08 17-14) # gettext + clean [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" TITLE="Battle.net 64-Bit" WORKING_WINE_VERSION="3.0.3" EDITOR="Blizzard Entertainment Inc." EDITOR_URL="http://www.blizzard.com" PREFIX="Battlenet64Bit" AUTHOR="RavonTUS, SomeGuy42 and the POL Community, Moroth from us.battle.net forum" POL_GetSetupImages "http://media.blizzard.com/d3/media/artwork/artwork-templar-large.jpg" "https://2.bp.blogspot.com/-c8MeJxIShqQ/WHkheS9i48I/AAAAAAAAAF0/pka7KSf-OA4yBePsdz6sSSHFkh2fi3PfACLcB/s1600/BN.jpg" "$TITLE" POL_SetupWindow_Init POL_SetupWindow_SetID 2599 POL_Debug_Init POL_Debug_Message "Starting Install -----------------------------" POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$EDITOR_URL" "$AUTHOR" "$PREFIX" # POL_System_SetArch "x86" POL_System_SetArch "amd64" POL_System_TmpCreate "$PREFIX" POL_SetupWindow_message "$(eval_gettext 'NOTICE: This will install the Battle.net application first and configure the settings for Diablo 3.')\n\n$(eval_gettext 'The Battle.net install may take longer than expected to complete, but it usually works. For example if it appears not to continue at the Installation Location window, wait a couple minutes and try clicking the Continue button again.')" # I was hoping this would help, because the default POL had hash error, but it really doesn't (13-Jan-2017) POL_Debug_Message "Downloading wintrust.dll wintrust -------------" POL_Download_Resource "http://files.playonlinux.com/wintrust_dll.zip" # Installing DLL POL_SetupWindow_wait_next_signal "$(eval_gettext 'Installing wintrust DLL...')" "$TITLE" cd "$WINEPREFIX/drive_c/windows/temp" unzip "$POL_USER_ROOT/ressources/wintrust_dll.zip" if [ "$POL_ARCH" == "amd64" ]; then cp -f wintrust.dll ../syswow64/ else cp -f wintrust.dll ../system32/ fi POL_Wine regsvr32 wintrust.dll #I was hoping this would help, because the default POL had hash error, but it really doesn't (13-Jan-2017) POL_Debug_Message "Downloading wintrust.dll wininet -------------" #POL_Download_Resource "http://web.archive.org/web/*/IE5.01sp4-KB871260-Windows2000sp4-x86-ENU.exe" POL_Download_Resource "http://x3270.bgp.nu/download/specials/W2KSP4_EN.EXE" cd "$WINEPREFIX/drive_c/windows/temp" cabextract "$POL_USER_ROOT/ressources/IE5.01sp4-KB871260-Windows2000sp4-x86-ENU.exe" -F WININET.DLL if [ "$POL_ARCH" = "amd64" ]; then cp -f WININET.DLL ../syswow64/wininet.dll else cp -f WININET.DLL ../system32/wininet.dll fi #I was hoping this would help, because the default POL had hash error, but it really doesn't (13-Jan-2017) POL_Debug_Message "Downloading wintrust.dll winhttp -------------" POL_Download_Resource "http://web.archive.org/web/20160129053851/http://download.microsoft.com/download/E/6/A/E6A04295-D2A8-40D0-A0C5-241BFECD095E/W2KSP4_EN.EXE" cd "$WINEPREFIX/drive_c/windows/temp" cabextract "$POL_USER_ROOT/ressources/W2KSP4_EN.EXE" -F i386/new/winhttp.dl_ if [ "$POL_ARCH" = "amd64" ]; then cp -f i386/new/winhttp.dl_ ../syswow64/winhttp.dll else cp -f i386/new/winhttp.dl_ ../system32/winhttp.dll fi POL_Debug_Message "Downloading Install File -------------" cd "$POL_System_TmpDir" # Battle.net now has a universal installer with language selection at start POL_Download "https://www.battle.net/download/getInstallerForGame?os=win&version=LIVE&gameProgram=BATTLENET_APP/Battle.net-Setup.exe" SetupIs="$POL_System_TmpDir/Battle.net-Setup.exe" # Removed the DVD option as it has a really old installer and game files and isn't worth using IMHO POL_Debug_Message "Creating Wine Install ------------------------" POL_Wine_SelectPrefix "$PREFIX" POL_Wine_PrefixCreate "$WORKING_WINE_VERSION" POL_Debug_Message "Setting Wine Variables -----------------------" # win7 has better D3 performance but issues with battle.net-need to turn browser hardware acceleration off in B.net Set_OS "win10" POL_Wine_OverrideDLL "native,builtin" "msvcp100" POL_Wine_OverrideDLL "native,builtin" "msvcp140" POL_Wine_OverrideDLL "native,builtin" "vcruntime140" POL_Wine_OverrideDLL "native,builtin" "ucrtbase" POL_Wine_OverrideDLL "native,builtin" "api-ms-win-crt-runtime-l1-1-0" POL_Wine_OverrideDLL "native,builtin" "api-ms-win-crt-stdio-l1-1-0" POL_Wine_OverrideDLL "native,builtin" "api-ms-win-crt-heap-l1-1-0" POL_Wine_OverrideDLL "native,builtin" "api-ms-win-crt-locale-l1-1-0" POL_Wine_OverrideDLL "native,builtin" "api-ms-win-crt-math-l1-1-0" POL_Wine_OverrideDLL "native,builtin" "api-ms-win-crt-convert-l1-1-0" #Not sure these are really needed (04-JAN-2017) POL_Wine_OverrideDLL "native,builtin" "d3dcompiler_43" "d3dcompiler_42" POL_Wine_OverrideDLL "native,builtin" "winhttp" "wininet" "winitrust" POL_Wine_OverrideDLL "native,builtin" "dnsapi" # Dependencies (04-JAN-2017) POL_Call POL_Install_corefonts POL_Call POL_Install_RegisterFonts POL_Call POL_install_tahoma POL_Call POL_install_tahoma2 POL_Call POL_install_gdiplus POL_Call POL_install_gecko POL_Call POL_Install_riched20 POL_Call POL_Install_riched30 POL_Call POL_install_dxfullsetup POL_Call POL_Install_d3dx11 POL_Call POL_Install_vcrun2008 POL_Call POL_Install_vcrun2013 POL_Call POL_Install_Physx #The following fails to install (Cannot verify hash) as of 04-JAN-2017, I think it would have help remove some errors at the start of the client, but runs ok without it #POL_Call POL_Install_winhttp #bug 5221 2016-03-07 #POL_Call POL_Install_wininet #bug 5414 2016-12-05 #POL_Call POL_Install_wintrust fails to veriy hash too POL_Debug_Message "Running Install File -------------------------" POL_Wine_WaitBefore "$TITLE" POL_Wine "$SetupIs" POL_SetupWindow_VMS "1024" POL_System_TmpDelete POL_Debug_Message "Creating Shortcut ----------------------------" POL_Shortcut "Battle.net Launcher.exe" "$TITLE" "" "" "Game" POL_Debug_Message "Install Completed ----------------------------" POL_SetupWindow_message "$(eval_gettext 'Battle.net Installation Complete')\n\n$(eval_gettext 'IMPORTANT: Please start the application and disable -Use browser hardware acceleration- under Settings (gear icon upper right) ->Advanced and restart the app. THEN login to Battle.net and download/locate the $TITLE game files.')\n\n$(eval_gettext 'TIP: In the Battle.net application you may need to move the mouse into the content of the drop menus for them to show.')" POL_SetupWindow_message "$(eval_gettext 'After Diablo III Installation Complete')\n\n$(eval_gettext 'BETA: The 64-bit may or may not work with yet. (I currently get Unable to initialize D3D). If it fails, switch to the 32-bit client.')\n\n$(eval_gettext 'IMPORTANT: Please change to the 32-bit client by starting Battle.net. Click the Options (gear icon below logo). You may need to click and move the mouse down, in order for the menu to appear. Click Game Settings, then put a check mark in the Launch 32-bit client (instead of 64-bit). Then click Done.')" POL_SetupWindow_message "$(eval_gettext 'Improve performance after the install, Go to Configure, Select that version under Wine Version, Right click on Diablo II for Configure Wine, Click on Staging Tab, Check Enable_CSMT for better graphic performance, then OK')" POL_SetupWindow_Close POL_Wine_reboot exit 0 |
Contributions
Filters:
ContribuerMembre | Messages |
neojade | Vendredi 15 Avril 2022 à 2:09 |
neojade
|
MessagesGood day folks, Just wanted to relay that I got this working through POL. It wasn't able to install through the recommended Wine so I used the interface to get the latest Wine for x86 and x64. The x64 wine just finished installing Hearthstone and I am able to login to the game successfully now. Using: Dell OptiPlex 5050 with generic Intel Graphics (until next paycheck when I can get a new graphics card lol!) Fresh install of Ubuntu MATE 20.04 Just thought I'd pass the information along as it was just a simple fix and got my game working. Best wishes to all. :) Réponses |
wub1 | Jeudi 18 Mars 2021 à 14:34 |
wub1
|
Messagesdoes not work on m1 mac :( Réponses |
kmelia | Mercredi 24 Février 2021 à 18:26 |
kmelia
|
MessagesAvec la dernière énorme mise à jour du client Battle.net, on a le droit à un écran noir lors de l'affichage du client. En fait, il manque Direct3D 11 qu'il faut ajouter ! Si ça intéresse des gens, j'ai mis à jour mon script : https://cameliaweb.fr/blog/jeux-video-gaming/bienvenue-sur-le-nouveau-battle-net RéponsesJeudi 18 Mars 2021 à 15:54
|
mefun | Samedi 9 Janvier 2021 à 18:06 |
mefun
|
MessagesWith some changes i can on 64Bit install WOW. Workflow: 8. Install Vulkan somethink like that 9. CHECK Vulkan via commands on linux with: vkcube and vulkaninfo 10. Install DXVK At the end it is Still not possible to start the game :-| My last problem was and is: Last try was to install wmp10 but it fails happy hacking Réponses |
Dadu042 | Lundi 23 Mars 2020 à 0:09 |
Dadu042
|
InformationCette mise à jour a été acceptée par l'équipe Differences@@ -16,6 +16,8 @@ # AMD FX(tm)-6300 Six-Core Processor × 6 # CHANGELOG +# [Dadu042] (2020-03-23 00-08) +# Wine "2.0-rc3-staging" (outdated) -> 3.0.3 # [RavonTUS] (14-JAN-2017) # added testing of other games # [RavonTUS] (12-JAN-2017) @@ -37,7 +39,7 @@ source "$PLAYONLINUX/lib/sources" TITLE="Battle.net 64-Bit" -WORKING_WINE_VERSION="2.0-rc3-staging" +WORKING_WINE_VERSION="3.0.3" EDITOR="Blizzard Entertainment Inc." EDITOR_URL="http://www.blizzard.com" PREFIX="Battlenet64Bit" @@ -51,13 +53,13 @@ POL_Debug_Message "Starting Install -----------------------------" POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$EDITOR_URL" "$AUTHOR" "$PREFIX" -#POL_System_SetArch "x86" +# POL_System_SetArch "x86" POL_System_SetArch "amd64" POL_System_TmpCreate "$PREFIX" POL_SetupWindow_message "$(eval_gettext 'NOTICE: This will install the Battle.net application first and configure the settings for Diablo 3.')\n\n$(eval_gettext 'The Battle.net install may take longer than expected to complete, but it usually works. For example if it appears not to continue at the Installation Location window, wait a couple minutes and try clicking the Continue button again.')" -#I was hoping this would help, because the default POL had hash error, but it really doesn't (13-Jan-2017) +# I was hoping this would help, because the default POL had hash error, but it really doesn't (13-Jan-2017) POL_Debug_Message "Downloading wintrust.dll wintrust -------------" POL_Download_Resource "http://files.playonlinux.com/wintrust_dll.zip" # Installing DLL Nouveau code source#!/usr/bin/env playonlinux-bash # Date : (2017-01-14) # Battle.Net Patch 1.6.0 - pass # World of Warcraft - installs but video is messed up # Diablo 3 Patch 2.4.3 (32-bit client) - pass # Diablo 3 Patch 2.4.3 (64-bit client) - fails D3D error # StarCart II - not tested # HearthStone 7.0.0 - pass # Heroes of the Strom 22.7.49495 (32-bit client) - pass # Heroes of the Strom 22.7.49495 (64-bit client) - pass, slow video # Overwatch - not tested # Wine version used : 2.0-rc3-staging # Distribution used to test : Ubuntu 16.04 LTS # NVIDIA binary driver v375.26 # NVidia GeForce GTX 960/PCIe/SSE2 # AMD FX(tm)-6300 Six-Core Processor × 6 # CHANGELOG # [Dadu042] (2020-03-23 00-08) # Wine "2.0-rc3-staging" (outdated) -> 3.0.3 # [RavonTUS] (14-JAN-2017) # added testing of other games # [RavonTUS] (12-JAN-2017) # added addition tips menu for better Diabo performance # tested other Blizzard games # [RavonTUS] (06-JAN-2017) # added Dependencies to improve the install # [SomeGuy42] (2016-11-22) # Wine 1.7.15 => 1.9.23 # Battle.net Patch 1.5.2 Build 8142 # Diablo 3 v2.4.2.41394 # Notes: install tweaked for D3 performance # [petch] (2014-03-24) # Wine 1.5.5-DiabloIII_v3 => 1.7.15 (DarkNekros) # [SuperPlumus] (2013-06-08 17-14) # gettext + clean [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" TITLE="Battle.net 64-Bit" WORKING_WINE_VERSION="3.0.3" EDITOR="Blizzard Entertainment Inc." EDITOR_URL="http://www.blizzard.com" PREFIX="Battlenet64Bit" AUTHOR="RavonTUS, SomeGuy42 and the POL Community, Moroth from us.battle.net forum" POL_GetSetupImages "http://media.blizzard.com/d3/media/artwork/artwork-templar-large.jpg" "https://2.bp.blogspot.com/-c8MeJxIShqQ/WHkheS9i48I/AAAAAAAAAF0/pka7KSf-OA4yBePsdz6sSSHFkh2fi3PfACLcB/s1600/BN.jpg" "$TITLE" POL_SetupWindow_Init POL_SetupWindow_SetID 2599 POL_Debug_Init POL_Debug_Message "Starting Install -----------------------------" POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$EDITOR_URL" "$AUTHOR" "$PREFIX" # POL_System_SetArch "x86" POL_System_SetArch "amd64" POL_System_TmpCreate "$PREFIX" POL_SetupWindow_message "$(eval_gettext 'NOTICE: This will install the Battle.net application first and configure the settings for Diablo 3.')\n\n$(eval_gettext 'The Battle.net install may take longer than expected to complete, but it usually works. For example if it appears not to continue at the Installation Location window, wait a couple minutes and try clicking the Continue button again.')" # I was hoping this would help, because the default POL had hash error, but it really doesn't (13-Jan-2017) POL_Debug_Message "Downloading wintrust.dll wintrust -------------" POL_Download_Resource "http://files.playonlinux.com/wintrust_dll.zip" # Installing DLL POL_SetupWindow_wait_next_signal "$(eval_gettext 'Installing wintrust DLL...')" "$TITLE" cd "$WINEPREFIX/drive_c/windows/temp" unzip "$POL_USER_ROOT/ressources/wintrust_dll.zip" if [ "$POL_ARCH" == "amd64" ]; then cp -f wintrust.dll ../syswow64/ else cp -f wintrust.dll ../system32/ fi POL_Wine regsvr32 wintrust.dll #I was hoping this would help, because the default POL had hash error, but it really doesn't (13-Jan-2017) POL_Debug_Message "Downloading wintrust.dll wininet -------------" #POL_Download_Resource "http://web.archive.org/web/*/IE5.01sp4-KB871260-Windows2000sp4-x86-ENU.exe" POL_Download_Resource "http://x3270.bgp.nu/download/specials/W2KSP4_EN.EXE" cd "$WINEPREFIX/drive_c/windows/temp" cabextract "$POL_USER_ROOT/ressources/IE5.01sp4-KB871260-Windows2000sp4-x86-ENU.exe" -F WININET.DLL if [ "$POL_ARCH" = "amd64" ]; then cp -f WININET.DLL ../syswow64/wininet.dll else cp -f WININET.DLL ../system32/wininet.dll fi #I was hoping this would help, because the default POL had hash error, but it really doesn't (13-Jan-2017) POL_Debug_Message "Downloading wintrust.dll winhttp -------------" POL_Download_Resource "http://web.archive.org/web/20160129053851/http://download.microsoft.com/download/E/6/A/E6A04295-D2A8-40D0-A0C5-241BFECD095E/W2KSP4_EN.EXE" cd "$WINEPREFIX/drive_c/windows/temp" cabextract "$POL_USER_ROOT/ressources/W2KSP4_EN.EXE" -F i386/new/winhttp.dl_ if [ "$POL_ARCH" = "amd64" ]; then cp -f i386/new/winhttp.dl_ ../syswow64/winhttp.dll else cp -f i386/new/winhttp.dl_ ../system32/winhttp.dll fi POL_Debug_Message "Downloading Install File -------------" cd "$POL_System_TmpDir" # Battle.net now has a universal installer with language selection at start POL_Download "https://www.battle.net/download/getInstallerForGame?os=win&version=LIVE&gameProgram=BATTLENET_APP/Battle.net-Setup.exe" SetupIs="$POL_System_TmpDir/Battle.net-Setup.exe" # Removed the DVD option as it has a really old installer and game files and isn't worth using IMHO POL_Debug_Message "Creating Wine Install ------------------------" POL_Wine_SelectPrefix "$PREFIX" POL_Wine_PrefixCreate "$WORKING_WINE_VERSION" POL_Debug_Message "Setting Wine Variables -----------------------" # win7 has better D3 performance but issues with battle.net-need to turn browser hardware acceleration off in B.net Set_OS "win10" POL_Wine_OverrideDLL "native,builtin" "msvcp100" POL_Wine_OverrideDLL "native,builtin" "msvcp140" POL_Wine_OverrideDLL "native,builtin" "vcruntime140" POL_Wine_OverrideDLL "native,builtin" "ucrtbase" POL_Wine_OverrideDLL "native,builtin" "api-ms-win-crt-runtime-l1-1-0" POL_Wine_OverrideDLL "native,builtin" "api-ms-win-crt-stdio-l1-1-0" POL_Wine_OverrideDLL "native,builtin" "api-ms-win-crt-heap-l1-1-0" POL_Wine_OverrideDLL "native,builtin" "api-ms-win-crt-locale-l1-1-0" POL_Wine_OverrideDLL "native,builtin" "api-ms-win-crt-math-l1-1-0" POL_Wine_OverrideDLL "native,builtin" "api-ms-win-crt-convert-l1-1-0" #Not sure these are really needed (04-JAN-2017) POL_Wine_OverrideDLL "native,builtin" "d3dcompiler_43" "d3dcompiler_42" POL_Wine_OverrideDLL "native,builtin" "winhttp" "wininet" "winitrust" POL_Wine_OverrideDLL "native,builtin" "dnsapi" # Dependencies (04-JAN-2017) POL_Call POL_Install_corefonts POL_Call POL_Install_RegisterFonts POL_Call POL_install_tahoma POL_Call POL_install_tahoma2 POL_Call POL_install_gdiplus POL_Call POL_install_gecko POL_Call POL_Install_riched20 POL_Call POL_Install_riched30 POL_Call POL_install_dxfullsetup POL_Call POL_Install_d3dx11 POL_Call POL_Install_vcrun2008 POL_Call POL_Install_vcrun2013 POL_Call POL_Install_Physx #The following fails to install (Cannot verify hash) as of 04-JAN-2017, I think it would have help remove some errors at the start of the client, but runs ok without it #POL_Call POL_Install_winhttp #bug 5221 2016-03-07 #POL_Call POL_Install_wininet #bug 5414 2016-12-05 #POL_Call POL_Install_wintrust fails to veriy hash too POL_Debug_Message "Running Install File -------------------------" POL_Wine_WaitBefore "$TITLE" POL_Wine "$SetupIs" POL_SetupWindow_VMS "1024" POL_System_TmpDelete POL_Debug_Message "Creating Shortcut ----------------------------" POL_Shortcut "Battle.net Launcher.exe" "$TITLE" "" "" "Game" POL_Debug_Message "Install Completed ----------------------------" POL_SetupWindow_message "$(eval_gettext 'Battle.net Installation Complete')\n\n$(eval_gettext 'IMPORTANT: Please start the application and disable -Use browser hardware acceleration- under Settings (gear icon upper right) ->Advanced and restart the app. THEN login to Battle.net and download/locate the $TITLE game files.')\n\n$(eval_gettext 'TIP: In the Battle.net application you may need to move the mouse into the content of the drop menus for them to show.')" POL_SetupWindow_message "$(eval_gettext 'After Diablo III Installation Complete')\n\n$(eval_gettext 'BETA: The 64-bit may or may not work with yet. (I currently get Unable to initialize D3D). If it fails, switch to the 32-bit client.')\n\n$(eval_gettext 'IMPORTANT: Please change to the 32-bit client by starting Battle.net. Click the Options (gear icon below logo). You may need to click and move the mouse down, in order for the menu to appear. Click Game Settings, then put a check mark in the Launch 32-bit client (instead of 64-bit). Then click Done.')" POL_SetupWindow_message "$(eval_gettext 'Improve performance after the install, Go to Configure, Select that version under Wine Version, Right click on Diablo II for Configure Wine, Click on Staging Tab, Check Enable_CSMT for better graphic performance, then OK')" POL_SetupWindow_Close POL_Wine_reboot exit 0 Réponses |
sokol99 | Dimanche 15 Mars 2020 à 22:23 |
sokol99
|
MessagesHi. Just some quick feeback. I tried to install it on my mint19.1 system (an older imac) and it got stuck at a step where it was creating the virtual drive. A tiny sliver-sized window appeared to pop up and apparently needed some response to continue. When I tried to expand it it just sort of hung there and also wouldn't close when I tried. So I couldn't proceed from that point. I ended up installing the 64 bit version of battle.net with a slightlyl modified version of this script and it seems to have worked -- at least on the surface. https://www.playonlinux.com/en/app-2599.html On this 64 bit version, I succesfully installed Warcraft III but when I click "Play" no new window appears even though the battle.net window says it is running. Hoping you've seen this or know what could be done? Thanks, sokol99 RéponsesLundi 23 Mars 2020 à 0:05
|
morphalou | Dimanche 15 Mars 2020 à 2:28 |
morphalou
|
MessagesHello this script doesn't work.....some part of it are blocked and after 1h working...nothing more was installed....if somebody could help...that would be much appreciated... Réponses |
RavonTUS | Dimanche 15 Janvier 2017 à 6:05 |
RavonTUS
|
WarningCette mise à jour n'a pas été approuvée par l'équipe. MessagesWell that post did not go quite how I wanted it too. Here is the script. Differences@@ -0,0 +1,170 @@ +#!/usr/bin/env playonlinux-bash +# Date : (2017-01-14) +# Battle.Net Patch 1.6.0 - pass +# World of Warcraft - installs but video is messed up +# Diablo 3 Patch 2.4.3 (32-bit client) - pass +# Diablo 3 Patch 2.4.3 (64-bit client) - fails D3D error +# StarCart II - not tested +# HearthStone 7.0.0 - pass +# Heroes of the Strom 22.7.49495 (32-bit client) - pass +# Heroes of the Strom 22.7.49495 (64-bit client) - pass, slow video +# Overwatch - not tested +# Wine version used : 2.0-rc3-staging +# Distribution used to test : Ubuntu 16.04 LTS +# NVIDIA binary driver v375.26 +# NVidia GeForce GTX 960/PCIe/SSE2 +# AMD FX(tm)-6300 Six-Core Processor × 6 + +# CHANGELOG +# [RavonTUS] (14-JAN-2017) +# added testing of other games +# [RavonTUS] (12-JAN-2017) +# added addition tips menu for better Diabo performance +# tested other Blizzard games +# [RavonTUS] (06-JAN-2017) +# added Dependencies to improve the install +# [SomeGuy42] (2016-11-22) +# Wine 1.7.15 => 1.9.23 +# Battle.net Patch 1.5.2 Build 8142 +# Diablo 3 v2.4.2.41394 +# Notes: install tweaked for D3 performance +# [petch] (2014-03-24) +# Wine 1.5.5-DiabloIII_v3 => 1.7.15 (DarkNekros) +# [SuperPlumus] (2013-06-08 17-14) +# gettext + clean + +[ "$PLAYONLINUX" = "" ] && exit 0 +source "$PLAYONLINUX/lib/sources" + +TITLE="Battle.net 64-Bit" +WORKING_WINE_VERSION="2.0-rc3-staging" +EDITOR="Blizzard Entertainment Inc." +EDITOR_URL="http://www.blizzard.com" +PREFIX="Battlenet64Bit" +AUTHOR="RavonTUS, SomeGuy42 and the POL Community, Moroth from us.battle.net forum" + +POL_GetSetupImages "http://media.blizzard.com/d3/media/artwork/artwork-templar-large.jpg" "https://2.bp.blogspot.com/-c8MeJxIShqQ/WHkheS9i48I/AAAAAAAAAF0/pka7KSf-OA4yBePsdz6sSSHFkh2fi3PfACLcB/s1600/BN.jpg" "$TITLE" +POL_SetupWindow_Init +POL_SetupWindow_SetID 2599 +POL_Debug_Init + +POL_Debug_Message "Starting Install -----------------------------" +POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$EDITOR_URL" "$AUTHOR" "$PREFIX" + +#POL_System_SetArch "x86" +POL_System_SetArch "amd64" +POL_System_TmpCreate "$PREFIX" + +POL_SetupWindow_message "$(eval_gettext 'NOTICE: This will install the Battle.net application first and configure the settings for Diablo 3.')\n\n$(eval_gettext 'The Battle.net install may take longer than expected to complete, but it usually works. For example if it appears not to continue at the Installation Location window, wait a couple minutes and try clicking the Continue button again.')" + +#I was hoping this would help, because the default POL had hash error, but it really doesn't (13-Jan-2017) +POL_Debug_Message "Downloading wintrust.dll wintrust -------------" +POL_Download_Resource "http://files.playonlinux.com/wintrust_dll.zip" +# Installing DLL +POL_SetupWindow_wait_next_signal "$(eval_gettext 'Installing wintrust DLL...')" "$TITLE" +cd "$WINEPREFIX/drive_c/windows/temp" +unzip "$POL_USER_ROOT/ressources/wintrust_dll.zip" +if [ "$POL_ARCH" == "amd64" ]; then + cp -f wintrust.dll ../syswow64/ +else + cp -f wintrust.dll ../system32/ +fi + +POL_Wine regsvr32 wintrust.dll + +#I was hoping this would help, because the default POL had hash error, but it really doesn't (13-Jan-2017) +POL_Debug_Message "Downloading wintrust.dll wininet -------------" +#POL_Download_Resource "http://web.archive.org/web/*/IE5.01sp4-KB871260-Windows2000sp4-x86-ENU.exe" +POL_Download_Resource "http://x3270.bgp.nu/download/specials/W2KSP4_EN.EXE" +cd "$WINEPREFIX/drive_c/windows/temp" +cabextract "$POL_USER_ROOT/ressources/IE5.01sp4-KB871260-Windows2000sp4-x86-ENU.exe" -F WININET.DLL + +if [ "$POL_ARCH" = "amd64" ]; then + cp -f WININET.DLL ../syswow64/wininet.dll +else + cp -f WININET.DLL ../system32/wininet.dll +fi + +#I was hoping this would help, because the default POL had hash error, but it really doesn't (13-Jan-2017) +POL_Debug_Message "Downloading wintrust.dll winhttp -------------" +POL_Download_Resource "http://web.archive.org/web/20160129053851/http://download.microsoft.com/download/E/6/A/E6A04295-D2A8-40D0-A0C5-241BFECD095E/W2KSP4_EN.EXE" +cd "$WINEPREFIX/drive_c/windows/temp" +cabextract "$POL_USER_ROOT/ressources/W2KSP4_EN.EXE" -F i386/new/winhttp.dl_ +if [ "$POL_ARCH" = "amd64" ]; then + cp -f i386/new/winhttp.dl_ ../syswow64/winhttp.dll +else + cp -f i386/new/winhttp.dl_ ../system32/winhttp.dll +fi + +POL_Debug_Message "Downloading Install File -------------" +cd "$POL_System_TmpDir" +# Battle.net now has a universal installer with language selection at start +POL_Download "https://www.battle.net/download/getInstallerForGame?os=win&version=LIVE&gameProgram=BATTLENET_APP/Battle.net-Setup.exe" +SetupIs="$POL_System_TmpDir/Battle.net-Setup.exe" + +# Removed the DVD option as it has a really old installer and game files and isn't worth using IMHO + +POL_Debug_Message "Creating Wine Install ------------------------" +POL_Wine_SelectPrefix "$PREFIX" +POL_Wine_PrefixCreate "$WORKING_WINE_VERSION" + +POL_Debug_Message "Setting Wine Variables -----------------------" +# win7 has better D3 performance but issues with battle.net-need to turn browser hardware acceleration off in B.net +Set_OS "win10" + +POL_Wine_OverrideDLL "native,builtin" "msvcp100" +POL_Wine_OverrideDLL "native,builtin" "msvcp140" +POL_Wine_OverrideDLL "native,builtin" "vcruntime140" +POL_Wine_OverrideDLL "native,builtin" "ucrtbase" +POL_Wine_OverrideDLL "native,builtin" "api-ms-win-crt-runtime-l1-1-0" +POL_Wine_OverrideDLL "native,builtin" "api-ms-win-crt-stdio-l1-1-0" +POL_Wine_OverrideDLL "native,builtin" "api-ms-win-crt-heap-l1-1-0" +POL_Wine_OverrideDLL "native,builtin" "api-ms-win-crt-locale-l1-1-0" +POL_Wine_OverrideDLL "native,builtin" "api-ms-win-crt-math-l1-1-0" +POL_Wine_OverrideDLL "native,builtin" "api-ms-win-crt-convert-l1-1-0" + +#Not sure these are really needed (04-JAN-2017) +POL_Wine_OverrideDLL "native,builtin" "d3dcompiler_43" "d3dcompiler_42" +POL_Wine_OverrideDLL "native,builtin" "winhttp" "wininet" "winitrust" +POL_Wine_OverrideDLL "native,builtin" "dnsapi" + +# Dependencies (04-JAN-2017) +POL_Call POL_Install_corefonts +POL_Call POL_Install_RegisterFonts +POL_Call POL_install_tahoma +POL_Call POL_install_tahoma2 +POL_Call POL_install_gdiplus +POL_Call POL_install_gecko +POL_Call POL_Install_riched20 +POL_Call POL_Install_riched30 +POL_Call POL_install_dxfullsetup +POL_Call POL_Install_d3dx11 +POL_Call POL_Install_vcrun2008 +POL_Call POL_Install_vcrun2013 +POL_Call POL_Install_Physx +#The following fails to install (Cannot verify hash) as of 04-JAN-2017, I think it would have help remove some errors at the start of the client, but runs ok without it +#POL_Call POL_Install_winhttp #bug 5221 2016-03-07 +#POL_Call POL_Install_wininet #bug 5414 2016-12-05 +#POL_Call POL_Install_wintrust fails to veriy hash too + +POL_Debug_Message "Running Install File -------------------------" +POL_Wine_WaitBefore "$TITLE" +POL_Wine "$SetupIs" + +POL_SetupWindow_VMS "1024" +POL_System_TmpDelete + +POL_Debug_Message "Creating Shortcut ----------------------------" +POL_Shortcut "Battle.net Launcher.exe" "$TITLE" "" "" "Game" + +POL_Debug_Message "Install Completed ----------------------------" + +POL_SetupWindow_message "$(eval_gettext 'Battle.net Installation Complete')\n\n$(eval_gettext 'IMPORTANT: Please start the application and disable -Use browser hardware acceleration- under Settings (gear icon upper right) ->Advanced and restart the app. THEN login to Battle.net and download/locate the $TITLE game files.')\n\n$(eval_gettext 'TIP: In the Battle.net application you may need to move the mouse into the content of the drop menus for them to show.')" + +POL_SetupWindow_message "$(eval_gettext 'After Diablo III Installation Complete')\n\n$(eval_gettext 'BETA: The 64-bit may or may not work with yet. (I currently get Unable to initialize D3D). If it fails, switch to the 32-bit client.')\n\n$(eval_gettext 'IMPORTANT: Please change to the 32-bit client by starting Battle.net. Click the Options (gear icon below logo). You may need to click and move the mouse down, in order for the menu to appear. Click Game Settings, then put a check mark in the Launch 32-bit client (instead of 64-bit). Then click Done.')" + +POL_SetupWindow_message "$(eval_gettext 'Improve performance after the install, Go to Configure, Select that version under Wine Version, Right click on Diablo II for Configure Wine, Click on Staging Tab, Check Enable_CSMT for better graphic performance, then OK')" + +POL_SetupWindow_Close +POL_Wine_reboot +exit 0 \ No newline at end of file Nouveau code source#!/usr/bin/env playonlinux-bash # Date : (2017-01-14) # Battle.Net Patch 1.6.0 - pass # World of Warcraft - installs but video is messed up # Diablo 3 Patch 2.4.3 (32-bit client) - pass # Diablo 3 Patch 2.4.3 (64-bit client) - fails D3D error # StarCart II - not tested # HearthStone 7.0.0 - pass # Heroes of the Strom 22.7.49495 (32-bit client) - pass # Heroes of the Strom 22.7.49495 (64-bit client) - pass, slow video # Overwatch - not tested # Wine version used : 2.0-rc3-staging # Distribution used to test : Ubuntu 16.04 LTS # NVIDIA binary driver v375.26 # NVidia GeForce GTX 960/PCIe/SSE2 # AMD FX(tm)-6300 Six-Core Processor × 6 # CHANGELOG # [RavonTUS] (14-JAN-2017) # added testing of other games # [RavonTUS] (12-JAN-2017) # added addition tips menu for better Diabo performance # tested other Blizzard games # [RavonTUS] (06-JAN-2017) # added Dependencies to improve the install # [SomeGuy42] (2016-11-22) # Wine 1.7.15 => 1.9.23 # Battle.net Patch 1.5.2 Build 8142 # Diablo 3 v2.4.2.41394 # Notes: install tweaked for D3 performance # [petch] (2014-03-24) # Wine 1.5.5-DiabloIII_v3 => 1.7.15 (DarkNekros) # [SuperPlumus] (2013-06-08 17-14) # gettext + clean [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" TITLE="Battle.net 64-Bit" WORKING_WINE_VERSION="2.0-rc3-staging" EDITOR="Blizzard Entertainment Inc." EDITOR_URL="http://www.blizzard.com" PREFIX="Battlenet64Bit" AUTHOR="RavonTUS, SomeGuy42 and the POL Community, Moroth from us.battle.net forum" POL_GetSetupImages "http://media.blizzard.com/d3/media/artwork/artwork-templar-large.jpg" "https://2.bp.blogspot.com/-c8MeJxIShqQ/WHkheS9i48I/AAAAAAAAAF0/pka7KSf-OA4yBePsdz6sSSHFkh2fi3PfACLcB/s1600/BN.jpg" "$TITLE" POL_SetupWindow_Init POL_SetupWindow_SetID 2599 POL_Debug_Init POL_Debug_Message "Starting Install -----------------------------" POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$EDITOR_URL" "$AUTHOR" "$PREFIX" #POL_System_SetArch "x86" POL_System_SetArch "amd64" POL_System_TmpCreate "$PREFIX" POL_SetupWindow_message "$(eval_gettext 'NOTICE: This will install the Battle.net application first and configure the settings for Diablo 3.')\n\n$(eval_gettext 'The Battle.net install may take longer than expected to complete, but it usually works. For example if it appears not to continue at the Installation Location window, wait a couple minutes and try clicking the Continue button again.')" #I was hoping this would help, because the default POL had hash error, but it really doesn't (13-Jan-2017) POL_Debug_Message "Downloading wintrust.dll wintrust -------------" POL_Download_Resource "http://files.playonlinux.com/wintrust_dll.zip" # Installing DLL POL_SetupWindow_wait_next_signal "$(eval_gettext 'Installing wintrust DLL...')" "$TITLE" cd "$WINEPREFIX/drive_c/windows/temp" unzip "$POL_USER_ROOT/ressources/wintrust_dll.zip" if [ "$POL_ARCH" == "amd64" ]; then cp -f wintrust.dll ../syswow64/ else cp -f wintrust.dll ../system32/ fi POL_Wine regsvr32 wintrust.dll #I was hoping this would help, because the default POL had hash error, but it really doesn't (13-Jan-2017) POL_Debug_Message "Downloading wintrust.dll wininet -------------" #POL_Download_Resource "http://web.archive.org/web/*/IE5.01sp4-KB871260-Windows2000sp4-x86-ENU.exe" POL_Download_Resource "http://x3270.bgp.nu/download/specials/W2KSP4_EN.EXE" cd "$WINEPREFIX/drive_c/windows/temp" cabextract "$POL_USER_ROOT/ressources/IE5.01sp4-KB871260-Windows2000sp4-x86-ENU.exe" -F WININET.DLL if [ "$POL_ARCH" = "amd64" ]; then cp -f WININET.DLL ../syswow64/wininet.dll else cp -f WININET.DLL ../system32/wininet.dll fi #I was hoping this would help, because the default POL had hash error, but it really doesn't (13-Jan-2017) POL_Debug_Message "Downloading wintrust.dll winhttp -------------" POL_Download_Resource "http://web.archive.org/web/20160129053851/http://download.microsoft.com/download/E/6/A/E6A04295-D2A8-40D0-A0C5-241BFECD095E/W2KSP4_EN.EXE" cd "$WINEPREFIX/drive_c/windows/temp" cabextract "$POL_USER_ROOT/ressources/W2KSP4_EN.EXE" -F i386/new/winhttp.dl_ if [ "$POL_ARCH" = "amd64" ]; then cp -f i386/new/winhttp.dl_ ../syswow64/winhttp.dll else cp -f i386/new/winhttp.dl_ ../system32/winhttp.dll fi POL_Debug_Message "Downloading Install File -------------" cd "$POL_System_TmpDir" # Battle.net now has a universal installer with language selection at start POL_Download "https://www.battle.net/download/getInstallerForGame?os=win&version=LIVE&gameProgram=BATTLENET_APP/Battle.net-Setup.exe" SetupIs="$POL_System_TmpDir/Battle.net-Setup.exe" # Removed the DVD option as it has a really old installer and game files and isn't worth using IMHO POL_Debug_Message "Creating Wine Install ------------------------" POL_Wine_SelectPrefix "$PREFIX" POL_Wine_PrefixCreate "$WORKING_WINE_VERSION" POL_Debug_Message "Setting Wine Variables -----------------------" # win7 has better D3 performance but issues with battle.net-need to turn browser hardware acceleration off in B.net Set_OS "win10" POL_Wine_OverrideDLL "native,builtin" "msvcp100" POL_Wine_OverrideDLL "native,builtin" "msvcp140" POL_Wine_OverrideDLL "native,builtin" "vcruntime140" POL_Wine_OverrideDLL "native,builtin" "ucrtbase" POL_Wine_OverrideDLL "native,builtin" "api-ms-win-crt-runtime-l1-1-0" POL_Wine_OverrideDLL "native,builtin" "api-ms-win-crt-stdio-l1-1-0" POL_Wine_OverrideDLL "native,builtin" "api-ms-win-crt-heap-l1-1-0" POL_Wine_OverrideDLL "native,builtin" "api-ms-win-crt-locale-l1-1-0" POL_Wine_OverrideDLL "native,builtin" "api-ms-win-crt-math-l1-1-0" POL_Wine_OverrideDLL "native,builtin" "api-ms-win-crt-convert-l1-1-0" #Not sure these are really needed (04-JAN-2017) POL_Wine_OverrideDLL "native,builtin" "d3dcompiler_43" "d3dcompiler_42" POL_Wine_OverrideDLL "native,builtin" "winhttp" "wininet" "winitrust" POL_Wine_OverrideDLL "native,builtin" "dnsapi" # Dependencies (04-JAN-2017) POL_Call POL_Install_corefonts POL_Call POL_Install_RegisterFonts POL_Call POL_install_tahoma POL_Call POL_install_tahoma2 POL_Call POL_install_gdiplus POL_Call POL_install_gecko POL_Call POL_Install_riched20 POL_Call POL_Install_riched30 POL_Call POL_install_dxfullsetup POL_Call POL_Install_d3dx11 POL_Call POL_Install_vcrun2008 POL_Call POL_Install_vcrun2013 POL_Call POL_Install_Physx #The following fails to install (Cannot verify hash) as of 04-JAN-2017, I think it would have help remove some errors at the start of the client, but runs ok without it #POL_Call POL_Install_winhttp #bug 5221 2016-03-07 #POL_Call POL_Install_wininet #bug 5414 2016-12-05 #POL_Call POL_Install_wintrust fails to veriy hash too POL_Debug_Message "Running Install File -------------------------" POL_Wine_WaitBefore "$TITLE" POL_Wine "$SetupIs" POL_SetupWindow_VMS "1024" POL_System_TmpDelete POL_Debug_Message "Creating Shortcut ----------------------------" POL_Shortcut "Battle.net Launcher.exe" "$TITLE" "" "" "Game" POL_Debug_Message "Install Completed ----------------------------" POL_SetupWindow_message "$(eval_gettext 'Battle.net Installation Complete')\n\n$(eval_gettext 'IMPORTANT: Please start the application and disable -Use browser hardware acceleration- under Settings (gear icon upper right) ->Advanced and restart the app. THEN login to Battle.net and download/locate the $TITLE game files.')\n\n$(eval_gettext 'TIP: In the Battle.net application you may need to move the mouse into the content of the drop menus for them to show.')" POL_SetupWindow_message "$(eval_gettext 'After Diablo III Installation Complete')\n\n$(eval_gettext 'BETA: The 64-bit may or may not work with yet. (I currently get Unable to initialize D3D). If it fails, switch to the 32-bit client.')\n\n$(eval_gettext 'IMPORTANT: Please change to the 32-bit client by starting Battle.net. Click the Options (gear icon below logo). You may need to click and move the mouse down, in order for the menu to appear. Click Game Settings, then put a check mark in the Launch 32-bit client (instead of 64-bit). Then click Done.')" POL_SetupWindow_message "$(eval_gettext 'Improve performance after the install, Go to Configure, Select that version under Wine Version, Right click on Diablo II for Configure Wine, Click on Staging Tab, Check Enable_CSMT for better graphic performance, then OK')" POL_SetupWindow_Close POL_Wine_reboot exit 0 RéponsesVendredi 2 Aoüt 2019 à 17:35
|
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