Friday, June 6, 2008

SimCity 3000 on Linux HOW-TO

A few weeks back I worked up a tarball of libraries that allow SimCity 3000 to run on Ubuntu 7.10. I posted a link to it with a short how-to on Ubuntu forums [ LINK ] in hopes that it would help others with the same problem. It seemed largely a success, so I've gone a step further and built a deb package for Gutsy that will put the libraries into /usr/local/Loki_Compat and set the proper permissions.

Once you've installed my compat package, you'll need to cd into /usr/local/games/SC3U and rename the sc3u binary to sc3u.dynamic. Next, create the following shell script to start SimCity:
#!/bin/bash
PATH=/usr/local
SCPATH=$PATH/games/SC3U
LANG=english
cd $SCPATH
export LD_LIBRARY_PATH=$PATH/Loki_Compat/
LD_ASSUME_KERNEL=2.2.5 $PATH/Loki_Compat/ld-linux.so.2 $SCPATH/sc3u.dynamic
Name the script sc3u, and ensure that it's in the path /usr/local/games/SC3U. Set it's permission and ownership to 755 and root:root. Run SimCity 3000 as you normally would.

UPDATE:
I've created the SimCity 3000 gutsy patch, this patch will do the work above for you. To get it all working, just follow this process:

Install Sim City 3000 as root to /usr/local

Download the Sim City 3000 2.0a patch [ HERE ]

Install the patch by issuing:
sudo bash ./sc3u-2.0a-x86.run

Install the Loki compat libraries below

Install the SimCity Gutsy patch

Create a menu item to /usr/local/bin/sc3u

Download the Sim City Gutsy patch (DEB) - [ LINK ]
Download the compat package (DEB) - [ LINK ]
Download the tarball (TAR.GZ) - [ HERE ]

3 comments:

Kendric said...

Thanks for the post! But it seems someone has accidentally goofed up http://lokifiles.tuxgames.com/updates/sc3u/ (where you have linked for downloading the patch). Can you provide an alternate link (or email the file to interested parties)?

THEY CALL ME FEWT said...

Try here: http://mirrors.dotsrc.org/lokigames/patches/sc3u/

mbp said...

Hello!

Please update your download links. Some files are not found. I would be really greatful.