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

Endian Order:Little Endian
Compression:None
Encryption:None


This format is used by the following Games:
Dirty Bomb *.pck
Borderlands: The Pre-Sequel *.pck
Tiny Tina's Assault on Dragon Keep: A Wonderlands One-Shot Adventure *.pck
Borderlands 2 *.pck
Gwent *.pck


This is the format specification information:
 
// ARCHIVE HEADER
  4 - Header (AKPK)
  4 - Directory Length
  
// DIRECTORY
  4 - Unknown (1)
  4 - Size of Directory Header? [+??]
  4 - Unknown (4)
  4 - Directory Length
  4 - Unknown (4)
  4 - Number of Folders
  
  // for each folder
    4 - Folder Name Offset (relative to the start of the NumberOfFolders field)
    4 - Parent Folder ID? (0 = no parent folder)
    
  // for each folder
    X - Folder Name (unicode)
    2 - null Unicode Folder Name Terminator
    
  4 - Number of Files
    
  // for each file
    4 - Unknown
    4 - Unknown (1)
    4 - File Length
    4 - File Offset
    4 - Folder ID?
    
  4 - null

// FILE DATA
  // for each file
    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.