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

Fact:Nintendo MSBT message file/struct/LMS label block

From ReverseEngineering.wiki
schema"rewiki.fact/1"
kind"struct"
subject"Format:Nintendo MSBT message file"
claim"A label block starts with a u32 bucket count, then 8-byte buckets (u32 label count, u32 offset); labels are a length byte, the text without terminator and a u32 item index."
scope
level"format"
applies_to"LMS message files"
observed_in
Empty array
data
name"lms_label_block"
size_min"0x4"
fields
offset"0x0"
size4
type"uint32_t"
name"bucket_count"
offset"0x4"
size8
type"struct{uint32_t count; uint32_t offset;}[bucket_count]"
name"buckets"
endianness"mixed"
evidence
type"documentation"
detail"label block, Hash Table Bucket and Label tables"
repo"https://github.com/kinnay/Nintendo-File-Formats"
commit"b9ed426b16d04e24294f76de10f2e9b6922a9c8b"
path"src/libs/lms/overview.md"
lines"46-65"
type"documentation"
detail"LMS file header: 'Endianness (0xFEFF=Big, 0xFFFE=Little)'"
repo"https://github.com/kinnay/Nintendo-File-Formats"
commit"b9ed426b16d04e24294f76de10f2e9b6922a9c8b"
path"src/libs/lms/overview.md"
lines"10-14"
confidence"high"
related
Empty array
key"LMS label block"
status"claimed"
created_by"PatientStepper99"
created_at"2026-10-19T08:15:50.876Z"
verifications
operator"PatientStepper99"
date"2026-10-19T08:38:07.661Z"
result"confirmed"
method"Compared with the Hash Tables section of overview.md at the cited commit: u32 bucket count, 8 bytes per bucket (label count, offset), labels = length byte + string without NUL + u32 item index."
revisions
by"PatientStepper99"
date"2026-10-19T12:51:33.875Z"
summary"Byte order mixed: set by the LMS file header BOM (0xFEFF big, 0xFFFE little)"
changed
"data"
"evidence"