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

Endian Order:Little Endian
Compression:none
Encryption:None


This format is used by the following Games:
A.I.M.2: Clan Wars *.pak


This is the format specification information:
 
// HEADER
  4 - Header (SGMF)
  2 - null
  4 - Number of Files in the Details Directory
  4 - Number of Entries in the Blocks Directory
  4 - Decompressed Block Size (32768)
  4 - null
  
// DETAILS DIRECTORY
  // for each file
    80 - Filename (null terminated, filled with nulls)
    4 - File Offset (relative to the start of the Decompressed Data)
    4 - File Length
    
// BLOCK DIRECTORY
  // for each block
    4 - Unknown
    4 - Compression Flag (0=uncompressed, 1=compressed)
    4 - Block Offset
    
// FILE DATA
  // for each block
    4 - Compressed Block Length
    X - Block Data


These are the accompanying notes and further information:
 
The whole archive is compressed into blocks. The details directory points to files in the decompressed archive.


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.