Monday 11 April 2011

Install Steam version of Darwinia natively in Ubuntu 64 bit


Idle hands end up fiddling with stuff when you have a Linux distro at your fingertips!

So having this game in my steam list led me to wonder if it was possible to install Darwinia on my Linux box without repurchasing the game. Happily, it turns out that it is, though it requires a little bit of fiddling to get running.

First off you'll need to transfer all the Darwinia data files from your Steam folder to your linux machine. So, navigate to whatever resembles the following path on your machine:

c:\Program Files(x86)\Steam\steamapps\common\darwinia
And copy to contents over. For this example we'll be using ~/darwinia as the directory to install to on our Linux box. So stick all the files in there (the path will be more like /home/yourusername/darwinia).

Then open a terminal and run the following
sudo apt-get install ia32-libs
cd darwinia
wget http://frozenfox.freehostia.com/cappy/getlibs-all.debwget http://nl.archive.ubuntu.com/ubuntu/pool/universe/g/glib1.2/libglib1.2-dbg_1.2.10-19build1_i386.deb
wget http://nl.archive.ubuntu.com/ubuntu/pool/universe/g/gtk+1.2/libgtk1.2_1.2.10-18.1build2_i386.deb
wget http://nl.archive.ubuntu.com/ubuntu/pool/universe/g/gcc-3.3/libstdc++5_3.3.6-17ubuntu1_i386.deb
wget http://nl.archive.ubuntu.com/ubuntu/pool/universe/g/glib1.2/libglib1.2ldbl_1.2.10-19build1_i386.deb
sudo dpkg -i getlibs-all.deb
getlibs -i libgtk1.2_1.2.10-18.1build2_i386.deb
getlibs -i libglib1.2-dbg_1.2.10-19build1_i386.deb
getlibs -i libstdc++5_3.3.6-17ubuntu1_i386.deb
getlibs -i libglib1.2ldbl_1.2.10-19build1_i386.deb
Now you need to download the linux patch for Darwinia, which can be found here.


Navigate to the directory you downloaded this to and run:

./darwinia-full-1.3.0.sh
Hopefully the installer will launch. You'll want to change the path to ~/darwinia and untick the 'cd data files' box.

Then navigate back to ~/darwinia and run:
sudo cp -r /usr/lib32/libgcc_s.so.1 ~/darwinia/lib
All that remains is to move all of the .bat files in ~/darwinia to ~/darwinia/lib. Now everything should work!

 So in ~/darwinia

./darwinia
Let me know if you have any problems...

No comments:

Post a Comment