XNA Game Studio 4.0 XNB: Difference between revisions
Jump to navigation
Jump to search
imported>Ikskoks (→Games) |
imported>Ikskoks |
||
| Line 68: | Line 68: | ||
* [https://github.com/Inari-Whitebear/SimpleXNBDemapper SimpleXNBDemapper] | * [https://github.com/Inari-Whitebear/SimpleXNBDemapper SimpleXNBDemapper] | ||
* [https://github.com/TimothyCates/XNB_Kit XNB Kit] | * [https://github.com/TimothyCates/XNB_Kit XNB Kit] | ||
* [https://drive.google.com/file/d/12WsIpXc26jMe4-6O2gDyI9IOz7tEW3_T/view?usp=sharing xnbdec] | |||
<br/><br> | <br/><br> | ||
Revision as of 14:31, 23 May 2021
Back to index | Edit this page
XNB
- Format Type : Archive
- Endian Order : Little Endian
Format Specifications
// XNB file format
3 bytes (char) - signature // "XNB"
1 byte (char) - target platform // "w" - Microsoft Windows
// "m" - Windows Phone 7
// "x" - XBOX 360
1 byte (uint8) - XNB format version // 5 = XNA Game Studio 4.0
1 byte (uint8) - flags // bit 0x01 - content is for HiDef profile (otherwise Reach)
// bit 0x80 - asset data is compressed
4 bytes (uint32) - compressed file size
4 bytes (uint32) - uncompressed file size
// Note: If the file is compressed (flag bit 0x80 is set), data from this point on
// is packed using the Xbox XMemCompress API
7BitEncodedInt - type reader count
type_reader_count *
{
x bytes (char) - type reader name
4 bytes (int32) - reader version number
}
7BitEncodedInt - shared resource count
x bytes - primary asset data
shared_resource_count *
{
x bytes - shared resource data
}
MultiEx BMS Script
Not written yet.
QuickBMS Script
Notes and Comments
None.
Games
List of games using this file format:
- Plants vs zombies (for Windows Phone 7)
- Many more...
Compatible Programs