0.1.2 • Published 9 years ago
th-extractor v0.1.2
Theme Hospital Extractor
Extracts the graphic assets from Bullfrog's Theme Hospital into PNG and GIF files. This package DOES NOT provide the TH binary assets, you need to get them from your TH CD-ROM. Also, you have to decompress them using the dernc decompressor from http://www.yoda.arachsys.com/dk/utils.html
Based on http://connection-endpoint.de/th-format-specification/
Usage
Install all required dependencies:
npm installConfigure the path of the uncompressed TH binary assets.
vi config.js // Edit the 'basePath' propertyRun the extractor
nmp startThe sprites and animations will be in the
./outdirectory
Known Bugs & Limitations
- Some sprites are broken (eg: out/sprites/sprites/sprites_44.png)
- In an animation, some sprites are meant to be rendered with 50% or 75% alpha. Right now, this is ignored.