2001-01-19 03:34:09 +00:00
|
|
|
===========
|
2002-08-29 04:15:03 +00:00
|
|
|
D2X
|
2001-01-19 03:34:09 +00:00
|
|
|
===========
|
|
|
|
|
2002-08-17 11:21:37 +00:00
|
|
|
http://icculus.org/d2x
|
2001-01-19 03:34:09 +00:00
|
|
|
|
2002-08-29 04:15:03 +00:00
|
|
|
|
2003-01-07 00:14:18 +00:00
|
|
|
Useful Links:
|
|
|
|
=============
|
|
|
|
Nasm: http://nasm.sourceforge.net
|
|
|
|
SDL: http://www.libsdl.org
|
|
|
|
|
|
|
|
|
2002-08-29 04:15:03 +00:00
|
|
|
Linux/Unix:
|
|
|
|
===========
|
2001-01-19 03:34:09 +00:00
|
|
|
|
|
|
|
Required tools:
|
2003-01-06 22:42:11 +00:00
|
|
|
* GCC 2.95 or higher
|
2002-07-16 23:18:51 +00:00
|
|
|
* SDL 1.1.0 or higher
|
2002-08-29 04:15:03 +00:00
|
|
|
* NASM 0.98 (OPTIONAL but RECOMMENDED for x86)
|
2001-01-19 03:34:09 +00:00
|
|
|
* A thread safe X server.
|
2003-01-06 22:42:11 +00:00
|
|
|
* GNU make is probably required as well.
|
2001-01-19 03:34:09 +00:00
|
|
|
|
|
|
|
Build instructions:
|
|
|
|
Install all of the components above. Next, from the d2x directory:
|
|
|
|
|
|
|
|
./configure
|
2002-08-17 11:21:37 +00:00
|
|
|
./configure --help will show you the available options.
|
|
|
|
If you have a 3d graphics card, use --with-opengl
|
2001-01-19 03:34:09 +00:00
|
|
|
|
2002-08-29 04:15:03 +00:00
|
|
|
VPATH builds also work (i.e., you can put the source in one directory
|
|
|
|
and build in another. Just execute the configure script from the
|
|
|
|
build directory like so:
|
|
|
|
mkdir d2x-build
|
|
|
|
cd d2x-build
|
|
|
|
../d2x-source/configure
|
|
|
|
|
2001-01-19 03:34:09 +00:00
|
|
|
make
|
2002-08-17 11:21:37 +00:00
|
|
|
make install
|
2001-01-19 03:34:09 +00:00
|
|
|
|
2003-01-06 22:42:11 +00:00
|
|
|
on systems where `make' isn't GNU make, use `gmake' instead.
|
|
|
|
|
2002-08-17 11:21:37 +00:00
|
|
|
see installation.txt for info on where to put your datafiles, etc.
|
2001-01-19 03:34:09 +00:00
|
|
|
|
|
|
|
Known bugs/issues:
|
2002-08-29 04:15:03 +00:00
|
|
|
|
2002-08-30 06:02:50 +00:00
|
|
|
* Serial support doesn't work. (UDP and IPX networking does)
|
2001-01-19 03:34:09 +00:00
|
|
|
* Sound glitches (due to stuff I haven't implemented)
|
2001-01-20 13:49:18 +00:00
|
|
|
* The mouse support is at the same level as it was in d1x (as in, it
|
2002-08-29 04:15:03 +00:00
|
|
|
kind of works) (btb: works pretty good for me.)
|
|
|
|
|
|
|
|
|
|
|
|
Win32:
|
|
|
|
======
|
|
|
|
|
|
|
|
Required tools:
|
|
|
|
* Cygwin
|
|
|
|
d2x doesn't use Cygwin, but it makes building it easier (to me).
|
|
|
|
You can probably build it with just MinGW, but I haven't tried yet.
|
|
|
|
* SDL 1.1.0 or higher
|
|
|
|
* NASM 0.98 (OPTIONAL but RECOMMENDED)
|
|
|
|
|
|
|
|
Note that SDL.dll needs to be in your executable PATH, since that is
|
|
|
|
where windows looks for dlls.
|
|
|
|
I recommend copying or moving it to /usr/local/bin:
|
|
|
|
cp /usr/local/lib/SDL.dll /usr/local/bin
|
|
|
|
|
|
|
|
If you need to run autogen.sh (e.g. to rebuild the configure scripts,
|
|
|
|
or to build from cvs) sdl.m4 will have to be somewhere where aclocal
|
|
|
|
can find it.
|
|
|
|
You can fix this by setting the ACLOCAL_FLAGS variable like this:
|
|
|
|
export ACLOCAL_FLAGS=/usr/local/share/aclocal
|
|
|
|
|
|
|
|
Now you can configure d2x as normal. i.e.
|
|
|
|
./configure
|
|
|
|
or
|
|
|
|
./configure --with-opengl
|
|
|
|
|
|
|
|
automake/autoconf in cygwin has a problem with not always putting the
|
|
|
|
.exe extentions where they need to be. So you may have to run make
|
|
|
|
twice, like so:
|
|
|
|
make && make d2x-sdl.exe
|
|
|
|
or
|
|
|
|
make && make d2x-gl.exe
|
|
|
|
|
|
|
|
Then just copy your executable and SDL.dll into the descent2 directory.
|
2001-01-19 03:34:09 +00:00
|
|
|
|
|
|
|
|
|
|
|
MS-DOS:
|
|
|
|
=======
|
|
|
|
|
2002-08-17 11:21:37 +00:00
|
|
|
Dos support isn't a high priority right now, so things may be a little
|
|
|
|
messed up.
|
|
|
|
|
2001-01-19 03:34:09 +00:00
|
|
|
Required tools:
|
|
|
|
* DJGPP v2
|
|
|
|
The following DJGPP packages are ALL REQUIRED (newer versions are ok)!
|
|
|
|
v2/
|
|
|
|
djdev203.zip
|
|
|
|
v2gnu/
|
|
|
|
bnu281b.zip gcc2952b.zip mak3781b.zip bsh1147b.zip sed302b.zip
|
|
|
|
m4-14b.zip acnf213b.zip gwk304b.zip txt20b.zip grep22b.zip dif272b.zip
|
|
|
|
So many packages are needed to support the autoconf build system that d2x
|
|
|
|
uses. (Sorry! =)
|
|
|
|
* NASM v0.98 or better is REQUIRED
|
|
|
|
|
|
|
|
|
|
|
|
Build instructions:
|
|
|
|
Install all of the djgpp packages above. Make sure that DJGPP is properly
|
|
|
|
configure (see the DJGPP docs for more information).
|
|
|
|
Make a copy of bash.exe in your djgpp bin/ directory. Call it "sh.exe". This
|
|
|
|
step is VERY IMPORTANT (otherwise all the scripts will fail).
|
|
|
|
|
|
|
|
Now, run the following from the d2x directory:
|
|
|
|
djgpp.bat
|
|
|
|
make
|
|
|
|
|
|
|
|
Hopefully things will work out and the package will build correctly for you.
|
|
|
|
|
|
|
|
Known bugs/issues:
|
|
|
|
* Serial and network support missing.
|
|
|
|
* Sound support missing.
|
|
|
|
|
|
|
|
|
2003-02-13 19:44:26 +00:00
|
|
|
Bugs/feedback:
|
|
|
|
==============
|
2001-01-19 03:34:09 +00:00
|
|
|
|
2003-02-13 19:44:26 +00:00
|
|
|
You can get on the descent-source mailing list by sending an email to
|
2001-01-20 13:49:18 +00:00
|
|
|
majordomo@warpcore.org with the body as: "subscribe descent-source
|
|
|
|
<your email address>". Discussions about the source code in general
|
|
|
|
are available here, and is the main list that d2x and d1x, a similar
|
2003-02-13 19:44:26 +00:00
|
|
|
project for descent 1, are discussed on. Patches and questions can be
|
2001-01-20 13:49:18 +00:00
|
|
|
posted there, as well.
|
|
|
|
|
2003-02-13 19:44:26 +00:00
|
|
|
Use Bugzilla. https://bugzilla.icculus.org/
|
|
|
|
|
|
|
|
Contact me directly, btb@icculus.org. I'll try to get back to you
|
|
|
|
ASAP, depending on real-life concerns =)
|