Welcome to Data Crystal's new home! Data Crystal is now part of the TCRF family (sort of).
The wiki has recently moved; please report any issues in Discord. Pardon the dust.

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 8: Line 8:
|-
|-
| 0x00
| 0x00
| Char
| 1 bytes
| Probably an identifier, always 0x7
| Probably an identifier, always 0x7
|-
|-
| 0x04
| 0x04
| Word
| 2 bytes
| Size of the file
| Size of the file
|-
|-
| 0x08
| 0x08
| Dword
| 4 bytes
| MSG1 Magic Identifier
| MSG1 Magic Identifier
|-
| 0x08
| 2 bytes
| End of Text Table
|-
|-
| 0x18
| 0x18
| Char
| 1 bytes
| Amount of entries
| Amount of entries
|}
|}

Revision as of 00:18, 9 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
0x08 2 bytes End of Text 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.