Anachronox: Difference between revisions

From XentaxWiki
Jump to navigation Jump to search
imported>WATTO
No edit summary
imported>Ikskoks
No edit summary
 
(3 intermediate revisions by 2 users not shown)
Line 30: Line 30:
=== MultiEx BMS Script ===  
=== MultiEx BMS Script ===  


Not written yet<br><br>
<pre>IDString 0 ADAT ;
ImpType Standard ;
SavePos TailOffOff 0 ;
Get TO Long 0 ;
Get TS Long 0 ;
Math TS /= 144 ;
GoTo TO 0 ;
For t = 1 To TS ;
SavePos TO 0 ;
Get FN String 0 ;
Math TO += 128 ;
GoTo TO 0 ;
SavePos FOO 0 ;
Get FO Long 0 ;
Get FS Long 0 ;
SavePos FSO 0 ;
Get FS Long 0 ;
Get D Long 0 ;
Log FN FO FS FOO FSO ;
Next t ;
</pre>


=== Notes and Comments ===  
=== Notes and Comments ===  
Line 38: Line 58:
=== Compatible Programs ===  
=== Compatible Programs ===  


* [[MultiEx_Commander|MultiEx Commander]]
* [[Game Extractor|Game Extractor]]<br>
* [[Game Extractor|Game Extractor]]<br>
[[Category:File Format]]

Latest revision as of 01:26, 3 January 2021

Choose archive extension:

DAT


Format Specifications

char {4}     - Header (ADAT)
uint32 {4}   - Directory Offset
uint32 {4}   - Directory Length
uint32 {4}   - Unknown (9)

byte {X}     - File Data

// for each file

char {128}   - Filename (null)
uint32 {4}   - File Offset
uint32 {4}   - Decompressed File Length
uint32 {4}   - Compressed File Length
uint32 {4}   - Hash?


MultiEx BMS Script

IDString 0 ADAT ;
ImpType Standard ;
SavePos TailOffOff 0 ;
Get TO Long 0 ;
Get TS Long 0 ;
Math TS /= 144 ;
GoTo TO 0 ;
For t = 1 To TS ;
SavePos TO 0 ;
Get FN String 0 ;
Math TO += 128 ;
GoTo TO 0 ;
SavePos FOO 0 ;
Get FO Long 0 ;
Get FS Long 0 ;
SavePos FSO 0 ;
Get FS Long 0 ;
Get D Long 0 ;
Log FN FO FS FOO FSO ;
Next t ;

Notes and Comments

Uses ZLib compression?

Compatible Programs