From ArchWiki
Revision as of 20:20, 3 September 2010 by Montschok (talk | contribs) (References and Resources)
Jump to navigation Jump to search


You need Kernel <= 2.6.32 or kernel>=2.6.35

Note: core/kernel26 is up to date (both i686 and x86_64). Just make sure to run pacman -Syu and reboot.

Without such a kernel, you will get one of these errors at the start most of the time:


Wine >= 1.2

You need wine >= 1.2. community/wine is recent enough.

$ pacman -S wine

Configure Wine

  • For normal sound output:
$ winecfg
Go to Libraries, add "mmdevapi" and set it to "disabled".
  • Or you can install openal, in which case the mmdevapi setting isn't required:
# pacman -S openal
# pacman -S lib32-openal (this line is only necessary for x86_64)
  • Install libjpeg and libldap:
# pacman -S libjpeg libldap
# pacman -S lib32-libjpeg lib32-libldap (this line is only necessary for x86_64)
  • Tell wine how much memory your graphics card has (to avoid some graphics problems that may appear after a while):
$ regedit
Go to HKEY_CURRENT_USER/Software/Wine/Direct3D
Right-click on Direct3D, select New -> String Value
Name it VideoMemorySize, set it to the amount of memory your graphics card has (such as 128, 256, 768 or whatever you have).
$ sh winetricks vcrun2005 vcrun2008
  • To get rid of some warnings that may or may not matter, you may want to install the following on x86_64:
# pacman -S lib32-esound lib32-mpg123 lib32-jack
  • Don't emulate a virtual desktop for the installer.
  • If the installer doesn't work, backup and remove your .wine directory.
  • If you are asked to install Gecko, then click install to do so.
  • If the installer hangs while downloading patch 1.03, install ie6, and set the wine version to windows XP:
$ sh winetricks ie6
$ winecfg
Go to Applications, set Windows Version to "Windows XP"

Installing StarCraft II

Installing from DVD

  • Mount DVD/DVD Image, (unhide invisible data), for example:
$ mount -o ro,unhide,uid=1000 /dev/dvd /media/dvd (for the DVD)
$ mount -o loop,ro,unhide,uid=<your_id> <starcraft.iso> /media/dvd (for an image) 
  • Start the installer:
$ wine /media/dvd/Installer.exe

Blizzard Downloader

  • Get the downloader from your account (you need to log in).
  • You may want to go to View -> Preferences and check "Don't throttle background download".
  • During the install, you will need about twice the space of the installed game, since it downloads to a temporary directory (of your choice) before installing. This directory can be deleted after install.

Playing StarCraft II

$ cd .wine/drive_c/Program\ Files/StarCraft\ II/
$ wine StarCraft\ II.exe

(Or use the Starcraft II icon, but that'll make it more difficult to troubleshoot in case you have problems.)

Hints for Performance Tuning

  • CTRL+ALT+F shows FPS
  • Launching the game with the -opengl flag has been reported to increase performance. (This may be specific to the mac version.)
  • Disabling Shader in wine could help, if FPS is too low. (It may also cause the game to not work at all. Again, possibly only mac.)
  • Make sure that you are not using old graphics drivers. Nvidia drivers should be 256.35 or later (extra/nvidia is up to date).


If you are running a 64bit version of Arch Linux, you may have trouble getting the updating done. Since StarCraft 2 uses Internet Explorer to render all the HTML pages, you need to have Internet Explorer installed. However, by the installer of IE6 will warn you that 64bit is not supported. By default, if you have created your wine configuration directory (~/.wine), it will be set to 64 bit. To overcome this problem, you must recreate your ~/.wine configuration. Simply remove the ~/.wine directory, add export WINEARCH="win32" to your ~/.bashrc, logout of X, login once again and launch wine. It should create a ~/.wine folder. Next install ie6 with

$ winetricks ie6

More information can be found here

Other Problems

  • For some, the game crashes upon exit.
  • If you want to use pulseaudio, compile it from AUR. Pulseaudio may have a big performance impact, see Pulseaudio Troubleshooting
  • (There seems to be more issues with ati cards than nvidia.)
  • For some, in-gamechange of resolution does not work. Editing 'width=x' and 'height=y' in Variables.txt in My Documents/Starcraft II solves this issue. Replace x and y with the prefered resolution.

References and Resources