Releases: monkeyman192/MBINCompiler
v2.0.6-pre3
Added the DebugOptions so many people have been asking for, as well as the Audio and Player globals.
Both Debug and Player globals have many unknowns. Some of these may also be in the wrong spot and may be actually swapped with a named variable. If you are decompiling these files it is recommended that you have a look at the structs here so you can see what potential issues there may be.
If you discover what a particular unknown value is, please post in #mod-mbin on the NMS modding discrd or raise an issue here and I will update the struct!
Oh, also this fixes an issue with the Atlas mission table not decompiling so yay!
v2.0.6-pre2
Small update this time. Most of the remaining globals are probably going to take a little bit of time each as most are quite big and time-consuming...
This update only adds the creature globals to the list of ones that decompile.
I also fixed an issue with the TkInputEnum where the values were incorrect.
v2.0.6-pre1
This update adds the AISpaceship, Fleet and Vehicle globals.
Also added is the ability to deserialize old-format scene files (pre-Beyond). MBINCompiler will automatically detect if the scene file is an older one and if so add a CRC32 hash of the name to the NameHash
field. This way old scene files can be updated very easily!
Note that the game itself doesn't use a CRC32 hash for the NameHash
field, the hashing algorithm is unknown. However I have found that the hash doesn't actually seem to be checked anyway, so this hash is really just to have something there that is unique.
v2.0.4-pre7
All the mission structs have been mapped out!
Fixed a few misc issues with some other templates.
This adds the SolarGeneration, Character, Sky, Environment and Simulation globals to the list of globals that are supported. There are a few unknowns in some of these, so if anyone messes around with them and determines what any of the unknowns are please let me know! :)
v2.0.4-pre6
This fixes the camera globals that wasn't mapped correctly. Terrain globals are also working now.
Other than that just a few other small fixed and mapped out many mission structs, but there are still quite a few to go until the mission tables work.
v2.0.4-pre5
SubGUID's have been applied to every single struct. This means that there should no longer be any issues with the SubGUID's...
All structs have been mapped except for a bunch of atlas ones (which I don't think are even front-facing anyway), and all the modified/new mission structs (They might come tomorrow...)
As before none of the globals have been fixed except for the camera globals.
The only other struct that hasn't been sorted out is the TkInputEnum
which is currently set to use an int data type instead of the enum. That will be fixed in the next version sorry!
Other than that, most files should work perfectly fine!
Edit: Apparently the DefaultSaveData file is also not working, so that will be fixed tomorrow too!
v2.0.4-pre4
A large chunk more added!
Most things should be working except for the cost, reward and mission tables (and of course no globals yet...)
If you see issues with files that you think should work considering the completion of the list in #119 , let me know there :)
v2.0.4-pre3
Added quite a few structs here.
Lots if not all of the NPC structs should be added, opening up METADATA/SIMULATION/NPC
for decompilation.
Hopefully all the structs for the UI mbin's are complete too.
Finally, The NMSTemplate
has been updated to allow for the changes introduced with Beyond where the SubGUID
was added to all structs.
All entity files which have structs that have already been mapped should decompile fine.
If an entity file decompiles fine but doesn't recopile correctly, check to see for an InvalidGUIDException
. If one is listed, please post in #119 letting me know what struct is the culprit so I can fix it! :)
v2.0.4-pre2
Not a massive update compared to the previous version.
The language files will now work as well as defaultreality and the recipe table.
It looks like HG have removed the mappings of globals in the exe ( :'( ), so they are going to take longer to decompile than usual, sorry! (And will have UNKNOWN
values again...)
v2.0.4-pre1
First release for Beyond.
No globals have been decompiled yet and there is still a lot of work to be done.
No entity files will decompile with this but some tables should work.
See #119 for ongoing effort to map all the structs