… | |
… | |
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 >= v0.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 >= v3.64 **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.41 |
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 | - YAML::Syck >= v0.71 |
41 | - YAML::Syck >= v0.71 |
|
|
42 | - YAML => v0.62 |
42 | |
43 | |
43 | **NOTICE**: Crossfire uses an alternative signal stack, so you have to |
44 | **NOTICE**: Crossfire uses an alternative signal stack, so you have to |
44 | use either the "u"context method or "a"ssembly when configuring Coro. |
45 | use either the "u"context method (slow) or "a"ssembly when configuring Coro. |
45 | |
46 | |
46 | Furthermore, you will need the following programs and libraries: |
47 | Furthermore, you will need the following programs and libraries: |
47 | |
48 | |
48 | - gperf, the GNU perfect hash generator >= v3.0 |
49 | - gperf, the GNU perfect hash generator >= v3.0 |
49 | - glib-2.0 >= v2.10 |
50 | - glib-2.0 >= v2.10 |
50 | - libpng >= v1.2 |
51 | - libpng >= v1.2 |
51 | - ImageMagick >= v6.0 (possibly higher, depending on its bugs) |
52 | - ImageMagick >= v6.0 (possibly higher, depending on its bugs) |
52 | - optipng => v0.5.5 (http://optipng.sf.net) |
53 | - optipng => v0.5.5 (http://optipng.sf.net) |
53 | - pngnq >= 0.4 (http://freshmeat.net/redir/pngnq/53146/url_homepage/pngnq.html) |
54 | - pngnq >= v0.4 (http://freshmeat.net/redir/pngnq/53146/url_homepage/pngnq.html) |
54 | - rsync >= 2.6 (a must have anyways) |
55 | - rsync >= v2.6 (a must have anyways) |
55 | |
56 | |
56 | Your compiler must support the Library Technical Report 1 extensions and |
57 | Your compiler must support the Library Technical Report 1 extensions and |
57 | the upcoming typeof extension. The GNU C++ compiler >= version 4.0 does |
58 | the upcoming typeof extension. The GNU C++ compiler >= version 4.0 does |
58 | support all these. |
59 | support all these. |
59 | |
60 | |
60 | On Debian GNU/Linux, you might get away with something like this for many of the |
61 | On Debian GNU/Linux, you might get away with something like this for many of the |
61 | above dependencies: |
62 | above dependencies: |
62 | |
63 | |
63 | apt-get install gperf optipng pngnq rsync imagemagick libglib2.0-dev libpng12-dev |
64 | 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 |
65 | apt-get install libpod-pom-perl libsafe-hole-perl libevent-perl |
|
|
66 | |
|
|
67 | If you want to get sensible backtraces for error conditions at runtime |
|
|
68 | to be logged you also need the external addr2line program (part of GNU |
|
|
69 | binutils) in your PATH. |
65 | |
70 | |
66 | |
71 | |
67 | COMPILING |
72 | COMPILING |
68 | |
73 | |
69 | Crossfire has been known to compile on a wide variety of systems. It should |
74 | Crossfire has been known to compile on a wide variety of systems. It should |
… | |
… | |
90 | cfutil --install-maps path/to/cfmaps-<version>/ |
95 | cfutil --install-maps path/to/cfmaps-<version>/ |
91 | cfutil --install-arch path/to/cfarch-<version>/ |
96 | cfutil --install-arch path/to/cfarch-<version>/ |
92 | |
97 | |
93 | Both processes can take some time, depending on your resources :) If you |
98 | Both processes can take some time, depending on your resources :) If you |
94 | plan to repeat the installation you should specify the --cache option |
99 | plan to repeat the installation you should specify the --cache option |
95 | which will keep costly-to-generate files around for further runs of |
100 | first, which will keep costly-to-generate files around for further runs |
96 | cfutil. |
101 | of cfutil: |
|
|
102 | |
|
|
103 | cfutil --cache --install-maps path/to/cfmaps-<version>/ |
|
|
104 | cfutil --cache --install-arch path/to/cfarch-<version>/ |
97 | |
105 | |
98 | Atfer this you can then run the crossfire executable. This starts a |
106 | Atfer this you can then run the crossfire executable. This starts a |
99 | server which you/other people can connect to. |
107 | server which you/other people can connect to. |
100 | |
108 | |
101 | |
109 | |
102 | WEB SITES: |
110 | WEB SITES |
103 | |
111 | |
104 | The following web addresses have crossfire information that you may find |
112 | The following web addresses have crossfire information that you may find |
105 | useful: |
113 | useful: |
106 | |
114 | |
107 | http://crossfire.schmorp.de/ (The main site) |
115 | http://crossfire.schmorp.de/ (The main site) |
… | |
… | |
137 | helpful. |
145 | helpful. |
138 | |
146 | |
139 | The more information provided, the better chance of the bug being fixed |
147 | The more information provided, the better chance of the bug being fixed |
140 | in a timely fashion. |
148 | in a timely fashion. |
141 | |
149 | |
|
|
150 | |
142 | SUBMITTING PATCHES: |
151 | SUBMITTING PATCHES |
143 | |
152 | |
144 | Patches should be submitted to email address: |
153 | Patches should be submitted to email address: |
145 | crossfire@schmorp.de |
154 | crossfire@schmorp.de |
146 | |
155 | |
|
|
156 | |
147 | PUBLIC SERVERS: |
157 | PUBLIC SERVERS |
148 | |
158 | |
149 | The best way to find a server to play is to run the client |
159 | 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 |
160 | and hit "Server List" in the setup dialog (this varies |
151 | depending on your client). You can also see a list at |
161 | depending on your client). You can also see a list at |
152 | http://crossfire.real-time.com/metaserver/. |
162 | http://crossfire.real-time.com/metaserver/. |
153 | |
163 | |
154 | The canonical server for use with Crossfire and CFPlus is |
164 | The canonical server for use with Crossfire and CFPlus is |
155 | crossfire.schmorp.de, port 13327 (default). |
165 | crossfire.schmorp.de, port 13327 (default). |
156 | |
166 | |
|
|
167 | |
157 | COPYRIGHT |
168 | COPYRIGHT |
158 | |
169 | |
159 | Copyright (C) 2006,2007 Crossfire TRT Development Team |
170 | Most files in this distribution are covered by the GNU General Public |
160 | Copyright (C) 2000,2006 Mark Wedel |
171 | License, version 3 (COPYING.GPL), or any later version, with the |
161 | Copyright (C) 1992 Frank Tore Johansen |
172 | exception of ext/affero.ext, which is covered by the GNU Affero General |
|
|
173 | Public License, Version 3 (COPYING.Affero). Please take note of the |
|
|
174 | special requirements of the Affero license with respect to network |
|
|
175 | servers and configure your network server according to the instructions |
|
|
176 | given in ext/affero.ext. |
162 | |
177 | |
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 | |
178 | |
168 | This program is distributed in the hope that it will be useful, |
179 | 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 | |
180 | |
177 | The authors can be reached via e-mail to crossfire@schmorp.de |
181 | The authors can be reached via e-mail to crossfire@schmorp.de |
|
|
182 | |