Adobe Director Files

From XentaxWiki
Jump to: navigation, search

Choose archive extension:

CXT, CST, DXR, DCR etc.

  • Format Type : Archive
  • Endian Order : Little Endian / Big Endian
  • Signatures : XFIR / RIFX / 39VM / MV93 / CDGF / FGDC / pami / imap / revF / Frev / mmap / pamm


Format Specifications

char {4}     - Signature (RIFX) (big endian) or (XFIR) (little endian)
uint32 {4}   - Archive Size [+8]
char {4}     - Codec Name (MV93) or (39VM) (code for "Movie 1993")
char {4}     - iMap Signature (imap) or (pami) (code for "Initial Map")
uint32 {4}   - iMap Length (24)
uint32 {4}   - Unknown (1)
uint32 {4}   - Offset to mMap (44)
uint32 {4}   - Unknown (1217)
byte {12}    - nulls

// mMap is the directory (Memory Map)
char {4}     - mMap Signature (mmap) or (pamm) (code for "Memory Map")
uint32 {4}   - mMap Length
uint16 {2}   - Unknown (24)
uint16 {2}   - Unknown (20)
uint32 {4}   - Number Of Files (including nulls at the end of the directory)
uint32 {4}   - Number Of Files (not including the nulls at the end of the directory)
uint64 {8}   - Padding (all 255s)
uint32 {4}   - Unknown
char {4}     - Signature (RIFX) or (XFIR)
uint32 {4}   - Archive Size [+8]
uint32 {4}   - nulls
uint32 {4}   - Unknown
uint32 {4}   - nulls

// for each file

char {4}     - File Type/Extension
uint32 {4}   - Length
uint32 {4}   - Offset
uint64 {8}   - null


byte {X}     - (optional) null padding (according to the numOfFiles fields above)

// for each file

uint32 {4}   - File Size
byte {X}     - File Data
byte {0-1}   - null Padding (to multiple of 2 bytes)


MultiEx BMS Script

The BMS script given below will extract and replace files. A limitation for this script is that you are only able to replace on file at a time to avoid making the archive corrupted. I.e. load the archive in MultiEx Commander, replace a file (if you'd like) and then re-open the archive to replace another one.

ImpType SFileSize ;
IDString 0 XFIR ;
Get ARCSIZE Long 0 ;
Get TEMP Long 0 ;
Set FNTITLE String File_ ;
Set FNID String 1 ;
Set FNDOT String . ;
Set FNREMOVE String * ;
Do ;
GetDString FNEXT 4 0 ;
SavePos FSIZEX 0 ;
Get FSIZE Long 0 ;
If FSIZE = 0 ;
CleanExit ;
EndIf ;
SavePos FOFFSET 0 ;
Math FNID += 1 ;
Set FNAME String FNTITLE ;
String FNAME += FNID ;
String FNAME += FNDOT ;
String FNAME += FNEXT ;
String FNAME -= FNREMOVE ;
Log FNAME FOFFSET FSIZE 0 FSIZEX ;
Math FOFFSET += FSIZE ;
GoTo FOFFSET 0 ;
While NotEOF <> 0 ;

Notes and Comments

  • This file format was used in games made using Adobe Director (a.k.a. Macromedia Director).
  • Adobe Director (Macromedia Director) supports following file types:
    • DXR - Adobe Director Protected Movie
    • DIR - Adobe Director Movie / Director file (holds an editable project)
    • DRX - Macintosh version of the Director file
    • DCR - Shockwave Compressed Media File (Adobe Director Shockwave Media Data)
    • CXT - Adobe Director Protected Cast
    • CST - Adobe Director Cast
    • CCT - Adobe Director Compressed Cast
    • XTRA - Adobe Director Xtra Extension
    • MMDR - Adobe Director MMDR Data
    • MV95 - Adobe Director for Mac Video
    • MD95 - Adobe Director for Mac Data
    • MD93 - Macromedia Director 4 Data
    • MD03 - Macromedia Director Data
    • SWA - Shockwave Audio
    • W3D - Adobe Shockwave 3D File
    • X32 - Adobe Xtra File
  • DCR and CCT files may use deflate compression.
  • DXT and CXT files may be encrypted.

Games

List of games using this file format:

  • Amber - Journeys Beyond (*.DXR)
  • Borrow Hill
  • James Cameron's Titanic Explorer
  • Nekojiru Udon 2 (PC) (*.DXR)
  • Nickelodeon Toon Twister 3-D (*.DXR \ *.CXT)
  • Rock Manager (PC) (*.CXT)

QuickBMS Script

Supported Programs

See Also