-
Notifications
You must be signed in to change notification settings - Fork 4
Usage tutorial
Abraham edited this page Mar 5, 2023
·
3 revisions
For this example we will use the Macromedia Director 4 Tour that you will find in c:\directr4\samplmov\tour\tour.dir.
The first step with any DIR file is to open it in Macromedia Director and "save and compact" it. Drxtract can not work with a file that hasn't been compacted.
The drxtract command needs three parameters:
drxtract [pc|mac] <file.drx> <directory>
- pc/mac: you will need to specify if this is a Mac file or a Windows file.
- file.drx: this is the director file you want to extract. It can be a DRX file, a DIR file or an EXE file.
- directory: any directory you want.
Following with the example, we will run the following commands:
mkdir TOUR
./drxtract mac tour.dir TOUR
By running this command a lot of debug lines will appear and at the end the TOUR directory will contain the extracted data.
The following directory structure should have been created:
- TOUR/bin: Binary data contained inside the DRX file (a DRX file is just a RIFF file).
- TOUR/cas: Casting.
- TOUR/cas/config.json: Movie preferences.
- TOUR/cas/X: Casting member number X files.
- TOUR/cas/X/data.json: Information about the casting member.
- TOUR/markers.json: Markers in the Director score.
- TOUR/score.json: The Director score.
- Image: inside the cas/X directory you will find the BMP image and (if you have ImageMagick installed) a PNG version.
- Sound: inside the cas/X directory you will find the WAV file and (if you have ffmpeg installed) the MP3 version.
- Script: inside the cas/X directory you will find the original lingo script (when available) and the decompiled version.
- Other casting members