GRAF:Abomination AWF

From XentaxWiki
Jump to: navigation, search

AWF


Format Specifications

uint32 {4}   - Number Of Files

// for each file

uint32 {4}   - File Offset
char {260}   - Filename (null)


byte {X}     - File Data

MultiEx BMS Script

<bms author="Mr.Mouse" games="'Abomination: The Nemesis Project'" platforms="'PC'" ext="AWF" version="1.0" verbose="no"> Get FILECNTL Long 0 ; SavePos FILESTART 0 ; Set DUMMYL Long 65 ; Set TAILOFF Long DUMMYL ; Math TAILOFF *= 4 ; Do ; GoTo FILESTART 0 ; Get FILEOFF Long 0 ; SavePos FILESTART 0 ; Get FILENAME String 0 ; Math FILESTART += TAILOFF ; GoTo FILEOFF 0 ; Get DUMMYL Long 0 ; Get FILESIZE Long 0 ; Log FILENAME FILEOFF FILESIZE 0 0 ; Math EXTRCNT += 1 ; While EXTRCNT = FILECNTL ; </bms>

Requires MexCom 4.0

Compatable Programs