Package to parse a Satisfactory save file
Project description
Satisfactory Save Reader
This python program generates necessary CSV data for Satisfactory Loot Maps by interpretting data from a Satisfactory save file. The program consists of five python files, with main.py
being the python file to run in order to obtain two CSV files - loot_points.csv
and hard_drives.csv
. Both of these generated CSV files are used for generating loot maps (after some manual fixing / adding some points of interest).
(Note: This python program will not function on a big file save - as certain functionality is not programmed yet)
(Note: This python program also breaks on Update 6 saves at the moment)
Video on Satisfactory Save Reader can be found here.
How To Download And Run
Cloning Repo
git clone https://github.com/klforthwind/SatisfactorySaveReader.git
Install Instructions
The only python modules we are using within the program are struct
and zlib
which should come pre-installed with Python3.
Running The Code
- Place a save file in the
saves
folder - Update variable
SAVE_FILE
at the top ofmain.py
to your save file
"""File location variables for reading."""
SAVE_FILE = '../saves/<save_file>' # ex. "../saves/TESTING.sav" <===
- Run the program
cd main
python3 main.py
# CSV files will be saved to output folder, unless changed
Reading Beryl Nuts / Paleberries / Bacon Agaric / Other
If we wanted to obtain a CSV file of the locations of all of the bacon agaric, we could:
- Look at json data in
main.py
to determine which objects are for bacon agaric - Add a function in CSV file that would get the specific data from each object
- Replicate structure of HardDrive / MapLoot CSV creation within
main.py
- Add a variable at the top of
main.py
to not have a magical string holding where the output should go - Run
main.py
again, hopefully to find a new file within the output folder
Code Structure
SatisfactorySaveReader
.
├── img # Image files for README.md
├── src # All python files
├── output # CSV output files
├── saves # Satisfactory saves
└── README.md
Main
.
├── src # All python files
│ ├── csv_file.py # CSV file class for writing CSV data
│ ├── data_file.py # Data file class for reading decompressed zlib data
│ ├── file.py # File parent class that has reading / writing capabilities
│ ├── main.py # Main file that handles the interaction between other python files
│ ├── zlib_file.py # Zlib file class for reading compressed zlib data (from Satisfactory saves)
│ └── ... # etc.
├── ...
└── ...
Software Design
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for satisfactory_save_reader-0.8.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 330aa86dde8a4914b8bbbf295af730dee9bb843e1e18813d13c6d77e9654fb3d |
|
MD5 | dd40f09c7fbd9a3df334a8d81cc32d62 |
|
BLAKE2b-256 | 9ada4bf1b47802d3c96e1d0361da5c0660715cca81b0ec930b086a7f9dc25b49 |
Hashes for satisfactory_save_reader-0.8.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 88f73806ef605a7b18e600904078ad6dd045919cfde198d0a6c3fc0b0d25b3d4 |
|
MD5 | 7d46155f3b1fb4071ffaad91dc8d6a9e |
|
BLAKE2b-256 | 85a5b0784d9cd024757e65362a99cd26566aed32f48ee51b10069d4c08d84f33 |