Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 144274 - games-action/d2x-xl (New Package)
Summary: games-action/d2x-xl (New Package)
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Default Assignee for New Packages
URL: http://www.descent2.de/
Whiteboard:
Keywords: EBUILD
: 213545 (view as bug list)
Depends on: 137306 137307 137308
Blocks:
  Show dependency tree
 
Reported: 2006-08-17 21:44 UTC by Paul Bredbury
Modified: 2018-12-03 12:58 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
d2x-xl-1.6.147.ebuild (d2x-xl-1.6.147.ebuild,3.87 KB, text/plain)
2006-08-17 21:45 UTC, Paul Bredbury
Details
d2x-xl-1.9.64.ebuild (d2x-xl-1.9.64.ebuild,4.25 KB, text/plain)
2007-01-09 18:37 UTC, Paul Bredbury
Details
d2x-xl-1.9.115.ebuild (d2x-xl-1.9.115.ebuild,10.11 KB, text/plain)
2007-02-02 09:43 UTC, Paul Bredbury
Details
d2x-xl-1.11.16.ebuild (d2x-xl-1.11.16.ebuild,4.13 KB, text/plain)
2007-10-24 14:20 UTC, Paul Bredbury
Details
d2x-xl-1.14.49.ebuild (d2x-xl-1.14.49.ebuild,3.12 KB, text/plain)
2009-06-12 22:29 UTC, James Le Cuirot
Details
d2x-xl-1.15.88.ebuild (d2x-xl-1.15.88.ebuild,3.28 KB, text/plain)
2010-09-22 22:33 UTC, James Le Cuirot
Details
d2x-xl-1.16.15.ebuild (d2x-xl-1.16.15.ebuild,3.54 KB, text/plain)
2012-11-28 06:25 UTC, Alexander Turenko
Details
d2x-xl-1.16.15.ebuild (d2x-xl-1.16.15.ebuild,3.60 KB, text/plain)
2013-06-18 15:52 UTC, Alexander Turenko
Details
Ebuild for 1.18.74 (d2x-xl-1.18.74.ebuild,2.76 KB, text/plain)
2017-03-12 19:46 UTC, James Le Cuirot
Details
flags.patch for 1.18.74 ebuild (flags.patch,804 bytes, patch)
2017-03-12 19:47 UTC, James Le Cuirot
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Bredbury 2006-08-17 21:44:33 UTC
Hi, here is an ebuild for D2X-XL, an enhanced client for Descent 2 with support for midi music (via Timidity), high-resolution textures and multiple joysticks.

It is in heavy development and is not bug-free, but it is now Linux-friendly regarding file locations.

I suggest category "games-action", as with d2x and d2x-rebirth.
Comment 1 Paul Bredbury 2006-08-17 21:45:05 UTC
Created attachment 94497 [details]
d2x-xl-1.6.147.ebuild
Comment 2 Paul Bredbury 2007-01-09 18:37:24 UTC
Created attachment 106243 [details]
d2x-xl-1.9.64.ebuild

Version bump. Added texture files.

This engine is not yet suitable for the official tree - it's still in heavy development, with daily releases.
Comment 3 Chris Gianelloni (RETIRED) gentoo-dev 2007-01-09 21:54:40 UTC
I'll hold off on this one for a while, then.
Comment 4 Christian Ludwig 2007-01-21 00:17:23 UTC
A quick hint for the ebuild:
Your ebuild uses dos2unix for file conversion. Portage has its own function edos2unix already integrated. So you do not need to DEPEND on dos2unix anymore.
Comment 5 Chris Gianelloni (RETIRED) gentoo-dev 2007-01-30 22:12:41 UTC
Since this one's still in heavy development, I'm marking it LATER.  It looks promising, so definitely let me know once you think it has stabilized some and we'll add it to the tree.
Comment 6 Paul Bredbury 2007-02-02 09:43:40 UTC
Created attachment 108914 [details]
d2x-xl-1.9.115.ebuild

Added loads of single & multiplayer maps.
Comment 7 Paul Bredbury 2007-10-24 14:20:15 UTC
Created attachment 134228 [details]
d2x-xl-1.11.16.ebuild

New version. Still in heavy development, with bugs being created and fixed daily, due to lots of eye-candy features.

High-resolution models, and maps, will be in separate ebuilds.
Comment 8 Brandon Captain 2008-03-16 19:04:35 UTC
(In reply to comment #7)
> Created an attachment (id=134228) [edit]
> d2x-xl-1.11.16.ebuild
> 
> New version. Still in heavy development, with bugs being created and fixed
> daily, due to lots of eye-candy features.
> 
> High-resolution models, and maps, will be in separate ebuilds.
> 

can't seem to locate the models/maps ebuilds. do they exist yet?
Comment 9 Brandon Captain 2008-03-16 19:17:11 UTC
shouldn't it there be a 'demo' useflag to install demo data rather than the current method of 'cdinstall' for retail data?

Comment 10 Paul Bredbury 2008-03-17 00:22:28 UTC
> can't seem to locate the models/maps ebuilds. do they exist yet?
Nope.

"cdinstall" is better than "demo", because it demands interactivity during an emerge.
Comment 11 Brandon Captain 2008-03-17 02:11:12 UTC
(In reply to comment #10)
> > can't seem to locate the models/maps ebuilds. do they exist yet?
> Nope.
> 
> "cdinstall" is better than "demo", because it demands interactivity during an
> emerge.
> 

imagine if every ebuild demanded interactivity during emerge... :-/
Comment 12 Chris Gianelloni (RETIRED) gentoo-dev 2008-04-10 22:57:13 UTC
*** Bug 213545 has been marked as a duplicate of this bug. ***
Comment 13 James Le Cuirot gentoo-dev 2009-06-12 22:29:53 UTC
Created attachment 194459 [details]
d2x-xl-1.14.49.ebuild

I had a shot at this but after it complained about the file locations (was expecting the files to be in a "data" subdirectory), played crap through my speakers, beamed me into a pitch black room at the start of the game and then crashed when I changed some option, I decided to throw in the towel and settle for d2x-rebirth.

Here's what I came up with anyway. Much of the stuff wasn't needed anymore, especially if we're handling the data in separate ebuilds.
Comment 14 James Le Cuirot gentoo-dev 2010-09-22 22:33:36 UTC
Created attachment 248397 [details]
d2x-xl-1.15.88.ebuild

You can probably reopen this now as it is more or less playable. I've redone the ebuild and it is now somewhat cleaner. There are still a few sharp edges but it's been worth the effort because it does look *really* nice, even compared to D2X-Rebirth.

The ebuild now includes support for the hi-res models, sounds and textures. Since this is the only engine that supports them, I didn't see the point in splitting them off. On the other hand, the textures are quite big. If you don't want the Descent 1 textures, you will spend a few more minutes downloading and will waste an extra 400MB of disk space. I'll leave that up to you.

At the time of writing, some of the textures downloads on the site are missing. This has been acknowledged in the forums and will hopefully be fixed in the near future. The ebuild currently doesn't reference these missing downloads.

I dropped extra.hog. It adds briefing voices to Descent 1 but it only works if the music is switched off. Most people will probably want the music on.

The default options are now fairly sensible and much can be configured through the interface so I dropped the "common" wrapper. Whacking up the quality settings too high almost grinds the interface to a halt but there's a patch in the pipeline that pauses rendering while in the menu.

The original data files are now symlinked from the d1x and d2x directories. It doesn't matter whether these files are actually present or not. Ideally these directories would be symlinked in the other direction so that any additional missions would also be found but that'll involve adjusting the other packages. I'll leave that with you.

Support for OpenMP has also been added. This seems to be worth enabling if you have more than one core so give it a try.

The dependency list is a little shorter. I've confirmed that several of the old dependencies weren't actually needed. In particular, SDL_image is only used on Windows and OS X.

I'd like to be able to use a SoundFont for the MIDI but unfortunately SDL_mixer's bundled version of Timidity doesn't support them so I am going to try and add FluidSynth support to SDL_mixer. This problem isn't unique to this game but I just thought I'd mention it.

The only serious problem I'm having is that the sound AND music cuts out in Descent 1 during busy scenes. Strangely, this doesn't seem to affect Descent 2. I tried options like "-use_d1sounds 1" but that made no difference. The only option that did make a difference was "-sdl_mixer 0" but that disables the music and the sounds play at half speed.
Comment 15 Paul Bredbury 2010-09-23 03:45:43 UTC
> SoundFont for the MIDI

Use OGG files from e.g. http://descentbb.com/viewtopic.php?t=2556 - these sound better, and work on all soundcards.
Comment 16 James Le Cuirot gentoo-dev 2010-11-16 09:29:04 UTC
Must have missed that comment. I knew about those but I didn't think D2X-XL supported OGG music. It actually does but I also managed to add that FluidSynth backend to SDL_mixer anyway. Hoping to get that polished off and sent upstream when I have a moment.
Comment 17 Alexander Turenko 2012-11-28 06:25:26 UTC
Created attachment 330804 [details]
d2x-xl-1.16.15.ebuild

Ebuild for d2x-xl-1.16.15. I removed one of sed patching expressions, that cause compile error on this version. Also, I adopt ebuild for use with the next ebuilds for data files (thanks to Jared B.):
[1] https://bugs.gentoo.org/show_bug.cgi?id=369419 (see descent1-data ebuild)
[2] https://bugs.gentoo.org/show_bug.cgi?id=369397 (descent2-data)
[3] https://bugs.gentoo.org/show_bug.cgi?id=369399 (descent2-vertigo).

These ebuilds ([1] and [2]) working both with GOG package and CD. Ebuild [3] require CD.

I removed cdinstall USE flag, since that not match with d2x-xl engine and belong to data-packages. I added descent1, descent2 and descent2-vertigo USE flags, that enable dependence of corresponding data packages and make correct simlinking to proper resources.

Also, simlinking to resources was broken (some descent2 resources link was pointed to descent1 data directory), I fix it.

All changes is "works for me" and can be not fully correct. Criticism is understood positively.

I pushed all related ebuilds to http://totktonada.ru/portage/games-action/ , if some problem occured, you can check it all.
Comment 18 Julian Ospald 2012-11-28 12:12:16 UTC
are any of those required games free?
Comment 19 Alexander Turenko 2012-11-28 15:52:08 UTC
Forgotten: also I updated download URLs from "http://www.descent2.de/downloads/..." to "http://www.descent2.de/files/...".
Comment 20 Alexander Turenko 2013-06-18 15:52:15 UTC
Created attachment 351320 [details]
d2x-xl-1.16.15.ebuild

Add missing dependencies.
Comment 21 Alexander Turenko 2013-08-13 10:02:57 UTC
If somebody interest: I update this ebuild in gamerlay overlay.
Comment 22 James Le Cuirot gentoo-dev 2017-03-12 19:46:54 UTC
Created attachment 466838 [details]
Ebuild for 1.18.74

I've been giving the Descent stuff some TLC (commits coming soon) and I took a look at this, updating the ebuild for 1.18.74. At first, it would just exit with no output at all. A later attempt opened a window (not full screen) with the Create Pilot screen but I could not input anything. Sometimes it seems to freeze before even getting to that point. Closing the window doesn't work, I have to kill it from the command line. It's quite easy to see why the DXX-Rebirth project doesn't give this project much respect. It does appear to be as buggy as some people say it is. Here's the ebuild anyway. Have a go if you like.
Comment 23 James Le Cuirot gentoo-dev 2017-03-12 19:47:56 UTC
Created attachment 466840 [details, diff]
flags.patch for 1.18.74 ebuild