IcySon55 / Kuriimu

A general purpose game translation toolkit for authors of fan translations.
GNU General Public License v3.0
335 stars 50 forks source link

.mbm file in Sekaiju no Meikyuu X not loading in Kuriimu #502

Open viocar opened 6 years ago

viocar commented 6 years ago

Issue: bug report Console: Nintendo 3DS Format extension(s): .mbm Type: text Game Name: Sekaiju no Meikyuu X

First 8 bytes of the file(s): 00 00 00 00 4D 53 47 32

More details: MBM files from Sekaiju no Meikyuu X fail to load in Kuriimu with the following error:

https://cdn.discordapp.com/attachments/269221102029504512/474296581806358559/unknown.png

Sample files (if possible): http://ge.tt/5dBPlrq2 - skillexpbattle.mbm from SQX

viocar commented 6 years ago

This can be fixed by changing the code at L54-L60 of mbm.cs to the code at the end of the post. However, doing so will break MBM support for pretty much every other game, so there needs to be a way to separate MBM versions.


            while (count <= header.entryCount)
                {
                    var entry = br.ReadStruct<MBMEntry>();
                    entries.Add(entry);
                    count++;
                }