Giter VIP home page Giter VIP logo

rsdb-merge's Introduction

rsdb-merge

Merge some of the RSDB file types from TOTK

Supported RSDB files:

  • ActorInfo.Product
  • AttachmentActorInfo.Product
  • Challenge.Product
  • EnhancementMaterialInfo.Product
  • EventPlayEnvSetting.Product
  • EventSetting.Product
  • GameActorInfo.Product
  • GameAnalyzedEventInfo.Product
  • GameEventBaseSetting.Product
  • GameEventMetadata.Product
  • LoadingTips.Product
  • Location.Product
  • LocatorData.Product
  • PouchActorInfo.Product
  • Tag.Product
  • XLinkPropertyTableList.Product

Usage

For each mod containing RSDB files, use this command to generate json changelogs:

rsdb-merge.exe --generate-changelog "PATH_TO_RSDB_FOLDER" --output "path to where to generate the changelog"

After generating a changelog, rename it to anything you want, like "ModName_RSDB.json" (to avoid it getting overwritten when generating another one).

Once you have all json changelogs from each of your mods containing RSDB edits, place them all in the same folder (preferably a new empty folder) and use this command:

rsdb-merge.exe --apply-changelogs "PATH_TO_FOLDER_CONTAINING_JSONS" --output "PATH_TO_WHERE_YOU_WANT_RSDB_FILES_GENERATED" --version 121

This second command will use all json changelogs to merge the edits and generate RSDB files for version 1.2.1 in the output folder you choose (you can change --version 121 to generate merged RSDB files for any version you want)

The priority works with the alphanumerical order of the json changelogs' file names. So for example if a.json and b.json both edit the same blocks of data, the edit from b.json will overwrite it (this is only for blocks that are edited and not blocks that are added).

Help

usage: rsdb-merge.exe [-h] [--generate-changelog GENERATE_CHANGELOG]
                      [--apply-changelogs APPLY_CHANGELOGS]
                      [--output OUTPUT] [--version VERSION]

Generate and apply changelogs for RSDB

options:
  -h, --help            show this help message and exit
  --generate-changelog GENERATE_CHANGELOG
                        Path to the folder containing .byml.zs files to
                        generate changelogs.
  --apply-changelogs APPLY_CHANGELOGS
                        Path to the folder containing .json changelogs to
                        apply.
  --output OUTPUT       Path to the output directory for the generated
                        changelog or for the generated RSDB files.
  --version VERSION     Version of TOTK for which to generate RSDB files (example: 121)

Special thanks

rsdb-merge's People

Contributors

masterbubbles avatar

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.