Etherlords
From XentaxWiki
Choose archive extension:
Contents
RES
- Format Type : Archive
- Endian Order : Little Endian
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]
- uint32 {4} - Unknown
// Filename Directory
- // for each file
- char {X} - Filename
- 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