ROM Hack [Release] MSBT Editor Reloaded

jimmyleen

Well-Known Member
Member
Joined
Feb 28, 2016
Messages
1,171
Trophies
0
XP
704
Country
It would be nice to use this on games that will never be released outside of Japan, unfortunately I think something like that will take too long to implement.
 
Last edited by jimmyleen,

IcySon55

Leader of Fan Translators International
OP
Member
Joined
Mar 18, 2008
Messages
463
Trophies
1
Age
38
XP
2,261
Country
Canada
I mean - does Nintendo use it for MSBT?
No. They don't. I created the format as an intermediate format for use by translators. Translators do their work in the XMSBT files to make collaboration easy, and the final work is then imported back into the MSBT files for the game.
It would be nice to use this on games that will never be released outside of Japan, unfortunately I think something like that will take too long to implement.
Using XML directly in a game would be way too slow. MSBT files are optimized for speedy access to text data which reduces loading hiccups while a game is being played.
 
Last edited by IcySon55,

Zarklord

Well-Known Member
Member
Joined
May 13, 2016
Messages
194
Trophies
0
Age
25
XP
268
Country
United States
@IcySon55 can you make it where i could distribute a xmsbt file containing like 4 entries and have them get injected into the file
I tried this with the latest version and that didnt work.
 

IcySon55

Leader of Fan Translators International
OP
Member
Joined
Mar 18, 2008
Messages
463
Trophies
1
Age
38
XP
2,261
Country
Canada
@IcySon55 can you make it where i could distribute a xmsbt file containing like 4 entries and have them get injected into the file
I tried this with the latest version and that didnt work.
Are you sure it didn't work? I wrote the importer to only change labels that match. It doesn't add labels that don't exist if that's what you wanted it to do, at least not yet.
 

Zarklord

Well-Known Member
Member
Joined
May 13, 2016
Messages
194
Trophies
0
Age
25
XP
268
Country
United States
Are you sure it didn't work? I wrote the importer to only change labels that match. It doesn't add labels that don't exist if that's what you wanted it to do, at least not yet.
yes that is what i wanted it to do... shame i eagerly await that version
 

IcySon55

Leader of Fan Translators International
OP
Member
Joined
Mar 18, 2008
Messages
463
Trophies
1
Age
38
XP
2,261
Country
Canada
MSBT Editor Reloaded v0.9.4
  • Implemented batch import and export for XMSBT files.
  • Implemented label addition when using XMSBT import (batch included).
  • Rearranged the menu bar slightly.
  • Changed the shortcut keys because of adding more XMSBT tools.
  • Added some new icons for the XMSBT functions.
  • Fixed a bug with UMSBT extraction where the overwrite choice was being ignored.

yes that is what i wanted it to do... shame i eagerly await that version
You can now eagerly use this feature. As well as the added batch functionality.
 

Ichigo1000

Well-Known Member
Member
Joined
May 6, 2015
Messages
524
Trophies
0
XP
695
Country
United States
I am trying to edit my 3ds power off screen with this program. But when I try to open sleep.lz it gives me "file provided is not a valid MSBT file." How do i fix this?

I've edited the home menu successfully awhile back. Now I need to do it again due to the new update, but I forgot how to open the files on MSBT.
 

ih8ih8sn0w

Koreaboo
Member
Joined
Aug 22, 2015
Messages
1,677
Trophies
0
Age
25
Location
Hell
XP
898
Country
United States
I am trying to edit my 3ds power off screen with this program. But when I try to open sleep.lz it gives me "file provided is not a valid MSBT file." How do i fix this?

I've edited the home menu successfully awhile back. Now I need to do it again due to the new update, but I forgot how to open the files on MSBT.
You don't use this to edit the [something]_lz.bin, you just use this to decompress it, edit the contents, then compress it. If you want to edit the text, look for the .msbt file for your language.
 

IcySon55

Leader of Fan Translators International
OP
Member
Joined
Mar 18, 2008
Messages
463
Trophies
1
Age
38
XP
2,261
Country
Canada
I am trying to edit my 3ds power off screen with this program. But when I try to open sleep.lz it gives me "file provided is not a valid MSBT file." How do i fix this?

I've edited the home menu successfully awhile back. Now I need to do it again due to the new update, but I forgot how to open the files on MSBT.

The file appears to be compressed. Use Tools > LZ11 > Decompress on the file.

Then try opening it in the editor. If it still doesn't open, then the file is not an MSBT.

If it works, make your edits and save. Then compress the file again and be on your merry way.
 

Mikesahhh

Mikes
Newcomer
Joined
Nov 4, 2012
Messages
77
Trophies
0
Age
36
XP
1,073
Country
I used your msbt editor to edit my melee.msbt file to add a bunch of text on my smash 4 mod, which worked fine
but then when I come back to add some more changes later, I get this error msg when trying to load up the .msbt file
error_zpszpubho8v.jpg

The original melee.msbt file went from 192kb to 193KB dunno if that makes a difference
any ideas why?
 

IcySon55

Leader of Fan Translators International
OP
Member
Joined
Mar 18, 2008
Messages
463
Trophies
1
Age
38
XP
2,261
Country
Canada
@IcySon55: Cool Sent you the file, thanks for checking it out
I have no idea how ONE byte got corrupted in the file... but it did...

I've corrected it though and it appears to be working just fine. Check your PM box for the fixed version.

I also went over all of the code that deals with that specific byte and there seems to be nothing wrong at all. I even opened the fixed file and saved it as a new one, and they were identical...

Edit: I may have an idea... if you created the label with spaces in the name...then maybe this could have happened. Will test.

Edit 2: That was it! Bug located, patch incoming.
 
Last edited by IcySon55,

IcySon55

Leader of Fan Translators International
OP
Member
Joined
Mar 18, 2008
Messages
463
Trophies
1
Age
38
XP
2,261
Country
Canada
MSBT Editor Reloaded v0.9.5
  • Added links to the GBAtemp thread as well as the GitHub page.
  • Added new icons to support webpage links.
  • Allowed users to drag the splitters between UI elements.
  • Adjusted spacing between all UI elements to maximize screen real-estate.
  • Patched label addition where new labels created with spaces in their names would have an invalid length and cause a broken MSBT file to be saved.
  • Allowed other software to read (not write) the currently open MSBT file at the same time.
 

BoopBaDoop

New Member
Newbie
Joined
Sep 27, 2016
Messages
3
Trophies
0
Age
55
XP
51
Country
Australia
I can't decompress a msbt.lz file, it keeps givin the message: "The provided stream is not a valid LZ-0x11 compressed stream (invalid type 0x50).

NWPlayer123 tweeted something out that is supposed to help, but I just can't figure out what she means or which tool she's using, do you mind helping me?

Her tweet:
https://twitter.com/NWPlayer123/status/780515437570236416

"the .lz files are lz11/lz77, just decompress as standard lz11 at 0xC, there looks like two decompressed sizes and an lz13 wrapper before"
 

IcySon55

Leader of Fan Translators International
OP
Member
Joined
Mar 18, 2008
Messages
463
Trophies
1
Age
38
XP
2,261
Country
Canada
I can't decompress a msbt.lz file, it keeps givin the message: "The provided stream is not a valid LZ-0x11 compressed stream (invalid type 0x50).

NWPlayer123 tweeted something out that is supposed to help, but I just can't figure out what she means or which tool she's using, do you mind helping me?
I would like to, but I don't understand how the LZ11 De/Compression works. I only kept it from exelix11's editor.

I can guess at what NWPlayer is talking about but it doesn't help me help you.

Search this thread for LZ11 posts as I recall this came up before and there was a resolution.
 

BoopBaDoop

New Member
Newbie
Joined
Sep 27, 2016
Messages
3
Trophies
0
Age
55
XP
51
Country
Australia
Thanks for the quick response!

From what I've found someone actually had the same error-message, but after this the conversation stopped.
That "(invalid type 0x64)" means that the first byte of your file is 0x64 and not 0x11 that's how should be in a LZ11 file,probably your file is corrupted or it's not LZ11 compressed.

Well, that makes NWPlayer123s tweet even more confusing to me..
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • TwoSpikedHands @ TwoSpikedHands:
    yall im torn... ive been hacking away at tales of phantasia GBA (the USA version) and have so many documents of reverse engineering i've done
  • TwoSpikedHands @ TwoSpikedHands:
    I just found out that the EU version is better in literally every way, better sound quality, better lighting, and there's even a patch someone made to make the text look nicer
  • TwoSpikedHands @ TwoSpikedHands:
    Do I restart now using what i've learned on the EU version since it's a better overall experience? or do I continue with the US version since that is what ive been using, and if someone decides to play my hack, it would most likely be that version?
  • Sicklyboy @ Sicklyboy:
    @TwoSpikedHands, I'll preface this with the fact that I know nothing about the game, but, I think it depends on what your goals are. Are you trying to make a definitive version of the game? You may want to refocus your efforts on the EU version then. Or, are you trying to make a better US version? In which case, the only way to make a better US version is to keep on plugging away at that one ;)
  • Sicklyboy @ Sicklyboy:
    I'm not familiar with the technicalities of the differences between the two versions, but I'm wondering if at least some of those differences are things that you could port over to the US version in your patch without having to include copyrighted assets from the EU version
  • TwoSpikedHands @ TwoSpikedHands:
    @Sicklyboy I am wanting to fully change the game and bend it to my will lol. I would like to eventually have the ability to add more characters, enemies, even have a completely different story if i wanted. I already have the ability to change the tilemaps in the US version, so I can basically make my own map and warp to it in game - so I'm pretty far into it!
  • TwoSpikedHands @ TwoSpikedHands:
    I really would like to make a hack that I would enjoy playing, and maybe other people would too. swapping to the EU version would also mean my US friends could not legally play it
  • TwoSpikedHands @ TwoSpikedHands:
    I am definitely considering porting over some of the EU features without using the actual ROM itself, tbh that would probably be the best way to go about it... but i'm sad that the voice acting is so.... not good on the US version. May not be a way around that though
  • TwoSpikedHands @ TwoSpikedHands:
    I appreciate the insight!
  • The Real Jdbye @ The Real Jdbye:
    @TwoSpikedHands just switch, all the knowledge you learned still applies and most of the code and assets should be the same anyway
  • The Real Jdbye @ The Real Jdbye:
    and realistically they wouldn't

    be able to play it legally anyway since they need a ROM and they probably don't have the means to dump it themselves
  • The Real Jdbye @ The Real Jdbye:
    why the shit does the shitbox randomly insert newlines in my messages
  • Veho @ Veho:
    It does that when I edit a post.
  • Veho @ Veho:
    It inserts a newline in a random spot.
  • The Real Jdbye @ The Real Jdbye:
    never had that i don't think
  • Karma177 @ Karma177:
    do y'all think having an sd card that has a write speed of 700kb/s is a bad idea?
    trying to restore emunand rn but it's taking ages... (also when I finished the first time hekate decided to delete all my fucking files :wacko:)
  • The Real Jdbye @ The Real Jdbye:
    @Karma177 that sd card is 100% faulty so yes, its a bad idea
  • The Real Jdbye @ The Real Jdbye:
    even the slowest non-sdhc sd cards are a few MB/s
  • Karma177 @ Karma177:
    @The Real Jdbye it hasn't given me any error trying to write things on it so I don't really think it's faulty (pasted 40/50gb+ folders and no write errors)
  • DinohScene @ DinohScene:
    run h2testw on it
    +1
  • DinohScene @ DinohScene:
    when SD cards/microSD write speeds drop below a meg a sec, they're usually on the verge of dying
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Samsung SD format can sometimes fix them too
  • Purple_Heart @ Purple_Heart:
    yes looks like an faulty sd
  • Purple_Heart @ Purple_Heart:
    @Psionic Roshambo i may try that with my dead sd cards
    Purple_Heart @ Purple_Heart: @Psionic Roshambo i may try that with my dead sd cards