Linux Descent 3 (Loki) error at start of level 5

For system help, all hardware / software topics NOTE: use Coders Corner for all coders topics.

Moderators: Krom, Grendel

Post Reply
User avatar
TechPro
DBB Admiral
DBB Admiral
Posts: 1520
Joined: Thu May 20, 2004 11:51 pm

Linux Descent 3 (Loki) error at start of level 5

Post by TechPro »

Dang. I got my Linux installation of Descent 3 (Loki) working and now it crashes at the start of level 5, right after the video clip that preceeds level 5.

reported in Terminal:
  • SIGNAL 11 caught, aborting
Anybody got any ideas?
User avatar
FunkyStickman
DBB Ace
DBB Ace
Posts: 309
Joined: Wed Apr 20, 2005 2:26 pm
Location: 'Nawlins

Post by FunkyStickman »

I'm trying to remember which level 5 is... isn't that the mercury level? Can you hit escape and end the video early?
User avatar
TechPro
DBB Admiral
DBB Admiral
Posts: 1520
Joined: Thu May 20, 2004 11:51 pm

Post by TechPro »

Level 5 is where Red Acropolis is under attack and you gotta keep the reactors alive long enough for the people to evacuate.

It plays the video OK (\"Suzuki's with us! ... I even got my money! ...\" ... \"They think we're terrorists!\" ... \"Get everyone to the Beagle!\") ... and the video ends and it should load then level (and show the level loading progress bars) but it doesn't show loading the level instead if crashes to the desktop and that error shows in the Terminal window I used to start the program.

In case it makes any difference, the command line I used to start Descent 3 was \"descent3 -n -c -f -o\"
User avatar
Xamindar
DBB Admiral
DBB Admiral
Posts: 1498
Joined: Sun Jun 06, 2004 2:44 am
Location: California
Contact:

Post by Xamindar »

I would definitely try launching the game with out any command line arguments. But the problem could be many things. Could be a corrupt file, maybe try recopying your hog files over. It could even be some compatibility issue with the video drivers. I'll try to get my laptop away from my wife some time and see if D3 still works on my linux at that spot. I haven't launched it in a very long time.
Why doesn't it work?
User avatar
Jeff250
DBB Master
DBB Master
Posts: 6539
Joined: Sun Sep 05, 1999 2:01 am
Location: ❄️❄️❄️

Post by Jeff250 »

I typically have issues with Descent3 segfaulting too unless I follow this guide:
http://www.gentoo-wiki.info/HOWTO_Runni ... Loki_Games

The site lays out the specific instructions, but, in a nutshell, the problem is getting descent3 to use the right combination of library versions. First, you'll want to use the 'descent3.dynamic' executable instead of the regular statically linked 'descent3' executable (essentially, statically linked means that the libraries were built into the executable, whereas dynamically linking means it uses the (likely newer) libraries on your system instead). This isn't without problems, because a couple of the libraries we actually *want* to use the *old* versions of, since descent3 works better with them. So you need to download the older versions (linked from the site) and use LD_PRELOAD to force the linker to first link with the older versions of the libraries. In the end, you can put your final...

LD_PRELOAD='foo.so:bar.so' /path/to/descent3/descent3.dynamic

...line into a script that does this workaround for you automatically.
User avatar
FunkyStickman
DBB Ace
DBB Ace
Posts: 309
Joined: Wed Apr 20, 2005 2:26 pm
Location: 'Nawlins

Post by FunkyStickman »

Just thought of this, make sure the level file names are converted to lowercase... if they're all uppercase or a mixture, D3 will crash (the Loki version is looking for all lowercase filenames)
User avatar
TechPro
DBB Admiral
DBB Admiral
Posts: 1520
Joined: Thu May 20, 2004 11:51 pm

Post by TechPro »

I've checked and the level file names are in lower case.

I haven't had the chance to try Jeff's suggestion yet.

EDIT: New development ... I got the iso images of Descent 3 (Linux version) and extracted the missions files from the install disk 1. Now my Loki Descent 3 works past level 4 and beyond! :D

Now I can really have fun! ('cause I now have the Linux native Descent 3 and also the Windows Descent 3 (in Wine, with OSS audio selected) working.

Now just working to get the checksum bug worked around (this thread, having trouble extracting the files from the tar ... getting errors. :x )
User avatar
akula65
DBB Ace
DBB Ace
Posts: 372
Joined: Mon Sep 20, 2004 6:34 pm
Location: Virginia

Post by akula65 »

d3fix-1.6-2.i386.rpm
1,571,040 bytes
MD5
4204233828c4537a5dd34bab2adf09fc d3fix-1.6-2.i386.rpm
SHA1
89bd9c278fa493021d7a5d0f0e2acdb9c4cc7a02 d3fix-1.6-2.i386.rpm
SHA256
4a58e59e633485c6fa6160e6ad47ed66196550f8c135ccd319e3658e039bba2b d3fix-1.6-2.i386.rpm

d3fix-1.6.tgz.gz
1,570,671 bytes
MD5
465500c25e874322ba82bbae1f6b5566 d3fix-1.6.tgz.gz
SHA1
9d65d4f56ffe1554474280a0f904a2977d0fc1ee d3fix-1.6.tgz.gz
SHA256
caa6fe2d4c937a4f8b2c0f7a644813aeb07941da4d997aebd648b73e60dd1e0e d3fix-1.6.tgz.gz

If they don't match these, they are corrupt. Mine came from Monk's site when he first posted them.

Also, if you are trying to extract the d3fix-1.6.tgz.gz file using a GUI tool, it may be problematic. Open a terminal and change directory to the directory containing d3fix-1.6.tgz.gz. Execute the following command:

tar -zvxf d3fix-1.6.tgz.gz

That should generate the /usr folder I imagine you want.
User avatar
TechPro
DBB Admiral
DBB Admiral
Posts: 1520
Joined: Thu May 20, 2004 11:51 pm

Post by TechPro »

Thread bump.

Still haven't been able to successfully extract the checksum bug-fix files ...

My Loki Descent 3 has been working all levels since June 27 ... until today. I ran it once, exited ... and now when I run it my screen goes black ... and nothing. Can't even break out and return to the system. :x All I've been able to do is power off the computer and bring it back up.

Any ideas for this new dilemma?
Post Reply