ROM Hack [Release] MSBT Editor Reloaded

IcySon55

Leader of Fan Translators International
OP
Member
Joined
Mar 18, 2008
Messages
463
Trophies
1
Age
38
XP
2,261
Country
Canada
Thanks for the quick response!

From what I've found someone actually had the same error-message, but after this the conversation stopped.

Well, that makes NWPlayer123s tweet even more confusing to me..
Have you tried opening the file directly in MSBT editor without decompressing it? It might not even be compressed. Just have the lz extension.
 

BoopBaDoop

New Member
Newbie
Joined
Sep 27, 2016
Messages
3
Trophies
0
Age
55
XP
51
Country
Australia
Nope, giving me a message that says "The file provided is not a valid MSBT file.
The filenames are for example "BattleEnemy.msbt.lz"
 

IcySon55

Leader of Fan Translators International
OP
Member
Joined
Mar 18, 2008
Messages
463
Trophies
1
Age
38
XP
2,261
Country
Canada
It appears that I alone won't be able to help you with this. It has to be taken to a compression expert that is willing to take the time to figure out what's up with the file.

If that person makes the code available (in C#), I'll gladly add it to my editor. If the files just need a bit of massaging to make them LZ11 decompressable, we can look at that too.
 
  • Like
Reactions: BoopBaDoop

Wrathalos

Well-Known Member
Member
Joined
Feb 25, 2016
Messages
206
Trophies
0
Age
35
XP
500
Country
United States
Nope, giving me a message that says "The file provided is not a valid MSBT file.
The filenames are for example "BattleEnemy.msbt.lz"

I'm assuming that the editor is only able to decompress LZ11 and your file is compressed with RLE or LZ40, check the header of the files and then see: https://gbatemp.net/threads/nintendo-ds-gba-compressors.313278/ for a decompressor. If this is NOT the case and IT IS an 0x10 or 0x11 header, then there's a different problem that I can't help you with as I don't have knowledge of LZ10 or 11 or of whether it's a variant of LZ77 or LZ78 as a basis; i.e. you could need to move bytes over 1, read the library/slider in the footer or header, etc. etc. (I suppose one could look at the decoder source...).

Disclaimer: I'm not an expert, this is accumulated knowledge.
 

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.6
  • Added the Export Mod feature for XMSBT files.
    • Export the differences between two MSBT files to an XMSBT delta file.
This is the best way to ship your Smash Wii U or other game mods that include changes to MSBT files.

This feature exports only the differences between two MSBT files to a very compact XMSBT file which users can then import into their already modified MSBT files.

I should write a tutorial for this, but I don't have the time to dedicate to it. I'll gladly walk someone through the steps on a Skype/Discord call/chat so they can write one. PM me.
 

IcySon55

Leader of Fan Translators International
OP
Member
Joined
Mar 18, 2008
Messages
463
Trophies
1
Age
38
XP
2,261
Country
Canada
Will this work for translating game languages to Arabic?
As I understand it. The editor should work just fine with Arabic as the many variations of MSBT files are either UTF8 or 16. Though you may be inputing from left to right.

The real issue is whether or not each individual game has the necessary font to display the characters.
 
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.7
  • Finally corrected the label renaming bugs.
    • v0.9.7 will correct broken files that were previously broken by v0.9.6 and v0.9.5b. Just open the broken file and then click save to fix it. Broken files created by v0.9.5 and below can not currently be fixed with the program. Contact me directly if you need your heavily modified file fixed so you don't lose any work.
 
  • Like
Reactions: I pwned U!

mariosonicds

Well-Known Member
Member
Joined
Oct 9, 2009
Messages
143
Trophies
1
XP
466
Country
United States
Alright I can confirm Paper Mario Color Splash works fine
eyJ1cmwiOiJodHRwczovL3B1dS5zaC9yQ0hHby85Y2VjZGEwY2IxLmpwZyJ9.W_a4dheiYYXHCXKc86AuY0chw94
 

IcySon55

Leader of Fan Translators International
OP
Member
Joined
Mar 18, 2008
Messages
463
Trophies
1
Age
38
XP
2,261
Country
Canada
Alright I can confirm Paper Mario Color Splash works fine
How did you de/compress the files? Other people are having a hard time with the compression as the LZ11 tools in the editor don't work.

Edit: Thanks for reporting a working game. I don't get nearly enough of these.
 
Last edited by IcySon55,

mariosonicds

Well-Known Member
Member
Joined
Oct 9, 2009
Messages
143
Trophies
1
XP
466
Country
United States
How did you de/compress the files? Other people are having a hard time with the compression as the LZ11 tools in the editor don't work.

Edit: Thanks for reporting a working game. I don't get nearly enough of these.
It's lz11 @0xC. And uses full 32bit int for decomp size. I'll post my tools public sometime.

--------------------- MERGED ---------------------------

It's lz11 @0xC. And uses full 32bit int for decomp size. I'll post my tools public sometime.
Well I'll post it here for now https://cdn.discordapp.com/attachments/230086385149804555/233842870509895680/LZPYTHONSWEET.zip
All the compressors need python3 as a fair warning.
 
Last edited by mariosonicds,

IcySon55

Leader of Fan Translators International
OP
Member
Joined
Mar 18, 2008
Messages
463
Trophies
1
Age
38
XP
2,261
Country
Canada
Last edited by IcySon55,

exelix11

Developer
Developer
Joined
Feb 25, 2015
Messages
915
Trophies
1
Location
C:\users\exelix11\
XP
3,062
Country
Italy
It's lz11 @0xC. And uses full 32bit int for decomp size. I'll post my tools public sometime.

--------------------- MERGED ---------------------------


Well I'll post it here for now https://cdn.discordapp.com/attachments/230086385149804555/233842870509895680/LZPYTHONSWEET.zip
All the compressors need python3 as a fair warning.
Uh nice, i didn't noticed this one, do you know of what use are those bytes before the lz11 ? it seems the size repeated twice then a 0x13 and then the size as int24, it's like they are just trolling us.

I'll see if it's worth converting them to C# or maybe incorporating them as is and encapsulating python within the program.

Thoughts?
I just tested, you only need to make a small change the LZ11.cs file:
Code:
        public static long Decompress(Stream instream, long inLength, Stream outstream, int StartPos = 0) {
            //...
            long readBytes = 0;
            instream.Position = StartPos;
            byte type = (byte)instream.ReadByte();
            //...
this will still work with the current implementation without any change, but you can then pass StartPos as 0xc to make it work on color splash files.
For compressing back you just need to add a header to the output of the compress function
 
Last edited by exelix11,

mariosonicds

Well-Known Member
Member
Joined
Oct 9, 2009
Messages
143
Trophies
1
XP
466
Country
United States
I'll see if it's worth converting them to C# or maybe incorporating them as is and encapsulating python within the program.

Thoughts?
Well @jam1garner and some others are working on a mod tool SplashKit. Jam mostly wanted me to make these python tools to convert to c# since python is not great at lz11 compression.
 

jam1garner

Well-Known Member
Newcomer
Joined
Apr 7, 2016
Messages
99
Trophies
0
Age
33
XP
382
Country
United States
Yeah I'm working on getting a setup like smash 4 has rn so if I plan on doing MSBT built into it (which I might) I will probably either RE it or figure out a good way to handle using this as a plugin or something. I do plan on converting smb's scripts to C# though and since SplashKit is open source you can just use my code if need be. (However you should be fine, no real need to add lz decomp/comp to your stuff)
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • BakerMan @ BakerMan:
    imagine not having hands, cringe
    +1
  • AncientBoi @ AncientBoi:
    ESPECIALLY for things I do to myself :sad:.. :tpi::rofl2: Or others :shy::blush::evil:
    +1
  • The Real Jdbye @ The Real Jdbye:
    @SylverReZ if you could find a v5 DS ML you would have the best of both worlds since the v5 units had the same backlight brightness levels as the DS Lite unlockable with flashme
  • The Real Jdbye @ The Real Jdbye:
    but that's a long shot
  • The Real Jdbye @ The Real Jdbye:
    i think only the red mario kart edition phat was v5
  • BigOnYa @ BigOnYa:
    A woman with no arms and no legs was sitting on a beach. A man comes along and the woman says, "I've never been hugged before." So the man feels bad and hugs her. She says "Well i've also never been kissed before." So he gives her a kiss on the cheek. She says "Well I've also never been fucked before." So the man picks her up, and throws her in the ocean and says "Now you're fucked."
    +2
  • BakerMan @ BakerMan:
    lmao
  • BakerMan @ BakerMan:
    anyways, we need to re-normalize physical media

    if i didn't want my games to be permanent, then i'd rent them
    +1
  • BigOnYa @ BigOnYa:
    Agreed, that why I try to buy all my games on disc, Xbox anyways. Switch games (which I pirate tbh) don't matter much, I stay offline 24/7 anyways.
    +1
  • AncientBoi @ AncientBoi:
    I don't pirate them, I Use Them :mellow:. Like I do @BigOnYa 's couch :tpi::evil::rofl2:
    +1
  • cearp @ cearp:
    @BakerMan - you can still "own" digital media, arguably easier and better than physical since you can make copies and backups, as much as you like.

    The issue is DRM
    +1
  • cearp @ cearp:
    You can buy drm free games / music / ebooks, and if you keep backups of your data (like documents and family photos etc), then you shouldn't lose the game. but with a disk, your toddler could put it in the toaster and there goes your $60

    :rofl2:
  • cearp @ cearp:
    still, I agree physical media is nice to have. just pointing out the issue is drm
    +1
  • rqkaiju2 @ rqkaiju2:
    i like physical media because it actually feels like you own it. thats why i plan on burning music to cds
  • cearp @ cearp:
    It's nice to not have to have a lot of physical things though, saves space
    +1
  • AncientBoi @ AncientBoi:
    Nor clothes 🤮 . Saves on time, soap, water and money having to wash them. :D
  • SylverReZ @ SylverReZ:
    @rqkaiju2, Physical media is a great source for archiving your data, none of that cloud storage shiz.
    +1
  • AncientBoi @ AncientBoi:
    [squeezes @SylverReZ onto a physical media, then archives you in my old stuff box] :tpi::rofl2::tpi:
    +1
  • BakerMan @ BakerMan:
    guys, should i change my pfp to one of these or keep it the same?
    iu

    iu

    (i guess i could change it to one of my other pfps too, but i just want to see what you guys think first)
  • SylverReZ @ SylverReZ:
    @BakerMan, Up to you.
  • BakerMan @ BakerMan:
    smug sonic time lmao
    +1
    BakerMan @ BakerMan: smug sonic time lmao +1