Etherlords: Difference between revisions

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


Not written yet<br><br>
<pre>ImpType Standard ;
Get AS ASize 0 ;
Get FN Long 0 ;
Get FN Long 0 ;
SavePos TailOffOff 0 ;
Get FIP Long 0 ;
Get FNS Long 0 ;
Math AS -= FNS ;
For TE = 1 To FN ;
GoTo FIP 0 ;
Get D Long 0 ;
SavePos FSO 0 ;
Get FS Long 0 ;
SavePos FOO 0 ;
Get FO Long 0 ;
Get D Long 0 ;
Get D Int 0 ;
Get SU Long 0 ;
Set AA Long AS ;
Math AA += SU ;
SavePos FIP 0 ;
GoTo AA 0 ;
GetDString F$ D 0 ;
Log F$ FO FS FOO FSO ;
Next TE ;
</pre>


=== Notes and Comments ===  
=== Notes and Comments ===  
Line 46: Line 71:
=== Compatible Programs ===  
=== Compatible Programs ===  


* [[MultiEx_Commander|MultiEx Commander]]
* [[Game Extractor|Game Extractor]]<br><br>
* [[Game Extractor|Game Extractor]]<br><br>


Line 51: Line 77:


These games also use this file format<br>
These games also use this file format<br>
* [[Etherlords|Etherlords]]
* Etherlords
* [[Evil Islands|Evil Islands: Curse Of The Lost Soul]]
* Evil Islands: Curse Of The Lost Soul
 
 
[[Category:File Format]]

Latest revision as of 12:38, 4 January 2021

Choose archive extension:

RES


Format Specifications

byte {4}     - Header? (60,226,156,1)
uint32 {4}   - Number Of Files
uint32 {4}   - Directory Offset
uint32 {4}   - Filename Directory Length

byte {X}     - File Data

// Directory

// for each file
uint32 {4}   - Unknown
uint32 {4}   - File Length
uint32 {4}   - File Offset
uint32 {4}   - Unknown
uint16 {2}   - Filename Length
uint32 {4}   - Filename Offset [+filenameDirectoryOffset]


// Filename Directory

// for each file
char {X}     - Filename


MultiEx BMS Script

ImpType Standard ;
Get AS ASize 0 ;
Get FN Long 0 ;
Get FN Long 0 ;
SavePos TailOffOff 0 ;
Get FIP Long 0 ;
Get FNS Long 0 ;
Math AS -= FNS ;
For TE = 1 To FN ;
GoTo FIP 0 ;
Get D Long 0 ;
SavePos FSO 0 ;
Get FS Long 0 ;
SavePos FOO 0 ;
Get FO Long 0 ;
Get D Long 0 ;
Get D Int 0 ;
Get SU Long 0 ;
Set AA Long AS ;
Math AA += SU ;
SavePos FIP 0 ;
GoTo AA 0 ;
GetDString F$ D 0 ;
Log F$ FO FS FOO FSO ;
Next TE ;

Notes and Comments

  • The files in the directory are in a different order to the files in the archive. eg. File 1 in the directory might be File 273 in the archive
  • Also, the filenames in the filename directory do not have nulls in between them


Compatible Programs

Other Games

These games also use this file format

  • Etherlords
  • Evil Islands: Curse Of The Lost Soul