Close Combat 4 PIX: Difference between revisions

From XentaxWiki
Jump to navigation Jump to search
imported>WATTO
No edit summary
imported>Ikskoks
No edit summary
 
(One intermediate revision by the same user not shown)
Line 46: Line 46:
* [[MultiEx_Commander|MultiEx Commander]]
* [[MultiEx_Commander|MultiEx Commander]]
* [[Game Extractor|Game Extractor]]<br>
* [[Game Extractor|Game Extractor]]<br>
[[Category:File Format]]

Latest revision as of 14:20, 3 January 2021

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