Code Monkey home page Code Monkey logo

nmsbatchmbinprocessor's Introduction

NMS Batch MBIN Processor

This tool allows you to batch extract, decrypt, edit, and repackage files for the game No Man's Sky using MBINCompiler and PSARC.

Special thanks to monkeyman192, theFisher86, and those helping them for making tools like this possible.

How to use it

  • Extract the archive into a directory.
  • Place NMSARC.515F1D3.pak, or any other PAK files you want to experiment with from your PCBANKS directory, in the directory you extracted the archive to.
  • Open cmd.exe/Powershell and run "node.exe --max_old_space_size=16192 bmp.js".
    • If you plan on extracting multiple PAK files, and don't use the BAT file, you will need to increase the RAM limit for NodeJS with the max_old_space_size flag. I suggest 16192MB if you plan to extract all the files.
  • After it runs, it will create a MOD PAK file that you can place in your MODS directory.

The config file is Settings.ini. Inside the brackets [], the script will search the decompiled MBIN XML files for a Filename property.

Specific format: [TemplateName:PropertyToTarget] ChildPropertyName=ChildPropertyValue

Wildcard format: [*:PropertyToTarget|Template] ChildPropertyName=ChildPropertyValue

The "wildcard" format will target all templates, or properties inside the specified template.

It will then apply the settings you specify inside its parent block provided the keys preceding the "=" exist.

Available options

  • -m, --mt - Enable multi-threading of MBINCompiler
  • -d, --decompileOnly - Only decompile MBIN files
  • -x, --xml - Skip decompilation and update existing XML files
  • -f, --force - Force compiling of present EXML files
  • --merge - Deep merge two conflicting XML objects for mod concatenation
  • --old - Use older versions of MBINCompiler if the newest can't compile a file
  • --name - Specify the name of the output PAK file
  • -h, --help - Display this information

nmsbatchmbinprocessor's People

Contributors

jaszhix avatar

Watchers

 avatar  avatar

Forkers

seanwh

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.