Attached is an updated version of the in-tree descent3 ebuild that supports installing from the Good Old Games package in addition to the original (and extremely difficult to find) Loki CD-ROM version.
* It uses USE=cdinstall to determine whether to install from CD or GOG package. cdinstall is enabled by default, so CD is the default installation method.
* The GOG package does not include all data necessary for the Linux version to work. The missing files can be downloaded in a bundle from here:
with detailed instructions available here:
This ebuild automates that process.
* I also performed some other cleanup of the ebuild, such as converting to EAPI=4, moving all unpacking operations to the src_unpack() phase, and fixing TEXTREL problem pointed out in bug 429278.
* I should point out that I have not test this with the CD version, which I don't have (...obviously :-)). Everything *should* still work if the CD version is used, but it'd be a good idea to have someone test this to confirm, if at all possible.
Hope this meets with your approval. If you have any further suggestions for improvement, just let me know.
Created attachment 324890 [details]
Unfortunately that site has now died. Before I found this page, I was trying with a tarball of the executables hosted elsewhere though I was dubious whether that would really be allowed in Gentoo. In any case, all I get is a black screen. If I try the descent3-demo ebuild as it stands now, it initially fails without making /opt/descent3-demo writable and then all I get is a black window. Does the game still work for you?
(In reply to James Le Cuirot from comment #2)
> Unfortunately that site has now died. Before I found this page, I was trying
> with a tarball of the executables hosted elsewhere though I was dubious
> whether that would really be allowed in Gentoo. In any case, all I get is a
> black screen. If I try the descent3-demo ebuild as it stands now, it
> initially fails without making /opt/descent3-demo writable and then all I
> get is a black window. Does the game still work for you?
Turns out it was trying to use GLide because I have media-libs/openglide installed. If I force OpenGL with -G then it works, at least with the demo, which is all I'm trying for now. I'm going to commit an update to the demo ebuild with this fix and others.
Hi, James. I'm sorry, I must've missed your last question. I just tested, and yes, it does still work for me, with a couple differences:
* I had to update the ebuild to use the new 32-bit ABI format rather than the old emul packages
* As you pointed out, the support files necessary to make the GOG package work under Linux are no longer there. I had a copy backed up locally, so I put that on my colo server and changed SRC_URI to point to it.
I think with just those to changes, everything's working. I'll attach the updated ebuild, though I'm sure there are other things that should be cleaned up in it as well - I haven't really touched this for a few years, so I'm sure standards have changed since then. If you're interested in working towards getting this in the tree, let me know and I'll be happy to assist with whatever.
Created attachment 471302 [details]
ebuild should not use games.eclass , thanks
games.eclass done in https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=60fd187648e58bf67ed58b889cef6ecbcdcc06a3
Sorry for kinda dropping this, although I still doubt we could legally include it anyway. The demo is in a pretty sorry state now, and I suspect the full version wouldn't be any better. If you're using PipeWire, which we now encourage, there is no way to get the sound working. It doesn't display properly under Wayland unless you run it under gamescope. Most importantly though, it freezes as soon as you hit any keyboard key. I first noticed the latter at least a year ago, so it doesn't look like the situation is going to change. I'm therefore going to last-rite both packages. At least we have Overload now, and that has a native port too.
The bug has been referenced in the following commit(s):
Author: James Le Cuirot <email@example.com>
AuthorDate: 2023-06-25 09:50:38 +0000
Commit: James Le Cuirot <firstname.lastname@example.org>
CommitDate: 2023-06-25 09:50:38 +0000
profiles: Last-rite games-action/descent3 and games-action/descent3-demo
Impossible to legally obtain the native full game now. It freezes on
keyboard input, is incompatible with PipeWire, and requires gamescope to
display under Wayland. In short, it's a lost cause. Removal in 30 days.
Signed-off-by: James Le Cuirot <email@example.com>
profiles/package.mask | 7 +++++++
1 file changed, 7 insertions(+)
I've been made aware of a modern SDL2-based port by icculus, but it is only available from Steam.
The bug has been closed via the following commit(s):
Author: Jakov Smolić <firstname.lastname@example.org>
AuthorDate: 2023-08-12 12:39:57 +0000
Commit: Jakov Smolić <email@example.com>
CommitDate: 2023-08-12 12:42:28 +0000
Signed-off-by: Jakov Smolić <firstname.lastname@example.org>
games-action/descent3/Manifest | 2 -
games-action/descent3/descent3-1.4.0b-r3.ebuild | 103 ------------------------
games-action/descent3/metadata.xml | 11 ---
profiles/arch/amd64/no-multilib/package.mask | 1 -
profiles/features/musl/package.mask | 1 -
profiles/package.mask | 7 --
6 files changed, 125 deletions(-)