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

Starcraft II Wings of Liberty

Informations

Creator Message
Tutul
Moderator

Information

This installer has been approved by the team.

Informations

Platforms:
Downloads: 188887
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
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 ?
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