You are here    Supported software    Starcraft II Wings of Liberty nl sv ru pl es de fr

Starcraft II Wings of Liberty

Informations

Creator Message
Tutul
Moderator

Information

This installer has been approved by the team.

Informations

Platforms:
Downloads: 192983
Wine: 1.5.10

Feedbacks

Description

Français :
Starcraft II : Wings of Liberty est un jeu de stratégie en temps réel sur PC au sein d'une galaxie où trois factions s'affrontent sans merci. D'un côté, les Terrans, descendants de colons humains. De l'autre, les Protoss, une race très avancée technologiquement et dotée de pouvoirs psioniques. Enfin, les Zergs, hordes de créatures diverses issues de mutations biologiques et regroupées en essaim. Cet opus comprend la campagne solo Terran et tout le nécessaire pour jouer en multi.

English :
StarCraft II : Wings of Liberty features the first of three fully featured single-player campaigns, kicking things off with the terrans. Humanity's representatives in the Koprulu sector have been through a lot since they first left Earth centuries ago and have adapted to a variety of hardships while subjected to dictatorial rule, zerg invasion, and protoss cleansing. Despite these struggles, they’ve still managed to cultivate heroes, advance their technology, and-- most importantly -- survive.

Screenshots

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
# 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 Wings of Liberty"
EDITOR="StarCraft II Editor"
PREFIX="SC2_WoL"
WORKING_WINE_VERSION="1.5.10"
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" ""
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

Contributions

Filters:

Contribute
Member Message
bodtx Wednesday 26 November 2014 at 23:28
bodtx Anonymous

Message

Hello 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)


and official nvidia drivers

here is the playonlinux log:

http://mrte.rc.free.fr/playonlinux.log.zip

thx for any help

 

 

Replies

Thursday 27 November 2014 at 7:16 -
[11/26/14 22:59:22] - Running wine-1.5.10 cmd /c echo %ProgramFiles%
%SystemDrive%\Program Files
The virtual drive is corrupted, remove it and reinstall from scratch. By the way PlayOnLinux 4.1.1 is obsolete (released May 20th, 2012)
Anonymous
Friday 28 November 2014 at 8:34 -
Hi thx, indeed, I've upgraded playonlinux to 4.2.5 but same error: after clicking on install SC2 (when it is supposed to DL the 15GB).
Anonymous
Friday 28 November 2014 at 8:35 -
Here are the logs: http://mrte.rc.free.fr/playonlinux.log2.zip
Anonymous
Friday 28 November 2014 at 8:43 -
I think these errors are about résolution not found:
fixme:d3d9:D3DPERF_GetStatus (void) : stub
fixme:win:EnumDisplayDevicesW ((null),0,0x33c470,0x00000000), stub!
err:wgl:glxdrv_wglSetPixelFormat Couldn't set format of the window, returning failure
err:d3d:context_create Failed to set pixel format 1 on device context 0x348.
err:d3d:context_choose_pixel_format Can't find a suitable iPixelFormat
fixme:process:GetLogicalProcessorInformation (0x585e338,0x585e938): stub
err:wgl:glxdrv_wglSetPixelFormat Couldn't set format of the window, returning failure
err:d3d:context_create Failed to set pixel format 1 on device context 0x514.
fixme:d3d:wined3d_get_format Can't find format WINED3DFMT_R24_UNORM_X8_TYPELESS (0x49) in the format lookup table
fixme:d3d:getDepthStencilBits Unsupported depth/stencil format WINED3DFMT_UNKNOWN.

I've already try to enable emulate virtual device in wine, but it did not change the error
Friday 28 November 2014 at 14:51 -
Do you have deleted the old wineprefix and reinstall StarCraft 2 ?
Anonymous
Friday 28 November 2014 at 15:52 -
Yes I've deleted this directory:
Anonymous
Friday 28 November 2014 at 15:53 -
/home/alexis/.PlayOnLinux/wineprefix/SC2_WoL
and the screen I have is this one
http://snag.gy/0AUuW.jpg
Friday 28 November 2014 at 18:03 -
and the link, can you give me the link (the error code), so I can check the problem
Anonymous
Friday 28 November 2014 at 22:06 -
I'm experiencing the same problem. I have just installed POL so I guess it's the latest version, installed SC1 and now tried to install SC2. Same error as above.
Anonymous
Saturday 29 November 2014 at 22:40 -
ok here is the link: https://us.battle.net/support/en/article/blzbntbna0000000a

I've made it work!, well I wanted to try with wine 1.7.31, but each time I launch the install playonlinux.cfg was overwritten and wine version was set to 1.5.10
So i've changed the file after starting the install and it works
may be trying to set it readonly and change the wine version could work.
Anyway no I've set the wine version with playonlinux config menu and it stays on 1.7.31.
SC2 seems to work perfectly now
thx for the job
Saturday 29 November 2014 at 22:44 -
I will check that version soon :) (sorry but I'm busy)
Tutul Friday 13 June 2014 at 15:31
Tutul
Moderator

Warning

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

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

Replies

Anonymous
Sunday 27 July 2014 at 8:55 -
I'm so frustrated i would really love your help.
Anonymous
Sunday 27 July 2014 at 9:00 -
I have used both your scripts after trying to install starcraft, and they seem to be working, i know there must be something small that is stopping me from enjoying my game. My problem is i can't see my mouse pointer. I have managed to get sound working, but the game, when i start it, comes up on screen, but behind it i can see the desktop has shrunk to a smaller size. This and the mouse becoming invisible make it a little hard to play. I know other people have got it working i would really love some help please. I am about to try uninstalling wine 1.7 and using your original script again to see if that makes a difference. Please help. I'd be very grateful. Thank you in advance.
Sunday 3 August 2014 at 15:53 -
And with wine 1.7.20 or 1.7.22 ?
Anonymous
Friday 12 December 2014 at 23:38 -
With this updated version I can install Starcraft II with Debian Testing / Jessie.
rashintawak Friday 13 June 2014 at 15:30
rashintawak Anonymous

Message

J'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