Skip to content

Latest commit

 

History

History
60 lines (39 loc) · 2.19 KB

File metadata and controls

60 lines (39 loc) · 2.19 KB

Satisfactory Planner

This repository is no longer being supported. See the new repository below.

New Repository for Web App version

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

Applying Satisfactory Updates (Deprecated, see new repository)

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.)

Setup (Deprecated, see new repository)

  • Install Python 3.8.5 or later. link
  • Install glpk open-source solver onto your computer. link or for Windows: link
  • Set the path where GLPK is installed.

On Windows:

  1. Open System Control Panel (Win+X, then select System).
  2. Go to Advanced System Settings.
  3. Click on Environment Variables.
  4. Click New under System variables.
  5. Enter the path to the glpsol.exe: Variable Name: GLPK_PATH Variable Value: (example, E:\Applications\pyomo glpk\glpk-4.65\w64).
  6. Restart your PC after setting the variable.

Install the required packages using pip:

pip install -r requirements.txt
pip install pyinstaller

You may wish to use a Python Virtual Environment to avoid polluting your system Python installation.

Usage (Deprecated, see new repository)

Run gui.py to open the program.

python gui.py

main.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.

Build a static executable using PyInstaller

pyinstaller --onefile --windowed --icon=icon.ico --collect-all pyomo --name SatisfactoryPlanner --distpath . gui.py