Author Topic: [games] DXX-Rebirth - frustrations  (Read 3263 times)

Hasturtium

  • Full Member
  • ***
  • Posts: 155
  • Karma: +10/-0
    • View Profile
[games] DXX-Rebirth - frustrations
« on: June 10, 2023, 12:56:41 am »
So I'm trying to build DXX-Rebirth on Fedora 37, following the official directions posted here, and using the build instructions
Code: [Select]
scons 'CXXFLAGS=-O3 -mcpu=power9 -DNO_WARN_X86_INTRINSICS' 'CPPFLAGS=-O3 -mcpu=power9 -DNO_WARN_X86_INTRINSICS' opengl=1yields this error terminating compilation:
Code: [Select]
scons: *** Rebirth configured with OpenGL enabled, but SDL configured with OpenGL disabled.  Disable Rebirth OpenGL or install an SDL with OpenGL enabled.  See build/sconf.log for details.  Stop.I've tried a few Google searches but nothing conclusively indicates what I should do to configure or replace SDL2. I have not built it from source or installed it from alternative repos - this is stock Fedora.

MPC7500

  • Hero Member
  • *****
  • Posts: 592
  • Karma: +41/-1
    • View Profile
    • Twitter
Re: [games] DXX-Rebirth - frustrations
« Reply #1 on: June 10, 2023, 08:22:30 am »
Here is someone with a similar issue:
https://github.com/dxx-rebirth/dxx-rebirth/issues/689

I have not looked at it in detail.

ClassicHasClass

  • Sr. Member
  • ****
  • Posts: 471
  • Karma: +37/-0
  • Talospace Earth Orbit
    • View Profile
    • Floodgap
Re: [games] DXX-Rebirth - frustrations
« Reply #2 on: June 10, 2023, 10:47:19 am »
I installed d1x-rebirth and d2x-rebirth out of the Fedora repos and those worked fine. Any particular reason you want to build them?

Hasturtium

  • Full Member
  • ***
  • Posts: 155
  • Karma: +10/-0
    • View Profile
Re: [games] DXX-Rebirth - frustrations
« Reply #3 on: June 10, 2023, 12:02:02 pm »
I installed d1x-rebirth and d2x-rebirth out of the Fedora repos and those worked fine. Any particular reason you want to build them?

Honestly, I didn't assume a package would be available, so I didn't look. But now I can't find a package by the name of dxx-rebirth, d1x-rebirth, or d2x-rebirth for F37.

edit: After various travails, determined the package names are literally "d1x" and "d2x." Well, at least that fixes things up. Now to test...
edit the second: Well, it's working. MIDI could sound better, but I'm an old OPLhead. What's the best solution for pointing the executable to the registered version - should I overwrite the contents of the demo files provided with the packages, or add a path entry to the dxx ini?
« Last Edit: June 11, 2023, 09:48:13 am by Hasturtium »

ClassicHasClass

  • Sr. Member
  • ****
  • Posts: 471
  • Karma: +37/-0
  • Talospace Earth Orbit
    • View Profile
    • Floodgap
Re: [games] DXX-Rebirth - frustrations
« Reply #4 on: June 11, 2023, 02:29:52 pm »
Good, you found it (for others curious - RPMFusion).

As far as the registered files:

Code: [Select]
% ls /usr/share/d1x
d1shar  d1x-rebirth.bmp  full
% ls /usr/share/d2x
d2shar  d2x-rebirth.bmp  full
% ls /usr/share/d1x/full
descent.hog  descent.pig
% ls /usr/share/d2x/full
alien1.pig    d2chaos.mn2   descent2.s22  ice.pig      readme.txt
alien2.pig    d2icons.dll   descentg.ini  intro-h.mvl  robots-h.mvl
ben-h.mve     descent2.dem  endnote.txt   intro-l.mvl  robots-l.mvl
d2-2plyr.hog  descent2.exe  eregcard.exe  modem.lst    water.pig
d2-2plyr.mn2  descent2.ham  eregcard.ini  other-h.mvl
d2.bat        descent2.hog  fire.pig      other-l.mvl
d2chaos.hog   descent2.s11  groupa.pig    pcxview.exe

/usr/bin/d[12]x-rebirth are shell scripts. If they find the registered files present, they will start the registered version, otherwise shareware. No config files required.