Carmageddon TDR2000: Difference between revisions
Jump to navigation
Jump to search
imported>WATTO No edit summary |
imported>Ikskoks No edit summary |
||
| (One intermediate revision by the same user not shown) | |||
| Line 39: | Line 39: | ||
* [[Game Extractor|Game Extractor]]<br> | * [[Game Extractor|Game Extractor]]<br> | ||
[[Category:File Format]] | |||
Latest revision as of 14:05, 3 January 2021
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