Skip to content

Convert Satisfactory recipes data into Drawio diagram (list of recipes).

License

Notifications You must be signed in to change notification settings

andev0/SatisParsery

Repository files navigation

SatisParsery

Convert Satisfactory recipes data into a Drawio diagram (list of recipes).

The purpose of the project is to make life easier when planning factories for those who don't like "I'll do it completely for you" tools.

Alt text

Table of contents

  1. Dependencies
  2. Building with CMake
  3. Usage
  4. Additional tools
  5. Known issues

Dependencies

The repository has data.json file which lists all the recipes available in the game. I use this file to generate the diagram.

I use the library for parsing and writing JSON files.

Building with CMake

git clone https://github.com/andev0/SatisParsery --recursive
mkdir SatisParsery/build
cd SatisParsery/build
cmake ..
make

Usage

You can just use the ready diagram from the latest Release or generate your own one with a configuration that is convenient for you:

SatisParsery \
    path/to/data.json \
    path/to/configuration.json \
    path/to/output.drawio

data.json

The file from the SatisfactoryTools repository.

configuration.json

The configuration file in which you can change the following things:

  • Readable names of items and buildings (e.g. "Smart Plating" instead of "Desc_SpaceElevatorPart_1_C")
  • Ignored recipes
  • Drawio styles of the elements (e.g. colors)

An example can be found in example_configuration.json.

output.drawio

Path to which the resulting diagram will be written.

Additional tools

Acquiring readable names

Readable names for the configuration file can be fetched from satisfactory-calculator.com using the readable_names.sh Bash script. It works only on Linux.

Known issues

Random sorting in configuration

Every time you launch the program, it rearranges configuration file arrays' items in random order. I don't know how to fix it yet.

readable_names.sh prints links

Currently, the script can't deal with the names of alien remains and buildings. There are not many of them, so it should not make a big deal, but maybe I can figure out how to fix this soon.

About

Convert Satisfactory recipes data into Drawio diagram (list of recipes).

Resources

License

Stars

Watchers

Forks