GRAF:Jack Orlando PAK PHK PH2: Difference between revisions
imported>Ikskoks m (Ikskoks moved page GRAF:Jack Orlando to GRAF:Jack Orlando PAK PHK PH2) |
|||
| (19 intermediate revisions by 4 users not shown) | |||
| Line 1: | Line 1: | ||
[[GRAFs| | * [[GRAFs|Return to the list of games]] | ||
Choose archive extension: | Choose archive extension: | ||
== PAK, PHK, PH2 == | == PAK, PHK, PH2 == | ||
* ''' Format Type ''': Archive <br> | * ''' Format Type ''': Archive <br> | ||
* ''' [http://en.wikipedia.org/wiki/Endianness Endian Order] ''': Little Endian <br> | * ''' [http://en.wikipedia.org/wiki/Endianness Endian Order] ''': Little Endian <br> | ||
=== Format Specifications === | === Format Specifications === | ||
<tt><b> | <tt><b> | ||
char {4} | char {4} - Header <font color="purple">("PAK" + null)</font> <br> | ||
uint32 {4} - Number Of Files <br> | uint32 {4} - Number Of Files <br> | ||
uint32 {4} - | uint32 {4} - First File Offset <br> | ||
uint32 {4} - | uint32 {4} - null <br> | ||
<br> | <br> | ||
<font color="blue"> ''' // | <font color="blue"> ''' // DIRECTORY ''' </font> <br> | ||
: <font color="blue"> ''' // for each file ''' </font> <br> | : <font color="blue"> ''' // for each file ''' </font> <br> | ||
:: uint32 {4} - File Offset | :: uint32 {4} - File Offset <br> | ||
:: uint32 {4} - File Length <br> | :: uint32 {4} - File Length <br> | ||
:: uint32 {4} - Filename Length <br> | :: uint32 {4} - Filename Length <font color="purple">(including null terminator)</font> <br> | ||
:: char {X} - Filename <br> | |||
:: byte {1} - null Filename Terminator <br> | |||
<br> | |||
byte {X} - File Data <br> | |||
</b></tt> | </b></tt> | ||
=== MultiEx BMS === | |||
=== MultiEx BMS | |||
<bms ext="ph2" games="'Jack Orlando'" author="Mr.Mouse" platforms="'PC'" version="1.0" silence="no" verbose="no"> | |||
# 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="pak" games="'Jack Orlando'" author="Mr.Mouse" platforms="'PC'" version="1.0" silence="yes" verbose="no"> | |||
# 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="yes" verbose="no"> | |||
# 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> | |||
=== Supported Programs === | |||
* [[MultiEx Commander|MultiEx Commander]]<br> | |||
* [[Game Extractor|Game Extractor]]<br> | |||
[[Category:File Format]] | |||
Latest revision as of 15:16, 10 January 2021
Choose archive extension:
PAK, PHK, PH2
- Format Type : Archive
- Endian Order : Little Endian
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
- uint32 {4} - File Offset
byte {X} - File Data
MultiEx BMS
<bms ext="ph2" games="'Jack Orlando'" author="Mr.Mouse" platforms="'PC'" version="1.0" silence="no" verbose="no">
- 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="pak" games="'Jack Orlando'" author="Mr.Mouse" platforms="'PC'" version="1.0" silence="yes" verbose="no">
- 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="yes" verbose="no">
- 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>