Difference between revisions of "GRAF:Abomination AWF"

From XentaxWiki
Jump to: navigation, search
 
(MultiEx BMS Script)
Line 20: Line 20:
 
=== MultiEx BMS Script ===  
 
=== MultiEx BMS Script ===  
  
<tt><pre>
+
<tt><bms author="Mr.Mouse" games="'Abomination: The Nemesis Project'" platforms="'PC'" ext="AWF" version="1.0" verbose="no">
 
Get FILECNTL Long 0 ;
 
Get FILECNTL Long 0 ;
 
SavePos FILESTART 0 ;
 
SavePos FILESTART 0 ;
Line 38: Line 38:
 
Math EXTRCNT += 1 ;
 
Math EXTRCNT += 1 ;
 
While EXTRCNT = FILECNTL ;
 
While EXTRCNT = FILECNTL ;
</pre></tt>
+
</bms></tt>
  
 
Requires [[MultiEx_Commander|MexCom]] 4.0
 
Requires [[MultiEx_Commander|MexCom]] 4.0

Revision as of 19:11, 18 September 2006

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