Home
Random Comments from South London - Loki's Alpha Centauri working on Ubuntu Hardy! [entries|archive|friends|userinfo]
secretlondon

[ userinfo | livejournal userinfo ]
[ archive | journal archive ]

Links
[Links:| Wikipedia Second Life launchpad twitter deviantART ]

Loki's Alpha Centauri working on Ubuntu Hardy! [Mar. 24th, 2008|11:33 am]
Previous Entry Add to Memories Tell a Friend Next Entry
[Tags|]

I have Alpha Centauri working at last!

I used the instructions here to patch it. You run the patch with

export _POSIX2_VERSION=199209

and then

./smac-6.0a-x86.run --keep --target smacfiles

The patch will break, but will extract itself into the smacfiles directory. You then download a fixed version of loki patch from here and use it to replace the one in smacfiles/bin/Linux/x86

You then go to smacfiles and enter sudo sh setup.sh. It then patches! Yay!

I then went back to the instructions I used for sim city. I'd previously got the error:

X Error: BadMatch
Request Major code 66 ()
Error Serial #533
Current Serial #536

Which is apparently fixed by commenting out compositing in xorg.conf. Of course xorg.conf in Hardy is very minimal and doesn't have anything like that. I added in to xorg.conf the following:

Section "Extensions"
Option "Composite" "Disable"
EndSection

However the thing still segfaulted. I noticed that it was complaining that it couldn't make loads of files. I got things like:

Unable to create file: palcheck.tmp

It turned out that ~/.loki/smac was set so that it could only be read by root. Changing it so that my user could read and write to it stopped it segfaulting!

It now worked from the menu - it didn't need any of the compatibility libraries.
LinkReply

Comments:
[User Picture]From: [info]spodlife
2008-03-24 05:10 pm (UTC)

(Link)

Thanks for the SMAC on Ubuntu tips - now I'll be able to waste hours and hours playing SMAC all over again.
[User Picture]From: [info]reddragdiva
2008-03-27 02:09 pm (UTC)

(Link)

Good Lord. Getting old Linux binaries to run is worse than just getting the games to work in Wine.