News

News->Solar1 News Flash->Running Supreme Commander under Linux   
Running Supreme Commander under Linux

Running Supreme Commander under (Ubuntu)Linux


Welcome,

This will be an evolving How-To for how to get "Supreme Commander" to run under Linux.

First, Let me tell you my system setup. You may not have the same set up and you results may vary from mine.

Kubuntu 6.10 x86_64
AMD Athlon(tm) 64 X2 Dual Core Processor 3800+
1GB RAM
wine 0.9.32 (git) patched

What works for me so far:

  • Starting the game and watching the intro video.
  • Creating a profile.
  • Starting a game.

What doesn't work so far:

  • Sound.
  • Textures for graphics are messed up. 3/7/2007 - They have gotten better since upgrading wine to current git version. Here are some screenshots:


How I got this far:

First I grabbed the source for the latest release of wine from www.winehq.com As od 3/1/2007, I have been using the latest development code, from the git repository to track the progress of this game. I didn't use the pre-compiled debian package for this reason: When I tried using the debian package, I found that the fonts were not rendering. After searching the forums (http://bugs.winehq.org/show_bug.cgi?id=7507 ), I found that there is a known bug in wine that prevented the fonts to render correctly. After applying this patch (updated) , It rendered fonts correctly.

Once you have the source tarball, Extract it.

  • tar xvfj wine-0.9.31.tar.bz2
  • cd wine-0.9.31

Next you have to get and apply the font-fix patch.

  • wget "http://bugs.winehq.org/attachment.cgi?id=5082&action=view" -O font-fix.patch
  • patch -p0 < font-fix.patch

Now we compile wine. I am running a 64bit OS. However, most windows apps and games are 32bit, so compiling natively for me will not work. I have to tell my compiler to compile for 32 bit. You may not have to do that if you are already running a 32 bit OS.

First, Make sure you have the supported packages installed
  • sudo apt-get install libfreetype6-dev fontforge gcc flex bison libc6-i386 libc6-dev-i386

For a 64bit os, I have to symlink some libraries that were missing:
  • cd /usr/lib32
  • sudo ln -s libX11.so.6 libX11.so
  • sudo ln -s libXext.so.6 libXext.so
  • sudo ln -s libfreetype.so.6 libfreetype.so
  • sudo ln -s libz.so.1 libz.so
  • cd -
Then we'll compile wine
(for 64bit OS)
  • LDFLAGS="-L/lib32 -L/usr/lib32 -Wl,-rpath,/lib32 -Wl,-rpath,/usr/lib32" ./configure && make -j3 depend && make -j3 all
(For 32 bit OS)
  • ./configure && make -j3 depend && make -j3 all
Note: the '-j3' means compile 3 files at once. This is handy for multi core/cpu machines as it allows more files to be compiled at the same time. If you had 4 CPU's you could use '-j8'. You probably will not want to do this if you only have one CPU and can omit the '-j' parameter.
Once that is done, weill install wine. The default installation location is /usr/local
  • sudo make install
Ok. Once that is installed, check your wine version to make sure it is correct
  • wine --version
You should then be able to install and run Supreme Commander. Once I have fixed the problems I've have above, I'll update this How-to.

  • cd
  • wine setup.exe
Update: 2/25/2007:
Once the game is installed, You can start the game using this command:
  • wine "C:\\Program Files\\THQ\\Gas Powered Games\\Demo\\Supreme Commander\\bin\\SupremeCommander.exe" "/novalidate"
The "/novalidate" switch fixed a problem I had . When the game launched, it gave me an error message of "Please verify system meets minimum specifications". By adding the novalidate switch, it allowed the game to begin.




by dave, Sunday, 25 February 2007 02:33, Comments(0)
Comments


MKPNews ©2003-2008 mkportal.it
 


MKPortal C1.2.1 ©2003-2008 mkportal.it
Page generated in 0.0132 seconds with 12 queries