In terms of REing the MSBT format yourself. I don't recommend it. It took this project a good many months to figure the whole shebang out and finally get proper label addition working. There was an unknown hash function missing for quite some time. It simply wouldn't be worth your time is all.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)
sm4shexplorer already uses my editor as a plugin. Users place the executable in the plugins folder and it gets launched by sm4shexplorer.
However, there is an "easier" way if you feel up to it. You can take the MSBT.cs class from my program. I wrote it to pretty much stand alone (though it likely requires my BinaryTools.cs as well) and implement support directly into your tools. You'll just have to do the UI stuff again. The class takes care of loading the file into memory, it gives you access to all labels and their respective strings as well as functions to add, delete, and rename labels. And of course the Save function to write it all back out.
Depending on time constraints, I might add support for the various strange LZ11 files since it's just modifying the existing functions a little bit.
Edit: Actually, the editor already has LZ11 de/compression. It just doesn't support all of the weird flavors like @0x0C and there was another one, that might also be @0x0C but the error looked different.
Last edited by IcySon55,