Git Product home page Git Product logo

balatrosaveeditor's Introduction

BalatroSaveEditor

This is a helper for managing saves of Balatro, including merging and editing.

๐Ÿ›‘ This project is not affiliated with Balatro. ๐Ÿ›‘

๐Ÿ’พ Please make sure you have backups in case of unexpected bugs. ๐Ÿ’พ

โš ๏ธ The script is built without prior knowledge of how the game works, so bugs are expected when test cases don't fully cover or the game gets updates.

โš ๏ธ Please file an issue if you encounter any bug or the game crashes.

Where to find save files

  • Windows: %APPDATA%\Roaming\Balatro
  • macOS: ~/Library/Application Support/Balatro

Installation

  1. Clone this repo

    git clone https://github.com/TeddyHuang-00/BalatroSaveEditor.git && cd BalatroSaveEditor
    # or
    git clone [email protected]:TeddyHuang-00/BalatroSaveEditor.git && cd BalatroSaveEditor
  2. Install dependencies

    pip install -r requirements.txt

Usage

  • List all options

    python main.py -h
  • View save file

    python main.py view <save_file>
  • Merge save files

    This will merge left_save_file and right_save_file with the most progress kept.

    python main.py merge <left_save_file> <right_save_file>

    You can change this behavior by using -p or --prefer option. This will make sure the progress of the specified save file is kept if there is any conflict.

    python main.py merge <left_save_file> <right_save_file> -p <left|right>

    You can also specify the output file by using -o or --output option.

    python main.py merge <left_save_file> <right_save_file> -o <output_save_file>
  • Edit save file

    This will export the save file to a JSON file which can be edited.

    python main.py export <save_file>

    You can edit the JSON file and import it back to the save file.

    python main.py import <json_file>

    You can also specify the output file by using -o or --output option for both exporting and importing.

    python main.py export <save_file> -o <output_json_file>

License

Open sourced under the MIT license.

Contributing

Feel free to submit a pull request if you find any bugs or want to add new features.

balatrosaveeditor's People

Contributors

teddyhuang-00 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.