PFF0: Difference between revisions

From XentaxWiki
Jump to navigation Jump to search
imported>WATTO
No edit summary
imported>Mr.Mouse
mNo edit summary
Line 1: Line 1:
[[GRAFs|Back To Index]]
= PFF =


* ''' Format Type ''':    Archive <br>  
* ''' Format Type ''':    Archive <br>  
Line 27: Line 30:
=== MultiEx BMS Script ===  
=== MultiEx BMS Script ===  


Not written yet<br><br>
<pre>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 ;
</pre>


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


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



Revision as of 15:13, 21 May 2005

Back To Index

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 ;

Compatible Programs

Other Games

These games also use this file format