Skip to main content

A comprehensive Python wrapper for the Battle Cats Save File Editor (BCSFE) core library.

Project description

bcsfe-wrapper-python

A comprehensive Python wrapper for the Battle Cats Save File Editor (BCSFE) core library.

Installation

pip install bcsfe-wrapper-python

Usage

from bcsfe_wrapper_python.wrapper import BCSFEWrapper

# Load save data from file
save = BCSFEWrapper.from_file("SAVE_DATA", cc="jp")

# Edit items
save.set_catfood(99999)
save.max_xp()

# Unlock all cats
save.unlock_all_cats()

# Upload to server
transfer_code, confirmation_code = save.upload_to_server()
print(f"New Transfer Code: {transfer_code}, Confirmation Code: {confirmation_code}")

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

bcsfe_wrapper_python-0.2.0.tar.gz (6.0 kB view details)

Uploaded Source

Built Distribution

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

bcsfe_wrapper_python-0.2.0-py3-none-any.whl (6.2 kB view details)

Uploaded Python 3

File details

Details for the file bcsfe_wrapper_python-0.2.0.tar.gz.

File metadata

  • Download URL: bcsfe_wrapper_python-0.2.0.tar.gz
  • Upload date:
  • Size: 6.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.0rc1

File hashes

Hashes for bcsfe_wrapper_python-0.2.0.tar.gz
Algorithm Hash digest
SHA256 af6acbed1ae69d366f49bbdb055ca40c30cb7ee01ae16cb3684ae32d82cd5d0b
MD5 a9d8422a1e6811c7976a5fb8f8c43033
BLAKE2b-256 4ec4a9440f633eb6ec1201ca73dd1e01375b83baf20ab569592c63c14dc9fc3b

See more details on using hashes here.

File details

Details for the file bcsfe_wrapper_python-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for bcsfe_wrapper_python-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0a9503b6fb478713bb10ee3144001be5e5c53a80840009b04a666104dab03235
MD5 cb32b893fb15ddc697a202a462ae6e3d
BLAKE2b-256 c68ac8857ce1c751487ec7a55c28877854edecace050194cf97270bb93fbbd10

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