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