This repository is no longer being supported. See the new repository below.
The PySimpleGUI library used to create the UI on this project went private. It now requires a paid license to use.
A new repository exists for a web app version of this project using a React frontend here: link
read_docs.py in Data folder requires that /Path/To/Satisfactory/CommunityResources/Docs/Docs.json (these will be coded for your locale, e.g. en-GB - pick the matching one) is present in the project directory.
Running that will create the data.json file for this model. (read_docs.py out of date for 1.0, some manual input was needed until an update can be made.)
- Install Python 3.8.5 or later. link
- Install
glpkopen-source solver onto your computer. link or for Windows: link - Set the path where GLPK is installed.
On Windows:
- Open System Control Panel (Win+X, then select System).
- Go to Advanced System Settings.
- Click on Environment Variables.
- Click New under System variables.
- Enter the path to the glpsol.exe: Variable Name: GLPK_PATH Variable Value: (example, E:\Applications\pyomo glpk\glpk-4.65\w64).
- Restart your PC after setting the variable.
Install the required packages using pip:
pip install -r requirements.txt
pip install pyinstallerYou may wish to use a Python Virtual Environment to avoid polluting your system Python installation.
Run gui.py to open the program.
python gui.pymain.py is the translator to the model and runs the solver.
model.py creates the model for the solver.
The Saves file contains the saved settings states by the user.
pyinstaller --onefile --windowed --icon=icon.ico --collect-all pyomo --name SatisfactoryPlanner --distpath . gui.py