This manual page documents briefly the
command. It was written for the Debian distribution and is based on
an original documentation written by Michael Speck. The original
program does not have a manual page.
lgc-pg is a program that converts data files from DOS-based game,
Panzer General, to the LGeneral format.
These programs follow the usual GNU command line syntax, with long
options starting with two dashes (`-').
A summary of options is included below.
-s <SOURCE PATH>
You always need to specify the source directory (which contains the
original data or a custom scenario).
-d <LGENERAL DIR>
Also the destination path that contains the LGeneral data struct
is required. This will usually be /usr/share/games/lgeneral.
This one is optional and forces all PG graphics to use the default
palette. Usually you won't need this but if a custom scenario you
converted offers some strange graphics it might be due to a corrupted
palette and the default one may provide better results.
Add this option if you want to convert a custom scenario. If you do so
you must also provide the next option:
This is the scenario's file name and default title.
This is the XXX in the source gameXXX.scn. If you do not specify
this option it defaults to 0.
If custom tactical icons are involved (scenario offers a TACICONS.SHP)
this is the name of the graphical file. If this option is not provided
it defaults to <NAME>.bmp.
Note that the conversion of a single scenario might be incomplete.
You'll have to modify the title, description, authors, victory
conditions (default: attacker must capture all victory hexes) and
reinforcements (default: none).
This single scenario file does also include the map and modified units.
1) Converts all data from CD-ROM
> lgc-pg -s /mnt/windows/DAT -d /usr/share/games/lgeneral