From Software TPF: Difference between revisions
Jump to navigation
Jump to search
imported>Ikskoks |
imported>Ikskoks |
||
| (12 intermediate revisions by the same user not shown) | |||
| Line 28: | Line 28: | ||
4 bytes (uint32) - texture data size | 4 bytes (uint32) - texture data size | ||
1 byte (uint8) - texture type // 0 - DXT1 | 1 byte (uint8) - texture type // 0 - DXT1 | ||
// 1 - DXT1 | |||
// 5 - DXT5 | // 5 - DXT5 | ||
3 bytes - unknown | 3 bytes - unknown | ||
2 bytes (uint16) - image width | 2 bytes (uint16) - image width | ||
2 bytes (uint16) - image height | 2 bytes (uint16) - image height | ||
4 bytes - unknown | |||
4 bytes (uint32) - texture name offset // can be unused in older games | 4 bytes (uint32) - texture name offset // can be unused in older games | ||
4 bytes - unknown | |||
if game newer than "Armored Core V": | if game newer than "Armored Core V": | ||
| Line 65: | Line 67: | ||
=== Games === | === Games === | ||
List of games using this file format: | List of games using this file format: | ||
* Armored Core V ( | * Armored Core V (PS3 / X360) (*.TPF) | ||
* Dark Souls | * Dark Souls | ||
* Demon Souls | * Demon Souls | ||
| Line 77: | Line 79: | ||
* [https://github.com/Atvaark/BinderTool BinderTool] | * [https://github.com/Atvaark/BinderTool BinderTool] | ||
* Noesis + [https://forum.xentax.com/download/file.php?id=22992 fmt_ACV_TPF_xbox360] / [https://forum.xentax.com/download/file.php?id=7738 fmt_DemonSouls_TPF] | |||
* [https://github.com/JKAnderson/Yabber Yabber] | * [https://github.com/JKAnderson/Yabber Yabber] | ||
<br/><br> | <br/><br> | ||
| Line 82: | Line 85: | ||
[[Category:Complete Almost Done|From Software TPF]] | [[Category:Complete Almost Done|From Software TPF]] | ||
[[Category:Platform | [[Category:Platform PS3|From Software TPF]] | ||
[[Category:Platform X360|From Software TPF]] | |||
[[Category:CE None|From Software TPF]] | [[Category:CE None|From Software TPF]] | ||
[[Category:Format_Archive | Type: Archive]] | [[Category:Format_Archive | Type: Archive]] | ||
Latest revision as of 18:33, 3 November 2022
Back to index | Edit this page
TPF
- Format Type : Archive / Textures
- Endian Order : Big Endian
- Signature : TPF
Format Specifications
// TPF file format
// 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 // 0 - DXT1
// 1 - DXT1
// 5 - DXT5
3 bytes - unknown
2 bytes (uint16) - image width
2 bytes (uint16) - image height
4 bytes - unknown
4 bytes (uint32) - texture name offset // can be unused in older games
4 bytes - unknown
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 (PS3 / X360) (*.TPF)
- Dark Souls
- Demon Souls
- Elden Ring
QuickBMS Script
Compatible Programs
- BinderTool
- Noesis + fmt_ACV_TPF_xbox360 / fmt_DemonSouls_TPF
- Yabber