b821e70
.TH 0AD "6" "Mar 13 2015" "0ad 0.0.18 Rhododactylos" "User Commands"
b8284a1
b8284a1
.SH NAME
b821e70
0ad \- manual page for 0ad 0.0.18 Rhododactylos
b8284a1
.SH SYNOPSIS
b8284a1
.B 0ad
b8284a1
[\fIoptions\fR]
b8284a1
.SH DESCRIPTION
b8284a1
0 A.D. (pronounced "zero ey-dee") is a free, open-source, cross-platform
b8284a1
real-time strategy (RTS) game of ancient warfare. In short, it is a
b8284a1
historically-based war/economy game that allows players to relive or rewrite
b8284a1
the history of Western civilizations, focusing on the years between 500 B.C.
b8284a1
and 500 A.D. The project is highly ambitious, involving state-of-the-art 3D
b8284a1
graphics, detailed artwork, sound, and a flexible and powerful custom-built
b8284a1
game engine.
b8284a1
b8284a1
The game has been in development by Wildfire Games (WFG), a group of volunteer,
b8284a1
hobbyist game developers, since 2001.
b8284a1
.PP
b8284a1
Basic gameplay:
b8284a1
.TP
2ed0214
\fB\-autostart\fR=...
b8284a1
load a map instead of showing main menu (see below)
b8284a1
.TP
b8284a1
\fB\-editor\fR
b8284a1
launch the Atlas scenario editor
b8284a1
.TP
2ed0214
\fB\-mod\fR=\fINAME\fR
b8284a1
start the game using \fINAME\fR mod
b8284a1
.TP
b8284a1
\fB\-quickstart\fR
b8284a1
load faster (disables audio and some system info logging)
b8284a1
b8284a1
.PP
b8284a1
Autostart:
b8284a1
.TP
2ed0214
\fB\-autostart\fR="\fITYPEDIR\fR/\fIMAPNAME\fR"
2ed0214
enables autostart and sets \fIMAPNAME\fR; \fITYPEDIR\fR is \fIskirmishes\fR,
2ed0214
\fIscenarios\fR, or \fIrandom\fR
b8284a1
.TP
b8284a1
\fB\-autostart-ai\fR=\fIPLAYER\fR:\fIAI\fR
2ed0214
sets the \fIAI\fR for \fIPLAYER\fR (e.g. 2:petra)
5d924be
.TP
2ed0214
\fB-autostart-aidiff\fR=\fIPLAYER\fR:\fIDIFF\fR
2ed0214
sets the \fIDIFF\fRiculty of \fIPLAYER\fR's \fIAI\fR (0: easy, 3: very hard)
2ed0214
.TP
2ed0214
\fB-autostart-civ\fR=\fIPLAYER\fR:\fICIV\fR
2ed0214
sets \fIPLAYER\fR's civilisation to \fICIV\fR (skirmish and random maps only)
b821e70
.TP
b821e70
\fB-autostart-aiseed\fR=\fIAISEED\fR
b821e70
sets the seed used for the \fIAI\fR random generator (default 0, use -1 for random)
b8284a1
b8284a1
.PP
b8284a1
Multiplayer:
b8284a1
.TP
b8284a1
\fB\-autostart-playername\fR=\fINAME\fR
2ed0214
sets local player \fINAME\fR (default 'anonymous')
b8284a1
.TP
b8284a1
\fB\-autostart-host\fR
2ed0214
sets multiplayer host mode
b8284a1
.TP
2ed0214
\fB\-autostart-host-players\fR=\fINUMBER\fR
2ed0214
sets \fINUMBER\fR of human players for multiplayer games (default 2)
b8284a1
.TP
2ed0214
\fB\-autostart-client\fR=\fIIP\fR
2ed0214
sets multiplayer client to join host host at given \fIIP\fR address
b8284a1
b8284a1
.PP
b8284a1
Random maps only:
b8284a1
.TP
2ed0214
\fB\-autostart-seed\fR=\fISEED\fR
2ed0214
sets random map \fISEED\fR value (default 0, use -1 for random)
b8284a1
.TP
b8284a1
\fB\-autostart-size\fR=\fITILES\fR
2ed0214
sets random map size in \fITILES\fR (default 192)
b8284a1
.TP
b8284a1
\fB\-autostart-players\fR=\fINUMBER\fI
2ed0214
sets \fINUMBER\fR of players on random map (default 2)
b8284a1
b8284a1
.PP
b8284a1
Configuration:
b8284a1
.TP
2ed0214
\fB\-conf\fR=\fIKEY\fR:\fIVALUE\fR
2ed0214
set a config value
b8284a1
.TP
b8284a1
\fB\-g\fR=\fIF\fR
b8284a1
set the gamma correction to '\fIF\fR' (default 1.0)
b8284a1
.TP
b8284a1
\fB\-nosound\fR
b8284a1
disable audio
b8284a1
.TP
5d924be
\fB-noUserMod\fR
5d924be
disable loading of the user mod
b8284a1
.TP
b8284a1
\fB\-shadows\fR
b8284a1
enable shadows
b8284a1
.TP
b8284a1
\fB\-vsync\fR
b8284a1
enable VSync, i.e. lock FPS to monitor refresh rate
b8284a1
.TP
b8284a1
\fB\-xres\fR=\fIN\fR
b8284a1
set screen \fIX\fR resolution to '\fIN\fR'
b8284a1
.TP
b8284a1
\fB\-yres\fR=\fIN\fR
b8284a1
set screen \fIY\fR resolution to '\fIN\fR'
b8284a1
b8284a1
.PP
b8284a1
Advanced / diagnostic:
b8284a1
.TP
b8284a1
\fB\-dumpSchema\fR
5d924be
creates a file \fIentity.rng\fR in the working directory, containing
b8284a1
complete entity XML schema, used by various analysis tools
b8284a1
.TP
93b350a
\fB\-entgraph\fR
93b350a
(disabled)
93b350a
.TP
93b350a
\fB\-listfiles\fR
93b350a
(disabled)
93b350a
.TP
93b350a
\fB\-profile\fR=\fINAME\fR
93b350a
(disabled)
93b350a
.TP
b8284a1
\fB\-replay\fR=\fIPATH\fR
b8284a1
non-visual replay of a previous game, used for analysis purposes
2ed0214
\fIPATH\fR is system path to \fIcommands.txt\fR containing simulation log
b8284a1
.TP
b8284a1
\fB\-writableRoot\fR
b8284a1
store runtime game data in root data directory
b8284a1
(only use if you have write permissions on that directory)
93b350a
.TP
93b350a
\fB\-ooslog\fR
93b350a
dumps simulation state in binary and ASCII representations each turn,
341ea6d
files created in sim_log within the game's log folder. \fBNOTE\fR: game will
93b350a
run much slower with this option!
93b350a
.TP
93b350a
\fB-serializationtest\fR
93b350a
checks simulation state each turn for serialization errors; on test
93b350a
failure, error is displayed and logs created in oos_log within the
93b350a
game's log folder. \fBNOTE\fR: game will run much slower with this option!
b8284a1
b8284a1
.PP
b8284a1
Archive builder:
b8284a1
.TP
b8284a1
\fB\-archivebuild\fR=\fIPATH\fR
b8284a1
system \fIPATH\fR of the base directory containing mod data to be archived/precached
2ed0214
specify all mods it depends on with \fB-mod\fR=\fINAME\fR
b8284a1
.TP
b8284a1
\fB\-archivebuild-output\fR=\fIPATH\fR
b8284a1
system \fIPATH\fR to output of the resulting .zip archive (use with archivebuild)
b8284a1
.TP
b8284a1
\fB\-archivebuild-compress\fR
b8284a1
enable deflate compression in the .zip
b8284a1
(no zip compression by default since it hurts compression of release packages)
b8284a1
2ed0214
.SH "EXAMPLES"
2ed0214
.TP
2ed0214
\fB1)\fR "Bob" will host a 2 player game on the Arcadia map:
2ed0214
.nf
2ed0214
-autostart="scenarios/Arcadia 02" -autostart-host -autostart-host-players=2 -autostart-playername="Bob"
2ed0214
.fi
2ed0214
.TP
2ed0214
\fB2)\fR Load Alpine Lakes random map with random seed, 2 players (Athens and Britons), and player 2 is PetraBot:
2ed0214
.nf
2ed0214
-autostart="random/alpine_lakes" -autostart-seed=-1 -autostart-players=2 -autostart-civ=1:athen -autostart-civ=2:brit -autostart-ai=2:petra
2ed0214
.fi
2ed0214
b8284a1
.SH "REPORTING BUGS"
5d924be
Bugs should be reported on Trac. For information on reporting problems
5d924be
and finding logs, see http://trac.wildfiregames.com/wiki/ReportingErrors
b8284a1
b8284a1
.SH COPYRIGHT
b8284a1
0 A.D. is released as open source: you can freely use, copy, modify and
b8284a1
distribute the game's source code and data files, as long as you include
b8284a1
attribution to Wildfire Games and let anyone freely modify and distribute any
b8284a1
of your own modifications to the game's files.