NMS:Game Structure

From STEP Modding Wiki
Game Structure


Game Files

Once [[Tutorials/Getting_Started|unpacked], the PCBANKS .PAK files reveal an organized tree of folders and files.
Here is a description of these files :

GLOBAL.MBIN Files - Global game settings
Folderthumb.png AUDIO
WEM format : encoded audio files
Voice Reference Table - A list of all the exosuit voice files with their WEM IDs.
Folderthumb.png BANKS_INTERMEDIATE - No known use
Folderthumb.png FONTS
FNT files : text files storing char maps to extract them from the .DDS canvas
DDS files : Textures storing fonts as images
Folderthumb.png INPUT
JSON files : text files storing devices input mappings
ACTIONS.JSON Reference file
Folderthumb.png LANGUAGE
MBIN files : store all the strings, texts and dialogs of the game
Folderthumb.png MATERIALS
MATERIAL.MBIN files : generic game materials.
    Folderthumb.png METADATA - Game database
Folderthumb.png MODELS
SCENE.MBIN 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.MBIN Files - the MBIN that defines interactions and behaviors of objects.
DESCRIPTOR.MBIN Files - handle the nested hierarchies of procedural generation in-game
Allowed Game Components in ENTITY Files
Properties allowed within the ENTITY file
Actions and Triggers
SimpleInteraction and Interaction Types
Reward trigger types and Reward item IDs
GEOMETRY.MBIN Files - store the 3D models
LSYSTEM.MBIN Files - Rules controling NPC buildings procedural generation
MATERIAL.MBIN Files - define the texture maps and shader flags to be used
ANIM.MBIN files - Animation files
Animation Curves
Folderthumb.png MUSIC
XML files : text files controlling music samples
Folderthumb.png PIPELINES
BIN files : text files controlling shaders branching
Folderthumb.png PLAYTOGETHER - unknown
Folderthumb.png PROMO - old game promotional files
Folderthumb.png SCENES - Trailer and demonstration static files
Folderthumb.png SHADERS
BIN files : shaders initialization text files
SPV files : Vulkan fragmented shader files
Folderthumb.png TEXTURES
CACHE.SQS : Texture caching file for quick texture adressing. Stores header and footer of most used textures
DDS files
Folderthumb.png TPFSDICT - Encrypted profanity words you can't use in NMS
Folderthumb.png UI
MBIN files : describes all the components and parts of the game GUI
TTF files : Standard TrueType Fonts used in game menus and interfaces

Configuration Files

These files are storing main game configuration settings and are located directly in the No Man's Sky\Binaries\SETTINGS folder.
Note that these are basicaly .txt files so they can be read and edited with any .txt file.

Here is the list of the available files :

GCUSERSETTINGSDATA.MXML : These are main game settings and unlocked products and items as seen in the catalogue
TKGAMESETTINGS.MXML : Your custom key mapping if you have set some
TKGRAPHICSSETTINGS.MXML : Game Graphical settings plus a few extra more.
Folderthumb.png HDR
.cube files : HDR LUT calibration files (These are simple .txt files too)

Save Files

No Man's Sky stores save files in a recluded folder.
Here is an example showing where you can find it if your operating system is on your C: drive :

Just 2 notes about this path :

  • YouUserName is your user name on your computer
  • the final folder is procedural (like everything in NMS) so yours will be different

Save files are in .hg format which is obvioulsy an Hello Games proprietary format.
Hopefuly, some save game editors can help to read and edit these files.