MSBT: Difference between revisions
(more shtuff) |
(picturefont icons) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 20: | Line 20: | ||
|n0.2 | |n0.2 | ||
|Font Resizer | |Font Resizer | ||
|(int16) Font size | | colspan="2" |(int16) Font size | ||
| | | colspan="2" | | ||
| | |||
|- | |- | ||
|n0.3 | |n0.3 | ||
Line 81: | Line 79: | ||
0xFF = Reset | 0xFF = Reset | ||
| | | colspan="2" | | ||
| | |||
|- | |- | ||
|n0.4 | |n0.4 | ||
| | |Dialog Sequence Divider (Only works in dialog boxes) | ||
| | | colspan="4" | | ||
| | |- | ||
| | |n1.0 | ||
| | |Unknown (Possibly dialog text cooldown) | ||
|(?) = most commonly changed | |||
|(?) | |||
|(?) | |||
|(?) | |||
|- | |- | ||
|n1.4 | |n1.4 | ||
|Icons | |PictureFont.bffnt Icons | ||
|(int8) Icon | |(int8) Icon Index | ||
0x00 = | 0x00 = 1-UP | ||
0x01 = Wonder Seed (Blue) | 0x01 = Wonder Seed (Blue) | ||
Line 109: | Line 110: | ||
0x07 = Wonder Seed (Purple) | 0x07 = Wonder Seed (Purple) | ||
0x08 = Wonder Seed (Orange) [Duplicate] | |||
0x09 = Wonder Seed (White) | |||
0x0A = Purple Coin | 0x0A = Purple Coin | ||
Line 115: | Line 120: | ||
0x0C = Medal | 0x0C = Medal | ||
0x0D = Royal Seed (Blue) | |||
0x0E = Royal Seed (Cyan) | |||
0x0F = Royal Seed (Red) | |||
0x10 = Royal Seed (Yellow) | |||
0x11 = Royal Seed (Green) | |||
0x12 = Royal Seed (Purple) | |||
0x13 = Castle Bowser | |||
0x14 = Bowser Jr. | |||
0x15 = Difficulty Star (Yellow) | 0x15 = Difficulty Star (Yellow) | ||
0x16 = Wonder Flower Coin | |||
0x17 = Player Crown | |||
0x18 = Wonder Flower | |||
|0xCD (?) | |||
| colspan="2" | | |||
|- | |||
|n5.1 | |||
|Unknown | |||
|(?) | |||
|0xCD (?) | |||
| colspan="2" | | |||
|- | |||
|n5.2 | |||
|Unknown | |||
|(?) | |||
|0xCD (?) | |0xCD (?) | ||
| | | colspan="2" | | ||
| | |||
|- | |- | ||
|n10.4 | |n10.4 | ||
|Course name related (?) | |Course name related (?) | ||
| | | colspan="4" | | ||
| | |||
|- | |- | ||
|n10.5 | |n10.5 | ||
|Badge related (?) | |Badge related (?) | ||
| | | colspan="4" | | ||
| | |||
|- | |- | ||
|n10.7 | |n10.7 | ||
Line 146: | Line 178: | ||
|(int8) ID (?) | |(int8) ID (?) | ||
|0xCD (?) | |0xCD (?) | ||
| | | colspan="2" | | ||
| | |||
|- | |- | ||
|n10.14 | |n10.14 | ||
Line 190: | Line 221: | ||
0x12 = Up-Left Arrow | 0x12 = Up-Left Arrow | ||
|0xCD (?) | |0xCD (?) | ||
| | | colspan="2" | | ||
| | |||
|- | |- | ||
|n10.15 | |n10.15 | ||
Line 212: | Line 242: | ||
Although Nintendo uses the value 0xCD consistently | Although Nintendo uses the value 0xCD consistently | ||
| | | colspan="2" | | ||
| | |||
|- | |- | ||
|n10.23 | |n10.23 | ||
|"AppearFlowerRordPropeller" (?) | |"AppearFlowerRordPropeller" (?) Inserts the string "Congratulations!" | ||
| | | colspan="4" | | ||
| | |||
|- | |- | ||
|n10.24 | |n10.24 | ||
Line 244: | Line 270: | ||
0x02 = Same as 0x01 (?) | 0x02 = Same as 0x01 (?) | ||
| | | colspan="2" | | ||
| | |||
|} | |} |
Latest revision as of 07:08, 4 November 2023
The MSBT (Message Studio Binary Text) file format holds text entries for the game with some optional metadata tags mixed in.
This is a common format in many Nintendo games, and has not changed in Wonder, as such documentation on the format can be found in existing documentation such as the Mario Kart 8 Wiki MSBT page.
Tags[edit | edit source]
MSBT supports the insertion of arbitrary special "tags" in the middle of text entries, while such tags have a generic standard format which doesn't change and is parseable by any MSBT tool, the *meaning* attributed to such tags is game-specific. The below table aims to document the game-specific behavior of Wonder's MSBT tags.
VERY WIP!!! Yes this table is a mess right now it will be tidied up whenever just leave it be its just an info dump for now.
- Each Arg is 1 byte.
Tag | Description | Arg 1 | Arg 2 | Arg 3 | Arg 4 |
---|---|---|---|---|---|
n0.2 | Font Resizer | (int16) Font size | |||
n0.3 | Color Formatter | (int8) Color ID
0x00 = Blue 0x01 = Purple 0x02 = Gray 0x03 = Yellow 0x04 = Mario Red 0x05 = Luigi Green 0x06 = Peach Pink 0x07 = Daisy Orange 0x08 = Toad Yellow 0x09 = Toad Blue 0x0A = Toadette Pink 0x0B = Nabbit Purple 0x0C = Yoshi Green 0x0D = Yoshi Red 0x0E = Yoshi Yellow 0x0F = Yoshi Light Blue 0x10 = Aqua 0x11 = Light Yellow 0x12 = Yellow (again?)* 0x13 = Light Purple 0x14+ = Defaults back to Blue (0x00) 0xFF = Reset * Nintendo uses both |
(?)
0x00 = Change Color 0x01 = Vertical Spacing (?) + Arg 1 seems to have no effect with this 0x02+ = Nothing (?) + Arg 1 seems to have no effect 0xFF = Reset |
||
n0.4 | Dialog Sequence Divider (Only works in dialog boxes) | ||||
n1.0 | Unknown (Possibly dialog text cooldown) | (?) = most commonly changed | (?) | (?) | (?) |
n1.4 | PictureFont.bffnt Icons | (int8) Icon Index
0x00 = 1-UP 0x01 = Wonder Seed (Blue) 0x02 = Wonder Seed (Orange) 0x03 = Wonder Seed (Cyan) 0x04 = Wonder Seed (Red) 0x05 = Wonder Seed (Yellow) 0x06 = Wonder Seed (Green) 0x07 = Wonder Seed (Purple) 0x08 = Wonder Seed (Orange) [Duplicate] 0x09 = Wonder Seed (White) 0x0A = Purple Coin 0x0B = Golden Goalpole Flag 0x0C = Medal 0x0D = Royal Seed (Blue) 0x0E = Royal Seed (Cyan) 0x0F = Royal Seed (Red) 0x10 = Royal Seed (Yellow) 0x11 = Royal Seed (Green) 0x12 = Royal Seed (Purple) 0x13 = Castle Bowser 0x14 = Bowser Jr. 0x15 = Difficulty Star (Yellow) 0x16 = Wonder Flower Coin 0x17 = Player Crown 0x18 = Wonder Flower |
0xCD (?) | ||
n5.1 | Unknown | (?) | 0xCD (?) | ||
n5.2 | Unknown | (?) | 0xCD (?) | ||
n10.4 | Course name related (?) | ||||
n10.5 | Badge related (?) | ||||
n10.7 | Number Formatter | (int8) Padding amount | (int8) ID (?) | (bool) Padding enabled | (?) |
n10.13 | String Variable (?) | (int8) ID (?) | 0xCD (?) | ||
n10.14 | Arrows & Controller Button Icons | (int8) Icon ID
0x00 = Up Arrow 0x01 = Down Arrow 0x02 = Left Arrow 0x03 = Right Arrow 0x04 = A 0x05 = B 0x06 = X 0x07 = Y 0x08 = L 0x09 = R 0x0A = ZL 0x0B = ZR 0x0C = + 0x0D = - 0x0E = LStick 0x0F = Up-Right Arrow 0x10 = Down-Right Arrow 0x11 = Down-Left Arrow 0x12 = Up-Left Arrow |
0xCD (?) | ||
n10.15 | Mapped Controller Button Icons (?) | (int8) Icon ID
0x00 = B 0x01 = A 0x02 = X 0x03 = Y 0x04 = LStick/ZL 0x05 = Press R/Press ZR 0x06 = LStick/ZL (?) |
Doesn't seem to do anything (?)
Although Nintendo uses the value 0xCD consistently |
||
n10.23 | "AppearFlowerRordPropeller" (?) Inserts the string "Congratulations!" | ||||
n10.24 | Action-mapped Button Icons | (int8) Action ID
0x00 = Dash 0x01 = Jump 0x02 = Item 0x03 = Greet 0x04 = Ground Pound 0x05 = Right Triggers (?) 0x06 = Left Triggers (?) |
(int8) Controller Type
0x00 = Vertical Joycons (VLR) 0x01 = Horizontal Joycon (HLR) 0x02 = Same as 0x01 (?) |