Battlefield 1942 - Demo
From XentaxWiki
Choose archive extension:
Contents
RFA
- Format Type : Archive
- Endian Order : Little Endian
Format Specifications
// MexCom - Recreation of Battlefield 1942 Demo .RFA // ---------------------------- // Format Specification uint32{4} TO ==>TO uint32{4} FSN ** Start Repeated entry (TE) {FSN} uint32{4} FNS char{FNS} Filename of resource (FN) #DECLARE CSO = CURRENT FILE POINTER uint32{4} CS #DECLARE FSO = CURRENT FILE POINTER uint32{4} US #DECLARE FOO = CURRENT FILE POINTER uint32{4} Offset of resource (FO) uint32{4} IDU uint32{4} DUMMY uint32{4} DUMMY // Resources have a name (FN), are located at FO and have a size of CS ** End Repeated entry (TE) // ---------------------------- // MexCom - Recreation complete
MultiEx BMS
ImpType Standard ; SavePos TailOffOff 0 ; Get TO Long 0 ; GoTo TO 0 ; Get FSN Long 0 ; For TE = 1 To FSN ; Get FNS Long 0 ; GetDString FN FNS 0 ; SavePos CSO 0 ; Get CS Long 0 ; SavePos FSO 0 ; Get US Long 0 ; SavePos FOO 0 ; Get FO Long 0 ; Get IDU Long 0 ; Get DUMMY Long 0 ; Get DUMMY Long 0 ; Log FN FO CS FOO FSO ; Next TE ;
Notes and Comments
The format specifications are automatically "reverse engineered" from a MultiEx BMS. Read with care.
Supported by Programs