NoMansSky:Reference Guides: Difference between revisions

From Step Mods | Change The Game
(Replaced content with "__NOTITLE__ {{NMSPage|contentTitle=Game Structure}} {{TOC_right}} Original References Guide page {{NMSPageClose}}")
Line 3: Line 3:
{{TOC_right}}
{{TOC_right}}


== Game File Types ==
Original References Guide page
NMS mostly uses the .mbin file format to store data. See the [[NMS:Tutorials/Mod_Creation_by_Hex Editing_MBINs|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 [https://github.com/monkeyman192/MBINCompiler/tree/development/libMBIN/Source/NMS 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:
* [[NMS:Reference_Guides/Global_Files|GLOBAL Files]] - Main game settings
 
*{{fc|#FFF|AUDIO}}
**WEM format
**[https://docs.google.com/spreadsheets/d/15AfJNXD0dIKBeEA6jzlI6QLgaNhTG6NeKg5v9fnMm08/edit?usp=sharing Voice Reference Table] - A list of all the exosuit voice files with their WEM IDs.
 
*{{fc|#FFF|BANKS_INTERMEDIATE}} - No real use
 
*{{fc|#FFF|FONTS}}
**FNT files : text files storing each char settings
**DDS files : Textures storing fonts as bipmaps
 
*{{fc|#FFF|INPUT}}
**JSON files : text files storing devices input mappings
** [[NMS:Reference_Guides/Input_Actions_Reference|ACTIONS.JSON Reference file]]
 
*{{fc|#FFF|LANGUAGE}}
**MBIN files : store all the strings, texts and dialogs of the game
 
*{{fc|#FFF|MATERIALS}}
**[https://wiki.step-project.com/NMS:Reference_Guides/MATERIAL_Files MATERIAL.MBIN files] : generic game materials.
 
*{{fc|#FFF|METADATA}} - All the game tables and databases
**{{fc|#FFF|EFFECTS}} : defines properties like light, particles, shakes and duration of game effects
**{{fc|#FFF|ENTITLEMENTS}} : Handled game pre-order bonuses
**{{fc|#FFF|REALITY}} : game major tables
***[[NMS:Reference_Guides/Reference_Tables|Reference Tables]] listing game items and properties extracted from game tables.{{CustomTag|color=red|tag=Outdated}}
**{{fc|#FFF|TROPHIES}} : Handled game achievments
 
*{{fc|#FFF|MODELS}}
** [[NMS:Reference_Guides/SCENE_Files|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.
*** [[NMS:Reference_Guides/ENTITY|ENTITY]] - the MBIN that defines interactions and behaviors of objects.
**** [[NMS:Reference_Guides/Allowed_Game_Components_in_ENTITY_Files|Allowed Game Components in ENTITY Files]]
**** [[NMS:Reference_Guides/Properties_for_ENTITY_Files|Properties allowed within the ENTITY file]]
**** [[NMS:Reference_Guides/Actions_and_Triggers|Actions and Triggers]]
**** [[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/GEOMETRY|GEOMETRY]] - the format in which 3D models are stored in
*** [[NMS:Reference_Guides/MATERIAL_Files|MATERIAL MBIN Files]] - defines the texture maps and shader flags to be used
*** [[NMS:Reference_Guides/DESCRIPTOR_Files|DESCRIPTOR MBIN Files]] - handles the nested hierarchies of procedural generation in-game
*** ANIM files - Animation files
**** [[NMS:Reference_Guides/Curves|Animation Curves]]
*** [[NMS:Reference_Guides/LSYSTEM|LSYSTEM]] - Rules controling NPC buildings procedural generation
 
*{{fc|#FFF|MUSIC}}
 
*{{fc|#FFF|PIPELINES}}
**BIN files : text files controlling shaders branching
 
*{{fc|#FFF|PLAYTOGETHER}} - unknown
*{{fc|#FFF|PROMO}} - old game promotional files
*{{fc|#FFF|SCENES}} - Trailer and demonstration static files
 
*{{fc|#FFF|SHADERS}}
**BIN files : shaders initialization text files
**[[NMS:Tutorials/Vulkan_Shader_Modding|SPV files]] : Vulkan fragmented shader files
 
*{{fc|#FFF|TEXTURES}}
** CACHE.SQS : Texture caching file for quick texture adressing. Stores header and footer of most used textures
** [[NMS:Reference_Guides/TEXTURES/TEXTURE_MBIN_Files|TEXTURE MBIN Files]]
** [[NMS:Reference_Guides/TEXTURES/Texture_Formats|NMS texture formats]]
 
*{{fc|#FFF|TPFSDICT}} - Encrypted profanity words you can't use in NMS
 
*{{fc|#FFF|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 ==
* [[NMS:Reference_Guides/XML_Files/GcCameraAerialViewData.xml|GcCameraAerialViewData.xml]]
* [[NMS:Reference_Guides/XML_Files/GcCameraFollowSettings.xml|GcCameraFollowSettings.xml]]
* [[NMS:Reference_Guides/XML_Files/GcCameraShakeData.xml|GcCameraShakeData.xml]]
* [[NMS:Reference_Guides/XML_Files/GcCameraWarpSettings.xml|GcCameraWarpSettings.xml]]
* [[NMS:Reference_Guides/GcPlanetData-RE|GcPlanetData-RE]] {{CustomTag|color=red|tag=Outdated}}
* [[NMS:Reference_Guides/XML_Files/TkModelRendererData.xml|TkModelRendererData.xml]]
* [[NMS:Reference_Guides/TkRotationComponentData|TkRotationComponentData]]


{{NMSPageClose}}
{{NMSPageClose}}

Revision as of 11:55, August 10, 2020