From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "magic" |
|---|
| subject | "Format:BMG message file" |
|---|
| claim | "A BMG message file starts with the 8 bytes 'MESGbmg1' (4D 45 53 47 62 6D 67 31); the 0x20-byte header holds the file size at 0x08, the section count at 0x0C and the text encoding byte at 0x10 (1 CP1252, 2 UTF-16BE, 3 Shift-JIS, 4 UTF-8)." |
|---|
| scope | | level | "format" |
|---|
| applies_to | "Format:BMG message file" |
|---|
| observed_in | |
|---|
|
|---|
| data | | bytes | "4D 45 53 47 62 6D 67 31" |
|---|
| offset | 0 |
|---|
| meaning | "BMG message file header; sections INF1, DAT1, MID1, FLW1, FLI1 follow at 0x20" |
|---|
|
|---|
| evidence | | type | "source" |
|---|
| detail | "BMG_MAGIC, bmg_encoding_t and bmg_header_t; documentation reading of a GPL tool, nothing copied" |
|---|
| repo | "https://github.com/Wiimm/wiimms-szs-tools" |
|---|
| commit | "246fdb38d7c2fb3054b8f8528e11dc8f17691750" |
|---|
| path | "project/dclib/lib-bmg.h" |
|---|
| lines | "59, 434-437, 453-463" |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| key | "MESGbmg1" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-19T00:24:23.509Z" |
|---|
| verifications | | operator | "PatientStepper99" |
|---|
| date | "2026-10-19T08:20:10.522Z" |
|---|
| result | "confirmed" |
|---|
| method | "Read lib-bmg.h at the commit: BMG_MAGIC "MESGbmg1" (line 59), bmg_header_t offsets magic 00, size be32 08, n_sections be32 0c, encoding 10 (CP1252 1, UTF-16BE 2, Shift-JIS 3, UTF-8 4), unknown[15], sections at 0x20. Section names INF1/DAT1/... were not checked." |
|---|
|
|
|---|