Starcraft 2 Beta Wings of Liberty in Ubuntu Lucid Lynx with Wine

Ofcourse, when using a dual-boot setup with M$ and Linux it is annoying when you need to reboot into Windows constantly just to be able to play the Starcraft 2 Wings of Liberty Beta game. Ofcourse you try to install Starcraft 2 Wings of Liberty Beta via Wine the normal way.. Too bad that will not work out of the box! Then, you try out the manual and suggestions which are at the appdb from the Wine website. Too bad.. It still won’t work. In order to get my Starcraft 2 Wings of Liberty Beta running on Ubuntu Lucid Lynx with Wine I did the following:

1: Login at with your account and download the Starcraft 2 Wings of Liberty Beta installer for Windows
2: Install the git version control system so you can download the Wine source code. Also install build-essential and the dependencies for wine as you will need it to compile wine from source

sudo aptitude install git-core build-essential -y
sudo apt-get build-dep wine -y

3: Get the Wine source code via git and put it in your home directory in a folder called winesourcecode
git clone git:// ~/winesourcecode
4: Go into the winesourcecode folder
cd ~/winesourcecode
5: Download the patch from and the winehq bugs site and patch the Wine source code so you are able to login to with Starcraft 2 Wings of Liberty Beta and so will not get a black screen after patch 16. You could check the bottom of this article to see what output you should get for the patch from
wget -q -O - | patch -p1
wget -q -O - | patch -p1
6: Compile Wine after you have applied the patch (see step 5)
tools/make_requests && ./configure && make depend && make
7: Install the software into your system
sudo make install
8: Download winetricks so you can get extra software and settings for Wine which you will need to run Starcraft 2 Beta Wings of Liberty. Visual basic 2008 and 2005 will need some interaction from the user because its needs confirmation. Make sure cabextract is installed.
sudo aptitude install cabextract -y
sh winetricks fontfix fontsmooth-rgb allfonts gecko gdiplus d3dx9 win7
sh winetricks vcrun2008 vcrun2005

9: Open winecfg so you can change settings that are needed to run Starcraft 2 Beta Wings of Liberty
10: Make settings to winecfg
Open the Libraries tab
Select mmdevapi from the pull down list
Click edit and set it to disabled
The go to the audio tab and set it to use alsa
11: Restart your Wine server
wineserver -k
12: Start the Starcraft 2 Wings of Liberty Beta installer via Wine. My StarCraft 2 Wings of Liberty Beta installer was downloaded into the Downloads folder
wine ~/Downloads/StarCraft_2_Beta_enGB.exe
13: Select the following directory so it will download accordingly
My computer, C:\, Program Files
14: After it has been downloaded the Starcraft Wings of Liberty Beta install menu will pop-up
Click install, choose C:\Program Files\
15: After the installation has been done, Starcraft 2 Beta will patch itself up until it has the current release. To start your freshly installed epic uber game
wine ~/.wine/drive_c/Program Files/Starcraft 2 Beta/Starcraft 2 Beta.exe

Good luck and have fun!

succesful patch:
cd ~/winesourcecode
$ wget -q -O - | patch -p1
patching file dlls/kernel32/tests/debugger.c
Hunk #1 succeeded at 558 (offset 3 lines).
Hunk #2 succeeded at 602 (offset 3 lines).
patching file dlls/ntdll/loader.c

unsuccessful patch:
$ wget -q -O - | patch -p1
patching file dll/skernel32/tests/debugger.c
Hunk #1 FAILED at 555
Hunk #2 FAILED at 597
2 out of 2 hunks FAILED -- saving rejects to file dlls/kernel32/tests/debugger.c.rej
patching file dlls/ntdll/loader.c
Hunk #1 FAILED at 2533
Hunk #2 FAILED at 2622
Hunk #2 FAILED at 2652
3 out of 3 hunks FAILED -- saving rejects to file dlls/ntdll/loader.c.rej



About slickeel

One of the
This entry was posted in Starcraft 2 and tagged , , , . Bookmark the permalink.

10 Responses to Starcraft 2 Beta Wings of Liberty in Ubuntu Lucid Lynx with Wine

  1. Robert says:

    does this also work after patch 14?

  2. SinorKirby says:

    Well, git kept locking up at the same point, had to manually DL the most recent Wine source. After that, patch worked and am compiling as I write. Hopefully this will run the game from the folder I copied over from my Windows install. If not, I’ll just install it manually.

    Thanks for your awesome guide!

    • slickeel says:

      Too bad the git repository did not work for you. It is very convenient if you want to update your wine source again. It would just get in the changes which would save time.

      Also: I think your copy of a windows partition would work, but im not sure since i have not tested this.

      Its too bad the beta has been closed temporarily, so Blizzard can tweak the game. The beta will be reopened again, for the last tests before the final game will come out!

      Thanks for your compliments about the guide!

  3. smeggs says:

    Great article. Thanks for the information, when WINE is finished I’ll have to check it out. How’s the performance of your game and what system are you using to run it?

    • slickeel says:

      Thanks for the compliments!

      Im using my own build PC. It has an Intel quad core cpu with just 2GB of memory. My graphics card is from Nvidia (8800 ultra). My current harddisk is an SSD (solid state disk) from Intel.

  4. Great blog. I like the way you have it laid out. Thanks.

  5. This blog is just excellent, I assumed I do know lots, but I’m so mistaken, like the prior saying the additional you already know, the additional you find out how small you know. Thanks for the info.

  6. Pingback: Starcraft 2 wings of liberty wine ubuntu 2010 in review | Slickeel's Blog

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s