GRAF:Abomination AWF

From XentaxWiki
Revision as of 12:53, 11 December 2005 by WATTO (talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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

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 ;

Requires MexCom 4.0

Compatable Programs