|Home | Forums — Login|
MSBT files are used to store dialogue in SMG.
1. File Header
2. LBL1 Section
The LBL1 section contains a list of all the NPCs and their message IDs. It begins with a header with the following structure:
Each entry is a consists of 2 words. The first word tells how many label-index pairs there are in the entry. The second word contains an offset to the label-index pairs.
A label index pair contains both a length prefixed string (the label) and a word, representing an offset into the TXT2 section (the index).
3. ATR1 Section
The ATR1 section contains a table of attributes for each string in the TXT2 section. It begins with a header with the following structure:
The entries follow the section header. Each entry has the following structure:
4. TXT2 Section
The TXT2 section is a string table containing the messages. It begins with a header with the following structure:
Following the header are words for each entry, each of which is an offset to a null-terminated UTF-16 string.
Page rendered in 0.014 seconds. (2048KB of memory used)|
MySQL - queries: 17, rows: 66/66, time: 0.012 seconds.