Template:NX User Data

From Wexos's Wiki
Jump to navigationJump to search

User data is a common structure used in many Nintendo formats such as BFRES and BNTX. It allows game designers to store generic data into different files, in order to be used by the game. The data can be used for anything, and is not used by the actual data parser. Each entry has the following structure:

Offset Type Description
0x00 Int64 Name offset. Points to the name of this user data entry.
0x08 Int64 Data offset. Points to the actual data. What the data actually is depends on the data type.
0x10 Int32 Number of data entries.
0x14 Byte Data type.
Value Data Type
0x00 Int32
0x01 Float
0x02 String
0x03 Byte
0x15 Byte[43] Reserved.

</noinclud File Formats]]