Skip to content

scinos/th-extractor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published