Outlaw Golf PAK

From XentaxWiki
Revision as of 19:03, 21 February 2021 by Ikskoks (talk | contribs) (Format Specifications (Outlaw Golf))

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Choose archive extension:

PAK, PAXFILE


Format Specifications (Outlaw Golf)

// Outlaw Golf (PC)
// PAK file format


// header (96 bytes)
8 bytes (char) - magic // "PAXFILE\xFF"
20 bytes - unknown
4 bytes (uint32) - data offset
4 bytes (uint32) - number of directories + 1
4 bytes (uint32) - number of files
4 bytes (uint32) - align value?
36 bytes - nulls
4 bytes (uint32) - unknown  // 1
4 bytes (uint32) - unknown  // 12
4 bytes - nulls
4 bytes (uint32) - unknown  // 26


// directories info
num_of_directories *
{
   32 bytes (char) - directory name // e.g. "Audio"
   4 bytes (uint32) - unknown // some ID, usually nulls
   4 bytes (uint32) - unknown // some flags, usually nulls
   4 bytes (uint32) - number of the first file in the directory
   4 bytes (uint32) - number of files in directory?
}


// files info
num_of_files *
{
  32 bytes (char) - file name
  4 bytes (uint32) - file offset
  4 bytes (uint32) - file size
}

x bytes - padding


// files data
num_of_files *
{
   x bytes - file data
}


Format Specifications (Outlaw Golf 2)

// Outlaw Golf 2 (PS2)
// 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