Adobe Director Files: Difference between revisions

From XentaxWiki
Jump to navigation Jump to search
imported>Ikskoks
imported>Ikskoks
Line 89: Line 89:
[[Category:Extension_cst | Extension: cst]]
[[Category:Extension_cst | Extension: cst]]
[[Category:Extension_dcr | Extension: dcr]]
[[Category:Extension_dcr | Extension: dcr]]
[[Category:Extension_dxr | Extension: dxr]]
[[Category:File Format]]
[[Category:File Format]]

Revision as of 15:51, 10 July 2022

Choose archive extension:

CXT, CST, DCR, DXR

  • Format Type : Archive
  • Endian Order : Little Endian
  • Signatures : XFIR / 39VM / CDGF


Format Specifications

char {4}     - Signature 1 (XFIR)
uint32 {4}   - Archive Length [+8]
char {4}     - Signature 2 (39VM)

// for each file

char {4}     - File Extension
uint32 {4}   - File Length
byte {X}     - File Data


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).
  • CXT files may be protected, they are often referred as Macromedia Director Protected Cast files.

Games

List of games using this file format:

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

QuickBMS Script

Supported Programs

See Also