Skip to content

Latest commit

 

History

History
42 lines (27 loc) · 840 Bytes

README.md

File metadata and controls

42 lines (27 loc) · 840 Bytes

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