Close Combat 4 AZP

From XentaxWiki
Jump to: navigation, search

AZP


Format Specifications

uint32 {4}   - Number Of Files

// for each file

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


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 ;
Math TAILOFF -= 4 ;
Do ;
GoTo FILESTART 0 ;
Get FILENAME String 0 ;
Math FILESTART += TAILOFF ;
GoTo FILESTART 0 ;
Get FILEOFF Long 0 ;
Get FILESIZE Long 0 ;
SavePos FILESTART 0 ;
Log FILENAME FILEOFF FILESIZE 0 0 ;
Math EXTRCNT += 1 ;
While EXTRCNT <> FILECNTL ;


Compatible Programs