th-extractor

    0.1.2 • Public • Published

    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

    1. Install all required dependencies:

       npm install
      
    2. Configure the path of the uncompressed TH binary assets.

       vi config.js
       // Edit the 'basePath' property
      
    3. Run the extractor

       nmp start
      
    4. The sprites and animations will be in the ./out directory

    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.

    Install

    npm i th-extractor

    DownloadsWeekly Downloads

    1

    Version

    0.1.2

    License

    ISC

    Last publish

    Collaborators

    • scinos