]> icculus.org git repositories - btb/d2x.git/blob - README
cruft removal
[btb/d2x.git] / README
1 ===========
2 D2X
3 ===========
4
5
6 Linux:
7 ======
8
9 Required tools:
10 * GCC 2.95
11 * SDL 1.0 (get it from http://www.devolution.com/~slouken/projects/SDL/)
12 * NASM 0.98 (OPTIONAL but RECOMMENDED, not sure, try your linux distribution)
13 * A thread safe X server.
14 * Make, sed, etc...
15
16
17 Build instructions:
18 Install all of the components above. Next, from the d2x directory:
19
20 ./configure
21 (./configure --help will show you the available options)
22 For OpenGL support, try configuring with --with-opengl. Your mileage may vary
23 (but basically, you need an accelerated Mesa sitting somewhere where d2x can
24  see it)... The OpenGL support isn't perfect, but it works...
25
26 make
27
28 Hopefully d2x will build. Do not be concerned about warnings, they are fairly
29 unimportant.
30
31
32 Known bugs/issues:
33 * Serial support doesn't work. (UDP and IPX networking does)
34 * Movies (unlikely ever to be supported)
35 * Sound glitches (due to stuff I haven't implemented)
36 * The mouse support is at the same level as it was in d1x (as in, it
37   kind of works)
38 * Something went screwy with the control config system, it kinda got "d1xed"...
39 * OpenGL leaks memory like it is going out of fashion. It leaked about
40   64meg in a few minutes for me. I need to debug this =)
41
42
43 MS-DOS:
44 =======
45
46 Required tools:
47 * DJGPP v2
48 The following DJGPP packages are ALL REQUIRED (newer versions are ok)!
49 v2/
50 djdev203.zip
51 v2gnu/
52 bnu281b.zip gcc2952b.zip mak3781b.zip bsh1147b.zip sed302b.zip
53 m4-14b.zip acnf213b.zip gwk304b.zip txt20b.zip grep22b.zip dif272b.zip
54 So many packages are needed to support the autoconf build system that d2x
55 uses. (Sorry! =)
56 * NASM v0.98 or better is REQUIRED
57
58
59 Build instructions:
60 Install all of the djgpp packages above. Make sure that DJGPP is properly
61 configure (see the DJGPP docs for more information).
62 Make a copy of bash.exe in your djgpp bin/ directory. Call it "sh.exe". This
63 step is VERY IMPORTANT (otherwise all the scripts will fail).
64
65 Now, run the following from the d2x directory:
66 djgpp.bat
67 make
68
69 Hopefully things will work out and the package will build correctly for you.
70
71 Known bugs/issues:
72 * Serial and network support missing.
73 * Sound support missing.
74 * Movie support missing
75
76
77
78 Reporting bugs/feedback:
79 ========================
80
81 There are two ways to report bugs and give feedback:
82 1) Get on the descent-source mailing list by sending an email to
83 majordomo@warpcore.org with the body as: "subscribe descent-source
84 <your email address>". Discussions about the source code in general
85 are available here, and is the main list that d2x and d1x, a similar
86 project for descent 1 is discussed on. Patches and questions can be
87 posted there, as well.
88
89 2) Send feedback directly to me, bradleyb@u.washington.edu. I'll try
90 to get back to you ASAP, depending on real-life concerns =)
91
92 /* THE OLD README FOLLOWS */
93 Legal Stuff:
94
95 THE COMPUTER CODE CONTAINED HEREIN IS THE SOLE PROPERTY OF PARALLAX
96 SOFTWARE CORPORATION ("PARALLAX").  PARALLAX, IN DISTRIBUTING THE CODE TO
97 END-USERS, AND SUBJECT TO ALL OF THE TERMS AND CONDITIONS HEREIN, GRANTS A
98 ROYALTY-FREE, PERPETUAL LICENSE TO SUCH END-USERS FOR USE BY SUCH END-USERS
99 IN USING, DISPLAYING,  AND CREATING DERIVATIVE WORKS THEREOF, SO LONG AS
100 SUCH USE, DISPLAY OR CREATION IS FOR NON-COMMERCIAL, ROYALTY OR REVENUE
101 FREE PURPOSES.  IN NO EVENT SHALL THE END-USER USE THE COMPUTER CODE
102 CONTAINED HEREIN FOR REVENUE-BEARING PURPOSES.  THE END-USER UNDERSTANDS
103 AND AGREES TO THE TERMS HEREIN AND ACCEPTS THE SAME BY USE OF THIS FILE.  
104 COPYRIGHT 1993-1999 PARALLAX SOFTWARE CORPORATION.  ALL RIGHTS RESERVED.
105
106 We make no warranties as to the usability or correctness of this code.
107
108 ============================================
109 Message from Matt Toschlog & Mike Kulas:
110
111 Descent fans:
112
113 Here, finally, is the source for Descent II.  We've been so busy with 
114 Descent 3, Mercenary, FreeSpace, FreeSpace 2, and several other 
115 projects that we haven't given much thought to this old code.  But we 
116 know that many of you are eager to get it, so here you go.
117
118 We were amazed and impressed at the cool things people did with 
119 the Descent source we released a few years ago.  It touches us 
120 deeply how devoted some people are to the Descent series, and we 
121 look forward to seeing what people can do with this Descent II 
122 source.
123
124 Matt Toschlog               Mike Kulas
125 Outrage Entertainment       Volition, Inc.
126
127 ============================================
128
129 About the Source Code:
130
131 Included is almost all the source code to Descent 2, ver. 1.2.  We removed
132 all code to which we did not own the copyright.  This mainly involved low-
133 level sound and modem code and the movie code.    
134
135 The Descent Network has agreed to provide a list of mirror locations where 
136 this code can be downloaded. The location is:
137
138 http://www.descent2.com/ddn/sources/descent2
139
140 The following tools were used in the development of Descent:
141 Watcom C/C++, version 9.5
142 Microsoft Macro Assembler, version 6.1x
143 Opus Make, version 6.01
144
145 Have fun with the code!
146 Parallax Software Corporation
147 12/14/1999
148
149
150 As Packaged the code currently will not compile. Some code had to be removed
151 to release it, therefore you will get some missing file errors when building.
152
153 Much of this code is very close to the Descent 1 source code. Many people have
154 put effort into porting that code, so if you are interested in porting D2, you
155 should be able to take advantage of some of that work.
156
157 A few good web sites to check out are:
158
159 The D1X Project:
160 http://d1x.warpcore.org
161
162 The Descent Network:
163 http://www.descent-network.com
164