Bonjour,
Il y a peut-être une piste sur le site suivant :
http://jeffhoogland.blogspot.com/2010/07/howto-starcraft-2-on-linux-with-wine.html
En bref, il semblerait que il faut que Wine simule Windows XP ou Windows 7, je sais pas, c'est pas très clair.
Donc, je vous propose de tenter d'exécuter ce script (qui est le même que celui accessible par le bouton Installer -> Jeux -> Starcraft II, à part la modif pour la version de Windows) :
#!/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.playonmac.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.3.27"
GAME_VMS="128"
# Starting the script
rm "$POL_USER_ROOT/tmp/*.jpg"
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 "auto"
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_Call POL_Install_gecko # Fix "Updater" crash - part 1
POL_Wine_InstallFonts # Fix "Custom map" crash
Set_OS "winxp"
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_SetupWindow_wait_next_signal "$(eval_gettext 'Waiting for users commands...')" "$TITLE"
VALID_UID=`id -g`
VALID_DEVNODE=`mount | grep "$CDROM" | awk '{print $1}'`
POL_Call POL_Function_RootCommand "sudo umount '$CDROM' && sudo mkdir -p /media/PlayOnLinux/ && sudo mount -o ro,unhide,uid=$VALID_UID $VALID_DEVNODE /media/PlayOnLinux/ ; exit"
CDROM="/media/PlayOnLinux"
# Removed since it cause error with some foreign languages
#POL_SetupWindow_check_cdrom "Installer Tome 1.MPQE"
# Copying DVD files to HDD & starting installation
cd "$HOME"
mkdir -p "$POL_USER_ROOT/tmp/SC2_WoL/"
POL_SetupWindow_wait_next_signal "$LNG_WAIT_COPY" "$TITLE"
cp -r /media/PlayOnLinux/* "$POL_USER_ROOT/tmp/SC2_WoL/"
POL_Wine start /unix "$POL_USER_ROOT/tmp/SC2_WoL/Installer.exe"
POL_SetupWindow_message "$(eval_gettext 'Click on "Forward" ONLY when the game installation is finished\\nor you will have to redo the installation.')" "$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
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
# Cleaning temp
if [ -e "$WINEPREFIX/drive_c/windows/temp/" ]; then
rm -rf "$WINEPREFIX/drive_c/windows/temp/*"
chmod -R 777 "$POL_USER_ROOT/tmp/"
rm -rf "$POL_USER_ROOT/tmp/*"
fi
# Making shortcut
POL_Shortcut "StarCraft II.exe" "$TITLE" "$TITLE.png" ""
POL_Shortcut "StarCraft II Editor.exe" "$EDITOR" "$EDITOR.png" ""
POL_SetupWindow_Close
exit
Instructions :
1) Supprimez le disque dur virtuel existant (à moins que il soit déjà supprimé) de l'installation ratée (c'est plus sur) : Cliquez sur
Configurer (dans PlayOnLinux) -> Cliquez sur
SC2_WoL dans la partie gauche -> Cliquez sur
Supprimer.
2) Copiez le script ci-dessus, puis collez-le dans un fichier, donnez le nom que vous voulez au fichier.
3) Menu
Outils (dans playonlinux) ->
Exécuter un script local -> Sélectionnez votre fichier.
Si ce script ne marche pas, changez juste la ligne
Set_OS "winxp" en
Set_OS "win7" puis re-supprimez le disque dur virtuel comme expliqué au point 1, et réessayez l'installation.
En espèrent que ça marche, et si ça marche, ce serait gentil de préciser si il faut utiliser winxp ou win7.
Edited by SuperPlumus