[Release] msbt editor

Discussion in '3DS - ROM Hacking, Translations and Utilities' started by exelix11, Oct 29, 2015.

  1. exelix11
    OP

    exelix11 GBAtemp Advanced Fan

    Member
    539
    378
    Feb 25, 2015
    Italy
    C:\users\exelix11\
    UPDATE: icySon made a better msbt editor, you can find it here

    Hi, i was trying to do some edits to the super mario 3d land rom, and i found the text resources in a ,msbt format, as i saw this format is used also in the system settings app, and the eshop, also i saw somewhere that they are used in LoZ triforce heroes too (which i didn't test with this application).
    So i made this simple app that can edit those files.

    [​IMG]

    Changes in v0.3:
    -Now msbt files without names are supported
    -Values shown in hex instead of decimal
    Changes in the v0.2:
    -Showing string names
    -New lines are supported
    -Showing the byte data of the string (read only)
    -Support for drag and drop
    -Support for command line args (like setting this app as the default one for msbt files)
    -The strings are alphabetically sorted
    -Some other minor things

    This can't create msbt files from scratch because those contains data about where that string appears in game.
    Also i included an LZ11 (De)compressor, because i found some .lz files in the eshop rom that were compressed, so it can be useful.

    Github: here (it's name is 3DLandMSBTeditor because it was originally meant to edit the MSBT files inside 3d land)

    Enjoy
     

    Attached Files:

    Last edited by exelix11, Feb 3, 2016


  2. xXDungeon_CrawlerXx

    xXDungeon_CrawlerXx GBAtemp Maniac

    Member
    1,164
    508
    Jul 29, 2015
    Liverpool
    Awesome! Thank you <3
     
    Hiccup likes this.
  3. hippy dave

    hippy dave Butts Butts Megabutts

    Member
    2,570
    1,791
    Apr 30, 2012
    Great, thanks.
     
  4. I pwned U!

    I pwned U! GBAtemp Advanced Fan

    Member
    833
    1,116
    Jun 14, 2013
    United States
    Thank you! Now I no longer have to use a hex editor and press the right arrow key after typing each character!

    By the way this is useful for all Nintendo titles from the past 5 years, not just SM3DL, LoZ TFH, the System Settings, and the eShop. SMG 2 and LoZ SS also use this format, and so do all of Nintendo's 3DS and Wii U titles.

    Also, have you tried analyzing similarly named formats?

    LoZ SS also had some MSBF files and a decrypted NSMBU update had a MSBP file in it.
     
    Last edited by I pwned U!, Oct 29, 2015
  5. exelix11
    OP

    exelix11 GBAtemp Advanced Fan

    Member
    539
    378
    Feb 25, 2015
    Italy
    C:\users\exelix11\
    Smg2 format is different than this, there was already an editor for that but it doesn't work on 3d land files
    And I don't have roms of those games
     
    I pwned U! and Hiccup like this.
  6. Hiccup

    Hiccup GBAtemp Advanced Fan

    Member
    901
    270
    Nov 21, 2009
    Thanks a lot!

    BTW: Do you know why windows defender (not malwarebytes or virustotal so far though) thinks this is malware?
     
    Last edited by Hiccup, Oct 29, 2015
  7. exelix11
    OP

    exelix11 GBAtemp Advanced Fan

    Member
    539
    378
    Feb 25, 2015
    Italy
    C:\users\exelix11\
    I don't know, i use eset, maybe it just says that it's not common and MAY be a virus
     
  8. Hiccup

    Hiccup GBAtemp Advanced Fan

    Member
    901
    270
    Nov 21, 2009
    It hasn't appeared in any of the virus total scans. So nvm :P

    I've added a little issue to github by the way. Nothing serious.
     
  9. Hiccup

    Hiccup GBAtemp Advanced Fan

    Member
    901
    270
    Nov 21, 2009
    Could you add support for message/string names? NWPlayer123's (Nikki's) editor has support for this, so maybe you could ask her for the source.
     
  10. exelix11
    OP

    exelix11 GBAtemp Advanced Fan

    Member
    539
    378
    Feb 25, 2015
    Italy
    C:\users\exelix11\
    Editing string names will make the game not showing the strings
    Edit: just checked, it doesn't edit names, just shows them i could add this
     
    Last edited by exelix11, Oct 30, 2015
    Hiccup likes this.
  11. Hiccup

    Hiccup GBAtemp Advanced Fan

    Member
    901
    270
    Nov 21, 2009
    Thanks. Could you also make it so instead of displaying nothing, which could be interpreted as an error, it can tell you when a string has no text? Also could it tell you when a string doesn't have a name and tell you if there are not strings?
     
    Last edited by Hiccup, Oct 30, 2015
  12. exelix11
    OP

    exelix11 GBAtemp Advanced Fan

    Member
    539
    378
    Feb 25, 2015
    Italy
    C:\users\exelix11\
    I think i can, now i'm busy, when i'll have time i'll had these things
     
    Hiccup likes this.
  13. exelix11
    OP

    exelix11 GBAtemp Advanced Fan

    Member
    539
    378
    Feb 25, 2015
    Italy
    C:\users\exelix11\
    Updated to v0.2 !
    Check the first post
     
    I pwned U! likes this.
  14. Reserved

    Reserved GBAtemp Regular

    Member
    213
    68
    Mar 14, 2015
    United States
    Could you add support for the .umsbt files that Animal Crossing uses?
     
  15. exelix11
    OP

    exelix11 GBAtemp Advanced Fan

    Member
    539
    378
    Feb 25, 2015
    Italy
    C:\users\exelix11\
    Not sure about what kind of files they are, i don't have animal crossing, if you PM me some of those files (at least 2 or 3) when i'll have time i'll look into them, if the format is similar i might add support for them,have you tried opening them with this program ?
     
    I pwned U! likes this.
  16. Shrinefox

    Shrinefox GBAtemp Regular

    Member
    113
    56
    Sep 5, 2013
    United States
    Here's a couple samples... (1) (2)
    They're "umsbt" so it seems reasonable to assume they're related to msbt. The editor can't open them
     
  17. ringo1206

    ringo1206 Banned

    Banned
    173
    110
    Oct 14, 2015
    United States
    Can't seem to find any MSBT in the Sys Settings App...... Any Help?
     
  18. Reserved

    Reserved GBAtemp Regular

    Member
    213
    68
    Mar 14, 2015
    United States
    Well, the editor can open them. It doesn't crash or anything. It's just that they're garbled music notes.
     
  19. schrmh

    schrmh Member

    Newcomer
    23
    3
    Jun 5, 2015
    Gambia, The
    Use BatchLZ77 to decompress message_EU_LZ.bin *, open it with EveryFileExplorer and export hud.msbt and mset.msbt files.
    (* I don't know the US name of this file)

    It's no problem to edit those files, but injecting them back is a problem for me (tried it with DARCTool; Maybe it does not work because there are many msbt files with the same name)
    Does anybody know how to inject hud.msbt and mset.msbt back to e.g. the EU_German folders in message_EU_LZ.bin?
     
    Last edited by schrmh, Nov 5, 2015
  20. DarkFlare69

    DarkFlare69 GBAtemp Psycho!

    Member
    4,626
    2,460
    Dec 8, 2014
    United States
    Ohio
    Why can't MSBT files be hex edited? When hex editing one, it doesn't work properly.