Install Starcraft 2 on Linux (Ubuntu with Wine)

HowTo install StarCraft II on Ubuntu 10.10 Linux under wine.

Install the latest version of Wine from http://www.winehq.org/download/

Mount the CD drive properly:

sudo umount /media/SC2*
sudo mount -t udf -o ro,unhide,uid=$(id -u) /dev/sr0 /media/cdrom

(you might have to use something different than /dev/sr0 – that’s what it is on my Ubuntu 10.10 install)

Then run these commands:

cd ~/Downloads
wget http://winezeug.googlecode.com/svn/trunk/winetricks
chmod +x winetricks
./winetricks droid fontfix fontsmooth-rgb gdiplus gecko
./winetricks vcrun2008 vcrun2005 allfonts d3dx9 win7
winecfg

In the configuration Window it opens go to the libraries tab and enter mmdevapi in the new override for library box and click add. Now scroll through the existing over rides list for mmdevapi click edit and set it to disabled. Finally click on the audio tab and set it to alsa (it should be alsa by default).

Then run the installer through wine:

wine /media/cdrom/Installer.exe 

and you’re off!

Once installed, I had to perform some regedit tweaks in order to get good graphics in starcraft under wine, run regedit under wine:

wine regedit 

Navigate to HKEY_CURRENT_USER/Software/Wine/Direct3D (you may have to create this key).
Right click on this Direct3D key and select “New” then select “String” for each of the keys bellow and set the string to the corresponding value.

KeyValue
DirectDrawRendereropengl
Multisamplingdisabled
OffScreenRenderingModepbuffer
UseGLSLdisabled
VertexShaderModehardware
VideoMemorySize1024 (Set this value to the RAM on your video card)

To launch starcraft 2 in window mode I used the -displayMode=0 argument, like:

env WINEDEBUG=-all WINEPREFIX="/home/dbaker/.wine" wine /home/dbaker/.wine/drive_c/Program Files/StarCraft II/StarCraft II.exe -displayMode=0

Screenshots follow:

 


 

 

 

Screenshot of it automatically updating starcraft 2 with the latest patches after install in wine:

starcraft1

starcraft2

starcraft3

starcraft4

This is me hiding my command centre after a friend totally owned me on my first ever network game: 

starcraft5

 

Thanks to http://jeffhoogland.blogspot.com/2010/07/howto-starcraft-2-on-linux-with-wine.html

Leave a Reply

Your email address will not be published. Required fields are marked *