NoMansSky:MBINCompiler Guide: Difference between revisions

From Step Mods | Change The Game
 
(25 intermediate revisions by 3 users not shown)
Line 1: Line 1:
__NOTITLE__
{{#set:
{{NMSPage|contentTitle=how to use MBINCompiler}}
NMSIndex=MBINCompiler
{{TOC_right}}
}}{{PageTitle|logo=nomanssky|title=MBINCompiler Guide|author=Lo2k|forumtid=15900}}
{{NMSPage}}
{{TOC}}[[Category:NoMansSky General Guides]]
== Introduction ==
== Introduction ==
MBINCompiler has been created by Monkeyman192 to convert the .MBIN binary files to and from human readable .EXML files.<br>
MBINCompiler has been created by Monkeyman192 to convert the .MBIN binary files to and from human readable .EXML files.<br>
Line 9: Line 11:
In practice, it sometimes needs a few iterations after a game update before the new MBINCompiler will fully decompile and recompile the wide range of MBIN files. So you might also have several versions before the final one that will definitely open (almost) all the .MBIN files for a particular game version.
In practice, it sometimes needs a few iterations after a game update before the new MBINCompiler will fully decompile and recompile the wide range of MBIN files. So you might also have several versions before the final one that will definitely open (almost) all the .MBIN files for a particular game version.


{{Notice Small|text=After any major game version, you might need to wait a few days before some mods will be updated, the time for Monkeyman192 to update MBINCompiler}}
{{AlertSmall‏‎|type=notice|text=After any major game version, you might need to wait a few days before some mods will be updated, because MBINCompiler has to be updated first}}


== Using MBINCompiler ==
== Using MBINCompiler ==
MBINCompiler is very easy to use :  
MBINCompiler is very easy to use :  
* just drag and drop any .MBIN file over it and it will decompile the file into the corresponding .EXML file.
* drag and drop any .MBIN file over it and it will decompile the file into the corresponding .EXML file.
* just drag and drop any .EXML file over it and it will compile the file into the corresponding .MBIN file.
* drag and drop any .EXML file over it and it will compile the file into the corresponding .MBIN file.


Optionally, you can do the same with whole folders.
Optionally, you can do the same with whole folders.
Line 20: Line 22:
* if the folder only contains .MBIN files, it will decompile them all into .EXML files.
* if the folder only contains .MBIN files, it will decompile them all into .EXML files.
* if the folder only contains .EXML files, it will compile them all into .MBIN files.
* if the folder only contains .EXML files, it will compile them all into .MBIN files.
* if there's a mix of .MBIN and .EXML files, MBINCOmpiler will ask what is the source file format between .MBIN or .EXML. Just type MBIN or EXML and it will then compile or decompile accordingly to your choice.
* if there's a mix of .MBIN and .EXML files, MBINCompiler will ask what conversion you want to do.


Once you get the .EXML file, you're ready for modding, as .EXML can be read and edited with any text editor.<br>
Once you get the .EXML file, you're ready for modding, as .EXML can be read and edited with any text editor.<br>
It's now up to make the changes that will create a great mod !
[[Category:No Man's Sky]][[Category:NMS-Tutorial]]
{{NMSPageClose}}

Latest revision as of 15:05, January 11, 2023

Nomanssky flare.png

MBINCompiler Guide

by: Lo2k  | Forum Topic

Introduction[edit | edit source]

MBINCompiler has been created by Monkeyman192 to convert the .MBIN binary files to and from human readable .EXML files.
To do this, MBINCompiler relies on the data structure stored in the game executable.
As the game is updated, both the data structure and the .MBIN files are evolving. And so do MBINCompiler.
What this means is that there is not one MBINCompiler, but multiple ones, at least one for each game version. In practice, it sometimes needs a few iterations after a game update before the new MBINCompiler will fully decompile and recompile the wide range of MBIN files. So you might also have several versions before the final one that will definitely open (almost) all the .MBIN files for a particular game version.

Info-Logo.png
NOTE:
After any major game version, you might need to wait a few days before some mods will be updated, because MBINCompiler has to be updated first

Using MBINCompiler[edit | edit source]

MBINCompiler is very easy to use :

  • drag and drop any .MBIN file over it and it will decompile the file into the corresponding .EXML file.
  • drag and drop any .EXML file over it and it will compile the file into the corresponding .MBIN file.

Optionally, you can do the same with whole folders. If you drag and drop a folder over MBINCompiler, it will act as follows :

  • if the folder only contains .MBIN files, it will decompile them all into .EXML files.
  • if the folder only contains .EXML files, it will compile them all into .MBIN files.
  • if there's a mix of .MBIN and .EXML files, MBINCompiler will ask what conversion you want to do.

Once you get the .EXML file, you're ready for modding, as .EXML can be read and edited with any text editor.