Kuribo64 Wiki
Home | ForumsLogin

WIKI BACKUP

Back to listing

MSBF

Contents
1. File Header
2. FLW2 Section
3. FEN1 Section

MSBF files work along with MSBT files to create NPCs with multiple things said.

Each section is padded to 16 bytes with 0xAB.

1. File Header


Offset Size Description
0x00 8 "MsgFlwBn"
0x08 2 Byte order, 0xFEFF = Big Endian
0x0A 2 Unknown, always 0
0x0C 2 Unknown, always 0x0003
0x0E 2 Unknown, always 2 (could be number of sections)
0x10 2 Unknown, always 0
0x12 4 File size
0x16 10 Unknown, 5 shorts, all always 0

2. FLW2 Section


The FLW2 section contains flow entry data. The header is as follows:

Offset Size Description
0x00 4 "FLW2"
0x04 4 Section size minus the header (0x10) and end padding
0x08 8 Unknown, always 0x0

Then there is data for entry count:
Offset Size Description
0x00 2 Number of flow entries
0x02 2 Number of ??? - each is 2 bytes long and comes after the flow entries
0x04 4 Padding ???

Afterwards is the actual flow entries. Each is 0xC in length, and seems to be composed of 5 shorts.

3. FEN1 Section


This is an odd section, there's one more entry for each string then there are flows (IE if there's only one flow, then there's 2 entries, 2 would have 3 entries, etc). The header is as follows:

Offset Size Description
0x00 4 "FEN1"
0x04 4 Section size minus the header (0x10) and end padding
0x08 8 Unknown, always 0x0

Afterwards is 4 bytes for the number of entries and then the actual entries. Each entry is 0x08 in length and consists of 2 longs - the flow number (?) and then the offset (minus the header) to each string.
After the entries is the actual strings. Before each string is a byte for how long the string is (IE Kinopio004 is 0xA bytes long).

Page rendered in 0.016 seconds. (2048KB of memory used)
MySQL - queries: 17, rows: 65/65, time: 0.014 seconds.