Difference between revisions of "PFF0"

From XentaxWiki
Jump to: navigation, search
(PFF)
m (Dinoguy1000 moved page F-33 Lightning 3 to PFF0 without leaving a redirect: back to original title)
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[GRAFs|Back To Index]]
+
== PFF ==
 
 
= PFF =
 
  
 
* ''' Format Type ''':    Archive <br>  
 
* ''' Format Type ''':    Archive <br>  
Line 56: Line 54:
 
=== Notes and Comments ===  
 
=== Notes and Comments ===  
 
<!-- Insert comments here -->
 
<!-- Insert comments here -->
There is two type of files: PFF3 (clear) and PFF0 (encrypted/compressed).<br/><br/>
+
There are two type of files: PFF3 (clear) and PFF0 (encrypted/compressed).<br/><br/>
  
 
=== Compatible Programs ===  
 
=== Compatible Programs ===  
Line 67: Line 65:
 
=== Other Games ===  
 
=== Other Games ===  
  
These games also use this file format<br>
+
These games use this file format<br>
* [[Commanche 4|Commanche 4]]
+
* Commanche 4 *.pff
* [[Delta Force|Delta Force]]
+
* Delta Force *.pff
* [[Delta Force 2|Delta Force 2]]
+
* Delta Force 2 *.pff
* [[Delta Force Land Warrior|Delta Force Land Warrior]]
+
* Delta Force Land Warrior *.pff
* [[F-22 Raptor|F-22 Raptor]]
+
* F-22 Raptor *.pff
* [[F-33 Lightning 3|F-33 Lightning 3]]
+
* F-33 Lightning 3 *.pff

Revision as of 11:45, 22 July 2016

PFF


Format Specifications

uint32 {4}   - First File Offset (20)
uint32 {4}   - Header (PFF0) // Note the zero, not the letter O
uint32 {4}   - Number Of Files
uint32 {4}   - Length Of Each Directory Entry (32)
uint32 {4}   - Directory Offset

byte {X}     - File Data

// Directory

// for each file
uint32 {4}   - null
uint32 {4}   - File Offset
uint32 {4}   - File Size
uint32 {4}   - Some kind of file type identifier?
char {16}    - Filename (null)


MultiEx BMS Script

ImpType StandardTail ;
Set FS Long 8 ;
GoTo FS 0 ;
Get FC Long 0 ;
Get FJ Long 0 ;
SavePos TailOffOff 0 ;
Get TO Long 0 ;
GoTo TO 0 ;
For T = 1 To FC ;
Get D Long 0 ;
SavePos FOO 0 ;
Get FO Long 0 ;
SavePos FSO 0 ;
Get FS Long 0 ;
Get D Long 0 ;
GetDString FN 36 0 ;
Get D Long 0 ;
Get D Long 0 ;
Math TO += FJ ;
GoTo TO 0 ;
Log FN FO FS FOO FSO ;
Next T ;

Notes and Comments

There are two type of files: PFF3 (clear) and PFF0 (encrypted/compressed).

Compatible Programs



Other Games

These games use this file format

  • Commanche 4 *.pff
  • Delta Force *.pff
  • Delta Force 2 *.pff
  • Delta Force Land Warrior *.pff
  • F-22 Raptor *.pff
  • F-33 Lightning 3 *.pff