A battle cats save file editor
Project description
Battle Cats Save File Editor
A python save editor for the mobile game The Battle Cats that requires a rooted device/emulator.
It is sort of based on my C# save editor but it works in a completely different way and should be more reliable since it works in a similar way to how the game actually parses the save data. But the downside is that if there is one error/bug in the parser code, you can't edit anything and the program crashes.
Join the discord server if you want to suggest new features, report bugs or get help on how to use the editor (not a substitute for the latest tutorial video).
PyPi: https://pypi.org/project/battle-cats-save-editor/
If you want to support me then consider gifting me some ko-fi here: https://ko-fi.com/fieryhenry
Thanks to:
Lethal's editor for giving me inspiration to start the project and it helped me work out how to patch the save data and edit cf/xp: https://www.reddit.com/r/BattleCatsCheats/comments/djehhn/editoren/
Beeven and csehydrogen's open source code, which helped me figure out how to patch save data: beeven/battlecats, csehydrogen/BattleCatsHacker
How to use:
At the moment you will need either a rooted device or a rooted android emulator. I recommed LDPlayer, Nox, or MEmu. Bluestacks is also an option but is more difficult to root as it doesn't have a built in option. If you are using an emulator you can transfer your save data from your main device to it using the in-game transfer menu and then transfer back to your device after editing your save.
-
Install python (If you haven't already) https://www.python.org/downloads/
-
Enter the command:
python -m pip install -U battle-cats-save-editor
into cmd or another terminal to install the editor. If that doesn't work then usepy
instead ofpython
in the command -
Connect your rooted device to your pc or start up your rooted emulator
-
Then enter the command:
python -m BCSFE_Python
to run the editor. If that doesn't work then usepy
instead ofpython
in the command -
Choose the option to
Get the save data from the game automatically using adb
and enter the game version that you are using. -
If you get the
No device with an adb connection can be found, please connect one and try again.
error message then you haven't setup your adb correctly, so you may need to go into the settings in your emulator (If using one) and make sure adb is enabled. -
If you get a parsing error, or nothing seems to happen then please join the discord server and report it to me directly or in #bug-reports
-
Then edit what you want. You can either enter the numbers asigned to each feature, or a word to search for a feature e.g entering catfood will run the Cat Food feature and entering cats will show you all the features that have cats in their name.
-
Your edits won't be saved automatically so you'll need to go into the
Save Management
option and choose one of the first 3 options. A shortcut for re-launching the game is to enter(r
into the the editor.
If you want a video to follow instead then watch the tutorial video here
How to fix "This save data is currently acitve elsewhere"
I don't really know how this error occurs because I've gotten it even with an untouched account after repeatedly Save Data to Server
and then Cancel Save Data Transfer
but anyway here's how to fix it:
-
Rename your current save to something like
SAVE_DATA_main
to keep track easily -
Open the editor, select any save and then run the feature in
Save Management
toClear save data
-
Then open the game, select a langauge and accept all of the agreements.
-
Open the editor and get the save data using adb
-
Close the editor
-
Rename the new save data to
SAVE_DATA_new
to keep track easily -
Open the editor and select the
SAVE_DATA_main
save file. -
Go into the
Inquiry Code / Token
menu and run the feature toFix elsewhere error / Unban account
-
Select
SAVE_DATA_new
-
Then go into
Save Management
and pick one of the first 3 options -
Open the game and you should be able to play (You may need to press
Play
a few times) -
I recommed you remove all cat food, rare tickets, platinum tickets, and legend tickets from your save file to avoid getting banned. Although it might not make a difference.
How to unban an account
You can get banned for editing in any amount of cat food, rare tickets, platinum tickets (not platinum shards), or legend tickets.
The way you fix it is the same method as the elsewhere fix, so just follow that.
To avoid getting banned in the future instead of hacking in cat food, just edit everything in that you can buy with cat food, e.g battle items, catamins, xp, leadership for energy, etc and just hack in the cats/upgrades you want instead of editing in rare tickets, platinum tickets or legend tickets.
Why can't I upload save data to the game servers?
Since 10.4 the transfer system has been secured better, so it is much more difficult to do anything. The difference between downloading and uploading save data is that there is a signature (Nyanko-Signature) that is generated. (There are other things too such as authorization but you can get that by doing other different requests to the servers anyway). So until I know how that signature is generated root is still required.
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
File details
Details for the file battle-cats-save-editor-1.4.6.tar.gz
.
File metadata
- Download URL: battle-cats-save-editor-1.4.6.tar.gz
- Upload date:
- Size: 2.8 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.9.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 30f7d4ebc375a8de664e1abb4159b434f562f995bc6dff1b01fefdd1885f4c27 |
|
MD5 | 249fba2c70336b6a0ef59591746bcd1c |
|
BLAKE2b-256 | 0d6e18203b492b76d2a2cbc31e48b882f4d765fd93773e7a27c184e87cfa87d4 |
Provenance
File details
Details for the file battle_cats_save_editor-1.4.6-py3-none-any.whl
.
File metadata
- Download URL: battle_cats_save_editor-1.4.6-py3-none-any.whl
- Upload date:
- Size: 2.9 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.9.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bae4ca047c777c076e89ce49591a94c555efb66641fff763ac26193fd9c0f65b |
|
MD5 | e9f3f48685f0084a167d1b0b79168985 |
|
BLAKE2b-256 | fd0b031c45a1479d5427ce1bdf094e0b5faae2be0b814926c83f4f96e536c7e7 |