UPDATE: BMSC is for sure for RGBA colors in UTF-8, while BMSS is message source/script/style(s)(?), BMSM is unknown but most likely Message.
Code: Select all
2bytes: String + value count (Little Endian, header)
2bytes: 00
1byte: 06 for BMSM files, 05 for BMSC files or 0d for BMSS files
3bytes: 00
?bytes: Text ID, Color name
?-?bytes: 00, appears to be 4 bytes on BMSC/BMSS files
BMSM specific:
2bytes: FFFE (text string start identifier)
?bytes: Text (UTF-16, may be wrong about other data, symbols are supported)
1byte: 00 (end of Text)
?bytes: Padding(?), appears to be 00000000??0000??00000000??????
1byte: End of message data