Change EXML to match MXML files
emoose opened this issue · 0 comments
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:
- METADATA\REALITY\TABLES\NMS_REALITY_GCTECHNOLOGYTABLE.MBIN - has lots of lists and child templates, should help show us how they get included
- SCENES\DEMOS\PS4BIOMETEST\PS4BIOMETESTSETTINGS\SOLARSYSTEMS\SOLARSYSTEM1.MBIN - has a generic list with some entries, so we can see how they're formatted
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.