Skip to main content

Tools for editing resources in SCUMM games.

Project description


Tools for editing resources in SCUMM games.

NUT File Usage


Decode all NUT files in given directory DATADIR

python -m nutcracker.decode_san DATADIR/*.NUT --nut --target OUTDIR

Creates a font image file named chars.png in OUTDIR which can be edited using regular image editing software (e.g. GIMP)


Encode given font image (PNG_FILE) with given codec number (CODEC) using REF_NUT_FILE as reference

python -m nutcracker.encode_nut PNG_FILE --target NEW_NUT_FILE --ref REF_NUT_FILE --codec CODEC [--fake CODEC]

This will convert font image file back to font file (NEW_NUT_FILE) which can be used in game.

Available codecs:

  • 21 (FT + The Dig*)
  • 44 (COMI*)

*FONT3.NUT and the fonts in The Dig was actually encoded using codec 21 method but marked as 44. It can be achieved using --codec 21 --fake 44. see examples in test.bat

Project details

Download files

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

Files for nutcracker, version 0.3.1415
Filename, size File type Python version Upload date Hashes
Filename, size nutcracker-0.3.1415-py3-none-any.whl (112.0 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size nutcracker-0.3.1415.tar.gz (85.8 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page