View Full Version : Reports on old Loki games compatibility
ACK!!
March 20th, 2005, 10:04 AM
Ok, listen this thread is for reporting luck in getting the old school loki games running on the new bright and shiny Hoary.
Let me start this off:
It seems that Sid Meir's Alpha Centauri works.
Both Heretic2 and Myth2 (my first linux game :( ) segfaulted when running on Hoary.
fackamato
March 20th, 2005, 12:48 PM
Ok, listen this thread is for reporting luck in getting the old school loki games running on the new bright and shiny Hoary.
Let me start this off:
It seems that Sid Meir's Alpha Centauri works.
Both Heretic2 and Myth2 (my first linux game :( ) segfaulted when running on Hoary.
Descent3 doesn't work. :(
fackamato@fackamato:~ $ descent3
SIGNAL 11 caught, aborting
Recursive signal cleanup! Hard exit! AHHGGGG!
v6sa
March 20th, 2005, 02:54 PM
descent3 works, some file required renaming, that fixed segfault problem. i dont remember exact filename (/usr/local/xxx/descent3/xxx.hog)
fackamato
March 20th, 2005, 03:05 PM
descent3 works, some file required renaming, that fixed segfault problem. i dont remember exact filename (/usr/local/xxx/descent3/xxx.hog)
Yes, google revealed it:
Q: Descent 3 doesn't work on my 2.6 kernel, how can I fix it?
A: su - to root, cd to your Descent 3 directory (/usr/local/games/descent3, usually). Then ln -s ppics.hog PPics.Hog
mglukhovsky
March 20th, 2005, 05:14 PM
After a lot of research I've finally managed to get SimCity 3000 running! Moreover, I think that this might solve a lot of these "Segmentation fault" problems.
With a basic install, this is what happens:
michael@ubuntu:/opt/cxoffice$ sc3u
sc3u: relocation error: sc3u: symbol _dl_global_scope, version GLIBC_2.0 not defined in file ld-linux.so.2 with link time reference
I installed libg++2.8.1.3-glibc2.2 and libstdc++2.10-glibc2.2, but I'm not sure if this is the root of the problem. Just in case, make sure these are installed.
Updating the game is a good next step. Although Loki is closed, there are still product updates available on the net. The site I used was http://public.planetmirror.com/pub/lokigames/patches/ , but any site listed on http://updates.lokigames.com/ will do. Instead of using the generic Loki update tool, which I suspect will not work because their updates server is down, downloaded the latest patch as a ".run" file.
Just to be sure, I made the update script executable:
chmod +x sc3u-2.0a-x86.run
Run the update script with "--keep". The "--keep" option is VERY important, I was not able to get the script to run otherwise: sh sc3u-2.0a-x86.run --keep
Running the game with just "sc3u" results in a segfault. The solution is to instead start ALL Loki games with: LD_ASSUME_KERNEL=2.2.5 /usr/local/bin/[NAME OF GAME]
In other words, to start SimCity 3000:
michael@ubuntu:~$ LD_ASSUME_KERNEL=2.2.5 /usr/local/bin/sc3u
NB: Some have reported that using LD_ASSUME_KERNEL=2.2.4 works better for them. I haven't had a problem with 2.2.5 so far.
References:
http://updates.lokigames.com/
http://public.planetmirror.com/pub/lokigames/patches/
http://www.linuxquestions.org/questions/showthread.php?s=&postid=956088#post956088]http://www.linuxquestions.org/questions/showthread.php?s=&postid=956088#post956088
http://www.linuxquestions.org/questions/showthread.php?s=&postid=1308916#post1308916
http://www.linux-gamers.net/modules/newbb/viewtopic.php?viewmode=flat&topic_id=934&forum=15
http://www.linuxquestions.org/questions/history/55591
Hope this helps!
-Mike Glukhovsky
atf487
March 20th, 2005, 06:42 PM
soldier of fortune works great.
jdodson
March 21st, 2005, 12:32 PM
unreal tournament goty works fine.
grendelkhan
March 26th, 2005, 11:12 PM
Tried the above solutions and still could not get Eric's Ultimate Solitaire to load.
mglukhovsky
March 27th, 2005, 12:02 PM
Are you getting a segfault? What sort of problems? If you haven't already, launch it from a Gnome Terminal and let me know what errors come up.
grendelkhan
March 27th, 2005, 09:59 PM
Yeah, it's a seg fault. No other error messages, just the seg fault
I am TOTALLY bumming too, since it's by far the best solitaire game I've found and it's totally addictive.
mglukhovsky
March 27th, 2005, 10:03 PM
Not to re-iterate, but this is by far the key to fooling most Loki games into running. Make sure you are starting it with:
LD_ASSUME_KERNEL=2.2.5 /usr/local/bin/[NAME OF GAME]
Try older kernels as well, i.e. 2.2.4 or 2.2.3. I'll have a look around and let you know if I see something on the net.
mglukhovsky
March 27th, 2005, 10:11 PM
Alright, that was quick! Some more research with Google yielded a few AMAZING websites that should help everyone out.
Check the following sites for more help with installing/running older Loki games and many other native Linux games:
This seems to get right to the point, try this first- http://members.shaw.ca/dan.mckay/LokiInst.html
This helps with newer versions of the Loki Update tool and custom installers- http://www.liflg.org/
This is a nice guide to getting a lot of games working in Linux- see specifically the Loki updater guide- http://www.easylinuxguide.com/index.php?name=PNphpBB2&file=viewtopic&t=735
A nice thread (towards the middle/end) that has a lot of useful tips- http://www.happypenguin.org/forums/viewtopic.php?t=1493&view=previous&sid=354569bc702f15f8b616f0db512a8921
I suspect that you haven't updated the game, as this seems to be the primary problem seen among Loki gamers. Look around these sites, see if something comes up. Let me know if things don't work out.
-Mike
grendelkhan
March 28th, 2005, 08:06 PM
I skipped the updater and got the patch for eus to work by using the -target=$INSTALLDIR flag - worked like a champ but still segfaults.
What I don't get is it worked fine under Fedora Core 3 and SuSE 9.2, but no dice under Hoary or Componetized Linux (both Debian based).
You tell me what's the diff.
mglukhovsky
March 28th, 2005, 10:30 PM
Just checking: you ran the updates as the user you installed the game from, right?
Also, I would STRONGLY reccommend using the loki update tool from this site:
http://www.liflg.org/
grendelkhan
March 29th, 2005, 07:52 PM
Yup. Didn't need to under Fedora or SuSE, but I did anyways, just to be safe.
skoal
April 6th, 2005, 08:07 PM
Here are my steps for SimCity 3000 Unlimited, which I've used succesfully for at least a year. It works fine here, running hoary and the latest Nvidia drivers-7174.
1. Insert 'Sim City 3000 Unlimited' (SC3U) CD-Rom.
2. Open up a terminal.
3. cd /media/cdrom
4. sudo sh setup.sh
The installation begins and prompts you for several options. I used all installation default paths:
/usr/local/games/SC3U
/usr/local/bin
and selected '[Yy]' for every installation option -> ~610 MB.
5. After the installation is done, you are given a prompt:
Would you like launch the game now? [Y/n] n
Answer no.
6. Download the file 'sc3u-2.0a-x86.run' (patch) from:
(i) ftp://sunsite.auc.dk/pub/os/linux/loki/patches/sc3u/
(ii) http://www.3ddownloads.com/linuxgames/loki/patches/sc3u/sc3u-2.0a-x86.run
(iii) or another site hosting this file.
7. Apply the patch file:
sudo /bin/bash sc3u-2.0a-x86.run
8. Answer a few prompts:
...
Would you like to apply this update? [Y/n]: y
Please enter the installation path: []: /usr/local/games/SC3U
9. Remove the following symlink:
sudo rm /usr/local/bin/sc3u
10. Replace it with your own shell script:
sudo sh -c 'cat > /usr/local/bin/sc3u << EOF
#!/bin/bash
LD_ASSUME_KERNEL=2.4.2 /usr/local/games/SC3U/sc3u
EOF'
11. Make it executable:
sudo chmod +x /usr/local/bin/sc3u
* Type 'sc3u' in a terminal or add this file to a menu entry.
This game never gets old. Spend several days creating your own little Utopia. Then, spend several minutes launching wave after wave of UFOs, ushering in the 'New Millenium' on those little 'ants'...
muahahaha...
mike998
April 7th, 2005, 09:14 AM
I almost started another thread about Sim City 3000 but managed to figure it out - Google was no help whatsoever, but these threads.... the motherload!
THAT'S why I stay with Ubuntu... the community are great, and very helpful...
Avi
April 8th, 2005, 12:06 PM
I've just installed and played Heroes of Might and Magic 3 -
Smooth as can be, no problems at all...!
Equinox
April 8th, 2005, 02:13 PM
With a basic install, this is what happens:
michael@ubuntu:/opt/cxoffice$ sc3u
sc3u: relocation error: sc3u: symbol _dl_global_scope, version GLIBC_2.0 not defined in file ld-linux.so.2 with link time reference
I installed libg++2.8.1.3-glibc2.2 and libstdc++2.10-glibc2.2, but I'm not sure if this is the root of the problem. Just in case, make sure these are installed.
I don't suppose these exist under AMD64? .. I don't see them anywhere in synaptic.
plcdfa
September 21st, 2005, 04:14 PM
Greetings to everyone!
I've got some problems here: I just can't get Simcity's patch to work. It always exits like this:
Uncompressing SimCity 3000 Unlimited 2.0a Updatetrap: usage: trap [-lp] [arg signal_spec ...]
Any ideas what on earth this could mean? It would be important cos I can't start the game, it always halts with the aformentioned "relocation error" thingy, and I've tried all other possible workarounds but none worked. Please help if you can, I remember this game from Win and it's plain fun.
And I can't update Heroes3 either, that one exits with some kind of segfault. I feel like being cursed... ](*,)
Mishura
September 23rd, 2005, 10:20 AM
Loki games that work for me:
Heavy Metal FAKK 2 (Due to LIFLG.org's installer.)
Descent 3 Mercenary
Unreal Tournament 1999 GOTY
Quake III Arena (Hey, it was listed at Loki's website. More of an Id port, tho)
Soldier of Fortune
Rune: Halls of Valhalla
Postal GOLD (Thats Postal 1, not the recent Postal 2)
Loki games that Don't work.
Heretic II (Though, somebody here got it to work. Search the forums.)
Burbruee
September 25th, 2005, 09:52 AM
Unreal Tournament 2004 works just perfect too.
plcdfa
September 25th, 2005, 11:46 AM
OK, I've managed to patch Simcity, I've found the solution in another topic. Maybe I should have done a bit more reading before posting. :oops: Quite strange though, google didn't reveal that topic. Anyway the game still doesn't work well: after the intro I only get a black screen with a mouse pointer. The building architect runs fine. Have anybody experienced a similar problem with any games?
bodyhead
October 4th, 2005, 12:37 AM
I haven't been able to get alpha centauri to work or update. I get a bus error with hoary. Any tips?
bodyhead
October 4th, 2005, 05:32 PM
Ok I've followed the directions on this website::
http://patrick.wagstrom.net/weblog/linux/ubuntu
and I managed to install the patch but the damn game still just says 'bus error' when I try to run it from the command line.
Even when I try to trick it with other kernel options.
For anyone who didn't see my previous post, this is the Alpha Centauri game with the expansion packaged by loki.
I just cannot get it to run.
Any tips are welcome.
jmonteiro
October 23rd, 2005, 10:24 AM
The SimCity 3000 Unlimited just worked for me (Ubuntu 5.10), I have some problems in the beggining, but after I patched it and used the "LD_ASSUME_KERNEL"'stuff it just worked!
But I have an problem:
I am brazilian (so I speak Portuguese :P), I would like to use the portuguese locales, but they haven't been installed. Do anybody know how do I install them? Thanks!
luopio
December 16th, 2005, 01:47 PM
Ok I've followed the directions on this website::
http://patrick.wagstrom.net/weblog/linux/ubuntu
and I managed to install the patch but the damn game still just says 'bus error' when I try to run it from the command line.
Even when I try to trick it with other kernel options.
For anyone who didn't see my previous post, this is the Alpha Centauri game with the expansion packaged by loki.
I just cannot get it to run.
Any tips are welcome.
I have the same problem. Installation went fine and I updated the game like instructed here: http://patrick.wagstrom.net/weblog/linux/ubuntu/alphaCentauri.xml. After that it didn't work, so I followed gentoo instructions for old Loki games (http://gentoo-wiki.com/HOWTO_Running_Old_Loki_Games). But running LD_PRELOAD=/usr/local/games/Loki_Compat/libstdc++-3-libc6.2-2-2.10.0.so:/usr/local/games/Loki_Compat/libsmpeg-0.4.so.0.1.3 smacpack
Results in a segmentation fault..
drews_blunted
December 21st, 2005, 10:26 PM
I cannot get sim city 3000 to work in breezy badger 5.10 ? does anyone know why.
i get this error:
BUG! Exception triggered, cleaning up.
SimCity 3000 Unlimited 2.0.955a
Built with glibc-2.1 on x86
Please send the text of the failed assertion,
along with the contents of autosave to: support@lokigames.com
Unable to execute loki_qagent - exiting
The game is updated and everything, im also used the LD_ASSUME_KERNEL junk.
bignickel
December 16th, 2006, 02:46 PM
I've followed all of the instructions in this thread to get simcity 3000 working on Edgy. It's updated and I no longer get the segmentation fault, but now if I run it with this command:
LD_ASSUME_KERNEL=2.4.2 /usr/local/games/SC3U/sc3u
(or any other kernel < 2.6) I get the following error:
/usr/local/games/SC3U/sc3u: error while loading shared libraries: libdl.so.2: cannot open shared object file: No such file or directory
Anyone know where I can get that library?
bignickel
December 16th, 2006, 04:08 PM
Well, I've found some other people with similar problems on newer systems. Apparently lbdl.so.2 is from an old version of glibc. Someone got it working on a new version of Fedora Core using some old libraries. His solution is posted here (http://www.fedoraforum.org/forum/archive/index.php/t-118038.html). I tried using his copies of the old libraries and the game started (I could hear sound) but the video just showed a black screen with the cursor. I'm not that surprised since those libraries would have been compiled for Fedora.
If anyone has it working I'd really like to hear how. I can't get the windows version of simcity 3000 to work under wine, and although simcity 4000 works, it's too slow to play. So getting the native linux version to run is the only hope.
Mapassy
December 16th, 2006, 06:49 PM
The following games worked for me on Dapper:
Railroad Tycoon 2 Gold Edition
Shogo
Quake 3 - installer + copy and paste .pk3 files
Return to castle Wolfenstein - installer + copy and paste the .pk3 files
Postal 2 Demo
Soldier of Fortune
Heavy Gear 2 - followed this: http://ubuntuforums.org/showthread.php?p=1106525#post1106525
Rune
Entity`
November 13th, 2007, 06:04 PM
Here are my steps for SimCity 3000 Unlimited, which I've used succesfully for at least a year. It works fine here, running hoary and the latest Nvidia drivers-7174.
1. Insert 'Sim City 3000 Unlimited' (SC3U) CD-Rom.
2. Open up a terminal.
3. cd /media/cdrom
4. sudo sh setup.sh
The installation begins and prompts you for several options. I used all installation default paths:
/usr/local/games/SC3U
/usr/local/bin
and selected '[Yy]' for every installation option -> ~610 MB.
5. After the installation is done, you are given a prompt:
Would you like launch the game now? [Y/n] n
Answer no.
6. Download the file 'sc3u-2.0a-x86.run' (patch) from:
(i) ftp://sunsite.auc.dk/pub/os/linux/loki/patches/sc3u/
(ii) http://www.3ddownloads.com/linuxgames/loki/patches/sc3u/sc3u-2.0a-x86.run
(iii) or another site hosting this file.
7. Apply the patch file:
sudo /bin/bash sc3u-2.0a-x86.run
8. Answer a few prompts:
...
Would you like to apply this update? [Y/n]: y
Please enter the installation path: []: /usr/local/games/SC3U
9. Remove the following symlink:
sudo rm /usr/local/bin/sc3u
10. Replace it with your own shell script:
sudo sh -c 'cat > /usr/local/bin/sc3u << EOF
#!/bin/bash
LD_ASSUME_KERNEL=2.4.2 /usr/local/games/SC3U/sc3u
EOF'
11. Make it executable:
sudo chmod +x /usr/local/bin/sc3u
* Type 'sc3u' in a terminal or add this file to a menu entry.
This game never gets old. Spend several days creating your own little Utopia. Then, spend several minutes launching wave after wave of UFOs, ushering in the 'New Millenium' on those little 'ants'...
muahahaha...
Is there any modification of steps for 7.10? It doesn't seem to work for me. All I get is:
user@user-desktop:~/simcity$ sc3u
/usr/local/games/SC3U/sc3u: error while loading shared libraries: libdl.so.2: cannot open shared object file: No such file or directory
/usr/local/bin/sc3u: line 3: EOF: command not found
I really want to play this game again. Any help would be of great use to me.
cogadh
November 13th, 2007, 07:51 PM
It would seem that you are missing a required library:
error while loading shared libraries: libdl.so.2: cannot open shared object file: No such file or directory
I would start by fixing that. Search Synaptic for the file, it should be able to find it.
Entity`
November 13th, 2007, 09:05 PM
its not even in synaptic. However, google did yeild me a debain package here (http://packages.debian.org/cgi-bin/search_contents.pl?word=libdl.so.2&searchmode=searchfiles&case=insensitive&version=unstable&arch=i386).
Entity`
November 13th, 2007, 09:21 PM
also libdl.so.2 is already present in my computer. the dir is: /lib/tls/i686/cmov hmmm.... what to do, what to do...
Edit: Ah never mind, i just downloaded the wrong package. However, I still get this:
user@user-desktop:~$ sc3u
/usr/local/games/SC3U/sc3u: error while loading shared libraries: libdl.so.2: cannot open shared object file: No such file or directory
/usr/local/bin/sc3u: line 3: EOF: command not found
What do I do? And whats with the 3rd line thing?:confused:
cogadh
November 13th, 2007, 11:16 PM
Chances are, the second error is related to the first, so fixing the first may eliminate the second. Unfortunately, I'm not in front of my 'buntu box right now, so I can't check for any details on that library on my system. However, one thing that may help is creating a symlink to the libdl.so.2 library in the /usr/local/games/SC3U directory:
sudo ln -s /usr/libdl.so.2 /usr/local/games/SC3U/libdl.so.2
Like I said, I'm not in front of my 'buntu box, so I can't be sure those paths are 100% accurate, you will need to confirm that yourself.
Entity`
November 14th, 2007, 05:29 PM
The command you gave me worked in the respect that it did not give me an error when I hit enter. However I still got the same exact answer when I typed 'sc3u'.
Tux0r
November 16th, 2007, 04:07 PM
Closed source apps are begging for death, kind of pathetic :(
Felson
November 16th, 2007, 04:28 PM
@Entity
Are you running 32bit or 64bit ubuntu?
If you are running 64bit, you may need to find lib32 versions of the .so file.
dandy-handy
November 16th, 2007, 09:59 PM
Hey all, I'm having the same problem following all of the advice and try to run the game and the following error occcurs
/usr/local/games/SC3U/sc3u: error while loading shared libraries: libdl.so.2: cannot open shared object file: No such file or directory
/usr/local/bin/sc3u: line 3: EOF: command not found
did a quick search of my system and found libdl.so.2 is installed, showing in two locations /lib & /lib/tls/i686/cmov
I'm running 32-bit Ubuntu. I also ran the command that cogadh suggested 3 posts ago and the same problem continues.
I'm really not quite what else to do, is a shame as Simcity is a great game.
M
cyrus_the_virus
December 30th, 2007, 05:58 AM
Hi everybody,
I've finally got it working :) This how I did it:
- I first followed mglukhovsky's tutorial from an earlier topic on this forum
(http://ubuntuforums.org/showthread.php?t=21087&page=1&highlight=sim+city+3000+unlimited)
- But in the last step I got an error (usr/local/games/SC3U/sc3u: error while loading shared libraries: libdl.so.2: cannot open shared object file: No such file or directory)
- I found this page and followed the instructions from that
(http://bashu.wordpress.com/2007/04/15/simcity-3000-on-ubuntu-edgy/)
I extracted the archive in /opt/games/ so I don't have the modify the path in the script. I saved the script in the install path of SC3K (as run.sh)
and gave it exe permission (chmod +x run.sh)
- I was then able to play the game with sh run.sh from the install folder
- However to change the resolution I had to run the game as root:
sudo sh run.sh
Hope this will work for you too!
Marty
paulderol
January 12th, 2008, 01:49 PM
any luck on getting Myth 2 to work under 7.10 and x86? I can't seem to lock down an installer/updater, and i'm getting a little frustrated. all of these pieces of advice change small parts of my problem, but i'm thinking that there's got to be someone who's got myth 2 working.....???eh?
EDIT--nevermind as of yet.
aitvo
January 13th, 2008, 11:13 AM
SC3U works, but not without hacking a custom lib directory (this worked with 7.04 and 7.10)
cd /usr/local/games/SC3U
Move the sc3u binary to sc3u.dynamic, and create a script that points at the original binary called sc3u:
#!/bin/bash
SCPATH=/usr/local/games/SC3U
echo Running from $SCPATH
LANG=english
cd $SCPATH
export LD_LIBRARY_PATH=$SCPATH/Loki_Compat/
LD_ASSUME_KERNEL=2.2.5 $SCPATH/Loki_Compat/ld-linux.so.2 $SCPATH/sc3u.dynamic
Put these files in /usr/local/games/SC3U/Loki_Compat:
-rwxr-xr-x 1 root root 103044 2007-10-19 21:43 ld-linux.so.2
-rwxr-xr-x 1 root root 1549556 2007-10-19 21:43 libc.so.6
-rwxr-xr-x 1 root root 15084 2007-10-19 21:43 libdl.so
lrwxrwxrwx 1 root root 8 2007-10-19 21:43 libdl.so.2 -> libdl.so
-rwxr-xr-x 1 root root 211876 2007-10-19 21:43 libm.so.6
-rwxr-xr-x 1 root root 196716 2007-10-19 21:43 libopenal-0.0.so
-rwxr-xr-x 1 root root 103104 2007-10-19 21:43 libpthread.so.0
-rwxr-xr-x 1 root root 381071 2007-10-19 21:43 libSDL-1.1.so.0
-rwxr-xr-x 1 root root 264557 2007-10-19 21:43 libsmpeg-0.4.so.0
-rwxr-xr-x 1 root root 264557 2007-10-19 21:43 libsmpeg-0.4.so.0.1.3
-rwxr-xr-x 1 root root 264557 2007-10-19 21:43 libsmpeg.so
-rw-r--r-- 1 root root 288540 2007-10-19 21:43 libstdc++-3-libc6.2-2-2.10.0.so
-rw-r--r-- 1 root root 288540 2007-10-19 21:43 libstdc++-libc6.2-2.so.3
-rwxr-xr-x 1 root root 908016 2007-10-19 21:43 libX11.so.6
-rwxr-xr-x 1 root root 53520 2007-10-19 21:43 libXext.so.6
Download Loki_Compat.tar.gz here: http://www.stangdude.com/download.pl?filename=Loki_Compat.tar.gz
Run the game by calling ./sc3u
:guitar:
Tux0r
January 15th, 2008, 10:33 AM
robin@PC:/usr/local/games/SC3U$ sh sc3u
/usr/local/games/SC3U/sc3u.dynamic: relocation error: /usr/local/games/SC3U/sc3u.dynamic: symbol _dl_global_scope, version GLIBC_2.0 not defined in file ld-linux.so.2 with link time reference
Tux0r
January 15th, 2008, 02:55 PM
Ok it works now :) thanks, will these libs work with later versions of Ubuntu... it should right?
http://img47.imageshack.us/img47/7640/sc3kpz7.png
aitvo
January 15th, 2008, 05:56 PM
Ok it works now :) thanks, will these libs work with later versions of Ubuntu... it should right?
http://img47.imageshack.us/img47/7640/sc3kpz7.png
Yes, it should. I just created a package out of that which I install whenever I re-roll the OS.
I'd be interested in knowing if it can be modified to work for other Loki games.
ceixeoida
January 18th, 2008, 03:12 PM
Well it doesn't work for me...
$ sh sc3u
Running from /usr/local/games/SC3U
/usr/local/games/SC3U/sc3u.dynamic: relocation error: /usr/local/games/SC3U/sc3u.dynamic: symbol _dl_global_scope, version GLIBC_2.0 not defined in file ld-linux.so.2 with link time reference
I don't know what's wrong... I did it as you said, but with no results... help, please...
doorknob60
January 21st, 2008, 09:18 PM
That works for me except I get no sound :'( Any ideas? (I tried starting with aoss but then the game wouldn't even start )
EDIT: My terminal output is this open /dev/dsp: Device or resource busy
Also my sound card works fine with both ALSA and OSS.
doorknob60
January 21st, 2008, 09:50 PM
Never mind, apperantly some program wasn't shut down right or something because sound worked when I restarted...BUT it's scratchy sound :( Any solutions to this one?
skoruppa
January 22nd, 2008, 07:37 PM
Yes my to, after changing my oldsoundblaster to hda intel Realtek ALC888 integrated soundcard all loki games have scratchy sound.... someone know why??? I want play heroes3 and sc3000 with normal sound!
skoruppa
January 23rd, 2008, 05:23 AM
hah i fixed it :D if someone have also problem with hda intel and loki games, install linux-backports-modules
sudo aptitude install linux-backports-modules
aitvo
February 4th, 2008, 08:07 PM
SC3U works, but not without hacking a custom lib directory (this worked with 7.04 and 7.10)
cd /usr/local/games/SC3U
Move the sc3u binary to sc3u.dynamic, and create a script that points at the original binary called sc3u:
#!/bin/bash
SCPATH=/usr/local/games/SC3U
echo Running from $SCPATH
LANG=english
cd $SCPATH
export LD_LIBRARY_PATH=$SCPATH/Loki_Compat/
LD_ASSUME_KERNEL=2.2.5 $SCPATH/Loki_Compat/ld-linux.so.2 $SCPATH/sc3u.dynamic
Put these files in /usr/local/games/SC3U/Loki_Compat:
-rwxr-xr-x 1 root root 103044 2007-10-19 21:43 ld-linux.so.2
-rwxr-xr-x 1 root root 1549556 2007-10-19 21:43 libc.so.6
-rwxr-xr-x 1 root root 15084 2007-10-19 21:43 libdl.so
lrwxrwxrwx 1 root root 8 2007-10-19 21:43 libdl.so.2 -> libdl.so
-rwxr-xr-x 1 root root 211876 2007-10-19 21:43 libm.so.6
-rwxr-xr-x 1 root root 196716 2007-10-19 21:43 libopenal-0.0.so
-rwxr-xr-x 1 root root 103104 2007-10-19 21:43 libpthread.so.0
-rwxr-xr-x 1 root root 381071 2007-10-19 21:43 libSDL-1.1.so.0
-rwxr-xr-x 1 root root 264557 2007-10-19 21:43 libsmpeg-0.4.so.0
-rwxr-xr-x 1 root root 264557 2007-10-19 21:43 libsmpeg-0.4.so.0.1.3
-rwxr-xr-x 1 root root 264557 2007-10-19 21:43 libsmpeg.so
-rw-r--r-- 1 root root 288540 2007-10-19 21:43 libstdc++-3-libc6.2-2-2.10.0.so
-rw-r--r-- 1 root root 288540 2007-10-19 21:43 libstdc++-libc6.2-2.so.3
-rwxr-xr-x 1 root root 908016 2007-10-19 21:43 libX11.so.6
-rwxr-xr-x 1 root root 53520 2007-10-19 21:43 libXext.so.6
Download Loki_Compat.tar.gz here: http://www.stangdude.com/download.pl?filename=Loki_Compat.tar.gz
Run the game by calling ./sc3u
:guitar:
I've created a deb for Gutsy that installs the libraries for you, and another that creates the shell scripts to start SimCity 3000 which is cleaner than extracting the tarball, and hacking the files by hand. It's available here:
http://www.stangdude.com/news/articles/9035971607236/
-Vampyre-
February 8th, 2008, 05:36 PM
I followed the instructions on your site, and installed all the debs. The games starts and I can hear the music, but my screen just goes black
aitvo
February 8th, 2008, 05:48 PM
I'm actually not sure what would cause a black screen. Are you using Compiz?
-Vampyre-
February 8th, 2008, 06:04 PM
yes i am . that is if I run as root. if I try to just run as me. I get an error i can see
fcntl: Operation not permitted
fcntl: Operation not permitted
X Error: BadMatch
Request Major code 140 (XVideo)
Request Minor code 19 ()
Error Serial #20
Current Serial #21
joseph@MiniHQ:~$
-Vampyre-
February 8th, 2008, 06:06 PM
I get the same error if I turn compiz off
aitvo
February 8th, 2008, 06:19 PM
yes i am . that is if I run as root. if I try to just run as me. I get an error i can see
fcntl: Operation not permitted
fcntl: Operation not permitted
X Error: BadMatch
Request Major code 140 (XVideo)
Request Minor code 19 ()
Error Serial #20
Current Serial #21
joseph@MiniHQ:~$
That looks like a problem with your video driver, or your color depth. I have it working just fine on two computers with different video cards, as a normal user.
Make sure xvinfo returns data, that could cause problems with SC I think.
-Vampyre-
February 8th, 2008, 06:24 PM
Yeah i get info with that command
X-Video Extension version 2.2
screen #0
Adaptor #0: "ATI Radeon Video Overlay"
number of ports: 1
port base: 131
operations supported: PutImage
supported visuals:
depth 24, visualID 0x23
depth 24, visualID 0x24
depth 24, visualID 0x25
depth 24, visualID 0x26
depth 24, visualID 0x27
depth 24, visualID 0x28
depth 24, visualID 0x29
depth 24, visualID 0x2a
depth 24, visualID 0x2b
depth 24, visualID 0x2c
depth 24, visualID 0x2d
depth 24, visualID 0x2e
depth 24, visualID 0x2f
depth 24, visualID 0x30
depth 24, visualID 0x31
depth 24, visualID 0x32
depth 24, visualID 0x33
depth 24, visualID 0x34
depth 24, visualID 0x35
depth 24, visualID 0x36
depth 24, visualID 0x37
depth 24, visualID 0x38
depth 24, visualID 0x39
depth 24, visualID 0x3a
depth 24, visualID 0x3b
depth 24, visualID 0x3c
depth 24, visualID 0x3d
depth 24, visualID 0x3e
depth 24, visualID 0x3f
depth 24, visualID 0x40
depth 24, visualID 0x41
depth 24, visualID 0x42
depth 24, visualID 0x43
depth 24, visualID 0x44
depth 24, visualID 0x45
depth 24, visualID 0x46
depth 24, visualID 0x47
depth 24, visualID 0x48
depth 24, visualID 0x49
depth 24, visualID 0x4a
depth 24, visualID 0x4b
depth 24, visualID 0x4c
depth 24, visualID 0x4d
depth 24, visualID 0x4e
depth 24, visualID 0x4f
depth 24, visualID 0x50
depth 24, visualID 0x51
depth 24, visualID 0x52
depth 24, visualID 0x53
depth 24, visualID 0x54
depth 24, visualID 0x55
depth 24, visualID 0x56
depth 24, visualID 0x57
depth 24, visualID 0x58
depth 24, visualID 0x59
depth 24, visualID 0x5a
depth 24, visualID 0x5b
depth 24, visualID 0x5c
depth 24, visualID 0x5d
depth 24, visualID 0x5e
depth 24, visualID 0x5f
depth 24, visualID 0x60
depth 24, visualID 0x61
depth 24, visualID 0x62
depth 24, visualID 0x63
depth 24, visualID 0x64
depth 24, visualID 0x65
depth 24, visualID 0x66
depth 24, visualID 0x67
depth 24, visualID 0x68
depth 24, visualID 0x69
depth 24, visualID 0x6a
depth 24, visualID 0x6b
depth 24, visualID 0x6c
depth 24, visualID 0x6d
depth 24, visualID 0x6e
depth 24, visualID 0x6f
depth 24, visualID 0x70
depth 24, visualID 0x71
depth 24, visualID 0x72
number of attributes: 12
"XV_SET_DEFAULTS" (range 0 to 1)
client settable attribute
"XV_AUTOPAINT_COLORKEY" (range 0 to 1)
client settable attribute
client gettable attribute (current value is 1)
"XV_COLORKEY" (range 0 to -1)
client settable attribute
client gettable attribute (current value is 30)
"XV_DOUBLE_BUFFER" (range 0 to 1)
client settable attribute
client gettable attribute (current value is 1)
"XV_BRIGHTNESS" (range -1000 to 1000)
client settable attribute
client gettable attribute (current value is 0)
"XV_CONTRAST" (range -1000 to 1000)
client settable attribute
client gettable attribute (current value is 0)
"XV_SATURATION" (range -1000 to 1000)
client settable attribute
client gettable attribute (current value is 0)
"XV_COLOR" (range -1000 to 1000)
client settable attribute
client gettable attribute (current value is 0)
"XV_HUE" (range -1000 to 1000)
client settable attribute
client gettable attribute (current value is 0)
"XV_RED_INTENSITY" (range -1000 to 1000)
client settable attribute
client gettable attribute (current value is 0)
"XV_GREEN_INTENSITY" (range -1000 to 1000)
client settable attribute
client gettable attribute (current value is 0)
"XV_BLUE_INTENSITY" (range -1000 to 1000)
client settable attribute
client gettable attribute (current value is 0)
maximum XvImage size: 2048 x 2048
Number of image formats: 4
id: 0x32595559 (YUY2)
guid: 59555932-0000-0010-8000-00aa00389b71
bits per pixel: 16
number of planes: 1
type: YUV (packed)
id: 0x59565955 (UYVY)
guid: 55595659-0000-0010-8000-00aa00389b71
bits per pixel: 16
number of planes: 1
type: YUV (packed)
id: 0x32315659 (YV12)
guid: 59563132-0000-0010-8000-00aa00389b71
bits per pixel: 12
number of planes: 3
type: YUV (planar)
id: 0x30323449 (I420)
guid: 49343230-0000-0010-8000-00aa00389b71
bits per pixel: 12
number of planes: 3
type: YUV (planar)
Thanks for your help
aitvo
February 8th, 2008, 06:39 PM
Yeah i get info with that command
Thanks for your help
I'm afraid I can't help you. I just installed it all on a third machine, and it's working ok. I've tested it on the fglrx, vmware, and nvidia drivers.
-Vampyre-
February 8th, 2008, 07:17 PM
tis ok see what i can figure out
-Vampyre-
February 8th, 2008, 07:29 PM
I have read some people having only trouble with the intro. Gonna retry with the intro movie files
-Vampyre-
February 8th, 2008, 07:48 PM
Success. redid and excluded intro and it worked. I also have to turn off compiz
aitvo
February 8th, 2008, 07:54 PM
Success. redid and excluded intro and it worked. I also have to turn off compiz
Awesome, good to hear.
aitvo
February 29th, 2008, 10:11 PM
I've gotten Erics Ultimate Solitare working, it wasn't too bad compared to Simcity 3000..
Here's the process:
Download eus-lib.tar [ HERE (http://www.stangdude.com/news/articles/12628991215256/) ]
tar -xvf eus-lib.tar
sudo mv libstdc++-libc6.1-1.so.2 /usr/lib
Insert the EUS installation CD
sudo bash /media/cdrom/setup.sh
sudo cp /media/cdrom/bin/x86/EricsSolitaire.dynamic /usr/local/games/EUS/EricsSolitaire.dynamic
Download the EUS 1.0a patch [ HERE (http://mirrors.sunsite.dk/lokigames/patches/eus/) ]
sudo bash eus-1.0a-x86.run
sudo ln -sf /usr/local/games/EUS/EricsSolitaire.dynamic /usr/local/bin/eus
Then you can just run eus, or put an icon in your panel for it manually.
:guitar:
kendricbeachey
May 31st, 2008, 11:14 PM
Does anyone have an alternate source for the files that are supposed to come from stangdude.com? I am having no luck getting any response from that server.
(Eric's Ultimate Solitaire is the one I'm wanting to get going.)
aitvo
June 6th, 2008, 05:38 PM
Does anyone have an alternate source for the files that are supposed to come from stangdude.com? I am having no luck getting any response from that server.
(Eric's Ultimate Solitaire is the one I'm wanting to get going.)
Sorry, it's been down for a while. I've been migrating from the blog code that I wrote to blogger.
Here's what you are looking for: http://www.fewt.com/2008/06/get-eus-working-in-ubuntu.html
ernstblaauw
May 7th, 2009, 09:18 AM
Does anyone has sound in Jaunty with Railroad Tycoon II? (I don't, and I can't get it to work)
fackamato
May 7th, 2009, 09:25 AM
Does anyone has sound in Jaunty with Railroad Tycoon II? (I don't, and I can't get it to work)
Railroad Tycoon II?
Is that a game?
Do you use WINE to run it?
If so, then I guess you should use the latest WINE version and ask for help upstream?
:KS
ELD
May 7th, 2009, 09:45 AM
Railroad Tycoon II?
Is that a game?
Do you use WINE to run it?
If so, then I guess you should use the latest WINE version and ask for help upstream?
:KS
Yes it is a game a simple googling will tell you that.
This thread is about LOKI games, linux native ports so it will not be using WINE.
vBulletin® v3.8.1, Copyright ©2000-2009, Jelsoft Enterprises Ltd.