Dead To Right 2 PS2 PAK: Difference between revisions

From XentaxWiki
Jump to navigation Jump to search
imported>WATTO
No edit summary
 
imported>Ikskoks
 
(8 intermediate revisions by 3 users not shown)
Line 25: Line 25:
=== MultiEx BMS ===  
=== MultiEx BMS ===  


Not written yet<br><br>
<pre>ImpType Standard ;
Get U1 Long 0 ;
Get U2 Long 0 ;
Get U3 Long 0 ;
Get FileNum Long 0 ;
For T = 1 To FileNum ;
GetCT FName String 10 0 ;
SavePos FOO 0 ;
Get FO Long 0 ;
SavePos FSO 0 ;
Get FS Long 0 ;
Get U3 Long 0 ;
Log FName FO FS FOO FSO ;
Next T ;
</pre><br><br>
<br>
<br>
=== Supported Programs ===  
=== Supported Programs ===  
* [[MultiEx Commander|MultiEx Commander]]
* [[Game Extractor|Game Extractor]]<br>


* [[Game Extractor|Game Extractor]]<br>
[[Category:Extension_pak | Extension: pak]]
[[Category:File Format]]

Latest revision as of 19:37, 29 March 2022

PAK


Format Specifications

uint32 {4}   - Header (4108980338)
uint32 {4}   - null
uint32 {4}   - Archive Header Size (16)
uint32 {4}   - Number Of Files

// for each file

char {X}     - Filename (Sometimes including the drive letter "S:/", etc.)
byte {1}     - Filename Terminator (using (byte)10)
uint32 {4}   - File Offset
uint32 {4}   - File Length
uint32 {4}   - Padding Multiple (16384 for most files, 0 for the last file)


byte {X}     - File Data

MultiEx BMS

ImpType Standard ;
Get U1 Long 0 ;
Get U2 Long 0 ;
Get U3 Long 0 ;
Get FileNum Long 0 ;
For T = 1 To FileNum ;
GetCT FName String 10 0 ;
SavePos FOO 0 ;
Get FO Long 0 ;
SavePos FSO 0 ;
Get FS Long 0 ;
Get U3 Long 0 ;
Log FName FO FS FOO FSO ;
Next T ;




Supported Programs