NoMansSky:Creating Mods From MBINs: Difference between revisions

From Step Mods | Change The Game
Line 3: Line 3:
{{TOC_right}}
{{TOC_right}}
== Mod Creation by Hex Editing MBINs ==
== Mod Creation by Hex Editing MBINs ==
If the MBIN you want to edit is not supported by MBinCompiler (yet) after NMS updates you can still change the MBin files by using a hex editor. The MBINs store the game values in a binary serialized form. In order to update a mod you can use a binary comparison so that both the old version MBIN values and the old modded MBIN values can be compared. Then you can apply the changes you have detected to new original MBIN. Sometimes values have shifted and you need to recognize the patterns by human eye.
If the MBIN you want to edit is not supported by MBINCompiler (yet) after an NMS update, you can still edit MBIN files with a hex editor. The MBIN files store the game values in a binary serialized form. In order to update a mod you can use a binary comparison between the original MBIN file (from previous version) and modded MBIN file. Then you can apply the changes you have detected to the new original MBIN file. Sometimes values have shifted and you need to recognize the patterns by human eye.


Here is a HexEditor tool list:
Here is a HexEditor tool list:

Revision as of 20:59, July 30, 2020

Template:TOC right

Mod Creation by Hex Editing MBINs[edit | edit source]

If the MBIN you want to edit is not supported by MBINCompiler (yet) after an NMS update, you can still edit MBIN files with a hex editor. The MBIN files store the game values in a binary serialized form. In order to update a mod you can use a binary comparison between the original MBIN file (from previous version) and modded MBIN file. Then you can apply the changes you have detected to the new original MBIN file. Sometimes values have shifted and you need to recognize the patterns by human eye.

Here is a HexEditor tool list:

  • 010 (paid, with 30 day trial)
  • HxD (freeware, proprietary)
  • Hex Editor Neo (free, has paid versions)
  • Hex Workshop (paid)
  • HexEdit (mac only?)

MBIN Files are all using little indian byte order.
They all start with a 24 bytes header starting with a 0xCCCCCCCC Magic data.
Then there's a 72 bytes string reserved for the internal file name.
Rest of the file contains the data.

Template:NMSPageClose