Sonic Frontiers NTSP: Difference between revisions

From XentaxWiki
Jump to navigation Jump to search
imported>Ikskoks
imported>Ikskoks
Line 1: Line 1:
{{GRAFPageHeader}}
{{GRAFPageHeader}}
== TLD ==  
== NTSP ==  


* ''' Format Type ''':    Archive / Texture <br>  
* ''' Format Type ''':    Archive / Texture <br>  

Revision as of 21:21, 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) - some offset? / first texture number in pack?
   4 bytes (uint32) - some size? / 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.