LGC-PG(1)

💖 LGC-PG(1) 💖

okay bestie, welcome to the General Commands Manual, section 1, where we talk about lgc-pg — and yes this is the main character of this whole page 🫶


✨ NAME ✨

lgc-pg — the Converter Tool for original Panzer General® Data Files 🌸


🎀 SYNOPSIS 🎀

lgc-pg [-s SOURCE] [-d DEST] [--defpal] [--custom] [-n NAME] [-i ID] [-t
TACICONS]

💅 DESCRIPTION 💅

so like, LGC-PG is a lil simple tool that takes your original Panzer General® Data and converts it into LGeneral Data Files. that's it. that's the job. no cap 🧚

⚠️ important: it needs a graphical desktop environment to actually do the conversion, so don't try this on a bare TTY and then act surprised, okay? 😭

🌈 OPTIONS 🌈

  • -s — the source directory, and you always have to specify it. it holds either the original data or a custom scenario. no -s, no slay. 💜
  • -d — this is the destination path, aka where the LGeneral data struct lives. usually it's /usr/share/games/lgeneral ✨
  • --defpal — optional, and it forces all the PG graphics to use the default palette. normally you won't need this, but if a custom scenario you converted is giving strange graphics, it might be because the palette got corrupted — and the default one may give you better results. it's giving glow-up energy 💅
  • --custom — if you're converting a custom scenario, you should add this one. and also the following options. it's a package deal bestie 🎀
  • -n — this is the scenario's file name and its default title. iconic two-for-one 👑
  • -i <ID> — this is the <ID> inside the source file name, aka game<ID>.scn. if you don't specify an ID, the default is O 🦋
  • -t <TACICONS> — if custom tactical icons are involved (like when the scenario offers a TACICONS.SHP), this is the name of the graphical file. if you don't provide this option, it defaults to <NAME>.bmp 💖

⭐ EXAMPLES ⭐

1) converts all data from CD-ROM 🔥

lgc-pg -s /mnt/windows/DAT -d /usr/share/games/lgeneral

2) converts a custom scenario 🌸

lgc-pg -s /home/jones/newstuff/dunk -d /usr/share/games/lgeneral
--custom -n Dunkirk -i 44

and that's the whole page bestie, literally every flag accounted for, periodt 💀✨

this lil manual was brought to you from October 07, 2012, and it belongs to LGC-PG(1) — mwah, stay converting 🫶💖