A tool for planning Satisfactory production chains with convenient sankey diagram view.
The tool: https://sankeyfactory.github.io.
The recipes are up-to-date with Satisfactory version 1.0
(The first version of the released game).
First of all, you'll need npm.
Once it is installed, you can use it for the project dependencies:
# This will install all required dependencies.
> npm install
# Runs typescript compiler to check validity of the code.
> npm run compile
# Builds application's TypeScript code to runnable by browsers JavaScript.
> npm run build-app
Once the web application is built, it can be viewed in browser by opening dist/index.html
file.
To omit problems with CORS you can also run a local server with
> npm run start
Note that already built files can also be found in
gh-pages
branch of this repository.
# Builds and runs the tool on NodeJS.
> npm run export-satisfactory-data
First, you'll need to export original icons from the game. See Extracting the game files.
Once you have the icons, they can be automatically copied and renamed by a tool to dist
folder.
# Builds and runs the tool on NodeJS.
# RESOURCES_DIR should be set to a path where you exported icons to.
# For example: `RESOURCES_DIR=Path-To-FModel/Output/Exports/FactoryGame/Content`
> RESOURCES_DIR=... npm run export-satisfactory-icons
Note: RESOURCES_DIR is a environment variable and it can only be set this way on UNIX systems. If you're using Windows, setting the environment variable should be performed another way.
If you want to extract data from Satisfactory for developing tools like this one, here is what I used:
-
File with all the in-game recipes:
Satisfactory/CommunityResources/Docs/Docs.json
Note: My tool converts the recipes from there into a more convenient format for my needs. If it's what you are seeking - look at the
gh-pages
repo branch. -
A tutorial for extracting game files such as icons.