NAME

update-variations - Take the tiles.2da file and update variation counts


SYNOPSIS

update-variations [--help|-h] [--version|-V] [--verbose|-v] [--config config-file] [--input|-i inputfile] [--output|-i outputfile] filename ...

update-variations --help


DESCRIPTION

update-variations will read the list of tiles and checks what is the maximum number of variations for each tileset and for each tile type in those files. Then it will read the tiles.2da input file and update that so that the variations count is up to the max number seen on the tile files. Finally it writes the new tiles.2da file out to the disk.


OPTIONS

--help -h
Prints out the usage information.

--version -V
Prints out the version information.

--verbose -v
Enables the verbose prints. This option can be given multiple times, and each time it enables more verbose prints.

--config config-file
All options given by the command line can also be given in the configuration file. This option is used to read another configuration file in addition to the default configuration file.

--input -i inputfile
Input file name. Normally tiles.2da.

--output -o outputfile
Output file name. Can be same as input i.e. tiles.2da or some new file name.


EXAMPLES

    update-variations -i tiles.2da -o tilesnew.2da *.mdb


FILES

~/.updatevariationsrc
Default configuration file.


SEE ALSO

remove-roof(1), and Twoda(3).


AUTHOR

Tero Kivinen <kivinen@iki.fi>.


HISTORY

This program was created as we needed to have some rooms without roofs, as the creatures living is those rooms are so big that most of the creature goes through the roof. As I didn't want to manually start updating the tiles.2da file for each of those variations, I made this program to update tiles.2da automatically.