From Software TPF: Difference between revisions

From XentaxWiki
Jump to navigation Jump to search
imported>Ikskoks
(Created page with "{{GRAFPageHeader}} == TPF == * ''' Format Type ''': Archive / Textures <br> * ''' [http://en.wikipedia.org/wiki/Endianness Endian Order] ''': Big Endian <br> * ''' Signa...")
imported>Ikskoks
Line 51: Line 51:




// daata
// data
number_of_textures *
number_of_textures *
{
{

Revision as of 21:49, 2 November 2022

Back to index | Edit this page

TPF

  • Format Type : Archive / Textures
  • Endian Order : Big Endian
  • Signature : TPF


Format Specifications

// TPF file format
// Armored Core V

// big endian

// header
4 bytes (char) - signature // "TPF\0"
4 bytes (uint32) - total data size
4 bytes (uint32) - number of textures
4 bytes (uint32) - unknown


// directory  (28-32 bytes per entry)
number_of_files *
{
   4 bytes (uint32) - texture data offset
   4 bytes (uint32) - texture data size
   1 byte (uint8) - texture type   // 5 - ???
   3 bytes - unknown
   2 bytes (uint16) - image width
   2 bytes (uint16) - image height
   8 bytes - unknown
   4 bytes (uint32) - texture name offset (relative)  // can be unused

   if game newer than "Armored Core V":
      4 bytes (uint32) - unknown
   endif
}


// name list
number_of_textures *
{
   x bytes (char) - texture name
}


x bytes - padding


// data
number_of_textures *
{
   x bytes - texture data
}

Notes and Comments

  • This file format occurs in games made by From Software.

Games

List of games using this file format:

  • Armored Core V (PC) (*.TPF)

QuickBMS Script

Compatible Programs