Skip to content

MSBT File Format

Yannik Marchand edited this page Sep 20, 2020 · 19 revisions

LMS > Overview > Message File (MSBT)

This file is identified by the magic number MsgStdBn. It contains text strings that are looked up by label.

Type Description
LBL1 Message labels
TXT2 Message strings
ATR1 Attributes
TSY1 Text style

LBL1 Block

This block contains labels for the TXT2, ATR1 and TSY1 blocks.

TXT2 Block

This block contains the actual text strings.

Offset Size Description
0x0 4 Number of messages
0x4 4 per message Offsets to message strings
Null-terminated message strings

ATR1 Block

This block contains attributes for each message. The format of the attributes is game-specific. Depending on the game, the attributes may contain offsets to strings that are stored behind the attribute table.

Offset Size Description
0x0 4 Number of attributes
0x4 4 Bytes per attribute
0x8 Attributes
Strings

TSY1 Block

Offset Size Description
0x0 4 per message Style index in MSBP file
Clone this wiki locally