Carmageddon TDR2000
Choose archive extension:
PAK + DIR
- Format Type : Archive
- Endian Order : Little Endian
Format Specifications
// for each file
- char {X} - Filename (read until byte=8)
- uint32 {4} - Offset
- uint32 {4} - Size
MultiEx BMS Script
Not written yet
Notes and Comments
- The *.dir file has the directory, the *.pak file 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