Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

bi2cf(6) [debian man page]

BI2CF(6)																  BI2CF(6)

NAME
bi2cf - a map conversion tool for Crimson Fields SYNOPSIS
bi2cf mapname [-p 1|2] [-f b|1|2|h] [-l] [-t mapname] [-i mapinfo] [-o outfile] [-d mapdir] [-O destdir] [-q] bi2cf {-h | -v} DESCRIPTION
bi2cf is a map conversion tool for Crimson Fields. It takes the data files of maps from Battle Isle, Battle Isle Data Disk 1 or 2, or History Line 1914-1918 and converts them into map sources usable with the cfed(6) map compiler for Crimson Fields. bi2cf can handle both uncompressed maps and levels crunched with TPWM. For some units and tiles there are no corresponding counterparts in Crimson Fields. These cases are mapped to similar ones if available. As a result some maps will not be as balanced as the originals, others may be unwinnable, and still others may even fail to compile. If this happens the map in question needs to be adjusted manually. OPTIONS
-d mapdir Set the location of the Battle Isle map files. -f b|1|2|h Force map type to Battle Isle / BI Data Disk 1 / BI Data Disk 2 / History Line, respectively. Use this option when map format autodetection does not work correctly. Maps from BI Data Disk 1 will always be detected as standard Battle Isle maps, so you have to use -f 1 in that case. -h Print a usage message on standard output and exit. -i mapinfo Set map info message. -l Skip last row and column of the map. This is necessary for maps from the PC version of Battle Isle. -o outfile Write map to file outfile. Default file name is mapname.src. -O destdir Set target directory for the converted map. This setting is ignored if a map name was given using the -t option. -p 1|2 Set default number of players for this map. -q Run quietly. Don't print processing information on standard output. -t mapname Set title and file name for the converted map. Default is maptype-mapname. -v Print version information on standard output and exit. SEE ALSO
cfed(6), crimson(6) COPYRIGHT
Copyright (C) 2002 Florian Dietrich This software is distributed under the terms of the [1]GNU General Public License (GPL). AUTHOR
Florian Dietrich <n8flo@yahoo.de> Author. REFERENCES
1. GNU General Public License http://www.gnu.org/copyleft/gpl.html Jan 30 2003 BI2CF(6)

Check Out this Related Man Page

makemap(1M)						  System Administration Commands					       makemap(1M)

NAME
makemap - create database maps for sendmail SYNOPSIS
makemap [-N] [-d] [-f] [-o] [-r] [-s] [-v] [-C file] [-c cachesize] [-D commentchar] [-e] [-l] [-t delim] [-u] mantype mapname DESCRIPTION
makemap creates the database maps used by the keyed map lookups in sendmail(1M). makemap reads from the standard input and outputs to the specified mapname. In all cases, makemap reads lines from the standard input consisting of two words separated by white space. The first is the database key, the second is the value. The value may contain %n strings to indicated parameter substitution. Literal percents should be doubled (%%). Blank lines and lines beginning with # are ignored. makemap handles three different database formats. Database format is selected using the maptype parameter. See OPERANDS. OPTIONS
The following options are supported: -c cachesize Use the specified hash and B-Tree cache size (cachesize). -C file Use the specified sendmail configuration file (file) for looking up the TrustedUser option. -d Allow duplicate keys in the map. This is only allowed on B-Tree format maps. If two identical keys are read, both be inserted into the map. -D commentchar Use the specified character to indicate a comment (which is ignored) instead of the default of '#'. -e Allow empty value (right hand side). -f Normally, all upper case letters in the key are folded to lower case. This flag disables that behavior. This is intended to mesh with the -f flag in the K line in sendmail.cf. The value is never case folded. -l List supported map types. -N Include the null byte that terminates strings in the map. This must match the -N flag in the K line in sendmail.cf -o Append to an old file. This allows you to augment an existing file. -r Allow replacement of existing keys. Normally makemap complains if you repeat a key, and does not do the insert. -s Ignore safety checks on maps being created. This includes checking for hard or symbolic links in world writable directo- ries. -t delim Use the specified delimiter (delim) instead of white space. -u Dump (unmap) the content of the database to standard output. -v Verbosely print what it is doing. OPERANDS
The following operands are supported: mapname File name of the database map being created. maptype Specifies the database format. The following maptype parameters are available: dbm Specifies DBM format maps. btree Specifies B-Tree format maps. hash Specifies hash format maps. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWsndmu | +-----------------------------+-----------------------------+ SEE ALSO
editmap(1M), sendmail(1M), attributes(5) SunOS 5.10 29 Jun 2004 makemap(1M)
Man Page