Page 2 of 2

Posted: Sat Jun 19, 2010 7:02 pm
by Duper
I nominate Funky for \"Bump Duty\"! :lol:

Re: Descent 3 Linux Files

Posted: Tue Mar 26, 2013 7:06 am
by FunkyStickman
Semi-annual Bump. For great justice.

File is still up, it has a different name, get it HERE:

http://jeffhendricks.net/D3-linux-files-2010.tar.gz

Re: Descent 3 Linux Files

Posted: Thu Apr 25, 2013 9:34 pm
by TechPro
I do appreciate it. I've had to rebuild my Linux systems and was a bit dismayed when I found my copy of D3 Loki is missing Disc 1. What you've done here will help greatly. :)

Re: Descent 3 Linux Files

Posted: Fri Apr 26, 2013 7:25 pm
by TechPro
Oh heck. :? I can't seem to get that command rename to lowercase command to work (3.3 in the instructions). I get a message:

Code: Select all

bash: sytax error near unexpected token 'do' 
Don't have any idea what to do about it.

For now, I'm getting a message "Unable to open font lohud.fnt" when I try to run the game.


EDIT: I found my Disc 1 of my Linux Descent 3 ... but it won't install. When I try to run the installer it tells me:

Code: Select all

setup.sh: 9: setup.sh: function: not found
x86
Any suggestions?

Re: Descent 3 Linux Files

Posted: Sat Apr 27, 2013 5:10 pm
by FunkyStickman
Hmm.... you running 64-bit? Did you delete the original folders?

Re: Descent 3 Linux Files

Posted: Sat Apr 27, 2013 9:42 pm
by TechPro
32bit. Didn't delete any original folders.

The system is Xubuntu 13.04 (Xfce Ubuntu).

Also tried running the Descent 3 Loki CD on a Linux Mint (Mate) 14.1 that has never had any Descent 3 on it ... got the same bash message.

Yes, I made sure I was running with root access.

Re: Descent 3 Linux Files

Posted: Fri Jun 06, 2014 1:43 pm
by FunkyStickman
Annual bump. For Great Justice.

Anybody here still playing?

Re: Descent 3 Linux Files

Posted: Tue Jul 01, 2014 5:24 pm
by VonVentman
Just recently tried out your guide to get a Windows install converted to Zorin OS 8 (*buntu 13.10, basically). Did all the symlinking of libGL and /dev/js0, but had a hell of a time getting something to recreate an OSS sound server. padsp, which was suggested in a few threads across the 'net, did nothing but reboot the X server to a login screen. I did, however, find another program, osspd, that does work, now the game works 100%. Too bad Vortex doesn't work in linux, but as long as other trackers have ways of launching with the server IP in the game, I'll take it.

Re: Descent 3 Linux Files

Posted: Thu Jul 03, 2014 3:18 pm
by snoopy
VonVentman wrote:Just recently tried out your guide to get a Windows install converted to Zorin OS 8 (*buntu 13.10, basically). Did all the symlinking of libGL and /dev/js0, but had a hell of a time getting something to recreate an OSS sound server. padsp, which was suggested in a few threads across the 'net, did nothing but reboot the X server to a login screen. I did, however, find another program, osspd, that does work, now the game works 100%. Too bad Vortex doesn't work in linux, but as long as other trackers have ways of launching with the server IP in the game, I'll take it.
padsp is an OSS compatibility tool for pulse audio - if you're not running pulse, it isn't going to work.

If just running ALSA, aoss is the equivalent.

It looks like osspd is built to support both ALSA and Pulse.

Re: Descent 3 Linux Files

Posted: Wed Oct 22, 2014 6:12 am
by FunkyStickman
I think it's time for me to update the Linux Files and HOWTO.

It's only been what, 15 years?

Geez I'm old.

Bump for great justice. Will update when it's done.

Re: Descent 3 Linux Files

Posted: Fri Jan 15, 2016 12:10 am
by crash_x
FunkyStickman wrote:Annual bump. For Great Justice.

Anybody here still playing?

Tryin to,,,,play
not getting this linux thing very well.
good to see all the work and help you put out for us,
Thanks

Re: Descent 3 Linux Files

Posted: Fri Jan 15, 2016 12:38 pm
by FunkyStickman
crash_x wrote:
FunkyStickman wrote:Annual bump. For Great Justice.

Anybody here still playing?

Tryin to,,,,play
not getting this linux thing very well.
good to see all the work and help you put out for us,
Thanks
You're welcome! I haven't had much time to play lately. I *did* get it working on my new machine, just haven't updated the HowTo yet.

Still happy that people are still playing this, though! Need to get my kids playing through it.

Re: Descent 3 Linux Files

Posted: Sat Jul 08, 2017 12:13 pm
by Negatratoron
Hey, I'm getting the following libGL error trying to run this:

lol@foldingmachine:~/Downloads/d3linux$ ./descent3
Could not load [/home/lol/Downloads/d3linux/imd.bmp]! Can't request CD swap!
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 154 (GLX)
Minor opcode of failed request: 3 (X_GLXCreateContext)
Value in failed request: 0x0
Serial number of failed request: 36
Current serial number in output stream: 37

Can anybody help?

Re: Descent 3 Linux Files

Posted: Sat Jul 08, 2017 1:41 pm
by FunkyStickman
Negatratoron wrote:Hey, I'm getting the following libGL error trying to run this:

lol@foldingmachine:~/Downloads/d3linux$ ./descent3
Could not load [/home/lol/Downloads/d3linux/imd.bmp]! Can't request CD swap!
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 154 (GLX)
Minor opcode of failed request: 3 (X_GLXCreateContext)
Value in failed request: 0x0
Serial number of failed request: 36
Current serial number in output stream: 37

Can anybody help?
Holy freaking cow. I forgot this thread was here!
Okay, okay... couple of quick questions. Looks like it's an OpenGL issue. What version of Linux are you using? What graphics card do you have? Which drivers are you using? (open source, oem, etc.)
What version of X do you have installed? Do you run other games on it? Have you read through the HOWTO? Made a symlink to the proper libGL.so files?
Let us know... we'll see what we can do.

Re: Descent 3 Linux Files

Posted: Sat Jul 08, 2017 2:56 pm
by Jeff250
My wild guess is that you are running 64-bit linux but are missing the 32-bit version of the mesa DRI library. On a debian-based distro, you would fix this by:

sudo apt-get install libgl1-mesa-dri:i386

Re: Descent 3 Linux Files

Posted: Sun Jul 09, 2017 12:14 pm
by Negatratoron
I have no idea what happened, but I had to reinstall Linux for other reasons - and now descent3 is working.

Even on the new install, I was getting that same error until I installed the libgl1-nvidia-glx:i386 package, which I installed because it was required for Steam as explained here: https://wiki.debian.org/Steam. I can't believe that package wouldn't have been installed on my old system, though...

What luck.

Re: Descent 3 Linux Files

Posted: Sun Jul 09, 2017 1:45 pm
by Negatratoron
Very weird, it suddenly doesn't work any more. Same error. No clue what I changed that broke it. However at least we know it CAN work.
FunkyStickman wrote:
Negatratoron wrote:Hey, I'm getting the following libGL error trying to run this:

lol@foldingmachine:~/Downloads/d3linux$ ./descent3
Could not load [/home/lol/Downloads/d3linux/imd.bmp]! Can't request CD swap!
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 154 (GLX)
Minor opcode of failed request: 3 (X_GLXCreateContext)
Value in failed request: 0x0
Serial number of failed request: 36
Current serial number in output stream: 37

Can anybody help?
Holy freaking cow. I forgot this thread was here!
Okay, okay... couple of quick questions. Looks like it's an OpenGL issue. What version of Linux are you using? What graphics card do you have? Which drivers are you using? (open source, oem, etc.)
What version of X do you have installed? Do you run other games on it? Have you read through the HOWTO? Made a symlink to the proper libGL.so files?
Let us know... we'll see what we can do.
Version of linux: Debian stretch
Graphics card: GeForce 590
Drivers: nvidia-driver package
X version: 1.19.2
Other games: Yes.
Read HOWTO: I have not created a symlink, but it looks like descent3 can find libGL.so, there's just an error. I guess it's using the 64-bit one instead of the 32-bit one or something but I have no idea.
Jeff250 wrote:My wild guess is that you are running 64-bit linux but are missing the 32-bit version of the mesa DRI library. On a debian-based distro, you would fix this by:

sudo apt-get install libgl1-mesa-dri:i386
That package is already installed.

Re: Descent 3 Linux Files

Posted: Sun Jul 09, 2017 5:33 pm
by FunkyStickman
Negatratoron wrote:I have no idea what happened, but I had to reinstall Linux for other reasons - and now descent3 is working.

Even on the new install, I was getting that same error until I installed the libgl1-nvidia-glx:i386 package, which I installed because it was required for Steam as explained here: https://wiki.debian.org/Steam. I can't believe that package wouldn't have been installed on my old system, though...

What luck.
Aaaah, yes. Steam actually has its own versions of certain packages, including libGL and others. They do this just in case the system repos don't have them, but on newer systems, they actually interfere with the installed ones and tend to break stuff.

Try this: rename the pre-installed libraries, and see if that fixes it.
They will be in ~/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/
Also in ~/.local/share/Steam/ubuntu12_32/steam-runtime/amd64/usr/lib/x86_64-linux-gnu

cd ~/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/
mv libstdc++.so.6 libstdc++.so.6.bak
cd ~/.local/share/Steam/ubuntu12_32/steam-runtime/amd64/usr/lib/x86_64-linux-gnu
mv libstdc++.so.6 libstdc++.so.6.bak

Really, you don't need ANY of these files if you have a properly functioning GLX environment, so you could try renaming the whole directory. DON'T DELETE IT! Just rename it, try it, and put it back if that didn't fix it.
Heck, you could rename the entire .local/share/Steam folder temporarily.

Give that a shot and see what it does.

Re: Descent 3 Linux Files

Posted: Mon Jul 10, 2017 1:36 pm
by Negatratoron
Renamed .local/share/Steam, no dice.

Re: Descent 3 Linux Files

Posted: Wed Jul 12, 2017 5:17 pm
by Negatratoron
Reinstalled linux again, found the culprit. The package I installed that broke descent3 was libgl1-mesa-dev:i386. Now trying to figure out how to run descent3 even with that package installed...

Also, there's no sound :/

Re: Descent 3 Linux Files

Posted: Sat Jul 15, 2017 8:28 pm
by FunkyStickman
Negatratoron wrote:Reinstalled linux again, found the culprit. The package I installed that broke descent3 was libgl1-mesa-dev:i386. Now trying to figure out how to run descent3 even with that package installed...

Also, there's no sound :/
The sound problem is pretty easy to fix: put "padsp" before "descent3" in your shortcut. It's a Pulse Audio wrapper.

Are you sure it's the "dev" version of that package? That just has source code and programming resources. Do you mean libgl1-mesa-glx:i386 or libgl1-mesa-dri:i386?

Re: Descent 3 Linux Files

Posted: Mon Jul 17, 2017 4:21 pm
by Negatratoron
FunkyStickman wrote:
Negatratoron wrote:Reinstalled linux again, found the culprit. The package I installed that broke descent3 was libgl1-mesa-dev:i386. Now trying to figure out how to run descent3 even with that package installed...

Also, there's no sound :/
The sound problem is pretty easy to fix: put "padsp" before "descent3" in your shortcut. It's a Pulse Audio wrapper.

Are you sure it's the "dev" version of that package? That just has source code and programming resources. Do you mean libgl1-mesa-glx:i386 or libgl1-mesa-dri:i386?
Ah good, padsp fixes it. Yes, I'm sure it's the "dev" package.

Re: Descent 3 Linux Files

Posted: Wed Dec 27, 2017 9:37 pm
by SSX-Thunderbird
Oh hey, sweet. I was pondering whether I'd have to go digging for my D3 Linux copy (which is who knows where these days), but this means I don't have to.

A couple things on my experience, I had some issues with starting up the game in fullscreen, which I could only solve by completely killing X with CTRL+ALT+F1. Starting in windowed mode (and --nointro) got around this, but only until it tried to play a movie (I had to terminate it via kill). I think this tied in with the no sound issue. Once I got that fixed (I had to create a padsp32 script to use the 32-bit libraries cause D3 obviously can't use the 64-bit ones), the movies started working fine.

I will admit I'm annoyed at the inability to press certain keyboard combinations simultaneously, but that's a problem with the age of the game itself.

An interesting note: under Windows, I don't get a video display when the mission movies show up (the two intro ones work fine), but they're fine under Linux. Weird.

Re: Descent 3 Linux Files

Posted: Mon Feb 19, 2018 7:14 pm
by Hunter
I can't get the Linux one to fire up at all. It's just a blank screen. Under WINE I've managed to get the game installed, and I can even manually launch MAIN.EXE, but the launcher seems to be messed up at the welcome to descent 3 part - without the ability to select a renderer in the launcher I can't launch the game.

Re: Descent 3 Linux Files

Posted: Mon Mar 05, 2018 12:19 am
by Hunter
Update: Gave up on Linux version after so many hard crashes, but was able to get the game running under WINE. The CD version was a no go, only the GOG version worked. It's fine with most wine versions, but it takes a few tweaks to select the right renderer and command lines depending on your setup.

Re: Descent 3 Linux Files

Posted: Sun Sep 29, 2019 7:38 pm
by Hunter
OK so I came back to this and managed to get the Loki version up and running. (the PADSP fix here was very handy: https://ideatrash.net/2014/06/fix-padsp ... 64-bi.html)

Unfortunately, the LOKI version seems very dated now. No option to enter widescreen resolutions, and when entering levels with any resolution higher than 640x480 (Stretched to full screen) the game 'cuts' the whole thing into a small box on the top-left side of the screen. The only way to get it back into fullscreen is to switch the resolution again, or load and unload the automap. Hmm..

D3 is starting to feel very dated. We need that source code (that guy on Reddit, 'Midnight..' or something has it AFAIK), or at the very least a new patch with better modern machine support. Come on, literally every popular title from the 90's and early 2000's has been patched and supported for modern setups, even if the source wasn't released. Can D3 get some love too? Pretty please?

Re: Descent 3 Linux Files

Posted: Sun Dec 06, 2020 6:10 pm
by VonVentman
Well, there is some good news, according to Ryan C. Gordon's Patreon page here: https://www.patreon.com/posts/project-descent-33611585
The Steam version has been recompiled for Linux and Mac. Now if only those binaries could be ported to the disc based versions of the game...

Re: Descent 3 Linux Files

Posted: Thu Dec 17, 2020 10:26 am
by Hunter
Yeah but the problem is he didn't finish it - the game is buggy as heck, the biggest one being that savegames don't work properly (or at all!) and multiplayer is a no-go.

And you don't need the disc version, just get D3 from Steam and it runs on Linux automatically.