Difference between revisions of "PFF3"

From XentaxWiki
Jump to: navigation, search
 
 
(2 intermediate revisions by 2 users not shown)
Line 28: Line 28:
 
uint32 {4}&nbsp;&nbsp; - <font color="red"> '' Unknown <font color="purple">(usually null)</font> '' </font> <br>  
 
uint32 {4}&nbsp;&nbsp; - <font color="red"> '' Unknown <font color="purple">(usually null)</font> '' </font> <br>  
 
char {4}&nbsp;&nbsp;&nbsp;&nbsp; - End Header <font color="purple">(KING)</font> <br>  
 
char {4}&nbsp;&nbsp;&nbsp;&nbsp; - End Header <font color="purple">(KING)</font> <br>  
</b></tt>
+
</b></tt><br>
  
 
=== MultiEx BMS ===  
 
=== MultiEx BMS ===  
  
Not written yet<br><br>
+
<pre>ImpType StandardTail ;
 +
Get HEADSIZE Long 0 ;
 +
Get HEADER Long 0 ;
 +
If HEADER <> 860243536 ;
 +
CleanExit ;
 +
EndIf ;
 +
Get FILENUM Long 0 ;
 +
Get ENTSIZE Long 0 ;
 +
Get TAILX Long 0 ;
 +
GoTo TAILX 0 ;
 +
For F = 1 To FILENUM ;
 +
Get FOOBAR Long 0 ;
 +
SavePos FOFFSETX 0 ;
 +
Get FOFFSET Long 0 ;
 +
SavePos FSIZEX 0 ;
 +
Get FSIZE Long 0 ;
 +
Get DATE Long 0 ;
 +
GetDString FNAME 12 0 ;
 +
Get FOO Long 0 ;
 +
Get BAR Long 0 ;
 +
Log FNAME FOFFSET FSIZE FOFFSETX FSIZEX ;
 +
Next F ;</pre><br>
  
 
=== Supported Programs ===  
 
=== Supported Programs ===  
  
 
* [[Game Extractor|Game Extractor]]<br>
 
* [[Game Extractor|Game Extractor]]<br>
 +
* [[MultiEx Commander|MultiEx Commander]]<br>
 +
 +
=== Other Games ===
 +
 +
These games also use this file format<br>
 +
* Delta Force Land Warrior *.pff
 +
* Delta Force Xtreme *.pff
 +
* F-16 Multirole Fighter *.pff
 +
 +
 +
[[Category:File Format]]

Latest revision as of 12:52, 4 January 2021

PFF


Format Specifications

uint32 {4}   - Header Length (20)
char {4}     - Header (PFF3)
uint32 {4}   - Number Of Files
uint32 {4}   - Length Of File Entry (36)
uint32 {4}   - Directory Offset

byte {X}     - File Data

// for each file

uint32 {4}   - Unknown (usually null)
uint32 {4}   - File Offset
uint32 {4}   - File Size
uint32 {4}   - File Date
char {12}    - Filename
uint32 {4}   - Unknown (usually null)
uint32 {4}   - Hash?


uint32 {4}   - Hash? CRC?
uint32 {4}   - Unknown (usually null)
char {4}     - End Header (KING)

MultiEx BMS

ImpType StandardTail ;
Get HEADSIZE Long 0 ;
Get HEADER Long 0 ;
If HEADER <> 860243536 ;
CleanExit ;
EndIf ;
Get FILENUM Long 0 ;
Get ENTSIZE Long 0 ;
Get TAILX Long 0 ;
GoTo TAILX 0 ;
For F = 1 To FILENUM ;
Get FOOBAR Long 0 ;
SavePos FOFFSETX 0 ;
Get FOFFSET Long 0 ;
SavePos FSIZEX 0 ;
Get FSIZE Long 0 ;
Get DATE Long 0 ;
GetDString FNAME 12 0 ;
Get FOO Long 0 ;
Get BAR Long 0 ;
Log FNAME FOFFSET FSIZE FOFFSETX FSIZEX ;
Next F ;

Supported Programs

Other Games

These games also use this file format

  • Delta Force Land Warrior *.pff
  • Delta Force Xtreme *.pff
  • F-16 Multirole Fighter *.pff