Skip to main content

A savegame parsing package for Satisfactory.

Project description

Satisfactory Save Library

A library to parse and edit save games of the game Satisfactory by Coffee Stain Studios.

Install

pip install satisfactory-save

Usage

import satisfactory_save as s

# Load a save game
save = s.SaveGame('test.sav')

# Store a save game
save.save('test_edit.sav')

# Get save header, e.g., SessionName
print(save.mSaveHeader.SessionName)

A save game could be seen as mainly consisting of objects stored in several levels. Each object is of a specific class, which is identified by a class name, e.g., a foundation is of the class /Game/FactoryGame/Buildable/Building/Foundation/Build_Foundation_8x4_01.Build_Foundation_8x4_01_C. For further details about the save game structure, please refer to the detailed documentation here.

To access the save objects, the following methods exist:

# List of objects of the main level (including buildings)
save.mPersistentAndRuntimeData.SaveObjects

# List of other level save objects
for i in range(len(save.mPerLevelDataMap)):
    level_name = save.mPerLevelDataMap.Keys[i]
    level_objects = save.mPerLevelDataMap.Values[i].SaveObjects

# Unified list of all objects
save.allSaveObjects()

To access the objects by class name, the following methods exist:

save.isObjectClass('/Class/Name')
save.getObjectsByClass('/Class/Name')

To access the objects by path name, the following methods exist:

save.isObjectPath('Path_Name')
save.getObjectsByPath('Path_Name')

Objects can be added and removed to a save game:

# Add object, a level must be provided, -1 refers to the main level
save.addObject(object, level=-1)

# Remove object from save game
save.removeObject(object)

Adding and removing objects is computationally expensive because internal structures are rebuilt every time. To overcome this limitation, an interface to add or remove lists of objects exists:

save.addObjects(objects, level=-1)
save.removeObjects(objects)

For more details about creating objects and adding properties, some examples are available here.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

satisfactory_save-0.11.0.tar.gz (1.0 MB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

satisfactory_save-0.11.0-cp314-cp314t-win_amd64.whl (1.3 MB view details)

Uploaded CPython 3.14tWindows x86-64

satisfactory_save-0.11.0-cp314-cp314t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (1.9 MB view details)

Uploaded CPython 3.14tmanylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

satisfactory_save-0.11.0-cp314-cp314-win_amd64.whl (1.2 MB view details)

Uploaded CPython 3.14Windows x86-64

satisfactory_save-0.11.0-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (1.9 MB view details)

Uploaded CPython 3.14manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

satisfactory_save-0.11.0-cp313-cp313-win_amd64.whl (1.1 MB view details)

Uploaded CPython 3.13Windows x86-64

satisfactory_save-0.11.0-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (1.9 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

satisfactory_save-0.11.0-cp312-cp312-win_amd64.whl (1.1 MB view details)

Uploaded CPython 3.12Windows x86-64

satisfactory_save-0.11.0-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (1.9 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

satisfactory_save-0.11.0-cp311-cp311-win_amd64.whl (1.1 MB view details)

Uploaded CPython 3.11Windows x86-64

satisfactory_save-0.11.0-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (1.9 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

satisfactory_save-0.11.0-cp310-cp310-win_amd64.whl (1.1 MB view details)

Uploaded CPython 3.10Windows x86-64

satisfactory_save-0.11.0-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (1.9 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

satisfactory_save-0.11.0-cp39-cp39-win_amd64.whl (1.3 MB view details)

Uploaded CPython 3.9Windows x86-64

satisfactory_save-0.11.0-cp39-cp39-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (1.9 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

File details

Details for the file satisfactory_save-0.11.0.tar.gz.

File metadata

  • Download URL: satisfactory_save-0.11.0.tar.gz
  • Upload date:
  • Size: 1.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for satisfactory_save-0.11.0.tar.gz
Algorithm Hash digest
SHA256 02c4c387843b1efe2fb4fde5e9b5f4901385fac3f4c19ebfa79a17b89e64ee56
MD5 8b6d4c2f274de6a5a1ce4e67268e072f
BLAKE2b-256 99b6cdcf333607c28fa04a66a95fac05a04166a31caed41fdf20087410e3679b

See more details on using hashes here.

Provenance

The following attestation bundles were made for satisfactory_save-0.11.0.tar.gz:

Publisher: python.yml on moritz-h/satisfactory-3d-map

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file satisfactory_save-0.11.0-cp314-cp314t-win_amd64.whl.

File metadata

File hashes

Hashes for satisfactory_save-0.11.0-cp314-cp314t-win_amd64.whl
Algorithm Hash digest
SHA256 809279c62a26afc5111147b25f301ece33196cb5efe1b1ee1bfa8eb0116a6a65
MD5 3b72c9de50b021a78df65e7665cb7fe0
BLAKE2b-256 2292e98237f53aed8e89b6c535cf7b0dd6afd7b40ca6280f6f7a39defdcfa877

See more details on using hashes here.

Provenance

The following attestation bundles were made for satisfactory_save-0.11.0-cp314-cp314t-win_amd64.whl:

Publisher: python.yml on moritz-h/satisfactory-3d-map

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file satisfactory_save-0.11.0-cp314-cp314t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for satisfactory_save-0.11.0-cp314-cp314t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 54c0226d3278d8140bc6c501dde79eb5b7ca0c56a5e3b737c63b48dc07d5aac9
MD5 55a2e8c4cf9fa254707714e9cda64718
BLAKE2b-256 c18757127ef2eca2e3745053411f11aabb9a5a321117ffe759ebfba3c00696a7

See more details on using hashes here.

Provenance

The following attestation bundles were made for satisfactory_save-0.11.0-cp314-cp314t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl:

Publisher: python.yml on moritz-h/satisfactory-3d-map

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file satisfactory_save-0.11.0-cp314-cp314-win_amd64.whl.

File metadata

File hashes

Hashes for satisfactory_save-0.11.0-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 e616ec596184ab1036f0df1c73327eec5d8706f98c58f60b4371c750f005c4c1
MD5 4e706368b770dff8b180198957f567e8
BLAKE2b-256 ccca34f7a4dc45b4cbb35425d765778c201ee27a021dd1bee678e2c71270b72f

See more details on using hashes here.

Provenance

The following attestation bundles were made for satisfactory_save-0.11.0-cp314-cp314-win_amd64.whl:

Publisher: python.yml on moritz-h/satisfactory-3d-map

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file satisfactory_save-0.11.0-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for satisfactory_save-0.11.0-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 b44b25099054ac2f0f52ac2011b63c513a562b99028d72c4ad6becd362871e13
MD5 ad5b846c6036577fc262018222a1f773
BLAKE2b-256 2d03708e3634a8f6b9dccb642608e262d21a35141952c2a49753b56247fe292e

See more details on using hashes here.

Provenance

The following attestation bundles were made for satisfactory_save-0.11.0-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl:

Publisher: python.yml on moritz-h/satisfactory-3d-map

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file satisfactory_save-0.11.0-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for satisfactory_save-0.11.0-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 fb35a2a1fbd34857133652de6f58a3df7ca042fd44d2abd1ac5dee5573728627
MD5 6207c38e46d13924001ad2f38a37bac3
BLAKE2b-256 1c01fdf2f53e8245a37573ee75c2272d9d06ba21a112c0f833f663547d92f749

See more details on using hashes here.

Provenance

The following attestation bundles were made for satisfactory_save-0.11.0-cp313-cp313-win_amd64.whl:

Publisher: python.yml on moritz-h/satisfactory-3d-map

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file satisfactory_save-0.11.0-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for satisfactory_save-0.11.0-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 ac5254030722600db1467ec8041e063e3b687a0ffecaed3cc31c35c152a8172c
MD5 390870f9b5a7b19c9aa3c74857b03ae5
BLAKE2b-256 da0274c4d01394e75b38ba2e1356040b58e9226a3bfb4cf616916d0e93894099

See more details on using hashes here.

Provenance

The following attestation bundles were made for satisfactory_save-0.11.0-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl:

Publisher: python.yml on moritz-h/satisfactory-3d-map

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file satisfactory_save-0.11.0-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for satisfactory_save-0.11.0-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 a6799f9cf1c66aae8fd021caa464ee1fe52a2577585db3e134b4cfca1ad3c39d
MD5 b7285cf110d336315691b840ad51efa7
BLAKE2b-256 88d243c093aa48adf383a8c15bdc1b3ed63f043f1cb01b2b417174a29fd231bd

See more details on using hashes here.

Provenance

The following attestation bundles were made for satisfactory_save-0.11.0-cp312-cp312-win_amd64.whl:

Publisher: python.yml on moritz-h/satisfactory-3d-map

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file satisfactory_save-0.11.0-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for satisfactory_save-0.11.0-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 425193f696d94f0dd34c7d4d76dfaf2fcf301fd686aff1d19fd15c41eb085194
MD5 4123c5ba7b0b261d481191c0f52c6fba
BLAKE2b-256 f3dac6c1e4ef1889fdcc80769384061a33eed58eaa1546256f424e3afec74acc

See more details on using hashes here.

Provenance

The following attestation bundles were made for satisfactory_save-0.11.0-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl:

Publisher: python.yml on moritz-h/satisfactory-3d-map

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file satisfactory_save-0.11.0-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for satisfactory_save-0.11.0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 6d4b06437ae9f14050e3da2e0ca2079a44199639285b3fe0e0ce261ff0c75c44
MD5 51ae4d3503376d50c1fa3963254ae6e1
BLAKE2b-256 cbe1d245dd499e2cf06373db7f99b0346900958190a043837cc1abd12c338c50

See more details on using hashes here.

Provenance

The following attestation bundles were made for satisfactory_save-0.11.0-cp311-cp311-win_amd64.whl:

Publisher: python.yml on moritz-h/satisfactory-3d-map

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file satisfactory_save-0.11.0-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for satisfactory_save-0.11.0-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 aaaa2e86043b2b1ffbe4af06a54fb89d35afabfa367716e17b52be2ad7b6b4db
MD5 373a21714c51c0853ded4d52b7de77a2
BLAKE2b-256 0e36bca1e8b9db4b3cd580479e70820efec043e463ecfa3c4abd3b4a52ea1dd8

See more details on using hashes here.

Provenance

The following attestation bundles were made for satisfactory_save-0.11.0-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl:

Publisher: python.yml on moritz-h/satisfactory-3d-map

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file satisfactory_save-0.11.0-cp310-cp310-win_amd64.whl.

File metadata

File hashes

Hashes for satisfactory_save-0.11.0-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 b3813a5f29b46e974b82af5d5285bf36425490d6a99bc1a11e5452405a4274b3
MD5 bd3640c8de57bbd8bb596297884c0350
BLAKE2b-256 9b94b85aeead286c98640063d8eb1bd64b72f9a5568061e435538cdfd74035c6

See more details on using hashes here.

Provenance

The following attestation bundles were made for satisfactory_save-0.11.0-cp310-cp310-win_amd64.whl:

Publisher: python.yml on moritz-h/satisfactory-3d-map

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file satisfactory_save-0.11.0-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for satisfactory_save-0.11.0-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 0f55837d4b0f928b0828614d162a6d09d32e633026ae8865fa095c2145e02c70
MD5 2203f96df882828458d6d907a19522aa
BLAKE2b-256 9c3b7e08429954c5e0b1850b3ee37b1d82845a182fbeef39cec755158024eba8

See more details on using hashes here.

Provenance

The following attestation bundles were made for satisfactory_save-0.11.0-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl:

Publisher: python.yml on moritz-h/satisfactory-3d-map

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file satisfactory_save-0.11.0-cp39-cp39-win_amd64.whl.

File metadata

File hashes

Hashes for satisfactory_save-0.11.0-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 7c8dad54e5c91cf7300bde77f3437e74861927a104b61bd53a027a233bd3474e
MD5 c1abbff6808b2dede2a1e6f7b5286b2a
BLAKE2b-256 5e874269c51fd84af38980c033ed9a2e9ec247702185f5ac6002f0df383586d8

See more details on using hashes here.

Provenance

The following attestation bundles were made for satisfactory_save-0.11.0-cp39-cp39-win_amd64.whl:

Publisher: python.yml on moritz-h/satisfactory-3d-map

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file satisfactory_save-0.11.0-cp39-cp39-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for satisfactory_save-0.11.0-cp39-cp39-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 304ea522ce257f44891508a2b91d2351fd7c306c33a24e36cc6db92edf9cb0c4
MD5 7d2acf916e896fe741e32e4ac0534547
BLAKE2b-256 933acddbfae3ec98116d55b9f98643395764216729a6f3ed0558b164418a0fdf

See more details on using hashes here.

Provenance

The following attestation bundles were made for satisfactory_save-0.11.0-cp39-cp39-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl:

Publisher: python.yml on moritz-h/satisfactory-3d-map

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page