Starcraft II Wings of Liberty
Informations
Creator | Message |
---|---|
Tutul
|
InformationThis installer has been approved by the team. InformationsPlatforms: Feedbacks4 13 DescriptionFrançais : Screenshots
Source code#!/bin/bash # Date : (2018-02-02 12:48) # Last revision : (2018-12-09 23:24) # Wine version used : 3.19-staging # Distribution used to test : Ubuntu 18.04 x64 # Author : LinuxScripter # Licence : Retail [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" TITLE="StarCraft II" EDITOR="Blizzard" AUTHOR="LinuxScripter" GAME_URL="http://eu.battle.net/sc2/en/" PREFIX="StarCraft2" WORKING_WINE_VERSION="3.19-staging" # Starting the script POL_GetSetupImages "http://files.playonlinux.com/resources/setups/starcraft2_wol/top.jpg" "http://files.playonlinux.com/resources/setups/starcraft2_wol/left.jpg" "$TITLE" POL_SetupWindow_Init POL_Debug_Init POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX" # Setting prefix path POL_Wine_SelectPrefix "$PREFIX" # Downloading wine if necessary and creating prefix POL_System_SetArch "x86" POL_Wine_PrefixCreate "$WORKING_WINE_VERSION" # Needed for Battle.net POL_Call POL_Install_corefonts POL_Call POL_Install_vcrun2015 # Asking about memory size of graphic card POL_SetupWindow_VMS $GAME_VMS # Set Graphic Card information keys for wine POL_Wine_SetVideoDriver # Sound problem fix - pulseaudio related [ "$POL_OS" = "Linux" ] && Set_SoundDriver "alsa" [ "$POL_OS" = "Linux" ] && Set_SoundEmulDriver "Y" ## End Fix POL_SetupWindow_message "$(eval_gettext 'If you choose to install the DVD version you have to exit the installer after the instalation is done. The old patcher app does not work at all in wine. The script will terminate any .exe proceses in case you forgot. Then a patch will be downloaded. You will continue the update process through Blizzard App rather than build-in patcher./nYou will also have to use DNSProxy or else your profile will not load and all ""Play"" buttons will be unclickable/grayed out. Either that or remove the content of ""$WINEPREFIX/drive_c/ProgramData/Blizzard\ Entertainment/Battle.net/Cache/"" and kill Agent.exe/nSetting your graphics above medium might result in a crash when loading a level.')" # Choose between DVD and Digital Download version POL_SetupWindow_InstallMethod "DVD,LOCAL" if [ "$INSTALL_METHOD" == "DVD" ]; then # Asking for CDROM and checking if it's correct one POL_SetupWindow_message "$(eval_gettext 'Please insert game media into your disk drive\nif not already done.')" "$TITLE" POL_SetupWindow_cdrom POL_Call POL_Sudo_UnhideCdrom POL_SetupWindow_check_cdrom "Starcraft II Installer.app/Contents/Info.plist" POL_Wine start /unix "$CDROM/Installer.exe" POL_Wine_WaitExit "$CDROM/Installer.exe" [$(ps aux | grep -c *.exe) -lt 2] || killall *.exe cd "$POL_System_TmpDir" POL_Download "https://megagames2.online/downloads.php?file=sc2-1.4.2-enUS.exe&646965504532567d5954262e5a=1" POL_Wine start /unix "sc2-1.4.2-enUS.exe" POL_Wine_WaitExit "sc2-1.4.2-enUS.exe" else cd "$HOME" POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run:')" "$TITLE" SETUP_EXE="$APP_ANSWER" POL_Wine start /unix "$SETUP_EXE" POL_Wine_WaitExit "$TITLE" fi # Making shortcut POL_Shortcut "$WINEPREFIX/drive_c/Program Files/Battle.net/Battle.net.exe" "Battle.net($TITLE)" "" "" if [ "$INSTALL_METHOD" = "DVD" ]; then POL_Call POL_Sudo_RehideCdrom fi POL_SetupWindow_Close exit |
Contributions
Filters:
ContributeMember | Message | |||||||||||||||||||||||||||||||||
mourtag | Thursday 11 June 2020 at 17:35 | |||||||||||||||||||||||||||||||||
mourtag
|
||||||||||||||||||||||||||||||||||
nicobzz | Sunday 24 May 2020 at 15:19 | |||||||||||||||||||||||||||||||||
nicobzz
|
MessageHello,
RepliesSaturday 13 June 2020 at 0:49
|
|||||||||||||||||||||||||||||||||
benji | Wednesday 16 October 2019 at 23:34 | |||||||||||||||||||||||||||||||||
benji
|
MessageBattle.net does not run at all on my machine. It just freezes. No exception handling. No log file that I can reference. I have tried to reinstall several times to no avail. How do you start to troubleshoot this? RepliesThursday 17 October 2019 at 7:23
|
|||||||||||||||||||||||||||||||||
filesunknown | Saturday 9 February 2019 at 17:21 | |||||||||||||||||||||||||||||||||
filesunknown
|
MessageI installed the core fonts and vcrun15 and that somehow got my x86_64 wine prefix working for starcraft except for a few arcade maps that I like. If you start "warships" map on high graphics, and next select a ship, then the game will crash with this. Also pops up a submit bug report to blizzard saying the crash was "e_gfxerrorshadercompilefailed". I just installed it into a clean prefix via the POL5 script and version 3.19 staging x64, and same issue. Edit: also I am not sure if this is related. https://bugs.winehq.org/show_bug.cgi?id=44920 Wine version 3.19 staging x64 [02/08/19 23:41:49] - Running wine-3.19-staging SC2Switcher_x64.exe (Working directory : /home/eric/.PlayOnLinux/wineprefix/reddit/drive_c/Program Files (x86)/StarCraft II/Support64) 02c2:fixme:ntdll:EtwEventRegister ({5eec90ab-c022-44b2-a5dd-fd716a222a15}, 0x14000107c, 0x140024800, 0x140024820) stub. 02c2:fixme:ntdll:EtwEventSetInformation (deadbeef, 2, 0x140020500, 43) stub 02c2:fixme:shell:SetCurrentProcessExplicitAppUserModelID L"BlizzardEntertainment.StarCraftII.StarCraftII": stub 02c2:fixme:ver:GetCurrentPackageId (0x22fd40 (nil)): stub 02ab:fixme:wevtapi:EvtSubscribe ((nil) (nil) L"System" L"*[System[(EventID=4101)]]" (nil) (nil) 0x140d65220 1) stub 02ab:fixme:shell:SHGetPropertyStoreForWindow (0xa00c6 0x142900070 0x975f048) stub! 02ab:fixme:shell:SHGetPropertyStoreForWindow (0xa00c6 0x142900070 0x975f050) stub! 02a9:fixme:ver:GetCurrentPackageId (0x22fd40 (nil)): stub 02ab:fixme:msctf:ThreadMgr_ActivateEx Unimplemented flags 0x4 02ab:fixme:msctf:ThreadMgrSource_AdviseSink (0xe1d60) Unhandled Sink: {ea1ea136-19df-11d7-a6d2-00065b84435c} 02ab:fixme:d3d:debug_d3drenderstate Unrecognized 210 render state! 02ab:err:d3d:validate_state_table State STATE_RENDER(unrecognized) (0xd2) should have a representative. 02ab:fixme:d3d:debug_d3dformat Unrecognized 0x36314644 (as fourcc: DF16) WINED3DFORMAT! 02ab:fixme:d3d:wined3d_get_format Can't find format unrecognized (0x36314644) in the format lookup table. 02ab:fixme:d3d:debug_d3dformat Unrecognized 0x36314644 (as fourcc: DF16) WINED3DFORMAT! 02ab:fixme:d3d:wined3d_get_format Can't find format unrecognized (0x36314644) in the format lookup table. 02ab:fixme:d3d:debug_d3dformat Unrecognized 0x34324644 (as fourcc: DF24) WINED3DFORMAT! 02ab:fixme:d3d:wined3d_get_format Can't find format unrecognized (0x34324644) in the format lookup table. 02ab:fixme:d3d:debug_d3dformat Unrecognized 0x34324644 (as fourcc: DF24) WINED3DFORMAT! 02ab:fixme:d3d:wined3d_get_format Can't find format unrecognized (0x34324644) in the format lookup table. 02ab:fixme:winsock:WSAIoctl WS_SIO_UDP_CONNRESET stub 02ab:fixme:msctf:ThreadMgr_ActivateEx Unimplemented flags 0x4 02ab:fixme:msctf:ThreadMgrSource_AdviseSink (0xe1d60) Unhandled Sink: {ea1ea136-19df-11d7-a6d2-00065b84435c} 02ab:fixme:msctf:ThreadMgrSource_AdviseSink (0xe1d60) Unhandled Sink: {71c6e74e-0f28-11d8-a82a-00065b84435c} 02ab:fixme:msctf:InputProcessorProfiles_GetLanguageList Semi-STUB:(0x342b0a0) 02ab:fixme:msctf:EnumTfInputProcessorProfiles_Next (0x342b0e0)->(1 0x975de20 (nil)) 02ab:fixme:msctf:InputProcessorProfileMgr_GetActiveProfile (0x342b0a0)->({34745c63-b2f0-4784-8b67-5e12c8701a31} 0x975de90) 02ab:fixme:msctf:InputProcessorProfileMgr_GetProfile (0x342b120)->(0 0 {00000000-0000-0000-0000-000000000000} {00000000-0000-0000-0000-000000000000} (nil) 0x975dc00) 02ab:fixme:msctf:InputProcessorProfiles_GetLanguageProfileDescription STUB:(0x342b120) 02d5:fixme:avrt:AvSetMmThreadCharacteristicsW (L"Audio",0x67ffd78): stub 02d9:fixme:avrt:AvSetMmThreadCharacteristicsW (L"Audio",0x67ffd78): stub 02dd:fixme:avrt:AvSetMmThreadCharacteristicsW (L"Audio",0x67ffd78): stub 02c9:fixme:d3d:state_linepattern_w Setting line patterns is not supported in OpenGL core contexts. 02e6:fixme:winsock:WSAIoctl WS_SIO_UDP_CONNRESET stub 02ab:fixme:winsock:WSAIoctl WS_SIO_UDP_CONNRESET stub 02ab:err:wincodecs:JpegDecoder_CreateInstance Failed reading JPEG because unable to find libjpeg.so.62 02ab:err:wincodecs:JpegDecoder_CreateInstance Failed reading JPEG because unable to find libjpeg.so.62 02ab:err:wincodecs:JpegDecoder_CreateInstance Failed reading JPEG because unable to find libjpeg.so.62 02ab:err:wincodecs:JpegDecoder_CreateInstance Failed reading JPEG because unable to find libjpeg.so.62 02ab:err:wincodecs:JpegDecoder_CreateInstance Failed reading JPEG because unable to find libjpeg.so.62 02ab:err:wincodecs:JpegDecoder_CreateInstance Failed reading JPEG because unable to find libjpeg.so.62 02ab:err:wincodecs:JpegDecoder_CreateInstance Failed reading JPEG because unable to find libjpeg.so.62 02ab:err:wincodecs:JpegDecoder_CreateInstance Failed reading JPEG because unable to find libjpeg.so.62 02ab:fixme:ntdll:NtQueryDirectoryObject multiple entries not implemented 02ab:err:wincodecs:JpegDecoder_CreateInstance Failed reading JPEG because unable to find libjpeg.so.62 02ab:fixme:winsock:WSAIoctl WS_SIO_UDP_CONNRESET stub 02ab:err:wincodecs:JpegDecoder_CreateInstance Failed reading JPEG because unable to find libjpeg.so.62 02ab:fixme:hlsl_parser:hlsl_parse Check for valued return on void function. 02ab:fixme:hlsl_parser:hlsl_parse Implicit conversion to the return type if needed, error out if conversion not possible. 02ab:err:d3dcompiler:compile_shader HLSL shader parsing failed. 02ab:fixme:nvapi:unimplemented_stub function 0xe3640a56 is unimplemented! 02ab:err:wincodecs:JpegEncoder_CreateInstance Failed writing JPEG because unable to find libjpeg.so.62 02ab:fixme:ole:CoCreateInstanceEx no instance created for interface {00000103-a8f2-4877-ba0a-fd2b6645fb94} of class {1a34f5c1-4a5a-46dc-b644-1f4567e7a676}, hres is 0x80004005 00a1:fixme:heap:GetPhysicallyInstalledSystemMemory stub: 0x33eba0 00a1:fixme:heap:GetPhysicallyInstalledSystemMemory stub: 0x33eba0 00a1:fixme:ntdll:NtQuerySystemInformationEx Relationship filtering not implemented: 0x3 00a1:fixme:ntdll:NtQuerySystemInformationEx Relationship filtering not implemented: 0x3 00a1:fixme:ver:GetCurrentPackageId (0x33fdb8 (nil)): stub RepliesSaturday 9 February 2019 at 21:27
Sunday 10 February 2019 at 5:32
Edited by filesunknown |
|||||||||||||||||||||||||||||||||
LinuxScripter | Saturday 9 February 2019 at 13:15 | |||||||||||||||||||||||||||||||||
LinuxScripter
|
InformationThis update has been approved by the team. MessageRemoved flashplayer and IE8 (we don't use them in POL5 script and both the Battle.net app and Starcraft works), removed the registry fix and .exe file removal because none of that is an issue anymore. Differences@@ -31,33 +31,11 @@ # Downloading wine if necessary and creating prefix POL_System_SetArch "x86" POL_Wine_PrefixCreate "$WORKING_WINE_VERSION" -POL_System_TmpCreate "$PREFIX" - -# Installing mandatory dependencies -POL_Call POL_Install_d3dcompiler_43 # Needed for Battle.net POL_Call POL_Install_corefonts -POL_Call POL_Install_ie8 -POL_Call POL_Install_flashplayer -POL_Call POL_Install_dotnet45 - -#Fixes for the registry -cd "$POL_System_TmpDir" -cat << EOF > fix.reg -REGEDIT4 - -[HKEY_CURRENT_USER/Environment] -"PATH"="c:\Program Files\Starcraft II\Support" -[HKEY_CURRENT_USER/Software/Wine/X11 Driver] -"UseXRandR"="N" -[HKEY_CURRENT_USER/Software/Wine/Direct3D] -"VertexShaderMode"="hardware" - -EOF - -POL_Wine regedit.exe fix.reg - +POL_Call POL_Install_vcrun2015 + # Asking about memory size of graphic card POL_SetupWindow_VMS $GAME_VMS @@ -100,10 +78,6 @@ if [ "$INSTALL_METHOD" = "DVD" ]; then POL_Call POL_Sudo_RehideCdrom fi - -#Removes an .exe file that keeps throwing crash messages -cd "$WINEPREFIX/drive_c/Program Files/Battle.net/Battle.net.10047" -rm -f "SystemSurvey.exe" POL_SetupWindow_Close exit \ No newline at end of file New source code#!/bin/bash # Date : (2018-02-02 12:48) # Last revision : (2018-12-09 23:24) # Wine version used : 3.19-staging # Distribution used to test : Ubuntu 18.04 x64 # Author : LinuxScripter # Licence : Retail [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" TITLE="StarCraft II" EDITOR="Blizzard" AUTHOR="LinuxScripter" GAME_URL="http://eu.battle.net/sc2/en/" PREFIX="StarCraft2" WORKING_WINE_VERSION="3.19-staging" # Starting the script POL_GetSetupImages "http://files.playonlinux.com/resources/setups/starcraft2_wol/top.jpg" "http://files.playonlinux.com/resources/setups/starcraft2_wol/left.jpg" "$TITLE" POL_SetupWindow_Init POL_Debug_Init POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX" # Setting prefix path POL_Wine_SelectPrefix "$PREFIX" # Downloading wine if necessary and creating prefix POL_System_SetArch "x86" POL_Wine_PrefixCreate "$WORKING_WINE_VERSION" # Needed for Battle.net POL_Call POL_Install_corefonts POL_Call POL_Install_vcrun2015 # Asking about memory size of graphic card POL_SetupWindow_VMS $GAME_VMS # Set Graphic Card information keys for wine POL_Wine_SetVideoDriver # Sound problem fix - pulseaudio related [ "$POL_OS" = "Linux" ] && Set_SoundDriver "alsa" [ "$POL_OS" = "Linux" ] && Set_SoundEmulDriver "Y" ## End Fix POL_SetupWindow_message "$(eval_gettext 'If you choose to install the DVD version you have to exit the installer after the instalation is done. The old patcher app does not work at all in wine. The script will terminate any .exe proceses in case you forgot. Then a patch will be downloaded. You will continue the update process through Blizzard App rather than build-in patcher./nYou will also have to use DNSProxy or else your profile will not load and all ""Play"" buttons will be unclickable/grayed out. Either that or remove the content of ""$WINEPREFIX/drive_c/ProgramData/Blizzard\ Entertainment/Battle.net/Cache/"" and kill Agent.exe/nSetting your graphics above medium might result in a crash when loading a level.')" # Choose between DVD and Digital Download version POL_SetupWindow_InstallMethod "DVD,LOCAL" if [ "$INSTALL_METHOD" == "DVD" ]; then # Asking for CDROM and checking if it's correct one POL_SetupWindow_message "$(eval_gettext 'Please insert game media into your disk drive\nif not already done.')" "$TITLE" POL_SetupWindow_cdrom POL_Call POL_Sudo_UnhideCdrom POL_SetupWindow_check_cdrom "Starcraft II Installer.app/Contents/Info.plist" POL_Wine start /unix "$CDROM/Installer.exe" POL_Wine_WaitExit "$CDROM/Installer.exe" [$(ps aux | grep -c *.exe) -lt 2] || killall *.exe cd "$POL_System_TmpDir" POL_Download "https://megagames2.online/downloads.php?file=sc2-1.4.2-enUS.exe&646965504532567d5954262e5a=1" POL_Wine start /unix "sc2-1.4.2-enUS.exe" POL_Wine_WaitExit "sc2-1.4.2-enUS.exe" else cd "$HOME" POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run:')" "$TITLE" SETUP_EXE="$APP_ANSWER" POL_Wine start /unix "$SETUP_EXE" POL_Wine_WaitExit "$TITLE" fi # Making shortcut POL_Shortcut "$WINEPREFIX/drive_c/Program Files/Battle.net/Battle.net.exe" "Battle.net($TITLE)" "" "" if [ "$INSTALL_METHOD" = "DVD" ]; then POL_Call POL_Sudo_RehideCdrom fi POL_SetupWindow_Close exit Replies |
|||||||||||||||||||||||||||||||||
LinuxScripter | Sunday 9 December 2018 at 23:25 | |||||||||||||||||||||||||||||||||
LinuxScripter
|
WarningThis update has not been approved yet by the team. MessageUsing a newer Wine version to keep up with Blizzard app. Differences@@ -1,93 +1,109 @@ #!/bin/bash -# Date : (2010-04-08 10-00) -# Last revision : (2011-08-28 21:00) -# Wine version used : 1.3.3, 1.3.11, 1.3.17, 1.3.25, 1.3.26, 1.3.27 -# Distribution used to test : Debian Testing x64 -# Author : GNU_Raziel +# Date : (2018-02-02 12:48) +# Last revision : (2018-12-09 23:24) +# Wine version used : 3.19-staging +# Distribution used to test : Ubuntu 18.04 x64 +# Author : LinuxScripter # Licence : Retail -# Only For : http://www.playonlinux.com - + [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" - -TITLE="StarCraft II Wings of Liberty" -EDITOR="StarCraft II Editor" -PREFIX="SC2_WoL" -WORKING_WINE_VERSION="1.5.10" -GAME_VMS="128" - + +TITLE="StarCraft II" +EDITOR="Blizzard" +AUTHOR="LinuxScripter" +GAME_URL="http://eu.battle.net/sc2/en/" +PREFIX="StarCraft2" +WORKING_WINE_VERSION="3.19-staging" + # Starting the script - + POL_GetSetupImages "http://files.playonlinux.com/resources/setups/starcraft2_wol/top.jpg" "http://files.playonlinux.com/resources/setups/starcraft2_wol/left.jpg" "$TITLE" + POL_SetupWindow_Init - -# Starting debugging API POL_Debug_Init - -POL_SetupWindow_presentation "$TITLE" "Blizzard Entertainment" "http://eu.starcraft2.com/" "GNU_Raziel" "$PREFIX" - + +POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX" + # Setting prefix path POL_Wine_SelectPrefix "$PREFIX" - + # Downloading wine if necessary and creating prefix POL_System_SetArch "x86" POL_Wine_PrefixCreate "$WORKING_WINE_VERSION" - -# Choose between DVD and Digital Download version -POL_SetupWindow_InstallMethod "DVD,LOCAL" - +POL_System_TmpCreate "$PREFIX" + # Installing mandatory dependencies - -POL_Call POL_Install_vcrun2005 # Fix "Zeratul Missions" crash -POL_Wine_InstallFonts # Fix "Custom map" crash - -if [ "$INSTALL_METHOD" == "DVD" ]; then - # Asking for CDROM and checking if it's correct one - POL_SetupWindow_message "$(eval_gettext 'Please insert game media into your disk drive\nif not already done.')" "$TITLE" - - POL_SetupWindow_cdrom - POL_Call POL_Sudo_UnhideCdrom - POL_SetupWindow_check_cdrom "Installer.exe" - - SetupIs="$CDROM/Installer.exe" - - POL_Wine start /unix "$SetupIs" - POL_Wine_WaitExit "$TITLE" -else - # Asking then installing DDV of the game - cd "$HOME" - POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run:')" "$TITLE" - SETUP_EXE="$APP_ANSWER" - POL_Wine start /unix "$SETUP_EXE" - POL_Wine_WaitExit "$TITLE" -fi - +POL_Call POL_Install_d3dcompiler_43 + +# Needed for Battle.net +POL_Call POL_Install_corefonts +POL_Call POL_Install_ie8 +POL_Call POL_Install_flashplayer +POL_Call POL_Install_dotnet45 + +#Fixes for the registry +cd "$POL_System_TmpDir" +cat << EOF > fix.reg +REGEDIT4 + +[HKEY_CURRENT_USER/Environment] +"PATH"="c:\Program Files\Starcraft II\Support" +[HKEY_CURRENT_USER/Software/Wine/X11 Driver] +"UseXRandR"="N" +[HKEY_CURRENT_USER/Software/Wine/Direct3D] +"VertexShaderMode"="hardware" + +EOF + +POL_Wine regedit.exe fix.reg + # Asking about memory size of graphic card POL_SetupWindow_VMS $GAME_VMS - -## Fix for this game -POL_Wine_OverrideDLL "native,builtin" "mshtml" # Fix "Updater" crash - part 2 - + # Set Graphic Card information keys for wine POL_Wine_SetVideoDriver - -# Performance Tweak -POL_Wine_Direct3D "UseGLSL" "disabled" - + # Sound problem fix - pulseaudio related [ "$POL_OS" = "Linux" ] && Set_SoundDriver "alsa" [ "$POL_OS" = "Linux" ] && Set_SoundEmulDriver "Y" ## End Fix - + +POL_SetupWindow_message "$(eval_gettext 'If you choose to install the DVD version you have to exit the installer after the instalation is done. The old patcher app does not work at all in wine. The script will terminate any .exe proceses in case you forgot. Then a patch will be downloaded. You will continue the update process through Blizzard App rather than build-in patcher./nYou will also have to use DNSProxy or else your profile will not load and all ""Play"" buttons will be unclickable/grayed out. Either that or remove the content of ""$WINEPREFIX/drive_c/ProgramData/Blizzard\ Entertainment/Battle.net/Cache/"" and kill Agent.exe/nSetting your graphics above medium might result in a crash when loading a level.')" +# Choose between DVD and Digital Download version +POL_SetupWindow_InstallMethod "DVD,LOCAL" + +if [ "$INSTALL_METHOD" == "DVD" ]; then + # Asking for CDROM and checking if it's correct one + POL_SetupWindow_message "$(eval_gettext 'Please insert game media into your disk drive\nif not already done.')" "$TITLE" + POL_SetupWindow_cdrom + POL_Call POL_Sudo_UnhideCdrom + POL_SetupWindow_check_cdrom "Starcraft II Installer.app/Contents/Info.plist" + POL_Wine start /unix "$CDROM/Installer.exe" + POL_Wine_WaitExit "$CDROM/Installer.exe" + [$(ps aux | grep -c *.exe) -lt 2] || killall *.exe + cd "$POL_System_TmpDir" + POL_Download "https://megagames2.online/downloads.php?file=sc2-1.4.2-enUS.exe&646965504532567d5954262e5a=1" + POL_Wine start /unix "sc2-1.4.2-enUS.exe" + POL_Wine_WaitExit "sc2-1.4.2-enUS.exe" +else + cd "$HOME" + POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run:')" "$TITLE" + SETUP_EXE="$APP_ANSWER" + POL_Wine start /unix "$SETUP_EXE" + POL_Wine_WaitExit "$TITLE" +fi + # Making shortcut -POL_Shortcut "StarCraft II.exe" "$TITLE" "$TITLE.png" "" -POL_Shortcut "StarCraft II Editor.exe" "$EDITOR" "$EDITOR.png" "" - +POL_Shortcut "$WINEPREFIX/drive_c/Program Files/Battle.net/Battle.net.exe" "Battle.net($TITLE)" "" "" + if [ "$INSTALL_METHOD" = "DVD" ]; then - POL_Call POL_Sudo_RehideCdrom + POL_Call POL_Sudo_RehideCdrom fi - -POL_SetupWindow_message "$(eval_gettext 'If you have a runtime error when running the game, open a terminal and type:\necho 0|sudo tee /proc/sys/kernel/yama/ptrace_scope')" - + +#Removes an .exe file that keeps throwing crash messages +cd "$WINEPREFIX/drive_c/Program Files/Battle.net/Battle.net.10047" +rm -f "SystemSurvey.exe" + POL_SetupWindow_Close exit \ No newline at end of file New source code#!/bin/bash # Date : (2018-02-02 12:48) # Last revision : (2018-12-09 23:24) # Wine version used : 3.19-staging # Distribution used to test : Ubuntu 18.04 x64 # Author : LinuxScripter # Licence : Retail [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" TITLE="StarCraft II" EDITOR="Blizzard" AUTHOR="LinuxScripter" GAME_URL="http://eu.battle.net/sc2/en/" PREFIX="StarCraft2" WORKING_WINE_VERSION="3.19-staging" # Starting the script POL_GetSetupImages "http://files.playonlinux.com/resources/setups/starcraft2_wol/top.jpg" "http://files.playonlinux.com/resources/setups/starcraft2_wol/left.jpg" "$TITLE" POL_SetupWindow_Init POL_Debug_Init POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX" # Setting prefix path POL_Wine_SelectPrefix "$PREFIX" # Downloading wine if necessary and creating prefix POL_System_SetArch "x86" POL_Wine_PrefixCreate "$WORKING_WINE_VERSION" POL_System_TmpCreate "$PREFIX" # Installing mandatory dependencies POL_Call POL_Install_d3dcompiler_43 # Needed for Battle.net POL_Call POL_Install_corefonts POL_Call POL_Install_ie8 POL_Call POL_Install_flashplayer POL_Call POL_Install_dotnet45 #Fixes for the registry cd "$POL_System_TmpDir" cat << EOF > fix.reg REGEDIT4 [HKEY_CURRENT_USER/Environment] "PATH"="c:\Program Files\Starcraft II\Support" [HKEY_CURRENT_USER/Software/Wine/X11 Driver] "UseXRandR"="N" [HKEY_CURRENT_USER/Software/Wine/Direct3D] "VertexShaderMode"="hardware" EOF POL_Wine regedit.exe fix.reg # Asking about memory size of graphic card POL_SetupWindow_VMS $GAME_VMS # Set Graphic Card information keys for wine POL_Wine_SetVideoDriver # Sound problem fix - pulseaudio related [ "$POL_OS" = "Linux" ] && Set_SoundDriver "alsa" [ "$POL_OS" = "Linux" ] && Set_SoundEmulDriver "Y" ## End Fix POL_SetupWindow_message "$(eval_gettext 'If you choose to install the DVD version you have to exit the installer after the instalation is done. The old patcher app does not work at all in wine. The script will terminate any .exe proceses in case you forgot. Then a patch will be downloaded. You will continue the update process through Blizzard App rather than build-in patcher./nYou will also have to use DNSProxy or else your profile will not load and all ""Play"" buttons will be unclickable/grayed out. Either that or remove the content of ""$WINEPREFIX/drive_c/ProgramData/Blizzard\ Entertainment/Battle.net/Cache/"" and kill Agent.exe/nSetting your graphics above medium might result in a crash when loading a level.')" # Choose between DVD and Digital Download version POL_SetupWindow_InstallMethod "DVD,LOCAL" if [ "$INSTALL_METHOD" == "DVD" ]; then # Asking for CDROM and checking if it's correct one POL_SetupWindow_message "$(eval_gettext 'Please insert game media into your disk drive\nif not already done.')" "$TITLE" POL_SetupWindow_cdrom POL_Call POL_Sudo_UnhideCdrom POL_SetupWindow_check_cdrom "Starcraft II Installer.app/Contents/Info.plist" POL_Wine start /unix "$CDROM/Installer.exe" POL_Wine_WaitExit "$CDROM/Installer.exe" [$(ps aux | grep -c *.exe) -lt 2] || killall *.exe cd "$POL_System_TmpDir" POL_Download "https://megagames2.online/downloads.php?file=sc2-1.4.2-enUS.exe&646965504532567d5954262e5a=1" POL_Wine start /unix "sc2-1.4.2-enUS.exe" POL_Wine_WaitExit "sc2-1.4.2-enUS.exe" else cd "$HOME" POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run:')" "$TITLE" SETUP_EXE="$APP_ANSWER" POL_Wine start /unix "$SETUP_EXE" POL_Wine_WaitExit "$TITLE" fi # Making shortcut POL_Shortcut "$WINEPREFIX/drive_c/Program Files/Battle.net/Battle.net.exe" "Battle.net($TITLE)" "" "" if [ "$INSTALL_METHOD" = "DVD" ]; then POL_Call POL_Sudo_RehideCdrom fi #Removes an .exe file that keeps throwing crash messages cd "$WINEPREFIX/drive_c/Program Files/Battle.net/Battle.net.10047" rm -f "SystemSurvey.exe" POL_SetupWindow_Close exit RepliesTuesday 5 February 2019 at 21:45
Wednesday 6 February 2019 at 20:59
Friday 8 February 2019 at 14:32
|
|||||||||||||||||||||||||||||||||
LinuxScripter | Tuesday 15 May 2018 at 15:26 | |||||||||||||||||||||||||||||||||
LinuxScripter
|
WarningThis update has not been approved yet by the team. MessageWith this script I was able to run this game and play a couple of co-op matches. Multiplayer mode and campain wasn't tested but I'm sure they will work as well. You might have to try killing Agent.exe and remocing the content of Blizzard App's cache folder until your game profile will load. Once the profile loads you wont have to do that again. Also don't set graphics above medium even if your PC can run this game on higher settings on Windows. The game will most likey crash with an out-of-memory error. Differences@@ -1,93 +1,109 @@ #!/bin/bash -# Date : (2010-04-08 10-00) -# Last revision : (2011-08-28 21:00) -# Wine version used : 1.3.3, 1.3.11, 1.3.17, 1.3.25, 1.3.26, 1.3.27 -# Distribution used to test : Debian Testing x64 -# Author : GNU_Raziel +# Date : (2018-02-02 12:48) +# Last revision : (2018-05-15 11:46) +# Wine version used : 3.7 +# Distribution used to test : Ubuntu 18.04 x64 +# Author : LinuxScripter # Licence : Retail -# Only For : http://www.playonlinux.com - + [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" - -TITLE="StarCraft II Wings of Liberty" -EDITOR="StarCraft II Editor" -PREFIX="SC2_WoL" -WORKING_WINE_VERSION="1.5.10" -GAME_VMS="128" - + +TITLE="StarCraft II" +EDITOR="Blizzard" +AUTHOR="LinuxScripter" +GAME_URL="http://eu.battle.net/sc2/en/" +PREFIX="StarCraft2" +WORKING_WINE_VERSION="3.7" + # Starting the script - + POL_GetSetupImages "http://files.playonlinux.com/resources/setups/starcraft2_wol/top.jpg" "http://files.playonlinux.com/resources/setups/starcraft2_wol/left.jpg" "$TITLE" + POL_SetupWindow_Init - -# Starting debugging API POL_Debug_Init - -POL_SetupWindow_presentation "$TITLE" "Blizzard Entertainment" "http://eu.starcraft2.com/" "GNU_Raziel" "$PREFIX" - + +POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX" + # Setting prefix path POL_Wine_SelectPrefix "$PREFIX" - + # Downloading wine if necessary and creating prefix POL_System_SetArch "x86" POL_Wine_PrefixCreate "$WORKING_WINE_VERSION" - -# Choose between DVD and Digital Download version -POL_SetupWindow_InstallMethod "DVD,LOCAL" - +POL_System_TmpCreate "$PREFIX" + # Installing mandatory dependencies +POL_Call POL_Install_d3dcompiler_43 -POL_Call POL_Install_vcrun2005 # Fix "Zeratul Missions" crash -POL_Wine_InstallFonts # Fix "Custom map" crash - -if [ "$INSTALL_METHOD" == "DVD" ]; then - # Asking for CDROM and checking if it's correct one - POL_SetupWindow_message "$(eval_gettext 'Please insert game media into your disk drive\nif not already done.')" "$TITLE" - - POL_SetupWindow_cdrom - POL_Call POL_Sudo_UnhideCdrom - POL_SetupWindow_check_cdrom "Installer.exe" - - SetupIs="$CDROM/Installer.exe" - - POL_Wine start /unix "$SetupIs" - POL_Wine_WaitExit "$TITLE" -else - # Asking then installing DDV of the game - cd "$HOME" - POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run:')" "$TITLE" - SETUP_EXE="$APP_ANSWER" - POL_Wine start /unix "$SETUP_EXE" - POL_Wine_WaitExit "$TITLE" -fi - +# Needed for Battle.net +POL_Call POL_Install_corefonts +POL_Call POL_Install_ie8 +POL_Call POL_Install_flashplayer +POL_Call POL_Install_dotnet45 + +#Fixes for the registry +cd "$POL_System_TmpDir" +cat << EOF > fix.reg +REGEDIT4 + +[HKEY_CURRENT_USER/Environment] +"PATH"="c:\Program Files\Starcraft II\Support" +[HKEY_CURRENT_USER/Software/Wine/X11 Driver] +"UseXRandR"="N" +[HKEY_CURRENT_USER/Software/Wine/Direct3D] +"VertexShaderMode"="hardware" + +EOF + +POL_Wine regedit.exe fix.reg + # Asking about memory size of graphic card POL_SetupWindow_VMS $GAME_VMS - -## Fix for this game -POL_Wine_OverrideDLL "native,builtin" "mshtml" # Fix "Updater" crash - part 2 - + # Set Graphic Card information keys for wine POL_Wine_SetVideoDriver - -# Performance Tweak -POL_Wine_Direct3D "UseGLSL" "disabled" - + # Sound problem fix - pulseaudio related [ "$POL_OS" = "Linux" ] && Set_SoundDriver "alsa" [ "$POL_OS" = "Linux" ] && Set_SoundEmulDriver "Y" ## End Fix + +POL_SetupWindow_message "$(eval_gettext 'If you choose to install the DVD version you have to exit the installer after the instalation is done. The old patcher app does not work at all in wine. The script will terminate any .exe proceses in case you forgot. Then a patch will be downloaded. You will continue the update process through Blizzard App rather than build-in patcher./nYou will also have to use DNSProxy or else your profile will not load and all ""Play"" buttons will be unclickable/grayed out. Either that or remove the content of ""$WINEPREFIX/drive_c/ProgramData/Blizzard\ Entertainment/Battle.net/Cache/"" and kill Agent.exe/nSetting your graphics above medium might result in a crash when loading a level.')" +# Choose between DVD and Digital Download version +POL_SetupWindow_InstallMethod "DVD,LOCAL" + +if [ "$INSTALL_METHOD" == "DVD" ]; then + # Asking for CDROM and checking if it's correct one + POL_SetupWindow_message "$(eval_gettext 'Please insert game media into your disk drive\nif not already done.')" "$TITLE" + POL_SetupWindow_cdrom + POL_Call POL_Sudo_UnhideCdrom + POL_SetupWindow_check_cdrom "Starcraft II Installer.app/Contents/Info.plist" + POL_Wine start /unix "$CDROM/Installer.exe" + POL_Wine_WaitExit "$CDROM/Installer.exe" + [$(ps aux | grep -c *.exe) -lt 2] || killall *.exe + cd "$POL_System_TmpDir" + POL_Download "https://megagames2.online/downloads.php?file=sc2-1.4.2-enUS.exe&646965504532567d5954262e5a=1" + POL_Wine start /unix "sc2-1.4.2-enUS.exe" + POL_Wine_WaitExit "sc2-1.4.2-enUS.exe" +else + cd "$HOME" + POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run:')" "$TITLE" + SETUP_EXE="$APP_ANSWER" + POL_Wine start /unix "$SETUP_EXE" + POL_Wine_WaitExit "$TITLE" +fi # Making shortcut -POL_Shortcut "StarCraft II.exe" "$TITLE" "$TITLE.png" "" -POL_Shortcut "StarCraft II Editor.exe" "$EDITOR" "$EDITOR.png" "" - +POL_Shortcut "$WINEPREFIX/drive_c/Program Files/Battle.net/Battle.net.exe" "Battle.net($TITLE)" "" "" + if [ "$INSTALL_METHOD" = "DVD" ]; then - POL_Call POL_Sudo_RehideCdrom + POL_Call POL_Sudo_RehideCdrom fi -POL_SetupWindow_message "$(eval_gettext 'If you have a runtime error when running the game, open a terminal and type:\necho 0|sudo tee /proc/sys/kernel/yama/ptrace_scope')" - +#Removes an .exe file that keeps throwing crash messages +cd "$WINEPREFIX/drive_c/Program Files/Battle.net/Battle.net.10047" +rm -f "SystemSurvey.exe" + POL_SetupWindow_Close exit \ No newline at end of file New source code#!/bin/bash # Date : (2018-02-02 12:48) # Last revision : (2018-05-15 11:46) # Wine version used : 3.7 # Distribution used to test : Ubuntu 18.04 x64 # Author : LinuxScripter # Licence : Retail [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" TITLE="StarCraft II" EDITOR="Blizzard" AUTHOR="LinuxScripter" GAME_URL="http://eu.battle.net/sc2/en/" PREFIX="StarCraft2" WORKING_WINE_VERSION="3.7" # Starting the script POL_GetSetupImages "http://files.playonlinux.com/resources/setups/starcraft2_wol/top.jpg" "http://files.playonlinux.com/resources/setups/starcraft2_wol/left.jpg" "$TITLE" POL_SetupWindow_Init POL_Debug_Init POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX" # Setting prefix path POL_Wine_SelectPrefix "$PREFIX" # Downloading wine if necessary and creating prefix POL_System_SetArch "x86" POL_Wine_PrefixCreate "$WORKING_WINE_VERSION" POL_System_TmpCreate "$PREFIX" # Installing mandatory dependencies POL_Call POL_Install_d3dcompiler_43 # Needed for Battle.net POL_Call POL_Install_corefonts POL_Call POL_Install_ie8 POL_Call POL_Install_flashplayer POL_Call POL_Install_dotnet45 #Fixes for the registry cd "$POL_System_TmpDir" cat << EOF > fix.reg REGEDIT4 [HKEY_CURRENT_USER/Environment] "PATH"="c:\Program Files\Starcraft II\Support" [HKEY_CURRENT_USER/Software/Wine/X11 Driver] "UseXRandR"="N" [HKEY_CURRENT_USER/Software/Wine/Direct3D] "VertexShaderMode"="hardware" EOF POL_Wine regedit.exe fix.reg # Asking about memory size of graphic card POL_SetupWindow_VMS $GAME_VMS # Set Graphic Card information keys for wine POL_Wine_SetVideoDriver # Sound problem fix - pulseaudio related [ "$POL_OS" = "Linux" ] && Set_SoundDriver "alsa" [ "$POL_OS" = "Linux" ] && Set_SoundEmulDriver "Y" ## End Fix POL_SetupWindow_message "$(eval_gettext 'If you choose to install the DVD version you have to exit the installer after the instalation is done. The old patcher app does not work at all in wine. The script will terminate any .exe proceses in case you forgot. Then a patch will be downloaded. You will continue the update process through Blizzard App rather than build-in patcher./nYou will also have to use DNSProxy or else your profile will not load and all ""Play"" buttons will be unclickable/grayed out. Either that or remove the content of ""$WINEPREFIX/drive_c/ProgramData/Blizzard\ Entertainment/Battle.net/Cache/"" and kill Agent.exe/nSetting your graphics above medium might result in a crash when loading a level.')" # Choose between DVD and Digital Download version POL_SetupWindow_InstallMethod "DVD,LOCAL" if [ "$INSTALL_METHOD" == "DVD" ]; then # Asking for CDROM and checking if it's correct one POL_SetupWindow_message "$(eval_gettext 'Please insert game media into your disk drive\nif not already done.')" "$TITLE" POL_SetupWindow_cdrom POL_Call POL_Sudo_UnhideCdrom POL_SetupWindow_check_cdrom "Starcraft II Installer.app/Contents/Info.plist" POL_Wine start /unix "$CDROM/Installer.exe" POL_Wine_WaitExit "$CDROM/Installer.exe" [$(ps aux | grep -c *.exe) -lt 2] || killall *.exe cd "$POL_System_TmpDir" POL_Download "https://megagames2.online/downloads.php?file=sc2-1.4.2-enUS.exe&646965504532567d5954262e5a=1" POL_Wine start /unix "sc2-1.4.2-enUS.exe" POL_Wine_WaitExit "sc2-1.4.2-enUS.exe" else cd "$HOME" POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run:')" "$TITLE" SETUP_EXE="$APP_ANSWER" POL_Wine start /unix "$SETUP_EXE" POL_Wine_WaitExit "$TITLE" fi # Making shortcut POL_Shortcut "$WINEPREFIX/drive_c/Program Files/Battle.net/Battle.net.exe" "Battle.net($TITLE)" "" "" if [ "$INSTALL_METHOD" = "DVD" ]; then POL_Call POL_Sudo_RehideCdrom fi #Removes an .exe file that keeps throwing crash messages cd "$WINEPREFIX/drive_c/Program Files/Battle.net/Battle.net.10047" rm -f "SystemSurvey.exe" POL_SetupWindow_Close exit Replies |
|||||||||||||||||||||||||||||||||
Jolly | Tuesday 6 February 2018 at 14:58 | |||||||||||||||||||||||||||||||||
Jolly
|
MessageFrançais Pour jouer à Starcraft II, j'ai effectué une installation manuelle car le programme par défaut de playonlinux ne fonctionne plus (dernière mise à jour du script en 2011). Le jeu fonctionne correctement aussi bien en mode coop, campagne et multijoueurs (parties classées ou non). English To play scarcraft II, you have to install it manually in playonlinux because the script doesn't work anymore (last update in 2011). It works for me for all game modes : coop / arcade / rank games / custom games... Info debug : ma config / my configuration
1) Téléchargez / download Windows Bnet.exe : https://eu.battle.net/account/download/#bnetapp 2) Installation manuelle d'un nouveau programme sur un nouveau disque / Manually install a new program on a new drive -> Wine Config
-> Required components / Composants requis
-> Select the file previously downloaded at the step 1 -> Wait for the login screen of the Battle.net wizzard. Attendre la fenêtre de connection Blizzard.
-> Quitter l'application Battle.net / Exit the launcher Battle.net -> Dans un terminal, taper la commande suivante / In a terminal, write the following command :
-> Créer le raccourci de Battle.net / Create a shortcut for Battle.net 3) Optimisation in Config > Display / Optimisation de la configuration de l'affichage
RepliesTuesday 6 February 2018 at 17:02
Tuesday 6 February 2018 at 18:03
Wednesday 7 February 2018 at 23:45
Wednesday 7 February 2018 at 23:46
|
|||||||||||||||||||||||||||||||||
LinuxScripter | Friday 2 February 2018 at 17:21 | |||||||||||||||||||||||||||||||||
LinuxScripter
|
WarningThis update has not been approved yet by the team. MessageI've just made this game work. I tested it in a single co-op game and it works. Keep in mind that due to how Wine works and the diffirences between linux and windows GPU drivers you might experience decreased performance and have to turn the graphics settings down a notch. Also you must install vcrun2015 manually via winetricks since POL dosen't have an installer for this dependency. The in-game patcher is broken no matter how you ste up the mshtml. So I had to go around this problem by killing all update processes (I dont know their exact names so the script will kill all *.exe proceses, will change that once I remember the names), then downloading the patcher (it's pretty hard to find a link that will work in a script since a lot of them have tokens with limited lifespan, please let me know if this link is dead so I can look for a replacement). I'm not sure if the sound fix is necesseary anymore. I left it just in case. Also changed the name of the game/prefix because when you download updates for WoL you also download files for the expansions and as such, the old title is no longer accurate. Differences@@ -1,93 +1,105 @@ #!/bin/bash # Date : (2010-04-08 10-00) -# Last revision : (2011-08-28 21:00) -# Wine version used : 1.3.3, 1.3.11, 1.3.17, 1.3.25, 1.3.26, 1.3.27 -# Distribution used to test : Debian Testing x64 -# Author : GNU_Raziel +# Last revision : (2018-02-02 12:48) +# Wine version used : 1.3.3, 1.3.11, 1.3.17, 1.3.25, 1.3.26, 1.3.27, 2.0.1, 3.0 +# Distribution used to test : Debian Testing x64, Ubuntu 17.04 x64, Ubuntu 18.04 x64 +# Author : GNU_Raziel, LinuxScripter # Licence : Retail -# Only For : http://www.playonlinux.com - + [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" - -TITLE="StarCraft II Wings of Liberty" -EDITOR="StarCraft II Editor" -PREFIX="SC2_WoL" -WORKING_WINE_VERSION="1.5.10" -GAME_VMS="128" - + +TITLE="StarCraft II" +EDITOR="Blizzard" +AUTHOR="LinuxScripter and GNU_Raziel" +GAME_URL="http://eu.battle.net/sc2/en/" +PREFIX="StarCraft2" +WORKING_WINE_VERSION="3.0" + # Starting the script - + POL_GetSetupImages "http://files.playonlinux.com/resources/setups/starcraft2_wol/top.jpg" "http://files.playonlinux.com/resources/setups/starcraft2_wol/left.jpg" "$TITLE" + POL_SetupWindow_Init - -# Starting debugging API POL_Debug_Init - -POL_SetupWindow_presentation "$TITLE" "Blizzard Entertainment" "http://eu.starcraft2.com/" "GNU_Raziel" "$PREFIX" - + +POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX" + # Setting prefix path POL_Wine_SelectPrefix "$PREFIX" - + # Downloading wine if necessary and creating prefix POL_System_SetArch "x86" POL_Wine_PrefixCreate "$WORKING_WINE_VERSION" +POL_System_TmpCreate "$PREFIX" -# Choose between DVD and Digital Download version -POL_SetupWindow_InstallMethod "DVD,LOCAL" - # Installing mandatory dependencies - + POL_Call POL_Install_vcrun2005 # Fix "Zeratul Missions" crash -POL_Wine_InstallFonts # Fix "Custom map" crash - -if [ "$INSTALL_METHOD" == "DVD" ]; then - # Asking for CDROM and checking if it's correct one - POL_SetupWindow_message "$(eval_gettext 'Please insert game media into your disk drive\nif not already done.')" "$TITLE" - - POL_SetupWindow_cdrom - POL_Call POL_Sudo_UnhideCdrom - POL_SetupWindow_check_cdrom "Installer.exe" - - SetupIs="$CDROM/Installer.exe" - - POL_Wine start /unix "$SetupIs" - POL_Wine_WaitExit "$TITLE" -else - # Asking then installing DDV of the game - cd "$HOME" - POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run:')" "$TITLE" - SETUP_EXE="$APP_ANSWER" - POL_Wine start /unix "$SETUP_EXE" - POL_Wine_WaitExit "$TITLE" -fi +POL_Call POL_Install_vcrun2008 +POL_Call POL_Install_vcrun2013 +POL_Call POL_Install_corefonts +POL_Call POL_Install_ie8 +POL_Call POL_Install_tahoma +POL_Call POL_Install_dotnet40 + +#Fixing fatal dll error caused by the game not seeing dll files in the Support folder +cd "$POL_System_TmpDir" +cat << EOF > dllfix.reg +REGEDIT4 + +[HKEY_CURRENT_USER/Environment] +"PATH"="c:\Program Files\Starcraft II\Support" +[HKEY_CURRENT_USER/Software/Wine/X11 Driver] +"UseXRandR"="N" +EOF + +POL_Wine regedit.exe dllfix.reg # Asking about memory size of graphic card POL_SetupWindow_VMS $GAME_VMS -## Fix for this game -POL_Wine_OverrideDLL "native,builtin" "mshtml" # Fix "Updater" crash - part 2 - # Set Graphic Card information keys for wine POL_Wine_SetVideoDriver -# Performance Tweak -POL_Wine_Direct3D "UseGLSL" "disabled" - # Sound problem fix - pulseaudio related [ "$POL_OS" = "Linux" ] && Set_SoundDriver "alsa" [ "$POL_OS" = "Linux" ] && Set_SoundEmulDriver "Y" ## End Fix + +POL_SetupWindow_message "$(eval_gettext 'If you choose to install the DVD version you have to exit the installer after the instalation is done. The old patcher app does not work at all in wine. The script will terminate any .exe proceses in case you forgot. Then a patch will be downloaded. You will continue the update process through Blizzard App rather than build-in patcher.')" +# Choose between DVD and Digital Download version +POL_SetupWindow_InstallMethod "DVD,LOCAL" + +if [ "$INSTALL_METHOD" == "DVD" ]; then + # Asking for CDROM and checking if it's correct one + POL_SetupWindow_message "$(eval_gettext 'Please insert game media into your disk drive\nif not already done.')" "$TITLE" + POL_SetupWindow_cdrom + POL_Call POL_Sudo_UnhideCdrom + POL_SetupWindow_check_cdrom "Starcraft II Installer.app/Contents/Info.plist" + POL_Wine start /unix "$CDROM/Installer.exe" + POL_Wine_WaitExit "$CDROM/Installer.exe" + [$(ps aux | grep -c *.exe) -lt 2] || killall *.exe + cd "$POL_System_TmpDir" + POL_Download "https://megagames2.online/downloads.php?file=sc2-1.4.2-enUS.exe&646965504532567d5954262e5a=1" + POL_Wine start /unix "sc2-1.4.2-enUS.exe" + POL_Wine_WaitExit "sc2-1.4.2-enUS.exe" +else + cd "$HOME" + POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run:')" "$TITLE" + SETUP_EXE="$APP_ANSWER" + POL_Wine start /unix "$SETUP_EXE" + POL_Wine_WaitExit "$TITLE" +fi + + # Making shortcut -POL_Shortcut "StarCraft II.exe" "$TITLE" "$TITLE.png" "" -POL_Shortcut "StarCraft II Editor.exe" "$EDITOR" "$EDITOR.png" "" - +POL_Shortcut "$WINEPREFIX/drive_c/Program Files/Battle.net/Battle.net.exe" "Battle.net($TITLE)" "" "" + if [ "$INSTALL_METHOD" = "DVD" ]; then - POL_Call POL_Sudo_RehideCdrom + POL_Call POL_Sudo_RehideCdrom fi - -POL_SetupWindow_message "$(eval_gettext 'If you have a runtime error when running the game, open a terminal and type:\necho 0|sudo tee /proc/sys/kernel/yama/ptrace_scope')" - + POL_SetupWindow_Close exit \ No newline at end of file New source code#!/bin/bash # Date : (2010-04-08 10-00) # Last revision : (2018-02-02 12:48) # Wine version used : 1.3.3, 1.3.11, 1.3.17, 1.3.25, 1.3.26, 1.3.27, 2.0.1, 3.0 # Distribution used to test : Debian Testing x64, Ubuntu 17.04 x64, Ubuntu 18.04 x64 # Author : GNU_Raziel, LinuxScripter # Licence : Retail [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" TITLE="StarCraft II" EDITOR="Blizzard" AUTHOR="LinuxScripter and GNU_Raziel" GAME_URL="http://eu.battle.net/sc2/en/" PREFIX="StarCraft2" WORKING_WINE_VERSION="3.0" # Starting the script POL_GetSetupImages "http://files.playonlinux.com/resources/setups/starcraft2_wol/top.jpg" "http://files.playonlinux.com/resources/setups/starcraft2_wol/left.jpg" "$TITLE" POL_SetupWindow_Init POL_Debug_Init POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX" # Setting prefix path POL_Wine_SelectPrefix "$PREFIX" # Downloading wine if necessary and creating prefix POL_System_SetArch "x86" POL_Wine_PrefixCreate "$WORKING_WINE_VERSION" POL_System_TmpCreate "$PREFIX" # Installing mandatory dependencies POL_Call POL_Install_vcrun2005 # Fix "Zeratul Missions" crash POL_Call POL_Install_vcrun2008 POL_Call POL_Install_vcrun2013 POL_Call POL_Install_corefonts POL_Call POL_Install_ie8 POL_Call POL_Install_tahoma POL_Call POL_Install_dotnet40 #Fixing fatal dll error caused by the game not seeing dll files in the Support folder cd "$POL_System_TmpDir" cat << EOF > dllfix.reg REGEDIT4 [HKEY_CURRENT_USER/Environment] "PATH"="c:\Program Files\Starcraft II\Support" [HKEY_CURRENT_USER/Software/Wine/X11 Driver] "UseXRandR"="N" EOF POL_Wine regedit.exe dllfix.reg # Asking about memory size of graphic card POL_SetupWindow_VMS $GAME_VMS # Set Graphic Card information keys for wine POL_Wine_SetVideoDriver # Sound problem fix - pulseaudio related [ "$POL_OS" = "Linux" ] && Set_SoundDriver "alsa" [ "$POL_OS" = "Linux" ] && Set_SoundEmulDriver "Y" ## End Fix POL_SetupWindow_message "$(eval_gettext 'If you choose to install the DVD version you have to exit the installer after the instalation is done. The old patcher app does not work at all in wine. The script will terminate any .exe proceses in case you forgot. Then a patch will be downloaded. You will continue the update process through Blizzard App rather than build-in patcher.')" # Choose between DVD and Digital Download version POL_SetupWindow_InstallMethod "DVD,LOCAL" if [ "$INSTALL_METHOD" == "DVD" ]; then # Asking for CDROM and checking if it's correct one POL_SetupWindow_message "$(eval_gettext 'Please insert game media into your disk drive\nif not already done.')" "$TITLE" POL_SetupWindow_cdrom POL_Call POL_Sudo_UnhideCdrom POL_SetupWindow_check_cdrom "Starcraft II Installer.app/Contents/Info.plist" POL_Wine start /unix "$CDROM/Installer.exe" POL_Wine_WaitExit "$CDROM/Installer.exe" [$(ps aux | grep -c *.exe) -lt 2] || killall *.exe cd "$POL_System_TmpDir" POL_Download "https://megagames2.online/downloads.php?file=sc2-1.4.2-enUS.exe&646965504532567d5954262e5a=1" POL_Wine start /unix "sc2-1.4.2-enUS.exe" POL_Wine_WaitExit "sc2-1.4.2-enUS.exe" else cd "$HOME" POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run:')" "$TITLE" SETUP_EXE="$APP_ANSWER" POL_Wine start /unix "$SETUP_EXE" POL_Wine_WaitExit "$TITLE" fi # Making shortcut POL_Shortcut "$WINEPREFIX/drive_c/Program Files/Battle.net/Battle.net.exe" "Battle.net($TITLE)" "" "" if [ "$INSTALL_METHOD" = "DVD" ]; then POL_Call POL_Sudo_RehideCdrom fi POL_SetupWindow_Close exit RepliesSunday 4 February 2018 at 16:35
Monday 5 February 2018 at 11:05
Monday 5 February 2018 at 21:17
Monday 5 February 2018 at 21:51
|
|||||||||||||||||||||||||||||||||
Aital | Sunday 28 January 2018 at 18:41 | |||||||||||||||||||||||||||||||||
Aital
|
MessageI got this working as far as offline goes. Installed battlenet and then starcraft 1 but it should work for starcraft II. I had to use wine-2.19-Staging to get the window to appear that lets you use offline mode to isntall games. It technically works for other versions but it's invisible and you have to click the mouse on the gear at the battle.net login screen and then move the mouse over the correct position for it to appear. But if you want to see it the easy way use 2.19-Staging. I have gotten offline mode to work for starcraft 1 and am dling starcraft 2. But I'm saying this for the battlenet thing. Offline for starcraft I gives error 6:3. I installed a few other things like gecko and mono and wininet. I don't think they contributed but I could be wrong. Do NOT install winhttp or it will start saying to reinstall because it cannot find a dll. Removing winhttp from the libraries in wine config will stop this problem. Sorry for the inclusion of SC1 but I'm still testing and downloading SC2. This was the first hurdle for SC2 play. I'm waiting to see how networking works or if it is like SC1. Needed: wine 2.19-Staging Windows 7 Possilble others:(may not be needed) Gecko Mono28?! Vcrun 2015. I forgot. I also installed the bottle initially with this installer. So anything it does as well. I will have to test SC1 battle.net access with higher versions of wine now that I know how to get into offline regardless of wine versions. RepliesSunday 28 January 2018 at 18:42
Sunday 28 January 2018 at 18:44
Sunday 28 January 2018 at 18:45
Sunday 28 January 2018 at 19:20
Sunday 28 January 2018 at 19:28
Sunday 28 January 2018 at 20:22
Sunday 28 January 2018 at 21:16
Sunday 28 January 2018 at 22:33
|
|||||||||||||||||||||||||||||||||
LinuxScripter | Thursday 11 May 2017 at 18:42 | |||||||||||||||||||||||||||||||||
LinuxScripter
|
WarningThis update has not been approved yet by the team. MessageI have redone this script. After more than 10 hour of testing I am 100% sure that this game/it's patcher and/or Battle.net app requires vcrun2015 and since there is no vcrun2015 on wiki I can assume there is no POL function for it but I included it anyway. If you are installing from DVD and the patcher crashes before patch 1 from 24 is installed (or the battle.net app cant login if you sellected an online instalation), close all POL windows and install vcrun2015 and corefonts (I think links used by POL to download them are down but I haven't checked it yet) via winetricks. After doing all of this I managed to get Battle.net working, I logged in and started downloading patches. Now the only problem with battle.net app its improper scalling (the bar with the window's name have to be removed but I haven't figured out how). The game itself tries to launch but only displays a black square and the crashes with "the graphics device is not avaiable". But maybe it will work once the download bar will turn green. So this script isn't 100% working as you can see but I post it in case someone who is better at scripting will figure something up. Differences@@ -1,93 +1,91 @@ #!/bin/bash # Date : (2010-04-08 10-00) -# Last revision : (2011-08-28 21:00) -# Wine version used : 1.3.3, 1.3.11, 1.3.17, 1.3.25, 1.3.26, 1.3.27 -# Distribution used to test : Debian Testing x64 -# Author : GNU_Raziel +# Last revision : (2017-05-11 17:11) +# Wine version used : 1.3.3, 1.3.11, 1.3.17, 1.3.25, 1.3.26, 1.3.27, 2.0.1 +# Distribution used to test : Debian Testing x64, Ubuntu 17.04 x64 +# Author : GNU_Raziel, LinuxScripter # Licence : Retail -# Only For : http://www.playonlinux.com - + [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" - + TITLE="StarCraft II Wings of Liberty" -EDITOR="StarCraft II Editor" +EDITOR="Blizzard" +AUTHOR="LinuxScripter and GNU_Raziel" +GAME_URL="http://eu.battle.net/sc2/en/" PREFIX="SC2_WoL" -WORKING_WINE_VERSION="1.5.10" -GAME_VMS="128" - +WORKING_WINE_VERSION="2.1" + # Starting the script - + POL_GetSetupImages "http://files.playonlinux.com/resources/setups/starcraft2_wol/top.jpg" "http://files.playonlinux.com/resources/setups/starcraft2_wol/left.jpg" "$TITLE" -POL_SetupWindow_Init -# Starting debugging API +POL_SetupWindow_Init POL_Debug_Init - -POL_SetupWindow_presentation "$TITLE" "Blizzard Entertainment" "http://eu.starcraft2.com/" "GNU_Raziel" "$PREFIX" - + +POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX" + # Setting prefix path POL_Wine_SelectPrefix "$PREFIX" - + # Downloading wine if necessary and creating prefix POL_System_SetArch "x86" POL_Wine_PrefixCreate "$WORKING_WINE_VERSION" - -# Choose between DVD and Digital Download version -POL_SetupWindow_InstallMethod "DVD,LOCAL" # Installing mandatory dependencies - + POL_Call POL_Install_vcrun2005 # Fix "Zeratul Missions" crash -POL_Wine_InstallFonts # Fix "Custom map" crash +POL_Call POL_Install_vcrun2008 +POL_Call POL_Install_vcrun2013 +POL_Call POL_Install_corefonts +POL_Call POL_Install_ie8 +POL_Call POL_Install_tahoma +POL_Call POL_Install_dotnet40 +POL_CALL POL_Install_vcrun2015 +PL_SetupWindow_message "$(eval_gettext 'If the patcher or Battle.net app crashes after instalation, use winetricks to make sure vcrun2015 and corefonts are installed (the build-in POL function to install corefonts seems to be broken).')" +# Choose between DVD and Digital Download version +POL_SetupWindow_InstallMethod "DVD,LOCAL" + if [ "$INSTALL_METHOD" == "DVD" ]; then - # Asking for CDROM and checking if it's correct one - POL_SetupWindow_message "$(eval_gettext 'Please insert game media into your disk drive\nif not already done.')" "$TITLE" - - POL_SetupWindow_cdrom - POL_Call POL_Sudo_UnhideCdrom - POL_SetupWindow_check_cdrom "Installer.exe" - - SetupIs="$CDROM/Installer.exe" - - POL_Wine start /unix "$SetupIs" - POL_Wine_WaitExit "$TITLE" + # Asking for CDROM and checking if it's correct one + POL_SetupWindow_message "$(eval_gettext 'Please insert game media into your disk drive\nif not already done.')" "$TITLE" + POL_SetupWindow_cdrom + POL_Call POL_Sudo_UnhideCdrom + POL_SetupWindow_check_cdrom "Starcraft II Installer.app/Contents/Info.plist" + POL_Wine start /unix "$CDROM/Installer.exe" + POL_Wine_WaitExit "$CDROM/Installer.exe" else - # Asking then installing DDV of the game - cd "$HOME" - POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run:')" "$TITLE" - SETUP_EXE="$APP_ANSWER" - POL_Wine start /unix "$SETUP_EXE" - POL_Wine_WaitExit "$TITLE" + cd "$HOME" + POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run:')" "$TITLE" + SETUP_EXE="$APP_ANSWER" + POL_Wine start /unix "$SETUP_EXE" + POL_Wine_WaitExit "$TITLE" fi - + # Asking about memory size of graphic card POL_SetupWindow_VMS $GAME_VMS - + ## Fix for this game POL_Wine_OverrideDLL "native,builtin" "mshtml" # Fix "Updater" crash - part 2 - + # Set Graphic Card information keys for wine POL_Wine_SetVideoDriver - + # Performance Tweak POL_Wine_Direct3D "UseGLSL" "disabled" - + # Sound problem fix - pulseaudio related [ "$POL_OS" = "Linux" ] && Set_SoundDriver "alsa" [ "$POL_OS" = "Linux" ] && Set_SoundEmulDriver "Y" ## End Fix - + # Making shortcut POL_Shortcut "StarCraft II.exe" "$TITLE" "$TITLE.png" "" -POL_Shortcut "StarCraft II Editor.exe" "$EDITOR" "$EDITOR.png" "" - + if [ "$INSTALL_METHOD" = "DVD" ]; then - POL_Call POL_Sudo_RehideCdrom + POL_Call POL_Sudo_RehideCdrom fi - -POL_SetupWindow_message "$(eval_gettext 'If you have a runtime error when running the game, open a terminal and type:\necho 0|sudo tee /proc/sys/kernel/yama/ptrace_scope')" - + POL_SetupWindow_Close exit \ No newline at end of file New source code#!/bin/bash # Date : (2010-04-08 10-00) # Last revision : (2017-05-11 17:11) # Wine version used : 1.3.3, 1.3.11, 1.3.17, 1.3.25, 1.3.26, 1.3.27, 2.0.1 # Distribution used to test : Debian Testing x64, Ubuntu 17.04 x64 # Author : GNU_Raziel, LinuxScripter # Licence : Retail [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" TITLE="StarCraft II Wings of Liberty" EDITOR="Blizzard" AUTHOR="LinuxScripter and GNU_Raziel" GAME_URL="http://eu.battle.net/sc2/en/" PREFIX="SC2_WoL" WORKING_WINE_VERSION="2.1" # Starting the script POL_GetSetupImages "http://files.playonlinux.com/resources/setups/starcraft2_wol/top.jpg" "http://files.playonlinux.com/resources/setups/starcraft2_wol/left.jpg" "$TITLE" POL_SetupWindow_Init POL_Debug_Init POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX" # Setting prefix path POL_Wine_SelectPrefix "$PREFIX" # Downloading wine if necessary and creating prefix POL_System_SetArch "x86" POL_Wine_PrefixCreate "$WORKING_WINE_VERSION" # Installing mandatory dependencies POL_Call POL_Install_vcrun2005 # Fix "Zeratul Missions" crash POL_Call POL_Install_vcrun2008 POL_Call POL_Install_vcrun2013 POL_Call POL_Install_corefonts POL_Call POL_Install_ie8 POL_Call POL_Install_tahoma POL_Call POL_Install_dotnet40 POL_CALL POL_Install_vcrun2015 PL_SetupWindow_message "$(eval_gettext 'If the patcher or Battle.net app crashes after instalation, use winetricks to make sure vcrun2015 and corefonts are installed (the build-in POL function to install corefonts seems to be broken).')" # Choose between DVD and Digital Download version POL_SetupWindow_InstallMethod "DVD,LOCAL" if [ "$INSTALL_METHOD" == "DVD" ]; then # Asking for CDROM and checking if it's correct one POL_SetupWindow_message "$(eval_gettext 'Please insert game media into your disk drive\nif not already done.')" "$TITLE" POL_SetupWindow_cdrom POL_Call POL_Sudo_UnhideCdrom POL_SetupWindow_check_cdrom "Starcraft II Installer.app/Contents/Info.plist" POL_Wine start /unix "$CDROM/Installer.exe" POL_Wine_WaitExit "$CDROM/Installer.exe" else cd "$HOME" POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run:')" "$TITLE" SETUP_EXE="$APP_ANSWER" POL_Wine start /unix "$SETUP_EXE" POL_Wine_WaitExit "$TITLE" fi # Asking about memory size of graphic card POL_SetupWindow_VMS $GAME_VMS ## Fix for this game POL_Wine_OverrideDLL "native,builtin" "mshtml" # Fix "Updater" crash - part 2 # Set Graphic Card information keys for wine POL_Wine_SetVideoDriver # Performance Tweak POL_Wine_Direct3D "UseGLSL" "disabled" # Sound problem fix - pulseaudio related [ "$POL_OS" = "Linux" ] && Set_SoundDriver "alsa" [ "$POL_OS" = "Linux" ] && Set_SoundEmulDriver "Y" ## End Fix # Making shortcut POL_Shortcut "StarCraft II.exe" "$TITLE" "$TITLE.png" "" if [ "$INSTALL_METHOD" = "DVD" ]; then POL_Call POL_Sudo_RehideCdrom fi POL_SetupWindow_Close exit RepliesThursday 11 May 2017 at 19:48
Thursday 11 May 2017 at 20:11
Friday 12 May 2017 at 0:17
Thursday 18 May 2017 at 13:58
Thursday 18 May 2017 at 17:26
|
|||||||||||||||||||||||||||||||||
lacton | Saturday 18 March 2017 at 11:09 | |||||||||||||||||||||||||||||||||
lacton
|
MessageThis installer doesn't work anymore. The game installs properly. However, starting the game produces a crash with the error message "Error in main StarCraft II Wings of Liberty crashed." The debug log says Running wine-1.5.10 StarCraft II.exe (Working directory : /home/user/.PlayOnLinux/wineprefix/SC2_WoL/drive_c/Program Files/StarCraft II) Even with GLSL enabled, the game crashes, with the following log: Running wine-1.5.10 StarCraft II.exe (Working directory : /home/user/.PlayOnLinux/wineprefix/SC2_WoL/drive_c/Program Files/StarCraft II)
What is the procedure to get this installer removed or replaced? Replies |
|||||||||||||||||||||||||||||||||
lacton | Monday 23 January 2017 at 21:47 | |||||||||||||||||||||||||||||||||
lacton
|
MessageThanks, JWP. With the official script, SC2 would install but would freeze at the beginning. With your script, I was able to install and play the game. The installation from the DVD failed, because the file referenced by your script isn't on the DVD. But it doesn't matter, since the installation from the web site worked. Thanks a million for your contribution! RepliesTuesday 9 May 2017 at 15:28
|
|||||||||||||||||||||||||||||||||
jwp | Thursday 3 November 2016 at 22:24 | |||||||||||||||||||||||||||||||||
jwp
|
MessageI had to make a few changes to the POL to make it work again, I also included some stuff inteded to make Diablo work, but did not test Diablo... This is working for Starcraft 2 on Ubuntu 16.10 with default AMDGPU driver. #!/bin/bash [ "$PLAYONLINUX" == "" ] && exit 0 # Starting the script # Starting debugging API POL_SetupWindow_presentation "$TITdLE" "$DEVELOPER" "http://www.starcraft2.com" "$AUTHOR" "$PREFIX" # Downloading wine if necessary and creating prefix # Installing (mandatory - considering Diablo as well) dependencies POL_Wine_OverrideDLL "native,builtin" "dnsapi" # Choose between DVD, Digital LOCAL and DOWNLOAD version # Asking about memory size of graphic card # Set Graphic Card information keys for wine # Making shortcut POL_SetupWindow_message "$(eval_gettext 'If you have a runtime error when running the game, open a terminal and type:\nsudo sed -i 's/kernel.yama.ptrace_scope = 1/kernel.yama.ptrace_scope = 0/' /etc/sysctl.d/10-ptrace.conf\nsysctl -p /etc/sysctl.d/10-ptrace.conf\n POL_SetupWindow_Close RepliesFriday 12 May 2017 at 11:01
|
|||||||||||||||||||||||||||||||||
RedSoxFan13 | Saturday 15 October 2016 at 2:06 | |||||||||||||||||||||||||||||||||
RedSoxFan13
|
MessageIt installed, but that's about as far as it got. When I open StarCraft II, it tries to download and install updates, but it's stuck at 27%. Is anyone else having this problem? Replies |
|||||||||||||||||||||||||||||||||
BloodyIron | Monday 1 February 2016 at 15:16 | |||||||||||||||||||||||||||||||||
BloodyIron
|
MessageCan we get this updated? WoL hasn't been current for over 15 years... (not really, but quite a few years now).
Also, there's way newer versions of wine than 1.5.10 RepliesTuesday 2 February 2016 at 3:17
|
|||||||||||||||||||||||||||||||||
4402927 | Thursday 31 December 2015 at 15:19 | |||||||||||||||||||||||||||||||||
4402927
|
MessageInstaller doesn't work... Game works with https://www.playonlinux.com/en/app-1195-Diablo_III.html Replies |
|||||||||||||||||||||||||||||||||
samueldg | Wednesday 7 October 2015 at 23:36 | |||||||||||||||||||||||||||||||||
samueldg
|
MessageUsing wine 1.7.19-staging. All fine for some months .... and .... PATCH 3 BORN!!!! ..... and SC2 doesn't want run. Now appears a dialog saying that now Starcraft II requires a video card with "vertex shader 3.0", and ... I were playing without problems yesterday!!!!!! I need help guys, as you know the Blizzard Support for these issues are worst!!!.
Thanks!!!!!!! Replies |
|||||||||||||||||||||||||||||||||
aclarembeau | Sunday 9 August 2015 at 0:05 | |||||||||||||||||||||||||||||||||
aclarembeau
|
MessageFeedback for Linux Mint 17.2 I tried to run the pre-made installation but I had a message: "Unable to create graphic context". I switched from Wine 1.5.10 to 1.7.49 and the problem has been solved. Then, because I used the "nouveau" free driver for my graphic card (hybrid Intel processor graphic / Geforce 635M), the game launches but there's a very strange coloured screen, probably a graphic bug. I Installed Nvidia-311 proprietary driver and all was solved. So, my solution: - install proprietary driver - use a newer wine version (maybe it must be set to 1.7.49 as default, wouldn't it be easier). PS: Excuse me for my poor English. __________________________________________________________ (en français) Si quand vous lancez le jeu, vous avez un message relatif à un problème de contexte de carte graphique -> utiliser la version 1.7.49 de wine (dans menu configurer) Si vous avez des images étranges, iclinées, qui ne représentent rien de particulier -> pensez à utiliser le pilote propriétaire adéquat (et non pas le pilote libre de base, "nouveau") ______________________________________________________________ Anyway, PlayOnLinux is a marvellous software. Keep on doing support for our preffered games <3 Replies |
|||||||||||||||||||||||||||||||||
Naminal | Thursday 30 July 2015 at 21:17 | |||||||||||||||||||||||||||||||||
Naminal
|
MessageBonjour à tous, Jje rencontre un problème quand j'installe SCT 2 WINGS OF LIBERTY la fenêtre SUDO s'ouvre (au bout de quelques étapes) est me demande mon mot de passe... je l'écrit mais rien ne s'affiche dans la fenêtre, je valide au cas où mais sa ne fonctionne pas. Cela empêche l'installation de ce terminer correctement! Je débute avec cette OS. Que je trouve bien au passe, léger, efficace, jolie et gratuit. Merci pour votre aide. Replies |
|||||||||||||||||||||||||||||||||
samueldg | Monday 11 May 2015 at 10:47 | |||||||||||||||||||||||||||||||||
samueldg
|
MessageHere is a sound problem. I had the program running fine with an INTEL GRAPHICS CARD with 128 and/or 256 video ram whith this script: #!/bin/sh export force_s3tc_enable=true /usr/share/playonlinux/playonlinux --run "StarCraft II" $1 My problem is with the sound. On first time, when I run SC2 i have no sound issue, but, after a time playing the sound and the voice chat goes off and/or distortioned (I cannot hear it fine, with no known sounds). On second time, I can observe that launching TeamSpeak 3 before SC2, directly the sound where distortioned, and is not usable. Fine, I observe that if I launch the POL WINECFG over SC2 installation, I have all my PC sound hardware selectable, but if I launch it with TeamSpeak 3 (for linux, obviously) running, POL WINECFG lost my default sound hardware and the sound test were distortioned. I have CENTOS 6 x64. I think I have any type of conflict with Pulseaudio and/or snd_hda_intel, because my system need the same driver for the normal audio (REALTEK ALC887-VD). I cannot find that model on my /usr/share/doc/kernel-doc-2.6.32/Documentation/sound/alsa/HD-Audio-Models.txt file to see what are the exact parameters to allow me use it without problems. Please, help me a bit with this issue, I need use TS3 for multiplayer when I play SC2 with my friends. Regards Replies |
|||||||||||||||||||||||||||||||||
Yuoso | Saturday 10 January 2015 at 15:46 | |||||||||||||||||||||||||||||||||
Yuoso
|
MessageHello all. I am having difficulty installing SC2- WOL on Ubuntu with PlayOnLinux. RepliesThursday 7 May 2015 at 21:19
|
|||||||||||||||||||||||||||||||||
bodtx | Wednesday 26 November 2014 at 23:28 | |||||||||||||||||||||||||||||||||
bodtx
|
MessageHello I'm trying this on linux mint 15 It goes untill the download of starcraft and the switch the screen and says wine received invalid parameters looks like a gaphic problem I have a VGA compatible controller: NVIDIA Corporation GF108 [GeForce GT 630] (rev a1)
here is the playonlinux log: http://mrte.rc.free.fr/playonlinux.log.zip thx for any help
RepliesThursday 27 November 2014 at 7:16
Friday 28 November 2014 at 8:34
Friday 28 November 2014 at 8:35
Friday 28 November 2014 at 8:43
Friday 28 November 2014 at 14:51
Friday 28 November 2014 at 15:52
Friday 28 November 2014 at 15:53
Friday 28 November 2014 at 18:03
Friday 28 November 2014 at 22:06
Saturday 29 November 2014 at 22:40
Saturday 29 November 2014 at 22:44
Thursday 7 May 2015 at 19:18
Thursday 7 May 2015 at 19:21
Thursday 7 May 2015 at 19:43
Thursday 7 May 2015 at 20:07
|
|||||||||||||||||||||||||||||||||
Tutul | Friday 13 June 2014 at 15:31 | |||||||||||||||||||||||||||||||||
Tutul
|
WarningThis update has not been approved yet by the team. Differences@@ -1,7 +1,7 @@ #!/bin/bash # Date : (2010-04-08 10-00) # Last revision : (2011-08-28 21:00) -# Wine version used : 1.3.3, 1.3.11, 1.3.17, 1.3.25, 1.3.26, 1.3.27 +# Wine version used : 1.3.3, 1.3.11, 1.3.17, 1.3.25, 1.3.26, 1.3.27, 1.7.19 # Distribution used to test : Debian Testing x64 # Author : GNU_Raziel # Licence : Retail @@ -10,10 +10,10 @@ [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" -TITLE="StarCraft II Wings of Liberty" +TITLE="StarCraft II" # The script also works for Heart of the Swarm (Tutul) EDITOR="StarCraft II Editor" -PREFIX="SC2_WoL" -WORKING_WINE_VERSION="1.5.10" +PREFIX="SC2" # The script also works for Heart of the Swarm (Tutul) +WORKING_WINE_VERSION="1.7.19" # Fix Battle.net crash and better quality in-game (Tutul) GAME_VMS="128" # Starting the script @@ -80,7 +80,7 @@ ## End Fix # Making shortcut -POL_Shortcut "StarCraft II.exe" "$TITLE" "$TITLE.png" "" +POL_Shortcut "StarCraft II.exe" "$TITLE" "$TITLE.png" "" # bad icon => POL icon (Tutul) POL_Shortcut "StarCraft II Editor.exe" "$EDITOR" "$EDITOR.png" "" if [ "$INSTALL_METHOD" = "DVD" ]; then New source code#!/bin/bash # Date : (2010-04-08 10-00) # Last revision : (2011-08-28 21:00) # Wine version used : 1.3.3, 1.3.11, 1.3.17, 1.3.25, 1.3.26, 1.3.27, 1.7.19 # Distribution used to test : Debian Testing x64 # Author : GNU_Raziel # Licence : Retail # Only For : http://www.playonlinux.com [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" TITLE="StarCraft II" # The script also works for Heart of the Swarm (Tutul) EDITOR="StarCraft II Editor" PREFIX="SC2" # The script also works for Heart of the Swarm (Tutul) WORKING_WINE_VERSION="1.7.19" # Fix Battle.net crash and better quality in-game (Tutul) GAME_VMS="128" # Starting the script POL_GetSetupImages "http://files.playonlinux.com/resources/setups/starcraft2_wol/top.jpg" "http://files.playonlinux.com/resources/setups/starcraft2_wol/left.jpg" "$TITLE" POL_SetupWindow_Init # Starting debugging API POL_Debug_Init POL_SetupWindow_presentation "$TITLE" "Blizzard Entertainment" "http://eu.starcraft2.com/" "GNU_Raziel" "$PREFIX" # Setting prefix path POL_Wine_SelectPrefix "$PREFIX" # Downloading wine if necessary and creating prefix POL_System_SetArch "x86" POL_Wine_PrefixCreate "$WORKING_WINE_VERSION" # Choose between DVD and Digital Download version POL_SetupWindow_InstallMethod "DVD,LOCAL" # Installing mandatory dependencies POL_Call POL_Install_vcrun2005 # Fix "Zeratul Missions" crash POL_Wine_InstallFonts # Fix "Custom map" crash if [ "$INSTALL_METHOD" == "DVD" ]; then # Asking for CDROM and checking if it's correct one POL_SetupWindow_message "$(eval_gettext 'Please insert game media into your disk drive\nif not already done.')" "$TITLE" POL_SetupWindow_cdrom POL_Call POL_Sudo_UnhideCdrom POL_SetupWindow_check_cdrom "Installer.exe" SetupIs="$CDROM/Installer.exe" POL_Wine start /unix "$SetupIs" POL_Wine_WaitExit "$TITLE" else # Asking then installing DDV of the game cd "$HOME" POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run:')" "$TITLE" SETUP_EXE="$APP_ANSWER" POL_Wine start /unix "$SETUP_EXE" POL_Wine_WaitExit "$TITLE" fi # Asking about memory size of graphic card POL_SetupWindow_VMS $GAME_VMS ## Fix for this game POL_Wine_OverrideDLL "native,builtin" "mshtml" # Fix "Updater" crash - part 2 # Set Graphic Card information keys for wine POL_Wine_SetVideoDriver # Performance Tweak POL_Wine_Direct3D "UseGLSL" "disabled" # Sound problem fix - pulseaudio related [ "$POL_OS" = "Linux" ] && Set_SoundDriver "alsa" [ "$POL_OS" = "Linux" ] && Set_SoundEmulDriver "Y" ## End Fix # Making shortcut POL_Shortcut "StarCraft II.exe" "$TITLE" "$TITLE.png" "" # bad icon => POL icon (Tutul) POL_Shortcut "StarCraft II Editor.exe" "$EDITOR" "$EDITOR.png" "" if [ "$INSTALL_METHOD" = "DVD" ]; then POL_Call POL_Sudo_RehideCdrom fi POL_SetupWindow_message "$(eval_gettext 'If you have a runtime error when running the game, open a terminal and type:\necho 0|sudo tee /proc/sys/kernel/yama/ptrace_scope')" POL_SetupWindow_Close exit RepliesSunday 27 July 2014 at 8:55
Sunday 27 July 2014 at 9:00
Sunday 3 August 2014 at 15:53
Friday 12 December 2014 at 23:38
Thursday 30 July 2015 at 23:25
|
|||||||||||||||||||||||||||||||||
rashintawak | Friday 13 June 2014 at 15:30 | |||||||||||||||||||||||||||||||||
rashintawak
|
MessageJ'ai juste du passer à une version plus récente de wine que la 1.5 mais tout fonctione bien, et j'en suis d'ailleur le premier surpris, les parties classés me sont possible dans le sens où je n'ai pas de handicap majeur suplémentaire, tout s'affiche et est fluide ! ( même si il doit y avoir quelque FPS en moins, rien de perseptible pour le comun des mortelles de mon coté). Replies |
This site allows content generated by members, and we promptly remove any content that infringes copyright according to our Terms of Service. To report copyright infringement, please send a notice to dmca-notice@playonlinux.com