ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/README
Revision: 1.45
Committed: Sat Aug 30 05:19:03 2008 UTC (15 years, 8 months ago) by root
Branch: MAIN
CVS Tags: rel-2_7, rel-2_71
Changes since 1.44: +6 -6 lines
Log Message:
*** empty log message ***

File Contents

# User Rev Content
1 root 1.30 WHAT IS DELIANTRA?
2 root 1.1
3 root 1.8 This is a multiplayer graphical arcade and adventure game, that runs on
4     a client/server model. There are clients for Microsoft(R) Windows(TM)
5     and POSIX systems such as Linux and *BSD. To get the most joyful
6 root 1.30 experience, the Deliantra client should be used. This client is written
7 root 1.8 in Perl and utilises SDL with OpenGL to provide you with the most
8     immersive gameplay.
9 root 1.1
10 root 1.30 Deliantra has certain flavours from other games, especially Gauntlet (TM)
11 root 1.1 and Nethack/Moria.
12    
13 root 1.8 Any number of players can move around in their own window on the
14     world, finding and using items and battle monsters. They can choose to
15     cooperate or compete in the same "world".
16    
17 root 1.1
18     REQUIREMENTS
19    
20 root 1.5 For UNIX, a modern C++ compiler with some extensions is required to
21 root 1.12 compile this game (g++ 4.x works). In addition, you will need the Perl
22     development libraries along with the following Perl modules (the server
23 root 1.45 requires perl 5.10). A perl configured for 64 bit integer support is
24     highly recommended to avoid overflows, but 32 bit perls are supported)
25     and their dependencies. In general, the newest version from CPAN will
26     do. The configure script will complain when it detects an unsuitable
27     version.
28 root 1.40
29     - AnyEvent
30 root 1.44 - AnyEvent::AIO
31     - AnyEvent::BDB
32 root 1.45 - BDB **compiled against libdb4.[567] (libdb4.4 *might* work)**
33 root 1.40 - Compress::LZF
34 root 1.42 - Coro **SEE IMPORTANT NOTICE BELOW**
35 root 1.40 - Coro::EV
36 root 1.41 - Deliantra
37 root 1.40 - Digest::MD5
38     - EV
39     - IO::AIO
40     - JSON::XS
41     - Net::IRC3
42     - Pod::POM
43     - Safe::Hole
44     - Storable
45     - Time::HiRes
46     - URI
47     - YAML
48     - YAML::Syck
49 pippijn 1.4
50 root 1.30 **NOTICE**: Deliantra uses an alternative signal stack, so you have to
51 root 1.42 use either the "u"context method (slow) or "a"ssembly when configuring
52     Coro.
53 root 1.11
54 root 1.5 Furthermore, you will need the following programs and libraries:
55 pippijn 1.4
56 root 1.7 - gperf, the GNU perfect hash generator >= v3.0
57 pippijn 1.4 - glib-2.0 >= v2.10
58     - libpng >= v1.2
59 root 1.12 - ImageMagick >= v6.0 (possibly higher, depending on its bugs)
60 root 1.7 - optipng => v0.5.5 (http://optipng.sf.net)
61 root 1.20 - pngnq >= v0.4 (http://freshmeat.net/redir/pngnq/53146/url_homepage/pngnq.html)
62     - rsync >= v2.6 (a must have anyways)
63 pippijn 1.4
64 root 1.5 Your compiler must support the Library Technical Report 1 extensions and
65     the upcoming typeof extension. The GNU C++ compiler >= version 4.0 does
66 root 1.6 support all these.
67 pippijn 1.4
68 root 1.9 On Debian GNU/Linux, you might get away with something like this for many of the
69     above dependencies:
70    
71     apt-get install gperf optipng pngnq rsync imagemagick libglib2.0-dev libpng12-dev
72     apt-get install libpod-pom-perl libsafe-hole-perl libevent-perl
73    
74 root 1.15 If you want to get sensible backtraces for error conditions at runtime
75 root 1.13 to be logged you also need the external addr2line program (part of GNU
76     binutils) in your PATH.
77    
78 root 1.8
79 root 1.1 COMPILING
80    
81 root 1.30 Deliantra has been known to compile on a wide variety of systems. It should
82 root 1.8 compile and run on most ISO C++ 200x and POSIX compliant systems.
83    
84     To get generic directions on compilation, read the INSTALL file.
85    
86 root 1.1
87 root 1.8 INSTALLATION/USAGE
88 root 1.1
89 root 1.30 Deliantra runs on a client/server model. You will also a client to
90 root 1.8 play. You can either connect to a server someone else has set up, or
91     run your own server and connect to that. There are a number of clients
92     available, but the recommended one is CFPlus (see below for URL).
93 root 1.1
94 root 1.30 To run your own server, you need to build the deliantra server binaries
95 root 1.12 and install them, then you will have to download and install map and
96     archetype packs:
97    
98     Download both the cfmaps-<version> and cfarch-<version> archives, then
99     use cfutil to install both (the source directories must be writable for
100     this to work):
101 root 1.8
102     cfutil --install-maps path/to/cfmaps-<version>/
103     cfutil --install-arch path/to/cfarch-<version>/
104    
105 root 1.12 Both processes can take some time, depending on your resources :) If you
106     plan to repeat the installation you should specify the --cache option
107 root 1.22 first, which will keep costly-to-generate files around for further runs
108     of cfutil:
109    
110     cfutil --cache --install-maps path/to/cfmaps-<version>/
111     cfutil --cache --install-arch path/to/cfarch-<version>/
112 root 1.12
113 root 1.30 Atfer this you can then run the deliantra executable. This starts a
114 root 1.12 server which you/other people can connect to.
115 root 1.2
116 root 1.1
117 root 1.18 WEB SITES
118 root 1.1
119 root 1.30 The following web addresses have deliantra information that you may find
120 root 1.1 useful:
121    
122 root 1.30 http://www.deliantra.net/ (The main site)
123 root 1.1
124    
125     REPORTING BUGS
126    
127     First, check the INSTALL file for common problems, and see if yours is
128     mentioned.
129    
130 pippijn 1.4 Bugs should be filed using the following email address:
131 root 1.30 support@deliantra.net
132 root 1.1
133     When reporting bugs, make sure you include the following:
134 root 1.12
135 root 1.30 * What version of deliantra did you use?
136 root 1.12 * What type of computer did you use (CPU type)
137     * What is the version of the OS?
138     * What windowing system are you using (e.g. openwindows, X.org, XFree86)
139     * What compiler (and its version) did you use (e.g. gcc, acc)?
140     * Which flags did you give it?
141 root 1.30 * If the bug happens when compiling deliantra, send an EXACT copy of the
142 pippijn 1.4 compiler line, as well as the errors it puts out. Sending bugs of the
143     sort 'it failed with a line like ...' doesn't help any.
144 root 1.30 * If the bug happened while running deliantra:
145 root 1.1 - Include any output before to the bug.
146 root 1.12 - Give a description of what you did before the bug occured. The better
147     detailed the description, the better chance we have of figuring
148     out where the bug happened, or how we can recreate the bug.
149 root 1.2 - If possible, a stack trace from gdb (or other debugger) is very
150     helpful.
151 root 1.1
152 root 1.12 The more information provided, the better chance of the bug being fixed
153     in a timely fashion.
154 root 1.1
155 root 1.18
156     SUBMITTING PATCHES
157 root 1.8
158 root 1.12 Patches should be submitted to email address:
159 root 1.30 support@deliantra.net
160 root 1.18
161 root 1.1
162 root 1.18 PUBLIC SERVERS
163 root 1.1
164 root 1.12 The best way to find a server to play is to run the client
165     and hit "Server List" in the setup dialog (this varies
166 root 1.30 depending on your client).
167 root 1.1
168 root 1.30 The canonical server for use with Deliantra and CFPlus is
169     gameserver.deliantra.net, port 13327 (the default).
170 root 1.1
171 root 1.18
172 root 1.1 COPYRIGHT
173    
174 root 1.18 Most files in this distribution are covered by the GNU General Public
175     License, version 3 (COPYING.GPL), or any later version, with the
176     exception of ext/affero.ext, which is covered by the GNU Affero General
177     Public License, Version 3 (COPYING.Affero). Please take note of the
178     special requirements of the Affero license with respect to network
179     servers and configure your network server according to the instructions
180     given in ext/affero.ext.
181    
182    
183     CONTACT
184 root 1.1
185 root 1.30 The authors can be reached via e-mail to support@deliantra.net
186 root 1.18