Sonic Frontiers NTSP: Difference between revisions

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

Revision as of 21:25, 8 November 2022

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

None.

Games

List of games using this file format:

  • Sonic Frontiers

QuickBMS Script

Not written yet.

Compatible Programs

None.