This is the specifications for the archive file which is handled by the Game Extractor plugin Archive_HPF_HMG.

Endian Order:Little Endian
Compression:None
Encryption:None


This format is used by the following Games:
Transworld Snowboarding [XBox]*.hpf


This is the format specification information:
 
32 - Header ("HMG_PACKED_FILE" + null + spaces to fill)
256 - Absolute Archive Path (null terminated, spaces to fill)

4 - Number Of Files

// for each file (80 bytes for each entry)
  4 - File/Directory Identifier (0/3)

  if (FileDirID == 0){
    // file
    4 - null
    4 - File Offset (relative to the start of the file data)
    4 - File Length
    64 - Filename (null terminated, filled with spaces after the null)
    }
  else if (FileDirID == 3){
    // directory
    4 - null
    4 - File ID (incremental from 48) -OR- Root Directory Identifier (=(byte)1)
    if (fileID == (byte)1){
      4 - File ID (incremental from 48)
      }
    else {
      4 - Unknown (1)
      }
    64 - Directory Name (null terminated, filled with spaces after the null)
    }

X - File Data


Game Extractor is able to read files of this type, as well as files from thousands of other games. To give it a try, download Game Extractor (Basic Version) for free, and see what it can do.

For further information on this format, refer to the source code on our GitHub repository.