Empire 2: Difference between revisions

From XentaxWiki
Jump to navigation Jump to search
imported>Ikskoks
No edit summary
imported>Ikskoks
No edit summary
 
(No difference)

Latest 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