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).
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: GitHub - beeven/battlecats, GitHub - 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 battle-cats-save-editor
into cmd or another terminal to install the editor -
Connect your rooted device to your pc or start up your emulator
-
Then enter the command:
python -m BCSFE_Python
to run the editor -
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
-
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.
If you want a video to follow instead then watch the tutorial video here (WIP)
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
-
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.2.0.tar.gz
.
File metadata
- Download URL: battle-cats-save-editor-1.2.0.tar.gz
- Upload date:
- Size: 43.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.9.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 39bdf0d701e18f7478d7619a3245573b2644708c5b566c66e35cb847b372d8f2 |
|
MD5 | 8d998616a6fa856c7bc24a6eb79668d5 |
|
BLAKE2b-256 | 891981dd7ae77847fff45ba726c7957540d4b9aa43048c7cd9a5a00b7ce6c969 |
Provenance
File details
Details for the file battle_cats_save_editor-1.2.0-py3-none-any.whl
.
File metadata
- Download URL: battle_cats_save_editor-1.2.0-py3-none-any.whl
- Upload date:
- Size: 51.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.9.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 170afa1d3bee7b7482846ed4247837da1374a4fcba1779eecb19bea907ef592b |
|
MD5 | 6092155572f069d9fa14b5cc751e5ea5 |
|
BLAKE2b-256 | 520acefb0f8df93d4946580bf7159a6169eb8a5d7f76d78de30fc461f541c2df |