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

From Data Crystal
Jump to navigation Jump to search
Line 19: Line 19:
 
| MSG1 Magic Identifier
 
| MSG1 Magic Identifier
 
|-
 
|-
| 0x08
+
| 0x0c
 +
| 4 bytes
 +
| Null
 +
|-
 +
| 0x10
 
| 2 bytes
 
| 2 bytes
| End of Text Table
+
| End of text table
 +
|-
 +
| 0x14
 +
| 2 bytes
 +
| Amount of offsets in offset table
 
|-
 
|-
 
| 0x18
 
| 0x18

Revision as of 19:26, 8 April 2015

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

Offset Size Description
0x00 1 bytes Probably an identifier, always 0x7
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 bytes Amount of entries

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

First byte is the size of the text and last byte is the identifier.