Sonic Frontiers NTSP

From XentaxWiki
Jump to: navigation, search

Back to index | Edit this page

NTSP

  • Format Type : Archive / Texture
  • Endian Order : Little Endian
  • Signature : PSTN


Format Specifications


// NTSP file format

// header
4 bytes (char) - signature  // "PSTN"
4 bytes (uint32) - version?  // 1
4 bytes (uint32) - number of texture packs
4 bytes (uint32) - number of textures


// directory  (24 bytes per entry)
number_of_texture_packs *
{
   8 bytes (uint64) - data offset
   4 bytes (uint32) - CRC?
   4 bytes (uint32) - first texture number in pack?
   4 bytes (uint32) - number of textures in pack?
   2 bytes (uint16) - texture width
   2 bytes (uint16) - texture height
}


// textures info array (16 bytes per entry)
number_of_textures *
{
   8 bytes (uint64) - data size
   8 bytes (uint64) - data offset
}


// name list
number_of_texture_packs *
{
   x bytes (char) - texture pack name
   1 byte (uint8) - null terminator
}


// data
number_of_textures *
{
   x bytes - data
}

Notes and Comments

  • Textures seems to be in DXT1 format.
  • NTSP extension probably stands for "Needle Texture Streaming Package".

Games

List of games using this file format:

  • Sonic Frontiers (*.NTSP)

QuickBMS Script

Not written yet.

Compatible Programs