7 This archive contains Freeciv, a free Civilization-like game, primarily
8 for X under Unix. It has support for multiplayer games locally or
9 over a network, and an AI which gives most people a run for their money.
11 Freeciv aims to be mostly rule-compatible with Civilization II [tm],
12 published by Sid Meier and Microprose [tm]. A few rules are different
13 where we think it makes more sense, and we have lots and lots of
14 adjustable parameters to make customizing games possible.
16 Freeciv has been implemented completely independently of Civilization;
17 you do not need to own Civilization to play Freeciv.
23 You may find a translated version of this file, as well as of other parts
24 of the Freeciv documentation, in the following places:
34 Even if there is no translation for your language, the game itself may
35 support it. Please see "Native Language Support" below.
41 Freeciv's web site is here:
43 http://www.freeciv.org/
45 We invite you to visit. You can get the latest Freeciv news, releases
46 and patches, find out about the Freeciv mailing lists, and see the
47 Freeciv metaserver, which records games being played around the world.
53 Freeciv is released under the GNU General Public License (version 2
54 or, at your option, any later version). In short, you may copy this
55 program (including source) freely, but see the COPYING file for full
58 Some materials that were used to prepare the graphics in the game (in
59 the 'data' subdirectory), such as 3D models used to prepare bitmap
60 images, are not distributed with the main source code due to their
61 size; they are not necessary to build Freeciv from source, as the
62 (manually) derived graphics are also included in the distribution.
63 These materials are available in the separate 'graphics-materials'
64 distribution (e.g., freeciv-2.4.0-graphics-materials.tar.bz2), or from
65 version control (Subversion).
68 Compiling and installing:
69 =========================
71 Please read the INSTALL file carefully for instructions on how to get
72 Freeciv compiled and installed on your machine.
78 Freeciv is actually several programs, a server and one or more clients. When
79 a game is in progress, there will be one server program running, and as many
80 client programs as there are human players. The server does not use a gui,
81 but the clients do. The clients come in many flavors:
83 freeciv-gtk3: This uses the GTK+ 3 libraries. To install, see section 1b of
86 freeciv-gtk3.22: This uses the GTK+ 3 libraries. Version 3.22 is required.
87 To install, see section 1c of the INSTALL document.
88 This client is better supported and more developed than the others,
89 as such it is considered to be the default interface throughout the rest of
92 freeciv-qt: This uses the QT library. Development of this client has recently
93 reached the state where it's considered generally usable, but it still lacks
94 number of features gtk-clients have.
96 freeciv-sdl2: This uses Simple DirectMedia Layer libraries version 2.
98 freeciv-gtk3x: This uses GTK+ 3.90+ libraries. This is development version of
99 a client to get turned to use gtk4 once it's released.
106 The following examples assume that Freeciv has been installed on
107 your system, and that the directory containing the "freeciv-gtk3"
108 and "freeciv-server" programs is in your PATH. If Freeciv is not
109 installed, then you may want to use the "fcgui" and "fcser" programs,
110 which can be found in the top Freeciv directory. They are used
111 in exactly the same fashion as "freeciv-gtk3" and "freeciv-server".
113 Running Freeciv involves starting the server, then the client(s)
114 and AI(s), then telling the server to start the game. Here are the
123 Or for a list of command-line options:
125 | % freeciv-server --help
127 Once the server is started, a prompt will appear:
129 | For introductory help, type 'help'.
132 and, you can see this information by using the help command:
135 | Welcome - this is the introductory help text for the Freeciv server.
137 | Two important server concepts are Commands and Options.
138 | Commands, such as 'help', are used to interact with the server.
139 | Some commands take one or more parameters, separated by spaces.
140 | In many cases commands and command arguments may be abbreviated.
141 | Options are settings which control the server as it is running.
143 | To find out how to get more information about commands and options,
146 | For the impatient, the main commands to get going are:
147 | show - to see current options
148 | set - to set options
149 | start - to start the game once players have connected
150 | save - to save the current game
154 If you like, you can use the 'set' command to set any of the various
155 server options for the game. You can get a list of the options
156 with the 'show' command, and detailed descriptions of each with the
157 'help <option-name>' command.
162 | Option: size - Map size in 1,000 tiles units
164 | This value is used to determine the map dimensions.
165 | size = 4 is a normal map of 4,000 tiles (default)
166 | size = 20 is a huge map of 20,000 tiles
168 | Value: 4, Minimum: 1, Default: 4, Maximum: 29
174 This will make the map twice as large as the default.
178 Now all the human players should join, by running the Freeciv
183 This assumes the server is running on the same machine. If not, you
184 can either specify it on the command line with the '--server' option,
185 or enter it into the first dialog box once the client starts.
187 For example, suppose the server is running on a different machine
188 called 'neptune'. Then players would join with a command like:
190 | % freeciv-gtk3 --server neptune
192 If you're the only human player, then only one client needs to be
193 started. In standard Unix fashion you can start the client
194 "in the background" by appending an ampersand:
198 Another option for the client you may like to try is the '--tiles'
199 option, which can be used to select different "tilesets" (that is,
200 different graphics for the map terrain, units, and so on). The
201 distribution comes with 9 main tilesets:
202 - amplio2: An isometric tileset with larger and more detailed tiles.
203 - isotrident: An isometric tileset similar in shape to the one in Civ 2.
204 - cimpletoon: amplio2 with alternative units that display direction they
206 - trident: a Civ 1-style tileset with 30x30 tiles.
207 - hexemplio: an isometric hexagonal tileset with larger tiles derived
209 - toonhex: tileset combining hexemplio tiles with cimpletoon units
210 - isophex: an isometric hexagonal tileset
211 - hex2t: an overhead hexagonal tileset
212 - alio: an isometric hexagonal tileset with suitable graphics for alien
215 In this release the amplio2 tileset is the default tileset.
216 To try another one, for instance the trident tileset, start the
219 | % freeciv-gtk3 --tiles trident
221 Other tilesets are available from http://www.freeciv.org/wiki/Tilesets
224 Clients can be authorized to issue server commands. To allow them
225 to use informational commands only, type at the server prompt
229 Clients can now use '/help', '/list', '/show settlers', etc.
233 There are two ways to create AI players. The first is to set
234 the number of players (human and AI) by setting the 'aifill'
235 server option. For example:
239 After using the 'start' server command to start the game, any players
240 which aren't controlled by humans will be AI players. For the above,
241 if two human players had joined, 5 AI players would be created.
243 The second way is to explicitly create an AI with the 'create'
244 server command. For example:
246 | > create HumanKiller
248 This will create an AI-controlled player called HumanKiller.
250 AI players are assigned to nations after all human players have
251 chosen their nations, but you can choose a particular nation for an
252 AI player by using the normal name for that nation's leader. For
253 example, to play against AI-controlled Romans, use this server
258 Note, this is just a preference: If no other human player chooses
259 to play the Romans, then this AI will.
263 When everybody has joined (use the "list" command to see who's in),
264 start the game with the "start" command:
270 NOTE: In this version of Freeciv, the GTK, Qt, and SDL2 clients have the
271 capability to automagically start a freeciv-server session when the user
272 selects "Start New Game" from the main menu. This reduces the steps
273 needed to get started playing a game of Freeciv. On the other hand,
274 it also means that if the client crashes for some reason or becomes
275 unavailable, the freeciv-server session will also be lost. So starting a
276 separate freeciv-server session and then connect to it with the client is
277 generally the recommended method.
283 If you do not want to limit your opponents to local friends or AI players,
284 visit the Freeciv metaserver:
286 http://meta.freeciv.org/
288 It is a list of Freeciv servers. To make your own server announce itself
289 there, start freeciv-server with the '--meta' option, or just '-m' for short.
293 1) Due to the inclusion of new features, different client and server
294 versions are often incompatible. The 2.5.0 version is for example
295 incompatible with any 2.4.x or earlier versions.
297 2) If the Metaserver button in the connection dialog doesn't work,
298 check if your ISP uses a mandatory WWW proxy and make freeciv-gtk3
299 use it through the $http_proxy environment variable. For instance,
300 if the proxy is proxy.myisp.com port 8888, set $http_proxy
301 to http://proxy.myisp.com:8888/ before starting the client.
303 3) Sometimes there are no games on the metaserver. That happens.
304 The number of players there vary with the time of the day. Try
305 starting one yourself!
311 The game may be saved at any time using the 'save' server command,
316 (If your server is compiled with compression support, and the
317 'compresstype' server option is set to other than PLAIN, then the
318 file written may be compressed and called 'mygame.sav.gz', 'mygame.sav.bz2',
319 or 'mygame.sav.xz' depending on the setting.)
321 The Freeciv client works pretty much as you would expect from a
322 multiplayer civilization game. That is, the human players all move
323 at the same time, then all the AI players move when all the human
324 players have completed their turn. There's a turn timeout value,
325 which is by default set to 0 seconds (no timeout). The server
326 operator can alter this value at any time with the 'set' command.
328 Have a look at the online help system. All three mouse-buttons are
329 used, and documented in the help.
331 Players can hold down 'Shift' and push the 'Return' key to announce
332 the end of their turn, or just push the 'Turn Done' button.
334 Use the 'Players' dialog to see who has announced their end of turn,
335 and who you're waiting for. (Hey feller, are you asleep or what?? ;).
337 Use the input line at the bottom of the window for broadcasting
338 messages to other players.
340 You can send a message to an individual player (e.g., 'peter') like so:
342 | peter: move that armor away *NOW*!
344 The server is smart enough to perform "name completion", so if you had
345 typed "pet:", it will find a player name that matches the part of the
348 You can send a message to all your allies by prefixing it with the
349 letter '.' (yes, that is a period).
351 You can issue server commands from the client input line:
357 The server operator will probably let you issue informational commands
358 only. This is partly because allowing clients to use all server
359 commands has security implications; consider if a player tried:
363 Of course the server should not be running with superuser privileges in
364 any case, to reduce this sort of risk.
366 If you're just starting, and would like to get an idea of a strategy,
367 have a look in the Freeciv playing HOWTO, contained in the HOWTOPLAY
370 For lots more information about the client, the server, and the
371 concepts and rules of the game, see the Freeciv manual, available
374 http://www.freeciv.org/wiki/Manual
380 There are four ways in which a game can end:
382 1) Only winners remain in game
383 1a) If server setting 'alliedvictory' is enabled:
384 All the remaining nations, short of those who have ceded the game
385 (/surrender), are allied or in the same team.
386 1b) If 'alliedvictory' is disabled:
387 Only one nation or one team is left, or all other players of all
388 other teams have ceded the game (/surrender).
389 2) The final turn (/show endturn) is reached.
390 3) A player builds and launches a spaceship, which reaches Alpha
392 4) The server operator uses the /endgame command.
394 A score-table will be shown in all cases. Hint: The server operator
395 can set the final year while the game is still going by changing the
396 'endturn' option. This is nice when the winner is obvious, but you
397 don't want to play through the boring 'cleanup phase'.
403 You can restore a saved game by using the '-f' server option, eg:
405 | % freeciv-server -f oursave2001.sav
407 or, if the save-file was created by a server that compressed it:
409 | % freeciv-server -f oursave2001.sav.gz
411 Now the players can rejoin the game:
413 | % freeciv-gtk3 -n Alexander
415 Notice how the player-name is specified with the -n option. It's vital
416 that the player uses the same name as they had when the game was running,
417 if they're to be allowed in.
419 The game may then be restarted with the 'start' command as usual.
422 Native Language Support:
423 ========================
425 Freeciv supports several languages.
427 You may choose which local language to use by specifying a "locale".
428 Each locale has a standard name (e.g., 'de' for German). If you have
429 installed Freeciv, you may choose a locale by setting the environment
430 variable LANG to that locale's standard name before running freeciv-server
433 For example, assuming you wish to use the German localization, you
436 export LANG; LANG=de (in the Bourne shell (sh)),
438 setenv LANG de (in the C shell (csh)).
440 (You could do this in your .profile or .login file.)
442 Sometimes there is a conflict between the local library implementation
443 and the internal locale determination. It is often possible to work
444 around problems with a more detailed descriptor:
448 We'd like to know about such problems. Please report them as bugs
455 Both the client and server print messages known as "log messages".
456 There are five categories of log messages: "fatal", "error", "normal",
457 "verbose", and "debug".
459 By default, fatal, error and normal messages are printed to standard
460 output where the client or server was started. You can direct log
461 messages to a file instead of the screen with the "--log filename",
462 or "-l filename" command line options.
464 You can change the level of log messages displayed with "--debug
465 level" or "-d level", where "level" is 0, 1, 2, or 3.
466 0 means show fatal messages only, 1 means show fatal
467 and error messages, 2 means fatal, error and normal messages (the
468 default), and 3 means show all fatal, error, normal, and verbose
471 If you compiled with DEBUG defined (an easy way to do this is to
472 configure with --enable-debug), then you can get debug level messages
473 by setting the level to 4. Also, it is possible to control debug
474 level messages (but not other messages) on a per-file and per-line
475 basis. To do this use "--debug 4:str1:str2" (as many strings as you
476 like, separated by colons) and any filenames which match those strings
477 as a substring will have debug log messages turned on, and all other
478 debug messages will be suppressed. To control lines, use:
479 "--debug 4:str1,min,max" and for files which match str1 only debug
480 messages within the specified minimum and maximum lines will be
481 printed. Only one set of (min,max) can be applied to each file.
485 | % freeciv-server -l my.log -d 3
487 This sends all server log messages to file "my.log", including verbose
492 | % freeciv-gtk3 --debug 0
494 This suppresses all non-fatal client log messages.
498 | % freeciv-server -d 4:log:civserver,120,500:autoattack
500 This turns on all fatal, error, normal and verbose messages for the
501 server, and debug level messages for some specified modules. Note
502 that "log" will match "gamelog.c" as well as "log.c". For
503 "civserver.c", debug messages between lines 120 and 500 will be
504 printed. This example only works if the server was compiled with
511 Found a bug? We really want to hear from you so we can fix it.
512 See the file BUGS, for a list of known bugs in this release, and
513 information about reporting new bugs.
519 We maintain 4 mailing lists:
521 freeciv-announce@freelists.org
522 Announcements of general interest.
523 This is a "Read Only" list, with infrequent messages.
524 In other words you can't mail this list, just read it.
525 Subscribe: https://www.freelists.org/list/freeciv-announce
526 freeciv-i18n@freelists.org
528 All discussions related to translating the Freeciv code,
529 documentation, and website, into other languages than
531 Subscribe: https://www.freelists.org/list/freeciv-i18n
532 freeciv-dev@freelists.org
534 Subscribe: https://www.freelists.org/list/freeciv-dev
535 freeciv-commits@gna.org
536 Notifications of changes to the code repository.
537 This is a "Read Only" list, carrying automated messages.
538 In other words you can't mail this list, just read it.
539 (At the time of writing, gna.org is expected to shut
540 down soon; we're not yet sure what arrangements we'll
541 have for a replacement commits mailing list.)
543 All lists are open to the general public and everyone is welcome to join.
544 Only maintainers may post to the -announce and -commits lists.
547 Internet Relay Chat (IRC)
548 =========================
550 Several players and developers hang out on #freeciv and #freeciv-dev
551 channels on the freenode network. Try connecting to the server
559 Have fun and give 'em hell!