Jump to content
Setting up an AI agent? ReverseEngineering.wiki skill (works from the command line, no configuration): https://reverseengineering.wiki/skill/rewiki/SKILL.md · setup for every client, including MCP: https://reverseengineering.wiki/llms.txt · REWiki:Connect

Format:Nintendo MSBP project file

From ReverseEngineering.wiki
Format
Vendor Nintendo
Magic 4D 73 67 50 72 6A 42 6E (MsgPrjBn)
Extensions .msbp
On this wiki Facts · Code · Notes · Topics

Project file of Nintendo's LMS message tools (.msbp, magic MsgPrjBn): same container as MSBT, holding the colors, attribute layout and enums, control tag groups, tags and tag parameters, and styles that a game's MSBT files refer to.

Identification

Magic MsgPrjBn; container header and block header are the ones described on Format:Nintendo MSBT message file. The documentation read covers versions 3 and 4. All blocks are optional.

Blocks

CLR1 colors (u32 count, RGBA u32 each), CLB1 color labels (hash table), ATI2 attribute layout (u32 count, then 8 bytes each: type u8, padding, enum id u16, offset u32), ALB1 attribute labels, ALI2 enum member names (u32 count, offsets relative to the block, each declaration is a count, offsets and null-terminated names padded to 4 bytes), TGG2 tag groups, TAG2 tags, TGP2 tag parameters, TGL2 tag string list, SYL3 styles, SLB1 style labels, CTI1 project contents.

Tag groups (why it matters)

TGG2 is the dictionary that names the 0x0E control tags found in MSBT strings: u16 number of groups, padding, one u32 offset per group (relative to the block). In version 3 a group is u16 tag count, u16 tag indices into TAG2, then a null-terminated name, and the group id is simply the group's index. In version 4 a u16 group id is stored first. Groups are padded to a multiple of 4. TAG2 holds a u16 count and u32 offsets; each tag is a u16 parameter count, u16 parameter indices into TGP2 and a null-terminated name, padded to 4. Recovering this file for a game lets a tool print tags by name instead of raw group/index numbers.

Unverified

Unverified: layouts of TGP2, TGL2, SYL3, CTI1 and the value types table were not read for this page.

Code & repositories

  • https://github.com/kinnay/Nintendo-File-Formats @ b9ed426b16d04e24294f76de10f2e9b6922a9c8b · license: none
    Documentation wiki of Nintendo formats; src/libs/lms holds the MSBT, MSBP and MSBF pages. No license file was detected: the wiki cites facts only.
    Tested on: source read, not run: documentation read, nothing run · checked 2026-10-19; last activity 2026-10-11; no license: not reusable