… | |
… | |
22 | development libraries along with the following Perl modules (the server |
22 | development libraries along with the following Perl modules (the server |
23 | is tested with perl 5.8.8 and 5.8-maint) and their dependencies. (the |
23 | is tested with perl 5.8.8 and 5.8-maint) and their dependencies. (the |
24 | minimum versions below may not be up-to-date, the configure script will |
24 | minimum versions below may not be up-to-date, the configure script will |
25 | check them all, though). |
25 | check them all, though). |
26 | |
26 | |
27 | - AnyEvent >= 2.52 |
27 | - AnyEvent >= v2.52 |
28 | - BDB >= v0.1 |
28 | - BDB >= v1.1 **libdb4.5, libdb4.4 might work** |
29 | - Compress::LZF >= v1.8 |
29 | - Compress::LZF >= v1.8 |
30 | - Coro >= v3.63 **SEE IMPORTANT NOTICE BELOW** |
30 | - Coro >= v4.13 **SEE IMPORTANT NOTICE BELOW** |
31 | - Coro::Event >= v2.1 |
31 | - Coro::Event >= v2.1 |
32 | - Crossfire >= v0.98 |
32 | - Crossfire >= v0.99 |
33 | - Digest::MD5 >= v2.0 |
33 | - Digest::MD5 >= v2.0 |
34 | - Event >= v1.08 |
34 | - Event >= v1.08 |
35 | - IO::AIO >= 2.32 |
35 | - IO::AIO >= v2.4 |
36 | - JSON::XS => 1.21 |
36 | - JSON::XS >= v1.5 |
37 | - Pod::POM >= v0.17 |
37 | - Pod::POM >= v0.17 |
38 | - Safe::Hole >= v0.10 |
38 | - Safe::Hole >= v0.10 |
39 | - Storable >= v2.0 |
39 | - Storable >= v2.0 |
40 | - Time::HiRes >= v1.0 |
40 | - Time::HiRes >= v1.0 |
|
|
41 | - URI >= 1.35 |
|
|
42 | - YAML >= v0.62 |
41 | - YAML::Syck >= v0.71 |
43 | - YAML::Syck >= v0.71 |
42 | |
44 | |
43 | **NOTICE**: Crossfire uses an alternative signal stack, so you have to |
45 | **NOTICE**: Crossfire uses an alternative signal stack, so you have to |
44 | use either the "u"context method or "a"ssembly when configuring Coro. |
46 | use either the "u"context method (slow) or "a"ssembly when configuring Coro. |
45 | |
47 | |
46 | Furthermore, you will need the following programs and libraries: |
48 | Furthermore, you will need the following programs and libraries: |
47 | |
49 | |
48 | - gperf, the GNU perfect hash generator >= v3.0 |
50 | - gperf, the GNU perfect hash generator >= v3.0 |
49 | - glib-2.0 >= v2.10 |
51 | - glib-2.0 >= v2.10 |
50 | - libpng >= v1.2 |
52 | - libpng >= v1.2 |
51 | - ImageMagick >= v6.0 (possibly higher, depending on its bugs) |
53 | - ImageMagick >= v6.0 (possibly higher, depending on its bugs) |
52 | - optipng => v0.5.5 (http://optipng.sf.net) |
54 | - optipng => v0.5.5 (http://optipng.sf.net) |
53 | - pngnq >= 0.4 (http://freshmeat.net/redir/pngnq/53146/url_homepage/pngnq.html) |
55 | - pngnq >= v0.4 (http://freshmeat.net/redir/pngnq/53146/url_homepage/pngnq.html) |
54 | - rsync >= 2.6 (a must have anyways) |
56 | - rsync >= v2.6 (a must have anyways) |
55 | |
57 | |
56 | Your compiler must support the Library Technical Report 1 extensions and |
58 | Your compiler must support the Library Technical Report 1 extensions and |
57 | the upcoming typeof extension. The GNU C++ compiler >= version 4.0 does |
59 | the upcoming typeof extension. The GNU C++ compiler >= version 4.0 does |
58 | support all these. |
60 | support all these. |
59 | |
61 | |
60 | On Debian GNU/Linux, you might get away with something like this for many of the |
62 | On Debian GNU/Linux, you might get away with something like this for many of the |
61 | above dependencies: |
63 | above dependencies: |
62 | |
64 | |
63 | apt-get install gperf optipng pngnq rsync imagemagick libglib2.0-dev libpng12-dev |
65 | apt-get install gperf optipng pngnq rsync imagemagick libglib2.0-dev libpng12-dev |
64 | apt-get install libpod-pom-perl libsafe-hole-perl libevent-perl |
66 | apt-get install libpod-pom-perl libsafe-hole-perl libevent-perl |
|
|
67 | |
|
|
68 | If you want to get sensible backtraces for error conditions at runtime |
|
|
69 | to be logged you also need the external addr2line program (part of GNU |
|
|
70 | binutils) in your PATH. |
65 | |
71 | |
66 | |
72 | |
67 | COMPILING |
73 | COMPILING |
68 | |
74 | |
69 | Crossfire has been known to compile on a wide variety of systems. It should |
75 | Crossfire has been known to compile on a wide variety of systems. It should |
… | |
… | |
90 | cfutil --install-maps path/to/cfmaps-<version>/ |
96 | cfutil --install-maps path/to/cfmaps-<version>/ |
91 | cfutil --install-arch path/to/cfarch-<version>/ |
97 | cfutil --install-arch path/to/cfarch-<version>/ |
92 | |
98 | |
93 | Both processes can take some time, depending on your resources :) If you |
99 | Both processes can take some time, depending on your resources :) If you |
94 | plan to repeat the installation you should specify the --cache option |
100 | plan to repeat the installation you should specify the --cache option |
95 | which will keep costly-to-generate files around for further runs of |
101 | first, which will keep costly-to-generate files around for further runs |
96 | cfutil. |
102 | of cfutil: |
|
|
103 | |
|
|
104 | cfutil --cache --install-maps path/to/cfmaps-<version>/ |
|
|
105 | cfutil --cache --install-arch path/to/cfarch-<version>/ |
97 | |
106 | |
98 | Atfer this you can then run the crossfire executable. This starts a |
107 | Atfer this you can then run the crossfire executable. This starts a |
99 | server which you/other people can connect to. |
108 | server which you/other people can connect to. |
100 | |
109 | |
101 | |
110 | |
102 | WEB SITES: |
111 | WEB SITES |
103 | |
112 | |
104 | The following web addresses have crossfire information that you may find |
113 | The following web addresses have crossfire information that you may find |
105 | useful: |
114 | useful: |
106 | |
115 | |
107 | http://crossfire.schmorp.de/ (The main site) |
116 | http://crossfire.schmorp.de/ (The main site) |
… | |
… | |
137 | helpful. |
146 | helpful. |
138 | |
147 | |
139 | The more information provided, the better chance of the bug being fixed |
148 | The more information provided, the better chance of the bug being fixed |
140 | in a timely fashion. |
149 | in a timely fashion. |
141 | |
150 | |
|
|
151 | |
142 | SUBMITTING PATCHES: |
152 | SUBMITTING PATCHES |
143 | |
153 | |
144 | Patches should be submitted to email address: |
154 | Patches should be submitted to email address: |
145 | crossfire@schmorp.de |
155 | crossfire@schmorp.de |
146 | |
156 | |
|
|
157 | |
147 | PUBLIC SERVERS: |
158 | PUBLIC SERVERS |
148 | |
159 | |
149 | The best way to find a server to play is to run the client |
160 | The best way to find a server to play is to run the client |
150 | and hit "Server List" in the setup dialog (this varies |
161 | and hit "Server List" in the setup dialog (this varies |
151 | depending on your client). You can also see a list at |
162 | depending on your client). You can also see a list at |
152 | http://crossfire.real-time.com/metaserver/. |
163 | http://crossfire.real-time.com/metaserver/. |
153 | |
164 | |
154 | The canonical server for use with Crossfire and CFPlus is |
165 | The canonical server for use with Crossfire and CFPlus is |
155 | crossfire.schmorp.de, port 13327 (default). |
166 | crossfire.schmorp.de, port 13327 (default). |
156 | |
167 | |
|
|
168 | |
157 | COPYRIGHT |
169 | COPYRIGHT |
158 | |
170 | |
159 | Copyright (C) 2006,2007 Crossfire TRT Development Team |
171 | Most files in this distribution are covered by the GNU General Public |
160 | Copyright (C) 2000,2006 Mark Wedel |
172 | License, version 3 (COPYING.GPL), or any later version, with the |
161 | Copyright (C) 1992 Frank Tore Johansen |
173 | exception of ext/affero.ext, which is covered by the GNU Affero General |
|
|
174 | Public License, Version 3 (COPYING.Affero). Please take note of the |
|
|
175 | special requirements of the Affero license with respect to network |
|
|
176 | servers and configure your network server according to the instructions |
|
|
177 | given in ext/affero.ext. |
162 | |
178 | |
163 | This program is free software; you can redistribute it and/or modify |
|
|
164 | it under the terms of the GNU General Public License as published by |
|
|
165 | the Free Software Foundation; either version 2 of the License, or |
|
|
166 | (at your option) any later version. |
|
|
167 | |
179 | |
168 | This program is distributed in the hope that it will be useful, |
180 | CONTACT |
169 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
|
170 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
|
171 | GNU General Public License for more details. |
|
|
172 | |
|
|
173 | You should have received a copy of the GNU General Public License |
|
|
174 | along with this program; if not, write to the Free Software |
|
|
175 | Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. |
|
|
176 | |
181 | |
177 | The authors can be reached via e-mail to crossfire@schmorp.de |
182 | The authors can be reached via e-mail to crossfire@schmorp.de |
|
|
183 | |