Carmageddon TDR2000: Difference between revisions

From XentaxWiki
Jump to navigation Jump to search
imported>WATTO
No edit summary
 
imported>WATTO
No edit summary
(No difference)

Revision as of 00:52, 16 May 2005

Choose archive extension:

PAK + DIR


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

Compatible Programs