tgx-converter

A simple TGX to PNG, JPG, BMP converter.

Usage no npm install needed!

<script type="module">
  import tgxConverter from 'https://cdn.skypack.dev/tgx-converter';
</script>

README

tgx-converter

A simple TGX to PNG, JPG, BMP converter.

What is the TGX file format?

The .tgx file format is used in the Stronghold series to store non-animated image files.

Installation

npm install -g tgx-converter

Usage

Via CLI

$ tgxc --help

  USAGE

      $ tgxc [--help] --source /some/path/to/folder --output /path/to/destination/folder

  OPTIONS
      --help            Shows this help message
      --source          Source folder which contains the TGX files
      --output          Output directory for generated JPEG/PNG/BMP files
      --format          PNG | JPG | BMP
      --log-level       VERBOSE | INFO | WARNING | ERROR

Via API

TBD...

License

MIT