Wanted Guns PKF: Difference between revisions

From XentaxWiki
Jump to navigation Jump to search
imported>WATTO
No edit summary
imported>PXR
(Added BMS-script)
Line 28: Line 28:
=== MultiEx BMS Script ===  
=== MultiEx BMS Script ===  


Not written yet<br><br>
<pre>ImpType Standard ;
Get FILENUM Long 0 ;
For F = 1 To FILENUM ;
GetDString FNAME 256 0 ;
GetDString FNAME 256 0 ;
SavePos FOFFSETX 0 ;
Get FOFFSET Long 0 ;
Get NULL Long 0 ;
Get FSIZE Long 0 ;
SavePos FSIZEX 0 ;
Get FSIZE Long 0 ;
Log FNAME FOFFSET FSIZE FOFFSETX FSIZEX ;
Next F ;</pre>


=== Compatible Programs ===  
=== Compatible Programs ===  


* [[Game Extractor|Game Extractor]]<br>
* [[Game Extractor|Game Extractor]]<br>
* [[MultiEx Commander|MultiEx Commander]]<br>

Revision as of 10:52, 16 January 2006

Choose archive extension:

PKF


Format Specifications

uint32 {4}   - Number Of Files

// for each file

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


byte {X}     - File Data

MultiEx BMS Script

ImpType Standard ;
Get FILENUM Long 0 ;
For F = 1 To FILENUM ;
GetDString FNAME 256 0 ;
GetDString FNAME 256 0 ;
SavePos FOFFSETX 0 ;
Get FOFFSET Long 0 ;
Get NULL Long 0 ;
Get FSIZE Long 0 ;
SavePos FSIZEX 0 ;
Get FSIZE Long 0 ;
Log FNAME FOFFSET FSIZE FOFFSETX FSIZEX ;
Next F ;

Compatible Programs