Persona 3 and 4/BMD (File Format): Difference between revisions

From Data Crystal
Jump to navigation Jump to search
No edit summary
No edit summary
Line 9: Line 9:
|-
|-
| <font color="blue">0x00</font>
| <font color="blue">0x00</font>
| 1 bytes
| 1 byte
| Probably an identifier, always 0x7
| Chunk ID
|-
|-
| <font color="blue">0x04</font>
| <font color="blue">0x04</font>
Line 33: Line 33:
|-
|-
| <font color="blue">0x18</font>
| <font color="blue">0x18</font>
| 1 bytes
| 1 byte
| Amount of entries
| Amount of entries
|-
| <font color="blue">0x1c</font>
| 4 bytes
| 20000
|}
|}


After the header, there is a table with each entry being 2 bytes.
After the header, there is a table with each entry being 2 bytes.
 
{| class="wikitable"
First byte is the size of the text and last byte is the identifier.
|-
! Offset
! Size
! Description
|-
| <font color="blue">0x00</font>
| 1 byte
| Probably an identifier, always 0x7
|}

Revision as of 00:45, 9 April 2015

The BMD format contains text for Persona 3/4. The format is in Big Endian. This is some text!

Offset Size Description
0x00 1 byte Chunk ID
0x04 2 bytes Size of the file
0x08 4 bytes MSG1 Magic Identifier
0x0c 4 bytes Null
0x10 2 bytes End of text table
0x14 2 bytes Amount of offsets in offset table
0x18 1 byte Amount of entries
0x1c 4 bytes 20000

After the header, there is a table with each entry being 2 bytes.

Offset Size Description
0x00 1 byte Probably an identifier, always 0x7