BCSFE is a python command line save editor for The Battle Cats.
Join the discord server if you want to suggest new features, report bugs or get help on how to use the editor (please read the below tutorials first before asking for help).
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 free and open source code, which helped me figure out how to patch save data: beeven/battlecats, csehydrogen/BattleCatsHacker
Anyone who has supported my on Ko-Fi or LiberaPay
Everyone who's given me saves, which helped to test save loading/saving and to test/develop new features
- HungJoesifer for Vietnamese localization
- HungJoesifer for the
discordinspired theme
Note the following tutorials are for the device you wish to run the editor on, not the device that you have the game installed on.
For example just because you have the game on an android device, does not mean you have to run the editor on it. It is easier to run the editor on a PC / laptop rather than on a mobile device.
-
Install Python 3.9 or later if you don't already have it: https://www.python.org/downloads/
-
Open a terminal such as PowerShell or Command Prompt
-
Run the following command:
py -m pip install bcsfe- If you get an error saying that
pyis not a recongnised command, then try:
python -m pip install bcsfeor
python3 -m pip install bcsfe- If you get an error saying
No module named pip, then run:
py -m ensurepip --upgrade
Again change py for python or python3 if needed
- To run the editor, as long as Python is in your PATH, you should be able to run:
bcsfe
- If Python is not in your path you'll need to run:
py -m bcsfeAgain change py for python or python3 if needed.
If you are using Windows and you are still struggling, try watching this video here.
-
Install Python 3.9 or later using your system's package manager if you don't already have it
-
You might have to install pip seperately with a package called
python-pipor something similar or you can run the following command:
python3 -m ensurepip --upgrade
-
Depending on your distro you might not be able to install the editor directly using the system pip and you might need to use pipx (python-pipx) or create a virtual environment manually.
-
Using pipx:
pipx install bcsfe
- If
~/.local/bin/is in your path you should be able to run the editor with the command:
bcsfe
- You may also need to install
tkwith your system package manager to open the file selection dialog. This package may be calledtkorpython-tkorpython3-tk.
If anyone wants to put the editor on the AUR or another package repo, feel free, I'll be happy to help if needed.
You need to install a terminal emulator to be able to install and run Python packages.
Termux is a good option and is what this tutorial will use.
- Download Termux, you can either get it from F-Droid, or the APK directly from GitHub. DO NOT use the Google Play Store version, as it does not fully work.
I recommend using F-Droid since it can update Termux for you (and it's just a better alternative than using the Google Play Store).
On F-Droid Termux is called Termux Terminal emulator with packages
- Once Termux is installed, open it and run the following commands:
termux-setup-storage termux-change-repo pkg update pkg upgrade pkg install python python-pip
When it asks for a mirror, it doesn't really matter which one you pick, the default single mirror works fine.
- Install the editor with the following command:
pip install bcsfe
Or if that doesn't work try:
python -m pip install bcsfe
- Run the editor with the following command:
bcsfe
Or if that doesn't work try:
python -m bcsfe
Note that the editor might give you warnings about tkinter not being installed, you can just ignore those as tkinter will not work on mobile. This just means that instead of a graphical file selection dialog, you just have to type the file path manually.
For example to save your save file to your downloads directory, the path might look something like
/storage/emulated/0/Download/SAVE_DATA or /sdcard/Download/SAVE_DATA
I do not have an iOS device, so there is no text tutorial, but Viarules has made a video tutorial here. The video uses iSH which is apparently quite slow, and other people recommend using a-Shell instead.
By using the editor you agree to the following:
If you are using the editor to run a paid service that profits off of the editor (e.g a service to provide people with hacked accounts, or a paid discord bot to edit people's accounts, etc) you must make it very clear that you are using this save editor.
This should be done by linking this GitHub page, and explicitly stating that the tool you are using is available for free and that they don't need to use your service to hack their account.
This information needs to be visible and something the customer agrees to before any payment is made.
This also includes paid services which claim to teach people "How To Hack The Battle Cats". In those cases, this still applies, so you still need to state and have the customer acknowledge the things I said above.
Free services / derivative works (such as a third party discord bot or editor gui) are fine to use the editor under the hood as long as you abide by the License. Basically if you are distributing a program which uses the editor, you need to license your own program under the GPL or a compatible license (basically make it open source / free software too).
These terms are designed to prevent scams and the exploitation of users.
Also if you are profiting from the editor, it would be greatly appreciated if you could give back something and support me.
Once you have installed and ran the editor, you can now begin to edit your save file!
-
In
The Battle Catsenter theChange Account / Devicemenu in theSettingson the main menu. -
Then enter the
Begin Data Transfermenu. -
Then click / tap
Save Data to Server, this should give you a transfer code and a confirmation code. -
In the editor use the option called
Download save file using transfer and confirmation codeby entering the number1 -
Enter your transfer code
-
Enter your confirmation code
-
Select the country code that you are using,
en=english,kr=korean,jp=japanese,tw=taiwanese.
Note that en also includes the it, es, fr, th, and de translations.
-
Edit what you want. Note that in most cases, if you want to exit the current input you can enter
qand press enter to go back to the previous menu -
In the editor, go into the
Save Managementcategory and selectSave changes and upload to game servers (get transfer and confirmation codes). It may take some time, it may also fail, if it does then try again. -
This should give you a new transfer code and a new confirmation code.
-
Back in-game, tap the
Close Gamebutton, then tapCancel Data Transfer(and also possiblyStart Game From Beginning) -
Go back into the
Change Account / Devicemenu and then go into theResume Data Transfermenu -
Enter the new codes, and tap
Resume Transfer -
Then done! You should see your edits in-game.
-
Every time that you want to make an edit to your save, you will have to re-upload it to the game servers in the editor and re-download it in-game, the saves aren't automatically linked together.
Apparently doing the Google Account / Apple Account link limits the number of data transfers you can do within a certain time. So to be safe, I would avoid linking your account.
-
Add adb to your PATH environment variable, or edit the config to set ADB path editor config option to the full path of the adb executable. You can download adb from platform-tools
-
Open the editor and select the option named
Pull save file from device using adband enter your game version, or select the option namedSelect save file from fileand select a copy of your save data -
Edit what you want
-
Go into save management and select an option to push save data to the game
-
Enter the game and you should see changes
-
You need to be running the editor on the device itself, so you'll need to follow the Android tutorial to install the editor
-
You may have to run the editor with
sudo python -m bcsfeor something, so you might have to setup the termux root repo and runpkg install sudo -
In the editor select the option named
Pull save file from root storage -
Edit what you want
-
Go into save management and select an option to push save data to the game
-
Enter the game and you should see changes
-
Select the option in
AccounttoUnban accountor just upload the save data to the game servers again -
It may take some time but after, you should be able to choose one of the options in save management to push the save data to the game.
-
Instead of editing in platinum tickets use the
Platinum Shardsfeature -
Instead of editing in rare tickets use the
Normal Ticket Max Trade Progress (allows for unbannable rare tickets)feature -
Instead of hacking in cat food, just edit everything in that you can buy with cat food, e.g battle items, catamins, xp, energy refills (leaderships), etc. If you really want catfood then you can clear and unclear catnip missions with the feature
Catnip Challenges / Missionsthen entering 1 when asked. You'll need to collect the catfood in-game after each clear though -
Instead of hacking in tickets, just hack in the cats/upgrades you want directly
If you want the latest features then you can install the editor from the github.
-
Download Git
-
Run the following commands: (You may have to replace
pywithpythonorpython3)
git clone https://codeberg.org/fieryhenry/BCSFE-Python.git cd BCSFE-Python py -m pip install -e . py -m bcsfe
Then if you want the latest changes you only need to run git pull in the downloaded
BCSFE-Python folder. (use cd to change the folder)
Alternatively you can use pip directly, although it won't auto-update with the latest git commits.
py -m pip install -U git+https://codeberg.org/fieryhenry/BCSFE-Python.git py -m bcsfe
Again, you might need change py for python or python3
If you want to use the editor again all you need to do is run the py -m bcsfe command
I only have documentation for the locales and themes atm, but I will probably add more documentation in the future.
If you want to contribute to the BCSFE, I recommend joining the Discord Server and starting a discussion in #dev-chat, or create an issue in this repo, or a draft pull request.
If you need help with reverse engineering the save file, I have a basic starting guide here: https://codeberg.org/fieryhenry/bc_ree.
If you want to localize the editor see here.
BCSFE is licensed under the GNU GPLv3 which can be read here.