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

Endian Order:Little Endian
Compression:Unknown
Encryption:None


This format is used by the following Games:
Battlestations: Midway *.mpak
Battlestations: Pacific *.mpak


This is the format specification information:
 
// ARCHIVE HEADER
  4 - Header (MPAK)
  4 - Length of TOC directory
  4 - Length of STOC directory
  2 - Number Of Files in the TOC
  2 - Number Of Files in the STOC

// TOC DIRECTORY
  4 - Table Of Contents Header (TOC + (byte)0)

  // for each TOC File
    2 - File Entry Length [+11]
    4 - Compressed Length
    4 - Decompressed Length
    1 - Compression Flag? (1)
    1 - Filename Length (not including terminator)
    X - Filename
    1 - null Filename Terminator
    2 - Compression Flag? (1)
    4 - File Offset (relative to the RAWD header (ie first file = 4))

// STOC DIRECTORY
  4 - Header (STOC)

  // for each STOC File
    2 - File Entry Length
    2 - File ID
    1 - Filename Length (not including terminator)
    X - Filename
    1 - null Filename Terminator

// FILE DATA  
  4 - Header (RAWD)

  // for each file in the TOC
    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.