Rally Masters PDT

From XentaxWiki
Revision as of 12:06, 20 December 2005 by WATTO (talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Choose archive extension:

PDT


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
}


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
}


else if (padding file){
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

Supported Programs