RenderWare TXD: Difference between revisions

From XentaxWiki
Jump to navigation Jump to search
imported>Ikskoks
imported>Ikskoks
(No difference)

Revision as of 20:36, 9 March 2021

Back to index | Edit this page

TXD


Format Specifications

// TMNT 2003
// TXD file format


// chunk header
4 bytes (uint32) - chunk type  // e.g. 0x23 - Platform Independent Texture Dictionary
4 bytes (uint32) - chunk size - 12
4 bytes (uint32) - RW version ID  // e.g. 0xFF 0xFF 0x05 0x10 - RW v3.4.0.5
4 bytes (uint32) - number of textures


num_of_textures *
{
   // texture header (112 bytes)
   16 bytes (char) - texture name  // e.g. "tit_studio_ps"
   56 bytes - unknown


   4 bytes (uint32) - chunk type // e.g. 0x18 - Image
   4 bytes (uint32) - chunk size - 8  (image chunk size)
   4 bytes (uint32) - RW version ID

   4 bytes (uint32) - chunk type // e.g. 0x01 - Struct
   4 bytes (uint32) - chunk size  // 16  (struct chunk size)
   4 bytes (uint32) - RW version ID

   4 bytes (uint32) - image width?
   4 bytes (uint32) - image height?
   4 bytes (uint32) - bits per pixel?  // e.g. 8
   4 bytes (uint32) - image width (repeated?)


   x bytes - image data

   1024 bytes - palette data
}

MultiEx BMS Script

Not written yet.

Notes and Comments

  • This file format occurs in games made with RenderWare engine.

Games

List of games using this file format:

  • Bully
  • GTA III
  • GTA IV
  • GTA Vice City
  • GTA San Andreas
  • Manhunt
  • Teenage Mutant Ninja Turtles (2003)
  • Many more...

Compatible Programs

See Also