Close Combat 4 PIX

From XentaxWiki
Jump to: navigation, search

PIX


Format Specifications

char {4}     - Header (PICS) // PICS=pix
uint32 {4}   - Version (1)
uint32 {4}   - Number Of Files

// for each file

char {32}    - Filename (null)
uint32 {4}   - Image Width (800)
uint32 {4}   - Image Height (600)
uint32 {4}   - File Length
uint32 {4}   - File Offset


byte {X}     - File Data

MultiEx BMS Script

IDString 0 PICS ;
Get DUMMYL Long 0 ;
Get FILECNTL Long 0 ;
SavePos FILESTART 0 ;
Do ;
GoTo FILESTART 0 ;
GetDString FILENAME 32 0 ;
Get DUMMYL Long 0 ;
Get DUMMYL Long 0 ;
Get FILESIZE Long 0 ;
Get FILEOFF Long 0 ;
SavePos FILESTART 0 ;
Log FILENAME FILEOFF FILESIZE 0 0 ;
Math EXTRCNT += 1 ;
While EXTRCNT <> FILECNTL ;

Compatible Programs