Outlaw Golf PAK: Difference between revisions

From XentaxWiki
Jump to navigation Jump to search
imported>Ikskoks
imported>Ikskoks
Line 11: Line 11:
=== Format Specifications (Outlaw Golf 2) ===  
=== Format Specifications (Outlaw Golf 2) ===  


==== Primary Header ====
<div class="toccolours mw-collapsible" id="mw-customcollapsible-myDivision" style="width:800px; overflow:auto;">
<pre>
<pre>
// Outlaw Golf 2
// PAK file format
// primary header
char      {8}  - Magic ID (PAXFILE\0xFF)  
char      {8}  - Magic ID (PAXFILE\0xFF)  
uint32[5]  {20} - Unknown
uint32[5]  {20} - Unknown
Line 20: Line 25:
uint32    {4}  - Compression header size?
uint32    {4}  - Compression header size?
uint32[13] {52} - Unknown
uint32[13] {52} - Unknown
</pre>
 
==== File List Entry ====
 
<pre>
// file list entry
char      {32} - Name  
char      {32} - Name  
uint32    {4}  - Unknown (some type of id)
uint32    {4}  - Unknown (some type of id)
Line 28: Line 33:
uint32    {4}  - First File Number
uint32    {4}  - First File Number
uint32    {4}  - Number of Files
uint32    {4}  - Number of Files
</pre>
 
==== File Item ====
 
<pre>
// file item
char  {32} - Name  
char  {32} - Name  
uint32 {4}  - Offset of File
uint32 {4}  - Offset of File
uint32 {4}  - Size
uint32 {4}  - Size
</pre>


File is made up of 1 [Primary Header]
 
followed by [File List Count] of [File List Entry]  
// Note: File is made up of 1 [Primary Header] followed by  
followed by [Total File Count] of [File Item]
// [File List Count] of [File List Entry] followed by  
the rest is the data for the files using the offset and size.
// [Total File Count] of [File Item] the rest is the data  
although some files have a header themselves that is 2048 bytes long although only the first few seem to be used. they are  
// for the files using the offset and size. although some  
<pre>
// files have a header themselves that is 2048 bytes long  
// although only the first few seem to be used. they are:
char  {4} - Magic ''HYPC''
char  {4} - Magic ''HYPC''
byte {10} - Unknown possibly a seed and flags.
byte {10} - Unknown possibly a seed and flags.
Line 48: Line 53:
{DATA}
{DATA}
</pre>
</pre>
</div>


=== MultiEx BMS Script ===  
=== MultiEx BMS Script ===  

Revision as of 17:56, 21 February 2021

Choose archive extension:

PAXFILE


Format Specifications (Outlaw Golf 2)

// Outlaw Golf 2
// PAK file format


// primary header
char       {8}  - Magic ID (PAXFILE\0xFF) 
uint32[5]  {20} - Unknown
uint32     {4}  - File List Offset. // a file list is like a folder or directory
uint32     {4}  - File List Count
uint32     {4}  - Total File Count
uint32     {4}  - Compression header size?
uint32[13] {52} - Unknown


// file list entry
char      {32} - Name 
uint32    {4}  - Unknown (some type of id)
uint32    {4}  - Unknown (possibly some type of flags)
uint32    {4}  - First File Number
uint32    {4}  - Number of Files


// file item
char   {32} - Name 
uint32 {4}  - Offset of File
uint32 {4}  - Size


// Note: File is made up of 1 [Primary Header] followed by 
// [File List Count] of [File List Entry] followed by 
// [Total File Count] of [File Item] the rest is the data 
// for the files using the offset and size. although some 
// files have a header themselves that is 2048 bytes long 
// although only the first few seem to be used. they are:
char  {4} - Magic ''HYPC''
byte {10} - Unknown possibly a seed and flags.
uint32 {4} - Size of file without header.
byte (2030} - Unknown (mostly 0x00)
{DATA}

MultiEx BMS Script

None available.

Games

List of gaes using this file format:

  • Outlaw Golf
  • Outlaw Golf 2

Notes and Comments

  • Some kind of compression or encryption seems to be used in the HYPC files.

Compatable Programs