NoMansSky:Game Structure
From Step Mods | Change The Game
Game Files
NMS mostly uses the .mbin file format to store data. See the MBIN hex-editing tutorial for an introduction to the game files. Each MBIN game file has a template name prefixed a 2-character template class (eg. Tk or Gc), and each template has a lookup file in the MbinCompiler library. The structure and content of game files have been researched by the NMS community and given names, which are what appears in the EXML files generated by MbinCompiler. Users can find the game's different file types with descriptions below:
- GLOBAL Files - Main game settings
- AUDIO
- WEM format : encoded audio files
- Voice Reference Table - A list of all the exosuit voice files with their WEM IDs.
- BANKS_INTERMEDIATE - No real use
- FONTS
- FNT files : text files storing each char settings
- DDS files : Textures storing fonts as bipmaps
- INPUT
- JSON files : text files storing devices input mappings
- ACTIONS.JSON Reference file
- LANGUAGE
- MBIN files : store all the strings, texts and dialogs of the game
- MATERIALS
- MATERIAL.MBIN files : generic game materials.
- METADATA - All the game tables and databases
- EFFECTS : defines properties like light, particles, shakes and duration of game effects
- ENTITLEMENTS : Handled game pre-order bonuses
- REALITY : game major tables
- Reference Tables listing game items and properties extracted from game tables.Outdated
- TROPHIES : Handled game achievments
- MODELS
- SCENE Files - similar to a prefab and holds information about in-game objects all the way from models, behaviors to audio, particle effects and more.
- ENTITY - the MBIN that defines interactions and behaviors of objects.
- GEOMETRY - the format in which 3D models are stored in
- MATERIAL MBIN Files - defines the texture maps and shader flags to be used
- DESCRIPTOR MBIN Files - handles the nested hierarchies of procedural generation in-game
- ANIM files - Animation files
- LSYSTEM - Rules controling NPC buildings procedural generation
- SCENE Files - similar to a prefab and holds information about in-game objects all the way from models, behaviors to audio, particle effects and more.
- MUSIC
- PIPELINES
- BIN files : text files controlling shaders branching
- PLAYTOGETHER - unknown
- PROMO - old game promotional files
- SCENES - Trailer and demonstration static files
- SHADERS
- BIN files : shaders initialization text files
- SPV files : Vulkan fragmented shader files
- TEXTURES
- CACHE.SQS : Texture caching file for quick texture adressing. Stores header and footer of most used textures
- TEXTURE MBIN Files
- NMS texture formats
- TPFSDICT - Encrypted profanity words you can't use in NMS
- UI
- MBIN files : describes all the components and parts of the game GUI
- TTF files : Standard TrueType Fonts used in game menus and interfaces