Difference between revisions of "NMS:Game Structure"

From STEP Modding Wiki
m (Game Files)
m (Game Files)
Line 43: Line 43:
 
**** [[NMS:Reference_Guides/SimpleInteraction_and_Interaction_Types|SimpleInteraction and Interaction Types]]
 
**** [[NMS:Reference_Guides/SimpleInteraction_and_Interaction_Types|SimpleInteraction and Interaction Types]]
 
**** [[NMS:Reference_Guides/Reward_Types|Reward trigger types and Reward item IDs]]
 
**** [[NMS:Reference_Guides/Reward_Types|Reward trigger types and Reward item IDs]]
*** [[NMS:Reference_Guides/GEOMETRY|GEOMETRY]] - the format in which is stored the 3D models
+
*** [[NMS:Reference_Guides/GEOMETRY|GEOMETRY.MBIN Files]] - store the 3D models
 
*** [[NMS:Reference_Guides/MATERIAL_Files|MATERIAL.MBIN Files]] - define the texture maps and shader flags to be used
 
*** [[NMS:Reference_Guides/MATERIAL_Files|MATERIAL.MBIN Files]] - define the texture maps and shader flags to be used
 
*** [[NMS:Reference_Guides/DESCRIPTOR_Files|DESCRIPTOR.MBIN Files]] - handle the nested hierarchies of procedural generation in-game
 
*** [[NMS:Reference_Guides/DESCRIPTOR_Files|DESCRIPTOR.MBIN Files]] - handle the nested hierarchies of procedural generation in-game

Revision as of 15:13, August 10, 2020

BannerLogo
Game Structure

Contents

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:

  • 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 char maps to extract them from the .DDS canvas
    • DDS files : Textures storing fonts as images
  • LANGUAGE
    • MBIN files : store all the strings, texts and dialogs of the game
  • 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
  • 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
  • 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

XML File References