NoMansSky:AMUMSS Guide

From Step Mods | Change The Game
Revision as of 17:01, August 11, 2020 by Lo2k (talk | contribs) (Created page with "__NOTITLE__ {{NMSPage|contentTitle=How to use AMUMSS}} {{TOC_right}} == Introduction == AMUMSS stands for Auto Mod-builder Updater with Mod Script System and was created by Mj...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Template:TOC right

Introduction[edit | edit source]

AMUMSS stands for Auto Mod-builder Updater with Mod Script System and was created by Mjjstral and is now mostly maintained and extended by Wbertro. It was originaly developped to avoid mods to be broken at each update and allow some more flexibility in modding possibilities. Indeed, before AMUMSS, mods were just modified files. But each major update was changing file structure, adding new variables and values, exchanging some, or offsetting everything and all the mods released before the update needed to be completely recreated after each update. AMUMSS offers to script mods. Instead of modifying files and releasing the full file, AMUMSS lets you create scripts that are just saying which variable has to be changed to which value in which file. Then AMUMSS apply the script to the game file and generate the modified file. It's a real progress. Now, when a new game update is released, most of the mods can be regenerated in a few seconds, using the script to aim the correct values in the correct files and applying it to the new game file including any new change. There's only one bottleneck : MBINCompiler. To Apply its changes, AMUMSS rely on MBINCompiler capacity to decompile and recompile files. But when a new game update is released, MBINCOmpiler needs to be updated to reflect the new changes. So AMUMSS is not perfect, but it's a great step ahead for mods sustainability. And it also brings a lot of other possibilities. Too much indeed to be listed in this tutorial.

Using AMUMSS[edit | edit source]

We saw it, AMUMSS uses scripts that will generate final mods. Creating these script is a big topic but what will interest us here is how to merge them. That's indeed another plus of using scripts : scripts can be compared and merged a lot more easily than complete modified files.

How to generate a mod from a script[edit | edit source]

If you downloaded a mod distributed with a .lua script, you can either use the .pak in your MODS folder or regenerate the mod itself To do so :

  • place the .lua script in AMUMSS Modscript folder
  • Run BUILDMOD.bat
  • AMUMSS wil ask if you want to copy the final mod into your MODS folder. Choose Y or N depending if you want to install the mod automatically.
  • It will ask if you want to check mods for conflicts Y/N : if you answer Y(es), AMUMSS will check all your existing mods and the one you're about to create and will generate a report with the result. If you want to be sure you won't have any conflict, it could be wise to answer Yes.
  • Eventualy the script is parsed and the mod is generated and you can find it in the CreatedModPAKs folder, ready to use.

Note that a report is also generated considering this new mod. it will report any error or warning inside this particular script and as for any report, you can read it carefully opening the REPORT.txt file in AMUMSS directory.


Merging scripts[edit | edit source]

Template:NMSPageClose