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

Endian Order:Little Endian
Compression:None
Encryption:None


This format is used by the following Games:
Carmageddon: Total Destruction Racing 2000 *.pak *.dir


This is the format specification information:
 
// for each file (read until EOF)
  X - filename (read until byte=8)
  4 - Offset
  4 - Size


These are the accompanying notes and further information:
 
*.dir has the details, *.pak has the file data.

To determine the filename, do the following
 String filename = readByte();
 while (readByte() != (byte)8){
   filename += readByte();
   }

Explaination:
Each character of the filename is split over 2 bytes, with each 2nd byte determining when to stop
When the 2nd byte is 8, stop.
Otherwise, add the next byte to the filename


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.