Skip to content

A tool for converting EXML - the No Man's Sky game data format, generated by MBINCompiler - to a lua table

Notifications You must be signed in to change notification settings

roie-r/exml_2_lua

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 

Repository files navigation

EXML 2 LUA

A tool for converting EXML files - the No Man's Sky game data file format, generated by MBINCompiler - to a lua table and back. The tool handles full files or specific sections. It can load the data to memory directly or write it to a text file as a ready-to-use lua script.

Exml-as-lua table format

Every section in its own table, and each section has a META table describing its attributes. The first item in a meta table is name, value, or the named attribute. Using these rules, the following describes a string class section:

{
    META  = {"value", "NMSString0x20.xml"},
    Value = [[my text string]]
}

A colour class:

{
    META = {"LinkColour", "Colour.xml"},
    R    = 1,
    G    = 1,
    B    = 1,
    A    = 1
}

Technology/product requirement, containing a sub-section for inventory type, class:

{
    META   = {"value", "GcTechnologyRequirement.xml"},
    ID     = "MICROCHIP",
    Amount = 2,
    Type   = {
        META = {"Type", "GcInventoryType.xml"},
        InventoryType = "Product"
    }
}

This format can describe any EXML data.

About

A tool for converting EXML - the No Man's Sky game data format, generated by MBINCompiler - to a lua table

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages