Adobe Director Files: Difference between revisions
imported>Ikskoks |
imported>Ikskoks |
||
| (47 intermediate revisions by the same user not shown) | |||
| Line 3: | Line 3: | ||
Choose archive extension: | Choose archive extension: | ||
== CXT, CST, DCR | == CXT, CST, DXR, DCR etc. == | ||
* ''' Format Type ''': Archive <br> | * ''' Format Type ''': Archive <br> | ||
* ''' [http://en.wikipedia.org/wiki/Endianness Endian Order] ''': Little Endian / Big Endian <br> | * ''' [http://en.wikipedia.org/wiki/Endianness Endian Order] ''': Little Endian / Big Endian <br> | ||
* ''' Signatures ''': XFIR / RIFX / 39VM / MV93 / CDGF / FGDC / pami / imap <br> | * ''' Signatures ''': XFIR / RIFX / 39VM / MV93 / CDGF / FGDC / pami / imap / revF / Frev / mmap / pamm <br> | ||
| Line 13: | Line 13: | ||
<tt><b> | <tt><b> | ||
char {4} - Signature <font color="purple">(RIFX)</font> or | char {4} - Signature <font color="purple">(RIFX)</font> (big endian) or <font color="purple">(XFIR)</font> (little endian)<br> | ||
uint32 {4} - Archive Size <font color="darkgreen">[+ | uint32 {4} - Archive Size <font color="darkgreen">[+8]</font> <br> | ||
char {4} - | char {4} - Codec Name <font color="purple">(MV93)</font> or <font color="purple">(39VM)</font> (code for "Movie 1993")<br> | ||
char {4} - iMap | char {4} - iMap Signature <font color="purple">(imap)</font> or <font color="purple">(pami)</font> (code for "Initial Map")<br> | ||
uint32 {4} - iMap Length <font color="purple">(24)</font> <br> | uint32 {4} - iMap Length <font color="purple">(24)</font> <br> | ||
uint32 {4} - <font color="red"> '' Unknown <font color="purple">(1)</font> '' </font> <br> | uint32 {4} - <font color="red"> '' Unknown <font color="purple">(1)</font> '' </font> <br> | ||
uint32 {4} - Offset to mMap <font color="purple">(44)</font> <br> | uint32 {4} - Offset to mMap <font color="purple">(44)</font> <br> | ||
uint32 {4} - <font color="red"> '' Unknown <font color="purple">(1217)</font> '' </font> <br> | uint32 {4} - <font color="red"> '' Unknown <font color="purple">(1217)</font> '' </font> <br> | ||
byte {12} - | byte {12} - nulls <br> | ||
<br> | <br> | ||
<font color="blue"> ''' // mMap is the directory ''' </font> <br> | <font color="blue"> ''' // mMap is the directory (Memory Map)''' </font> <br> | ||
char {4} - mMap | char {4} - mMap Signature <font color="purple">(mmap)</font> or <font color="purple">(pamm)</font> (code for "Memory Map")<br> | ||
uint32 {4} - mMap Length <br> | uint32 {4} - mMap Length <br> | ||
uint16 {2} - <font color="red"> '' Unknown <font color="purple">(24)</font> '' </font> <br> | uint16 {2} - <font color="red"> '' Unknown <font color="purple">(24)</font> '' </font> <br> | ||
| Line 32: | Line 32: | ||
uint64 {8} - Padding <font color="purple">(all 255s)</font> <br> | uint64 {8} - Padding <font color="purple">(all 255s)</font> <br> | ||
uint32 {4} - <font color="red"> '' Unknown '' </font> <br> | uint32 {4} - <font color="red"> '' Unknown '' </font> <br> | ||
char {4} - | char {4} - Signature <font color="purple">(RIFX)</font> or <font color="purple">(XFIR)</font><br> | ||
uint32 {4} - Archive Size <font color="darkgreen">[+ | uint32 {4} - Archive Size <font color="darkgreen">[+8]</font> <br> | ||
uint32 {4} - | uint32 {4} - nulls <br> | ||
uint32 {4} - <font color="red"> '' Unknown '' </font> <br> | uint32 {4} - <font color="red"> '' Unknown '' </font> <br> | ||
uint32 {4} - | uint32 {4} - nulls <br> | ||
<br> | <br> | ||
<font color="blue"> ''' // for each file ''' </font> <br> | <font color="blue"> ''' // for each file ''' </font> <br> | ||
| Line 44: | Line 44: | ||
: uint64 {8} - null <br> | : uint64 {8} - null <br> | ||
<br> | <br> | ||
byte {X} - null padding <font color="purple">(according to the numOfFiles fields above)</font> <br> | byte {X} - (optional) null padding <font color="purple">(according to the numOfFiles fields above)</font> <br> | ||
<br> | <br> | ||
<font color="blue"> ''' // for each file ''' </font> <br> | <font color="blue"> ''' // for each file ''' </font> <br> | ||
| Line 105: | Line 105: | ||
** X32 - Adobe Xtra File | ** X32 - Adobe Xtra File | ||
* DCR and CCT files may use '''deflate''' compression. | * DCR and CCT files may use '''deflate''' compression. | ||
* DXT and CXT files may be '''encrypted'''. | |||
=== Games === | === Games === | ||
| Line 122: | Line 123: | ||
* [https://www.adobe.com/products/shockwaveplayer/shwv_distribution3.html Adobe Shockwave Player] | * [https://www.adobe.com/products/shockwaveplayer/shwv_distribution3.html Adobe Shockwave Player] | ||
* [https://vinizinho.neocities.org/mirrors/CastRipperTool.dir CastRipperTool (by nosamu)] | |||
* [https://github.com/n0samu/director-files-extract director-files-extract] | |||
* [https://archive.org/details/dirOpener300-850-1-PC dirOpener] / [https://archive.org/details/diropener mirror1] (it can be used to remove protection from CXT files) | * [https://archive.org/details/dirOpener300-850-1-PC dirOpener] / [https://archive.org/details/diropener mirror1] (it can be used to remove protection from CXT files) | ||
* [https://github.com/System25/drxtract DRX Extract] | * [https://github.com/System25/drxtract DRX Extract] | ||
| Line 138: | Line 141: | ||
* [https://wiki.scummvm.org/index.php/Director/Games List of Macromedia Director games] | * [https://wiki.scummvm.org/index.php/Director/Games List of Macromedia Director games] | ||
* [http://fileformats.archiveteam.org/wiki/Shockwave_(Director) Shockwave (fileformats.archiveteam.org)] | * [http://fileformats.archiveteam.org/wiki/Shockwave_(Director) Shockwave (fileformats.archiveteam.org)] | ||
* [https://nosamu.medium.com/a-tour-of-the-adobe-director-file-format-e375d1e063c0 A Tour of the Adobe Director File Format] | |||
* [https://vinizinho.net/projects/shockwave-rip.html How to rip assets from Shockwave games] | |||
<br><br> | <br><br> | ||
[[Category:Complete Almost Done| | [[Category:Complete Almost Done|Adobe Director Files]] | ||
[[Category:Platform PC| | [[Category:Platform PC|Adobe Director Files]] | ||
[[Category:CE | [[Category:CE Both|Adobe Director Files]] | ||
[[Category:Format_Archive | Type: Archive]] | [[Category:Format_Archive | Type: Archive]] | ||
[[Category:Extension_cxt | Extension: cxt]] | [[Category:Extension_cxt | Extension: cxt]] | ||
Latest revision as of 16:57, 5 September 2022
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
- Adobe Shockwave Player
- CastRipperTool (by nosamu)
- director-files-extract
- dirOpener / mirror1 (it can be used to remove protection from CXT files)
- DRX Extract
- D4Player
- Game Extractor
- Jaeder Naub
- Macromedia Director (e.g. Macromedia Director MX 2004)
- Movie Restorer Xtra
- MultiEx Commander
- Recover CCT
- ScummVM
- Schockabsorber
See Also
- List of Macromedia Director games
- Shockwave (fileformats.archiveteam.org)
- A Tour of the Adobe Director File Format
- How to rip assets from Shockwave games