Skip to main content

A small headless library for editing Lethal Company save files.

Project description

GreatAsset

Build status Linting and Typechecking

Welcome, great assets to The Company!


This project is a small thin wrapper to edit save files for the Lethal Company video game.

Our documentation can be found here.

Example usage

Add 6000 credits and unlock all possible (found) ship upgrades.

import os
import pathlib

import great_asset

SAVE_FILE_LOCATION = pathlib.Path(os.getenv("USERPROFILE")) / "AppData" / "LocalLow" / "ZeekerssRBLX" / "Lethal Company"
SAVE_FILE_1 = SAVE_FILE_LOCATION / "LCSaveFile1"

def main() -> None:
    save = great_asset.SaveFile(SAVE_FILE_1)

    # update credits to 6000
    save.update_credits(6000)

    # unlock all items within `great_asset.ShipUnlock` enum.
    save.unlock_all_ship_upgrades()

    # serialise the data we changed to the save file format
    # and dump & overwrite the passed save file above.
    save.write()

Disclaimer

This project is not affiliated with Lethal Company, its creator or affiliates in any way. Use of this project within public games without players consent is likely going to remove a lot of the fun from the game and is discouraged.

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

great_asset-1.1.2.tar.gz (14.5 kB view details)

Uploaded Source

Built Distribution

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

great_asset-1.1.2-py3-none-any.whl (22.7 kB view details)

Uploaded Python 3

File details

Details for the file great_asset-1.1.2.tar.gz.

File metadata

  • Download URL: great_asset-1.1.2.tar.gz
  • Upload date:
  • Size: 14.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.11.6 Linux/6.1.0-12-amd64

File hashes

Hashes for great_asset-1.1.2.tar.gz
Algorithm Hash digest
SHA256 853acf3efc2bccb507205c60bcbe73ccd9e07c37769043daf3d079cc723d9ed9
MD5 17027c3486c198e307f49be4ee66aa1e
BLAKE2b-256 6502ef1a1fa57cd1d0a6d0385b40ff3db7644b086b449c50ab82642fd9341fa7

See more details on using hashes here.

File details

Details for the file great_asset-1.1.2-py3-none-any.whl.

File metadata

  • Download URL: great_asset-1.1.2-py3-none-any.whl
  • Upload date:
  • Size: 22.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.11.6 Linux/6.1.0-12-amd64

File hashes

Hashes for great_asset-1.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 a44fd87c1b6603cbddcc8df95ce5511fcbbc333d57e0fbe2fcc5fcc0492f19c1
MD5 300722511e078097880f11e69ff16d1c
BLAKE2b-256 eb06be54fd3b0445aa6112a4fc0a39b9832ce73e42ba4f559c4b03bb90ad1e75

See more details on using hashes here.

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