GRAF:Jack Orlando PAK PHK PH2: Difference between revisions

From XentaxWiki
Jump to navigation Jump to search
imported>Mr.Mouse
No edit summary
imported>Mr.Mouse
Line 48: Line 48:
Next T ;
Next T ;
</bms>
</bms>
<bms ext="pak" games="'Jack Orlando'" author="Mr.Mouse" platforms="'PC'" version="1.0" silence="no" verbose="yes">
# MexScript (3) for Jack Orlando .ph2 .pak .phk files
# By Mr.Mouse
ImpType Standard ;
Get MW Long 0 ;
Get FileNum Long 0 ;
Get DataStart Long 0 ;
Get NUL Long 0 ;
For T = 1 To FileNum ;
SavePos FOO 0 ;
Get FO Long 0 ;
SavePos FSO 0 ;
Get FS Long 0 ;
Get FNS Long 0 ;
GetDString FName FNS 0 ;
Log FName FO FS FOO FSO ;
Next T ;
</bms>
<bms ext="phk" games="'Jack Orlando'" author="Mr.Mouse" platforms="'PC'" version="1.0" silence="no" verbose="yes">
# MexScript (3) for Jack Orlando .ph2 .pak .phk files
# By Mr.Mouse
ImpType Standard ;
Get MW Long 0 ;
Get FileNum Long 0 ;
Get DataStart Long 0 ;
Get NUL Long 0 ;
For T = 1 To FileNum ;
SavePos FOO 0 ;
Get FO Long 0 ;
SavePos FSO 0 ;
Get FS Long 0 ;
Get FNS Long 0 ;
GetDString FName FNS 0 ;
Log FName FO FS FOO FSO ;
Next T ;
</bms>
<br>
<br>
=== Supported Programs ===  
=== Supported Programs ===  


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

Revision as of 17:30, 22 October 2006

Choose archive extension:

PAK, PHK, PH2


Format Specifications

char {4}     - Header ("PAK" + null)
uint32 {4}   - Number Of Files
uint32 {4}   - First File Offset
uint32 {4}   - null

// DIRECTORY

// for each file
uint32 {4}   - File Offset
uint32 {4}   - File Length
uint32 {4}   - Filename Length (including null terminator)
char {X}     - Filename
byte {1}     - null Filename Terminator


byte {X}     - File Data

MultiEx BMS

<bms ext="ph2" games="'Jack Orlando'" author="Mr.Mouse" platforms="'PC'" version="1.0" silence="no" verbose="yes">

  1. MexScript (3) for Jack Orlando .ph2 .pak .phk files
  2. By Mr.Mouse

ImpType Standard ; Get MW Long 0 ; Get FileNum Long 0 ; Get DataStart Long 0 ; Get NUL Long 0 ; For T = 1 To FileNum ; SavePos FOO 0 ; Get FO Long 0 ; SavePos FSO 0 ; Get FS Long 0 ; Get FNS Long 0 ; GetDString FName FNS 0 ; Log FName FO FS FOO FSO ; Next T ; </bms>

<bms ext="pak" games="'Jack Orlando'" author="Mr.Mouse" platforms="'PC'" version="1.0" silence="no" verbose="yes">

  1. MexScript (3) for Jack Orlando .ph2 .pak .phk files
  2. By Mr.Mouse

ImpType Standard ; Get MW Long 0 ; Get FileNum Long 0 ; Get DataStart Long 0 ; Get NUL Long 0 ; For T = 1 To FileNum ; SavePos FOO 0 ; Get FO Long 0 ; SavePos FSO 0 ; Get FS Long 0 ; Get FNS Long 0 ; GetDString FName FNS 0 ; Log FName FO FS FOO FSO ; Next T ; </bms>

<bms ext="phk" games="'Jack Orlando'" author="Mr.Mouse" platforms="'PC'" version="1.0" silence="no" verbose="yes">

  1. MexScript (3) for Jack Orlando .ph2 .pak .phk files
  2. By Mr.Mouse

ImpType Standard ; Get MW Long 0 ; Get FileNum Long 0 ; Get DataStart Long 0 ; Get NUL Long 0 ; For T = 1 To FileNum ; SavePos FOO 0 ; Get FO Long 0 ; SavePos FSO 0 ; Get FS Long 0 ; Get FNS Long 0 ; GetDString FName FNS 0 ; Log FName FO FS FOO FSO ; Next T ; </bms>


Supported Programs