Skip to content

Latest commit

 

History

History
43 lines (30 loc) · 1.19 KB

README.md

File metadata and controls

43 lines (30 loc) · 1.19 KB

unpacker.py

Simple python 3 script for extracting movies, castlibs and xtras from Macromedia/Adobe Director projectors

This script allows to unpack Director files (movies, castlibs and xtras) included in Director projectors. It supports Director versions 4 to 12 and the following flavors:

  • Windows projector (.exe), 16-bit
  • Windows projector (.exe), 32-bit
  • Mac OS 9- projectors (data fork), 68k/PPC/FAT
  • Mac OS X projectors (Intel/PPC/Universal)
  • macOS projectors (.app bundle, Intel)

Setup

macOS:

$ chmod +x bin/darwin/ProjectorRays

Linux:

$ chmod +x bin/linux/ProjectorRays

Usage

$ python unpacker.py [-decompile] <projector-file>

Tests

Running

$ python tests.py

will unpack the 29 example projectors found in "test_files" to a new folder "test_files_unpacked".

Notes

Director movies and castlibs extracted from projectors are always protected/compressed. If you pass "-decompile" as argument, the script will try to decompile/unprotect them using ProjectorRays, binaries for macOS/Windows/Linux are included. The resulting files with suffix "_decompiled" can then be opened and edited in Director.