Sophie

Sophie

distrib > Mandriva > 2010.1 > x86_64 > by-pkgid > 7260d8285ede00182acf8eb46abea440 > files > 39

armagetron-0.2.8.2.1-10mdv2010.1.x86_64.rpm

 







































 
 























<p align=justify>
The contents of the installation directory should be something like this:
</p>

<table >
<tr><td><strong>armagetronad.exe</strong></td><td> (the main executable)</td></tr>
<tr><td><strong>models</strong></td><td> (the directory for the cycle models)</td></tr>
<tr><td><strong>sound</strong></td><td> (the directory for sound files)</td></tr>
<tr><td><strong>textures</strong></td><td> (the directory for textures and the icon)</td></tr>
<tr><td><strong>resources</strong></td><td> (the directory for maps)</td></tr>
<tr><td><strong>doc</strong></td><td> (the documentation you are just reading)</td></tr>
<tr><td><strong>language</strong></td><td> (the game's text messages)</td></tr>
<tr><td><strong>config</strong></td><td> (static configuration files)</td></tr>

</table>



<p align=justify>
Additionally, if you installed the moviepack/moviesounds
from the <a href="http://WEBBASE/addons.html" target=_top><strong>addons page</strong></a>,
you'll see the two directories
</p>

<strong>moviepack</strong><br>
<strong>moviesounds</strong><br>




<p align=justify>
containing ONLY files and no subdirectories.
When you have run Armagetron Advanced, you'll see the additional files
</p>

<table>
<tr><td><strong>highscores.txt,ladder.txt,won_matches.txt and won_rounds.txt</strong></td><td> (score statistics files)</td></tr>
<tr><td><strong>user.cfg</strong></td><td> (Armagetron Advanced custom configuration file)</td></tr>
</table>

<p align=justify>
Inside the <strong>var</strong> subdirectory,
You may want to create your own 
<a href="config.html#files">configuration files</a>
</p>

<table>
<tr><td><strong>autoexec.cfg</strong></td><td> (config file read at every start)</td></tr>
</table>
inside the <strong>var</strong> subdirectory or the 
<strong>config</strong> subdirectory for your 
custom modifications; that way, they don't get overwritten by the defaults the
next time you install an update.



<a name=cl><a name=><h3 align=left>Command line switches</h3></a></a>
<table>
<tr><td valign=top width=200><strong>-h, +h, --help		 </strong> </td><td> get help and other available command line options</td></tr>
<tr><td valign=top width=200><strong>-v, +v, --version		</strong> </td><td> print version number </td></tr>
<tr><td valign=top width=200><strong></strong> </td><td></td></tr> 
<tr><td valign=top width=200><strong>--datadir <Directory>	</strong> </td><td> systemwide data directory; read game data (textures, sounds and text) from this directory.  </td></tr>
<tr><td valign=top width=200><strong>--userdatadir <Directory>   </strong> </td><td> user data dir; try to read all game data from this directory first. </td></tr>
<tr><td valign=top width=200><strong>--configdir <Directory>     </strong> </td><td> read game configuration (.cfg-files) from this directory.</td></tr>
<tr><td valign=top width=200><strong>--userconfigdir <Directory> </strong> </td><td> user configuration directory; try to read the configuration from here first. </td></tr>
<tr><td valign=top width=200><strong>--vardir <Directory>        </strong> </td><td> save game logs, highscores and user configuration in this directory. </td></tr>
<tr><td valign=top width=200><strong></strong> </td><td></td></tr> 
<tr><td valign=top width=200><strong>-f, +f, --fullscreen        </strong> </td><td> start in fullscreen mode</td></tr>
<tr><td valign=top width=200><strong>-w, +w, --window, --windowed</strong> </td><td> start in windowed mode  </td></tr>
<tr><td valign=top width=200><strong></strong> </td><td></td></tr> 

<tr><td valign=top width=200><strong>-d, +d, --daemon            </strong> </td><td>allow the dedicated server to run as a daemon (will not poll for input on stdin)</td></tr>

</table>

<p align=justify>
The various directories you can set have the following impact on how the game loads and saves files.
(Usually, you don't have to bother about it; there are reasonable defaults. But if you want to do
some meddling with the data, these options are your ticket.)
</p>

<a name=><h4 align=left>Data</h4></a>
<p align=justify>
Sounds, textures and models will be first looked for in the directory specified with <strong>--userdatadir</strong>. If they are not
found there or if <strong>--userdatadir</strong> was not used, they are looked for in the directory specified with <strong>--datadir</strong>.
This directory defaults to the current directory if not specified. 
</p>

<a name=><h4 align=left>Configuration</h4></a>
<p align=justify>
(I'll leave out the bits about "if option xxx is not set" from now on )
Configuration files are first looked for in <strong>--userconfigdir</strong>, then <strong>--userdatadir/config</strong> ( the dir passed to <strong>--userdatadir</strong>, appended with <strong>/config</strong> ),
then <strong>--configdir</strong> and finally <strong>--datadir/config</strong>.
</p>

<a name=><h4 align=left>Logs and user configuration</h4></a>
<p align=justify>
Log files ( game results, the settings made in the in game menu )  are loaded from <strong>--vardir</strong>, then, if not found there, from <strong>--userdatadir/var</strong> and finally from <strong>--datadir/var</strong>.
They are only saved in the first of these directories that was specified.
</p>


</p>