Nintendo Badge Arcade/MSBT

From 3dbrew
< Nintendo Badge Arcade
Revision as of 06:15, 25 January 2023 by Light (talk | contribs) (Update Action ID => Animation ID)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Nintendo Badge Arcade uses MSBT files for Badge Bunny's dialog and animations

This page will only cover MSBT control tags specific to Nintendo Badge Arcade. For more details on MSBT files in general, refer to https://github.com/kinnay/Nintendo-File-Formats/wiki/MSBT-File-Format and https://mk8.tockdom.com/wiki/MSBT_(File_Format)

Location[edit]

Nintendo Badge Arcade's MSBT files are loaded using BOSS. A large SARC archive file is downloaded which holds all the games data. Inside this SARC file, the MSBT files are stored in /message/boss_REGION/LANG/slotID

Format[edit]

MSBT control tags have the following format

Offset Size Description
0x0 0x2 Magic. Always 0E00.
0x2 0x2 Tag group ID
0x4 0x2 Tag ID
0x6 0x2 Data size
0x8 Data size Data

Tag Groups[edit]

Nintendo Badge Arcade uses the following known tag groups:

Tag group ID Description
2 Badge Bunny (?)

Tags[edit]

The following is an incomplete list of the tag groups tags, with names describing each tag type

Badge Bunny (?)[edit]

Tag group ID 2

Tag ID Name Data format
0x0 Play Action Action ID. See below for details

Badge Bunny Actions[edit]

The following is an incomplete list of the action datas, with names describing each, and a preview of their animations. They are in no particular order.

Action ID Name Preview
121414CD Flames https://i.imgur.com/XJOXecm.gif
111313CD Pounce https://i.imgur.com/yF5kIhz.gif
00302ECD Shocked https://i.imgur.com/yUopyml.gif
003432CD Disappointed https://i.imgur.com/Gg71ww3.gif
030505CD Shake My Hand https://i.imgur.com/0koci1z.gif
181F1FCD Chop Explain https://i.imgur.com/usfbqcq.gif
002020CD Laugh (Small) https://i.imgur.com/eLgzpfm.gif
192121CD Laugh (Slapping) https://i.imgur.com/YR47psp.gif
002828CD Head Shake https://i.imgur.com/OUbeKS5.gif
1D2727CD Clap Explain https://i.imgur.com/tCnWOdJ.gif
020404CD Awkward https://i.imgur.com/jO6Mlfo.gif
003937CD Flushed https://i.imgur.com/ue2vopA.gif
001B1BCD Shimmer https://i.imgur.com/PotZ3LP.gif
000000CD Arms Crossed https://i.imgur.com/G7VYCsu.gif
001818CD Clapping https://i.imgur.com/fopecNR.gif
1E2A2ACD Right Hand Slap https://i.imgur.com/fnICcPG.gif
171D1DCD Music Note Burst https://i.imgur.com/QXchrzO.gif

Recommended Color Values[edit]

These values are recommended for text coloration, as it is what official text is colored as. These are not restrictions

Format is RGBA. Alpha is ignored by Nintendo Badge Arcade and is always set to FF

Color Value Note
Red FF0000FF Used for general highlighting,
and game names in the Miiverse Gallery.
Green 009B00FF Rarely used, but mainly for the Miiverse Gallery.
Blue 0000FFFF Usually used for character names,
and themes in the Miiverse Gallery.

Examples[edit]

Below are raw hex blocks of example messages, and what they appear as.

Color Example[edit]

Color Example

4E 00 6F 00 72 00 6D 00 61 00 6C 00 20 00 0E 00 
00 00 03 00 04 00 FF 00 00 FF 52 00 65 00 64 00 
20 00 0E 00 00 00 03 00 04 00 00 9B 00 FF 47 00 
72 00 65 00 65 00 6E 00 20 00 0E 00 00 00 03 00 
04 00 00 00 FF FF 42 00 6C 00 75 00 65 00 00 00

Font Scale Example[edit]

FS Example

44 00 65 00 66 00 61 00 75 00 6C 00 74 00 20 00 
0E 00 00 00 02 00 02 00 74 00 53 00 69 00 7A 00 
65 00 20 00 37 00 34 00 20 00 0E 00 00 00 02 00 
02 00 54 00 53 00 69 00 7A 00 65 00 20 00 35 00 
34 00 20 00 0E 00 00 00 02 00 02 00 34 00 53 00 
69 00 7A 00 65 00 20 00 33 00 34 00 00 00