Skip to main content

Tools for editing resources in SCUMM games.

Project description

NUTCracker

Tools for editing resources in SCUMM games.

Usage

Decoding

Decode given font file (NUT_FILE)

nutcracker.py -d NUT_FILE

This will result in NUT_FILE.PNG font image which can be edited using regular image editing software (e.g. GIMP)

Encoding

Encode given font image (PNG_FILE) with given codec number (CODEC)

nutcracker.py -e PNG_FILE CODEC

This will convert font image file back to font file which can be used in game

Available codecs:

  • 21 (FT)
  • 44 (COMI*)

*FONT3.NUT was actually encoded using codec 21 method. it can be forced using -f CODEC:

nutcracker.py -e FONT3.NUT.PNG 44 -f 21

see more examples in cmds.txt

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nutcracker-0.3.1.tar.gz (33.6 kB view hashes)

Uploaded Source

Built Distribution

nutcracker-0.3.1-py3-none-any.whl (45.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page