MAN page from openSUSE Leap 42 freeciv-data-client-


Section: Games and Demos (6)
Updated: December 10th 2011


freeciv-gtk2, freeciv-gtk3, freeciv-sdl, freeciv-qt, freeciv-xaw - The clients for the Freeciv game 


freeciv-gtk2|freeciv-gtk3|freeciv-sdl|freeciv-qt|freeciv-xaw [ -A|--Announce protocol ] [ -a|--autoconnect ] [ -d|--debug level_number ] [ -F|--Fatal [ signal_number ] ] [ -f|--file filename ] [ -h|--help ] [ -l|--log filename ] [ -M|--Meta URL ] [ -n|--name name ] [ -p|--port port ] [ -P|--Plugin string ] [ -r|--read filename ] [ -s|--server address ] [ -S|--Sound name ] [ -t|--tiles name ] [ -v|--version ] [ -- client-specific-parameters ]

freeciv-gtk2andfreeciv-gtk3accept the standard Gtk parameters following --; see the Gtkdocumentation. They also accept[ -h|--help ]

freeciv-qtaccept the standard Qt parameters following --; see the Qtdocumentation. It also accepts[ -h|--help ]

freeciv-sdlaccepts the following parameters following --:[ -e|--eventthread ] [ -f|--fullscreen ] [ -h|--help ] [ -t|--theme string ]

freeciv-xawaccepts the standard X11 toolkit parameters following --; seeX(7). It also accepts[ -h|--help ]



Freeciv is a free turn-based multiplayer strategy game, in which each playerbecomes the leader of a civilization, fighting to obtain the ultimate goal:To become the greatest civilization.

Players of Civilization II® by Microprose® should feel at home, since oneaim of Freeciv is to have compatible rules.

Freeciv is maintained by an international team of coders and enthusiasts, and iseasily one of the most fun and addictive network games out there!

This is the client program used to connect to a Freeciv server - see alsofreeciv-server(6). freeciv-gtk2, freeciv-gtk3, freeciv-qt,and freeciv-sdlcan also spawn their own local server for single-player games.

This manual page only lists the command line arguments. For more detailsabout using freeciv-gtk2, freeciv-gtk3, freeciv-sdl,freeciv-qt, or freeciv-xaw, see the Client Manual whichcan be found atthe Freeciv websiteas well as the documentation which is part of the Freeciv distribution. 


The following options are accepted by all clients. They may notbe combined; that is, "-np caesar 5557" will not work, instead youwould need to enter "-n caesar -p 5557". All options have a shortform (single hyphen and single letter) and a long form (double hyphenand a complete word); their effects are identical.
-A protocol, --Announce protocol
Uses protocol when searching for games on a LAN.Possible values for protocol are:




-a, --autoconnect
Skips the connect dialog, automatically inserting the default values. This isquite convenient when all has been set up properly.
-d level_number, --debug level_number
Sets the amount of debugging information to be logged in the file named by the-loption. Acceptable values for the level_number are:

0 for fatal messages only.

1 for fatal and error messages.

2 for fatal, error and normal messages (default).

3 for fatal, error, normal, and verbose messages.

-F [ signal_number ], --Fatal [ signal_number ]
Raise a custom signal on failed assertion. If signal_number is notspecified, then the ABRT signal will be used.
-f filename, --file filename
Loads a saved game file (filename). This is for reloading previouslysaved games, or for starting scenarios from the command line.
-h, --help
Prints a short summary of the standard command line options.
-l filename, --log filename
Defines a log file, filename, to be produced during processing. Use the-doption to set how much is logged. By default, fatal, error, and normalmessages are printed to standard output. With a log file, such messages goto the log instead.
-M URL, --Meta URL
Specifies the URL of the metaserver to connect to. A metaserver is aplace where Freeciv servers can publish their presence. Freeciv clients consultthe metaserver to offer users a selection of games to join. By default, the standard metaserver run by the Freeciv maintainers will be used.
-n name, --name name
Specifies the user name (name) to use to connect to the server. Thisoption is critical when reconnecting to a game. Please note that you mightneed to quote your username.
-p port, --port port
Specifies the server port to connect to. By default this is 5556, if in doubt ask the server administrator.
-P string, --Plugin string
Specifies the plugin to use for sound output. Available options for string are:



-r filename, --read filename
Specifies a file, filename, of server commands which a server spawnedby the client will automatically read and process, as if you had typed them inat the server's prompt.
-s address, --server address
Specifies the game server address to connect to. This server might easilyrun on the same machine as the client.
-S name, --Sound name
Specifies the sound set to use. A file called name.soundspec is searchedfor in the usual places (see the FILES section).
-t name, --tiles name
Specifies the map graphics ("tiles") to be used within the game. A file calledname.tilespec is searched for in the usual places (see the FILESsection). Currently the following tilespecs are distributed with Freeciv:







-v, --version
Prints the version number and exits.
All parameters following this -- will be considered as client-specificparameters.
-- -e, -- --eventthread
Initializes the event subsystem in other thread. Only available for thefreeciv-sdl client under Linux or BeOS.
-- -f, -- --fullscreen
Starts the client in full screen mode. Only implemented in thefreeciv-sdl client.
-- -h, -- --help
Print the client-specific parameter help.
-- -t theme, -- --theme theme
Use a particular GUI theme. Only implemented in the freeciv-sdl client.


freeciv-gtk2 --name King Richard --server
Starts the GTK2 client using the name King Richard and connectingto the server at
freeciv-sdl -a -t trident
Starts the SDL client with the trident tiles and autoconnects tolocalhost.


This is where your local settings will be stored.
These are searched for in the data path; see ENVIRONMENT.
These are searched for in the data path; see ENVIRONMENT.

Thefreeciv-modpack(6)utility can be used to locate and download additional content such astilesets and soundsets and (for client-spawned servers only) scenariosand rulesets; it saves files under ~/.freeciv . 


The Freeciv client accepts these environment variables:
A string containing a list of "capabilities" provided by the server. Thecompiled-in default should be correct for most purposes, but if you are familiarwith the capability facility in the source you may use it to enforce someconstraints between clients and server.
Sets the compression level for network traffic.
Sets the character encoding used for data files, savegames, and networkstrings). This should not normally be changed from the default of UTF-8,since that is the format of the supplied rulesets and the standardnetwork protocol.
Sets the character encoding used internally by the freeciv client.This generally needs to match the GUI toolkit, so its default dependson the specific client; most clients default to UTF-8.
Sets the local character encoding (used for the command line and terminaloutput). The default is inferred from other aspects of the environment.
Sets the multicast group (for the LAN tab).
A colon separated list of directories pointing to thefreecivdata directories. By default Freeciv looks in the following directories,in order, for any data files: the current directory; the "data" subdirectoryof the current directory; the subdirectory ".freeciv/2.5" in the user'shome directory; and the directory where the files are placed by running"make install". If not set,FREECIV_PATHis checked before these defaults are used.
A colon separated list of directories pointing to thefreecivsave directories. By default Freeciv looks in the following directories,in order, for save files: the current directory; and the subdirectory".freeciv/saves" in the user's home directory. If not set, FREECIV_PATHis checked before these defaults are used; in this case Freeciv alsolooks in "saves" potential subdirectories.

(This does not affect where the server spawned by the client creates savegame files; these are always created in ".freeciv/saves" in the user'shome directory.)

A colon separated list of directories pointing to thefreecivscenario directories. By default Freeciv looks in the following directories,in order, for scenario files: the current directory; the "data/scenarios"subdirectory of the current directory; the subdirectories".freeciv/2.5/scenarios" and then ".freeciv/scenarios"in the user's home directory; and the directory where the files are placedby running "make install". If not set, FREECIV_PATHis checked before these defaults are used; in this case Freeciv alsolooks in "scenario" and "scenarios" potential subdirectories.

(This does not affect where the server spawned by the client creates scenariofiles; these are always created in ".freeciv/scenarios" in the user'shome directory.)

A colon separated list of directories to look for various files.This variable has no effect if FREECIV_DATA_PATH,FREECIV_SAVE_PATH and FREECIV_SCENARIO_PATH are definedtogether; those variables are the recommended way to override paths, withFREECIV_PATH provided for backward compatibility with older versionsof Freeciv. The precise search path depends on the type of file beingsearched for.
Specifies the user's home directory.
Set this variable accordingly when using a proxy.
Sets the language and locale on some platforms.
Similar to LANG (see documentation for your system).
Specifies the username of the current user.


Please report bugs tothe Freeciv bug tracker.



See theFreeciv homepage.

Updates and new info is first posted there. 


The Freeciv Team <freeciv-dev AT>.

This manpage was originally put together by Florian Ernst <florian_ernst AT> using the Client Manual and the comments in the sourcecode. It was updated by Ben Bettin <bwbettin AT> to add newfeatures, integrate information from the website's online documentation, and for slight formatting adjustments. Feel free to use it as you wish.



freeciv-server(6)freeciv-modpack(6)and the Client Manual at the Freeciv homepage.




This document was created byman2html,using the manual pages.