Skip to content

adepierre/ficsit-companion

Repository files navigation

Ficsit Companion

A node-based Satisfactory production planner

Build status Discord link Online version License MIT

ficsit companion illustration gif

Ficsit Companion is a node based production planner for Satisfactory. It's still in beta version and very experimental. You can test the online version here or download a standalone desktop version from the release page.

Plans and ideas

This is a partial list of what could eventually be integrated into Ficsit Companion in the future. Please keep in mind that it is mostly developed by one person on free time (and my factory also needs to grow), so there is no timeline and some features may end up never being implemented.

UI/UX improvements

Usually, I tend to favor functionnality before look (please don't judge my shoebox factories). As a consequence the UI and web version are currently not very pretty and lots of thing could be improved visually for a better experience.

Pin reordering

Inside a node, in/out pins order is irrelevant. However, being able to reorder them could be helpful to get cleaner layouts with less link crossing overall. Currently a partial solution is implemented: pins are automatically sorted based on the position of the linked node (if any).

Multi-pins merger/splitter

Currently, merger and splitter nodes are limited to two in/out pins only, forcing to chain them. Having a button or an option to add (remove?) pins would simplify some graphs. I'm not sure yet what would be a "good" UX for that. It also requires to rethink a bit the propagation algorithm as it currently assumes there are always only two in/out pins.

Better cycle support

Currently production cycles (such as recycled plastic/rubber) are still quite buggy and sometimes require users to manually update rates to balance things out. I am not sure there is a "perfect" solution here, but improving support for circular productions would definitely be a good thing.

Color modifiers

Adding the ability to change colors for links/nodes would definitely help having better organized graphs.

Automatic tests

This is more a developper thing, but adding automatic tests using the ImGui Test Engine would be very helpful to speed up development and debugging, avoid regressions etc...

In-game integration

I don't know much about Satisfactory mods, but as this is a C++ project using ImGui, I think it may be possible to have it integrated directly in game as a mod/part of a mod. At the moment this is just an idea though, and it would probably require a lot of tweaking to have it working.

Node placing/sorting

Having a button to automatically sort/place all the nodes on screen to minimize link crossing would be very useful. Not sure how to implement it properly yet though.

Automatic planning

I'm not a fan of fully automatic tools that can generate full optimized production chains, as I think they take away part of the fun of the planning phase. That being said, it could still be useful to add an option to expand a pin with a full production chain. Development-wise, it may be quite hard to implement from scratch, but using a tool like lpsolve could be fairly easy, assuming it's possible to translate Satisfactory constraints into the chosen solver language.

Other games support

The main concept of node editor production planner is not specific to Satisfactory and could be extended to other similar games (Factorio, Dyson Sphere Program...). The only requirement would be the possibility to generate a similar recipes json file (and potentially have images for the items).

Image exporter

Currently, if you want to visualize a previously generated production chain, you need to reopen it inside Ficsit Companion. It means each node takes a lot of space with all the pins. It would be helpful to have an option to export it to a more compact format, potentially an image, where you can easily see everything at a glance. This could either be integrated directly in the app or as a side script reading from a saved file.

Building

git clone https://github.com/adepierre/ficsit-companion.git
cd ficsit-companion
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Release -S .. -B .
cmake --build . --config Release

To build the web version locally you'll need to first install emscripten. Web version will be located inside build/web

git clone https://github.com/adepierre/ficsit-companion.git
cd ficsit-companion
mkdir build
cd build
/path/to/emscripten/emsdk activate latest
emcmake cmake -DCMAKE_BUILD_TYPE=Release -S .. -B .
cmake --build . --config Release

Updating

The recipes are currently up to date with version 1.0 of the game. To update to a different version, one can use the provided script. It requires having the Docs.json file provided in the game files as well as item icons extracted from the game. For more informations about the Docs.json file you can check the official wiki page and for icons extraction you can refer to this tutorial.

Using FModel, you'll have to extract at least these folders for icons:

  • FactoryGame/Content/FactoryGame/Resource/Parts
  • FactoryGame/Content/FactoryGame/Resource/RawResources
  • FactoryGame/Content/FactoryGame/Resource/Environment/Crystal
  • FactoryGame/Content/FactoryGame/Resource/Environment/AnimalParts
  • FactoryGame/Content/FactoryGame/Equipment
  • FactoryGame/Content/FactoryGame/Prototype/WAT (for somersloop icon)

Credits

Thanks to the amazing ocornut and thedmd for their libraries (Dear ImGui and ImGui Node Editor respectively).

Disclaimer

Ficsit Companion is not an official Ficsit nor Coffee Stain Studios product. All images comes from Satisfactory and are Coffee Stain Studios intellectual property.