10 Nasm: http://nasm.sourceforge.net
11 SDL: http://www.libsdl.org
12 PhysicsFS: http://icculus.org/physfs/
22 * NASM 0.98 (OPTIONAL but RECOMMENDED for x86)
23 * A thread safe X server.
24 * GNU make is probably required as well.
27 Install all of the components above. Next, from the d2x directory:
30 ./configure --help will show you the available options.
31 If you have a 3d graphics card, use --with-opengl
33 VPATH builds also work (i.e., you can put the source in one directory
34 and build in another. Just execute the configure script from the
35 build directory like so:
38 ../d2x-source/configure
43 on systems where `make' isn't GNU make, use `gmake' instead.
45 see installation.txt for info on where to put your datafiles, etc.
49 * Serial support doesn't work. (UDP and IPX networking does)
50 * Sound glitches (due to stuff I haven't implemented)
51 * The mouse support is at the same level as it was in d1x (as in, it
52 kind of works) (btb: works pretty good for me.)
59 * Cygwin or MinGW + MSys
62 * NASM 0.98 (OPTIONAL but RECOMMENDED)
64 Note that SDL.dll needs to be in your executable PATH, since that is
65 where windows looks for dlls.
66 I recommend copying or moving it to /usr/local/bin:
67 cp /usr/local/lib/SDL.dll /usr/local/bin
69 If you need to run autogen.sh (e.g. to rebuild the configure scripts,
70 or to build from cvs) sdl.m4 will have to be somewhere where aclocal
72 You can fix this by setting the ACLOCAL_FLAGS variable like this:
73 export ACLOCAL_FLAGS=/usr/local/share/aclocal
75 Now you can configure d2x as normal. i.e.
78 ./configure --with-opengl
80 Then just copy your executable and SDL.dll into the descent2 directory.
86 Dos support isn't a high priority right now, so things may be a little
91 The following DJGPP packages are ALL REQUIRED (newer versions are ok)!
95 bnu281b.zip gcc2952b.zip mak3781b.zip bsh1147b.zip sed302b.zip
96 m4-14b.zip acnf213b.zip gwk304b.zip txt20b.zip grep22b.zip dif272b.zip
97 So many packages are needed to support the autoconf build system that d2x
99 * NASM v0.98 or better is REQUIRED
103 Install all of the djgpp packages above. Make sure that DJGPP is properly
104 configure (see the DJGPP docs for more information).
105 Make a copy of bash.exe in your djgpp bin/ directory. Call it "sh.exe". This
106 step is VERY IMPORTANT (otherwise all the scripts will fail).
108 Now, run the following from the d2x directory:
112 Hopefully things will work out and the package will build correctly for you.
115 * Serial and network support missing.
116 * Sound support missing.
122 Install the latest version of apple's developer tools.
123 Compile and install SDL from source: d2x doesn't use Project Builder.
125 configure and compile as with other unices.
131 * MPW-GM v3.6 or higher
137 * Power Mac Debugger 2.2
140 The SDL headers go in here. Either a folder called "SDL" or the headers straight in CIncludes will work. The OpenGL and AGL headers go directly in CIncludes, but a folder needs to be made called "GL". Copies or aliases of glu.h and gl.h need to go in here. This is because the makefile is set up to use Unix include directive paths. physfs.h also goes in here.
143 OpenGLLibraryStub and OpenGLUtilityStub go in here. Also, copies of the SDL and PhysicsFS libraries go in here.
146 Install all of the components above. The OpenGL version of D2X is built by default, but with a bit of fiddling the non-OpenGL version can be built. The quickest way to build is to open D2X.make (which launches MPW), type Command-B, enter "D2X" (no quotes) and press return.
148 Note: All the C files, headers and D2X.make have to be plain text files for it to work. This may mean using your favourite type code changer.
150 Using Power Mac Debugger:
151 All the source files must have classic Mac return characters before building. I'd recommend using DropTextConverter. Power Mac Debugger won't work properly if using a Voodoo 2 card, so just turn off the 3Dfx extensions when debugging.
153 D2X could be made to build in CodeWarrior.
155 see installation.txt for info on where to put your datafiles, etc.
160 * Textures can behave weird. Appears to be a problem on all platforms.
161 * Some sound glitches
167 There are three places to report bugs and give feedback:
169 You can get on the descent-source mailing list by sending an email to
170 majordomo@warpcore.org with the body as: "subscribe descent-source
171 <your email address>". Discussions about the source code in general
172 are available here, and is the main list that d2x and d1x, a similar
173 project for descent 1, are discussed on. Patches and questions can be
174 posted there, as well.
176 Use Bugzilla. https://bugzilla.icculus.org/
177 This is the most reliable way to make sure your issue gets attention!
179 Contact me directly, btb@icculus.org. I'll try to get back to you
180 ASAP, depending on real-life concerns =)