slp-render
CLI tool for rendering Genie .SLP files (Age of Empires / SWGB) to PNGs.
Last updated 2 years ago by goto-bus-stop .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install slp-render 
SYNC missed versions from official npm registry.

slp-render

Render Genie engine (Age of Empires, SWGB) .SLP files to PNGs.

Installation

npm install --global slp-render

Usage

$ slp-render --help

Usage
  $ slp-render <slp-file> <out-dir> [--palette=<file>] [--player=<number>] [--draw-outline]

Options
  --palette       JASC-PAL palette file path to get colours from. Defaults to
                  the default Age of Empires 2 unit palette (50500).
  -p, --player    Player colour to use for rendering units. Defaults to 1.
  --draw-outline  Draw the outline around the unit instead of the unit itself.
                  This is used by the games for rendering units behind buildings.

Example
  $ slp-render graphics.drs/2.slp archer/ --player=3
  $ slp-render interfac.drs/50100.slp loading-background/ --palette=interfac.drs/50532.bin

Programmatic Usage

Use genie-slp, the API library :)

Licence

MIT

Current Tags

  • 2.1.0                                ...           latest (2 years ago)

3 Versions

  • 2.1.0                                ...           2 years ago
  • 2.0.0                                ...           4 years ago
  • 1.0.0                                ...           5 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (5)
Dev Dependencies (0)
None
Dependents (2)

Copyright 2014 - 2017 © taobao.org |