Empire 2: Difference between revisions

From XentaxWiki
Jump to navigation Jump to search
imported>Mr.Mouse
imported>Ikskoks
No edit summary
Line 47: Line 47:
* [[MultiEx_Commander|MultiEx Commander]]
* [[MultiEx_Commander|MultiEx Commander]]
* [[Game Extractor|Game Extractor]]<br>
* [[Game Extractor|Game Extractor]]<br>
[[Category:File Format]]

Revision as of 12:30, 4 January 2021

Choose archive extension:

DAT


Format Specifications

byte {32}    - Unknown

// for each file

char {6}     - Filename
uint32 {4}   - File Offset


byte {X}     - File Data

MultiEx BMS Script

Set FILESTART Long 32 ;
Do ;
GoTo FILESTART 0 ;
GetDString FILENAME 6 0 ;
Get FILEOFF Long 0 ;
SavePos FILESTART 0 ;
GetDString FILENAME 6 0 ;
Get FILESIZE Long 0 ;
ReverseLong FILEOFF ;
ReverseLong FILESIZE ;
If FILESIZE = 0 ;
CleanExit ;
EndIf ;
Math FILESIZE -= FILEOFF ;
Log "" FILEOFF FILESIZE 0 0 ;
While NotEOF <> 0 ;

Compatible Programs