Rally Masters PDT
Choose archive extension:
PDT
- Format Type : Archive
- Endian Order : Little Endian
Format Specifications
char {4} - Header (PDI1)
uint32 {4} - Number Of Files (including Padding files) (128)
uint32 {4} - Number Of Files
uint32 {4} - Unknown (30)
uint32 {4} - Directory Offset (46)
uint32 {4} - CDI1 Data Offset
uint32 {4} - Length Of CDI1 Data
uint16 {2} - null
byte {14} - Padding (all 255's)
uint16 {2} - Unknown (3)
// for each file (68-bytes per entry)
- uint16 {2} - File/Directory ID (4=directory, 25=file, 0=padding file)
- if (file){
- uint16 {2} - File ID (incremental from -1)(some are -1, which skip over the number for this loop)
- uint16 {2} - File ID (incremental from 1)(some are -1, which skip over the number for this loop)
- byte {6} - Padding (all 255's)
- uint32 {4} - File Offset (relative to the start of the file data)
- uint32 {4} - File Length
- char {44} - Filename (null)
- uint32 {4} - Unknown
- }
- uint16 {2} - File ID (incremental from -1)(some are -1, which skip over the number for this loop)
- else if (directory){
- uint16 {2} - File ID (incremental from -1)(some are -1, which skip over the number for this loop)
- uint16 {2} - File ID (-1)
- uint32 {4} - Unknown
- uint32 {4} - Unknown
- byte {6} - null
- char {44} - Directory Name (null)
- uint32 {4} - null
- }
- uint16 {2} - File ID (incremental from -1)(some are -1, which skip over the number for this loop)
- else if (padding file){
- byte {66} - null
- }
- byte {66} - null
char {4} - CDI1 Header (CDI1)
byte {X} - File Data?
MultiEx BMS
Not written yet
Notes and Comments
- directory names have length=0 and offset=0
Other Games
These games use this file format...
- Rally Masters *.pdt
- Swedish Touring Car Championship 2 *.pdo *.dta