14 * NASM 0.98 (OPTIONAL but RECOMMENDED for x86)
15 * A thread safe X server.
19 Install all of the components above. Next, from the d2x directory:
22 ./configure --help will show you the available options.
23 If you have a 3d graphics card, use --with-opengl
25 VPATH builds also work (i.e., you can put the source in one directory
26 and build in another. Just execute the configure script from the
27 build directory like so:
30 ../d2x-source/configure
35 see installation.txt for info on where to put your datafiles, etc.
39 * Serial support doesn't work. (UDP and IPX networking does)
40 * Sound glitches (due to stuff I haven't implemented)
41 * The mouse support is at the same level as it was in d1x (as in, it
42 kind of works) (btb: works pretty good for me.)
50 d2x doesn't use Cygwin, but it makes building it easier (to me).
51 You can probably build it with just MinGW, but I haven't tried yet.
53 * NASM 0.98 (OPTIONAL but RECOMMENDED)
55 You will probably have to compile SDL from source.
56 Download the source code tarball from http://www.libsdl.org/
58 tar zxf SDL-x.x.x.tar.gz
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 You should also install NASM, for compiling assembler files. Download
76 it from http://www.web-sites.co.uk/nasm/where.html and place nasmw.exe
77 somewhere in your path (e.g. /usr/local/bin):
78 unzip nasm-0.98-win32.zip
79 mv nasmw.exe /usr/local/bin
81 Now you can configure d2x as normal. i.e.
84 ./configure --with-opengl
86 automake/autoconf in cygwin has a problem with not always putting the
87 .exe extentions where they need to be. So you may have to run make
89 make && make d2x-sdl.exe
91 make && make d2x-gl.exe
93 Then just copy your executable and SDL.dll into the descent2 directory.
99 Dos support isn't a high priority right now, so things may be a little
104 The following DJGPP packages are ALL REQUIRED (newer versions are ok)!
108 bnu281b.zip gcc2952b.zip mak3781b.zip bsh1147b.zip sed302b.zip
109 m4-14b.zip acnf213b.zip gwk304b.zip txt20b.zip grep22b.zip dif272b.zip
110 So many packages are needed to support the autoconf build system that d2x
112 * NASM v0.98 or better is REQUIRED
116 Install all of the djgpp packages above. Make sure that DJGPP is properly
117 configure (see the DJGPP docs for more information).
118 Make a copy of bash.exe in your djgpp bin/ directory. Call it "sh.exe". This
119 step is VERY IMPORTANT (otherwise all the scripts will fail).
121 Now, run the following from the d2x directory:
125 Hopefully things will work out and the package will build correctly for you.
128 * Serial and network support missing.
129 * Sound support missing.
133 Reporting bugs/feedback:
134 ========================
136 There are two ways to report bugs and give feedback:
137 1) Get on the descent-source mailing list by sending an email to
138 majordomo@warpcore.org with the body as: "subscribe descent-source
139 <your email address>". Discussions about the source code in general
140 are available here, and is the main list that d2x and d1x, a similar
141 project for descent 1 is discussed on. Patches and questions can be
142 posted there, as well.
144 2) Send feedback directly to me, bradleyb@u.washington.edu. I'll try
145 to get back to you ASAP, depending on real-life concerns =)
147 /* THE OLD README FOLLOWS */
150 THE COMPUTER CODE CONTAINED HEREIN IS THE SOLE PROPERTY OF PARALLAX
151 SOFTWARE CORPORATION ("PARALLAX"). PARALLAX, IN DISTRIBUTING THE CODE TO
152 END-USERS, AND SUBJECT TO ALL OF THE TERMS AND CONDITIONS HEREIN, GRANTS A
153 ROYALTY-FREE, PERPETUAL LICENSE TO SUCH END-USERS FOR USE BY SUCH END-USERS
154 IN USING, DISPLAYING, AND CREATING DERIVATIVE WORKS THEREOF, SO LONG AS
155 SUCH USE, DISPLAY OR CREATION IS FOR NON-COMMERCIAL, ROYALTY OR REVENUE
156 FREE PURPOSES. IN NO EVENT SHALL THE END-USER USE THE COMPUTER CODE
157 CONTAINED HEREIN FOR REVENUE-BEARING PURPOSES. THE END-USER UNDERSTANDS
158 AND AGREES TO THE TERMS HEREIN AND ACCEPTS THE SAME BY USE OF THIS FILE.
159 COPYRIGHT 1993-1999 PARALLAX SOFTWARE CORPORATION. ALL RIGHTS RESERVED.
161 We make no warranties as to the usability or correctness of this code.
163 ============================================
164 Message from Matt Toschlog & Mike Kulas:
168 Here, finally, is the source for Descent II. We've been so busy with
169 Descent 3, Mercenary, FreeSpace, FreeSpace 2, and several other
170 projects that we haven't given much thought to this old code. But we
171 know that many of you are eager to get it, so here you go.
173 We were amazed and impressed at the cool things people did with
174 the Descent source we released a few years ago. It touches us
175 deeply how devoted some people are to the Descent series, and we
176 look forward to seeing what people can do with this Descent II
179 Matt Toschlog Mike Kulas
180 Outrage Entertainment Volition, Inc.
182 ============================================
184 About the Source Code:
186 Included is almost all the source code to Descent 2, ver. 1.2. We removed
187 all code to which we did not own the copyright. This mainly involved low-
188 level sound and modem code and the movie code.
190 The Descent Network has agreed to provide a list of mirror locations where
191 this code can be downloaded. The location is:
193 http://www.descent2.com/ddn/sources/descent2
195 The following tools were used in the development of Descent:
196 Watcom C/C++, version 9.5
197 Microsoft Macro Assembler, version 6.1x
198 Opus Make, version 6.01
200 Have fun with the code!
201 Parallax Software Corporation
205 As Packaged the code currently will not compile. Some code had to be removed
206 to release it, therefore you will get some missing file errors when building.
208 Much of this code is very close to the Descent 1 source code. Many people have
209 put effort into porting that code, so if you are interested in porting D2, you
210 should be able to take advantage of some of that work.
212 A few good web sites to check out are:
215 http://d1x.warpcore.org
218 http://www.descent-network.com