Package Details: d2x-rebirth 0.58.1-2

Git Clone URL: https://aur.archlinux.org/d2x-rebirth.git (read-only)
Package Base: d2x-rebirth
Description: An enhanced engine to play with Descent2 data.
Upstream URL: http://www.dxx-rebirth.com/
Keywords: descent fps game
Licenses: LGPL, custom:as-is, custom:D1x
Submitter: None
Maintainer: SanskritFritz
Last Packager: SanskritFritz
Votes: 19
Popularity: 0.000000
First Submitted: 2007-07-04 14:01
Last Updated: 2016-07-15 21:09

Latest Comments

lazycrypt commented on 2018-05-19 11:00

This package does not build for me. Compiler aborts with the following errors:

In file included from main/movie.c:51:
include/physfsrwops.h: At top level:
include/physfsrwops.h:47:1: error: unknown type name ‘__EXPORT__’
 __EXPORT__ SDL_RWops *PHYSFSRWOPS_openRead(const char *fname);
 ^~~~~~~~~~
include/physfsrwops.h:47:22: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
 __EXPORT__ SDL_RWops *PHYSFSRWOPS_openRead(const char *fname);
                      ^
include/physfsrwops.h:59:1: error: unknown type name ‘__EXPORT__’
 __EXPORT__ SDL_RWops *PHYSFSRWOPS_openWrite(const char *fname);
 ^~~~~~~~~~
include/physfsrwops.h:59:22: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
 __EXPORT__ SDL_RWops *PHYSFSRWOPS_openWrite(const char *fname);
                      ^
include/physfsrwops.h:71:1: error: unknown type name ‘__EXPORT__’
 __EXPORT__ SDL_RWops *PHYSFSRWOPS_openAppend(const char *fname);
 ^~~~~~~~~~
include/physfsrwops.h:71:22: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
 __EXPORT__ SDL_RWops *PHYSFSRWOPS_openAppend(const char *fname);
                      ^
include/physfsrwops.h:83:1: error: unknown type name ‘__EXPORT__’
 __EXPORT__ SDL_RWops *PHYSFSRWOPS_makeRWops(PHYSFS_file *handle);
 ^~~~~~~~~~
include/physfsrwops.h:83:22: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
 __EXPORT__ SDL_RWops *PHYSFSRWOPS_makeRWops(PHYSFS_file *handle);
                      ^
main/movie.c: In function ‘RunMovie’:
main/movie.c:389:13: error: implicit declaration of function ‘PHYSFSRWOPS_openRead’; did you mean ‘PHYSFS_openRead’? [-Werror=implicit-function-declaration]
  filehndl = PHYSFSRWOPS_openRead(filename);
             ^~~~~~~~~~~~~~~~~~~~
             PHYSFS_openRead
main/movie.c:389:11: warning: assignment to ‘SDL_RWops *’ {aka ‘struct SDL_RWops *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
  filehndl = PHYSFSRWOPS_openRead(filename);
           ^
main/movie.c:394:4: warning: ‘PHYSFS_getLastError’ is deprecated [-Wdeprecated-declarations]
    con_printf(CON_URGENT, "Can't open movie <%s>: %s\n", filename, PHYSFS_getLastError());
    ^~~~~~~~~~
In file included from main/player.h:23,
                 from main/config.h:24,
                 from main/movie.c:34:
/usr/include/physfs.h:654:25: note: declared here
 PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED;
                         ^~~~~~~~~~~~~~~~~~~
main/movie.c: In function ‘InitRobotMovie’:
main/movie.c:502:11: warning: assignment to ‘SDL_RWops *’ {aka ‘struct SDL_RWops *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
  RoboFile = PHYSFSRWOPS_openRead(filename);
           ^
main/movie.c:506:3: warning: ‘PHYSFS_getLastError’ is deprecated [-Wdeprecated-declarations]
   con_printf(CON_URGENT, "Can't open movie <%s>: %s\n", filename, PHYSFS_getLastError());
   ^~~~~~~~~~
In file included from main/player.h:23,
                 from main/config.h:24,
                 from main/movie.c:34:
/usr/include/physfs.h:654:25: note: declared here
 PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED;
                         ^~~~~~~~~~~~~~~~~~~
main/movie.c: In function ‘init_subtitles’:
main/movie.c:574:2: warning: ‘PHYSFS_read’ is deprecated [-Wdeprecated-declarations]
  read_count = PHYSFS_read(ifile, subtitle_raw_data, 1, size);
  ^~~~~~~~~~
In file included from main/player.h:23,
                 from main/config.h:24,
                 from main/movie.c:34:
/usr/include/physfs.h:1333:27: note: declared here
 PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle,
                           ^~~~~~~~~~~
main/movie.c: In function ‘init_movie’:
main/movie.c:691:4: warning: ‘PHYSFS_getLastError’ is deprecated [-Wdeprecated-declarations]
    con_printf(CON_URGENT, "Can't open movielib <%s>: %s\n", filename, PHYSFS_getLastError());
    ^~~~~~~~~~
In file included from main/player.h:23,
                 from main/config.h:24,
                 from main/movie.c:34:
/usr/include/physfs.h:654:25: note: declared here
 PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED;
                         ^~~~~~~~~~~~~~~~~~~
main/movie.c: In function ‘close_extra_robot_movie’:
main/movie.c:718:4: warning: ‘PHYSFS_getLastError’ is deprecated [-Wdeprecated-declarations]
    con_printf(CON_URGENT, "Can't close movielib <%s>: %s\n", filename, PHYSFS_getLastError());
    ^~~~~~~~~~
In file included from main/player.h:23,
                 from main/config.h:24,
                 from main/movie.c:34:
/usr/include/physfs.h:654:25: note: declared here
 PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED;
                         ^~~~~~~~~~~~~~~~~~~
main/movie.c:722:5: warning: ‘PHYSFS_getLastError’ is deprecated [-Wdeprecated-declarations]
     con_printf(CON_URGENT, "Can't close movielib <%s>: %s\n", filename, PHYSFS_getLastError());
     ^~~~~~~~~~
In file included from main/player.h:23,
                 from main/config.h:24,
                 from main/movie.c:34:
/usr/include/physfs.h:654:25: note: declared here
 PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED;
                         ^~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
scons: *** [main/movie.o] Error 1
scons: building terminated because of errors.
==> ERROR: A failure occurred in build().
    Aborting...

xamindar commented on 2014-01-05 08:19

The package created will hang on the question:
I'm about to install Descent 2 datas to /usr/share/d2x-rebirth/, would you like to continue (Y/n) ?

You can't see it until you press "y". Then the installation finishes.

Can you fix this? In either case, thanks for providing these packages.

xamindar commented on 2014-01-05 08:18

The package created will hang on the question:
I'm about to install Descent 2 datas to /usr/share/d2x-rebirth/, would you like to continue (Y/n) ?

You can't see it until you press "y". Then the installation finishes.

jswagner commented on 2013-11-09 09:45

Using an AUR helper, like pacaur, this line is spammed over and over again. Might be better to just print some output of what files are expected where (like ioquake3-git does). Anyone who is confused should be checking the PKGBUILD, anyway.
--
Give me the complete path to "descent2.sow" file (example, with the cd drive : /path/to/drive/d2data/descent2.sow)

SanskritFritz commented on 2013-02-14 15:48

Tested, works :)
BTW this file copying magic in the install file is it necessary? I think the descent 1 approach is better, where it only prints some instructions about where to copy the necessary files.

SanskritFritz commented on 2013-02-12 15:11

No problem, thanks for doing this. Now I confirm that it builds ok. Will try to play tonight, as for now i only have ssh access to my linux box.

Anonymous comment on 2013-02-12 15:02

Okay once more a little Update. Sorry. I fixed the filenames but not for the installation process. Gosh - really not being on my top today.

SanskritFritz commented on 2013-02-12 14:49

Same problem as with d1x
install: cannot stat ‘d2xr-sc55-music.dxa’: No such file or directory

SanskritFritz commented on 2013-02-12 14:16

Thanks for taking care of Descent so much.

Anonymous comment on 2012-10-12 04:52

Awesome job. I greatly enjoyed playing Descent ages ago, and am having a blast once again. Thank you for bringing it all back!

punkrockguy318 commented on 2012-07-20 20:01

For some reason, when I install this package it hangs on the install and I don't see any of the "post_install" output.

Anonymous comment on 2012-05-13 09:32

Updated to v0.57.3.

Anonymous comment on 2012-03-02 12:17

Updated to v0.57.2.

Anonymous comment on 2012-02-23 13:20

Current issues about libm linking will be resolved with a Bugfix version from upstream within the next days (I hope).

Spider.007 commented on 2012-02-23 12:25

to fix the libm.so.6 error, change the PKGBUILD build to start with this:

build() {
cd $startdir/src/${pkgname}_v${pkgver}-src
sed -ie "/^PREFIX =/s|/usr/local/|/usr/|" SConstruct
sed -ie "s/^env = .*$/\0\nenv.Append(LIBS=File('\/lib\/libm.so.6'))/" SConstruct
scons sharepath="/usr/share/$pkgname" || return 1

programble commented on 2012-01-28 19:50

Need to change `install=($pkgname.install)` to `install=$pkgname.install` for it to work.

Linking fails:
Linking d2x-rebirth ...
/usr/bin/ld: main/render.o: undefined reference to symbol 'sinf@@GLIBC_2.2.5'
/usr/bin/ld: note: 'sinf@@GLIBC_2.2.5' is defined in DSO /lib/libm.so.6 so try adding it to the linker command line
/lib/libm.so.6: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
scons: *** [d2x-rebirth] Error 1
scons: building terminated because of errors.

Anonymous comment on 2011-07-19 12:18

Updated to v0.57.1.

Anonymous comment on 2011-07-01 08:19

Descent 2 is not Abandonware. The game content is still copyrighted and illegal to give away for free.
However you can get the game content cheap AND DRM-free (unlike on STEAM) via gog.com.
And if you are intending to buy it via gog.com you can also support DXX-Rebirth in the same way using my affiliate link from here:
http://www.dxx-rebirth.com/game-content/

That does not cost you anything extra but will support this project - if you like it.

hl037 commented on 2011-07-01 01:54

Great work, I love your project!

I tested this on Windows XP/7 and on archlinux and it works fine

I love this Game, Descent for ever!

(for D2 data, I used My very old CD-rom^^)
but... it's an abandonware... so, you can give the data, no?

Anonymous comment on 2011-06-19 16:21

Updated to v0.57.

Anonymous comment on 2010-10-15 15:05

I could but I hesitate. The Software renderer still has some serious memory errors which I got to fix first - this code I have not maintained for years actually. However I have some of these fixes planned for the Bugfix release.

Anonymous comment on 2010-10-15 15:02

Thanks for this package.
Can you made one with sdlonly?

Anonymous comment on 2010-09-28 20:48

Updated to v0.56.