emoose / MBINCompiler

Now maintained by monkeyman192: https://github.com/monkeyman192/MBINCompiler
Other
43 stars 69 forks source link

Change EXML to match MXML files #79

Open emoose opened 8 years ago

emoose commented 8 years ago

It seems that the game itself can export MBINs to MXML, if we can get it to output some sample MXML files we could look at them to get MBINC outputting proper MXMLs, looks like the game can load MXMLs too so theoretically you could run the game purely with decompiled XML files (except the globals which don't seem to have any MXML loading code in the exe ofc)

IMO the MBIN files we should look at first are:

The game also has code for exporting to MBIN, which makes me think that someone could probably write an MBINCompiler that uses the games actual MBIN/MXML loading/saving funcs.

Maybe if a quick tool was made that could do this we could compare the output with MBINCs and find where structures aren't matching etc.