Sonic Frontiers NTSP: Difference between revisions
Jump to navigation
Jump to search
imported>Ikskoks (Created page with "{{GRAFPageHeader}} == TLD == * ''' Format Type ''': Archive / Texture <br> * ''' [http://en.wikipedia.org/wiki/Endianness Endian Order] ''': Little Endian <br> * ''' Sig...") |
imported>Ikskoks |
||
| (18 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
{{GRAFPageHeader}} | {{GRAFPageHeader}} | ||
== | == NTSP == | ||
* ''' Format Type ''': Archive / Texture <br> | * ''' Format Type ''': Archive / Texture <br> | ||
| Line 12: | Line 12: | ||
<pre> | <pre> | ||
// 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 | |||
} | |||
</pre> | </pre> | ||
</div> | </div> | ||
| Line 17: | Line 59: | ||
=== Notes and Comments === | === Notes and Comments === | ||
* Textures seems to be in '''DXT1''' format. | |||
* NTSP extension probably stands for "Needle Texture Streaming Package". | |||
=== Games === | === Games === | ||
List of games using this file format: | List of games using this file format: | ||
* Sonic Frontiers | * Sonic Frontiers (*.NTSP) | ||
=== QuickBMS Script === | === QuickBMS Script === | ||
| Line 29: | Line 72: | ||
=== Compatible Programs === | === Compatible Programs === | ||
* [https://github.com/blueskythlikesclouds/SkythTools SkythTools] | |||
<br/><br> | <br/><br> | ||
[[Category:Complete | [[Category:Complete Almost Done|Sonic Frontiers NTSP]] | ||
[[Category:Platform PC|Sonic Frontiers NTSP]] | [[Category:Platform PC|Sonic Frontiers NTSP]] | ||
[[Category:CE None|Sonic Frontiers NTSP]] | [[Category:CE None|Sonic Frontiers NTSP]] | ||
Latest revision as of 19:35, 9 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
- 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