Giter VIP home page Giter VIP logo

battle-cats-save-file-editor's Introduction

Battle Cats Save File Editor


I have a discord server:https://discord.gg/DvmMgvn5ZB, it's the best way report bugs and you can leave your suggestions for new features to be implemented in the editor

If you want to support my work and keep me motivated to continue to work on this project then maybe 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

This got way more complicated due to added security to the transfer system, you now need to have a rooted device - either an emulator or a real device and extract the save that way.

Download the tool Releases · fieryhenry/Battle-Cats-Save-File-Editor · GitHub (get Battle Cats Save File Editor.zip, not the exe)

Watch this tutorial video that goes you through the steps of getting the save from the game, editing it, putting it back in, and fixing save data is used elsewhere bug: BC help vid Updated - YouTube

Scripts

Pull

Gets the save data from the game files.

Run the script with the argument of the game version that you want, e.g script.bat en

You can add a second agrument with the path to pull to, otherwise it will pull the save data to the current directory

Download (Right click -> save as)

@echo off
set game_version=%1
if %1 == jp set game_version=
adb pull /data/data/jp.co.ponos.battlecats%game_version%/files/SAVE_DATA %2

Push

Puts the save data into the game files, closes and re-opens the game.

Run the script with the argument of the game version that you want, e.g script.bat en

You can add a second agrument with the path to push from, otherwise it will push the save data located in the current directory.

Download (Right click -> save as)

@echo off
set game_version=%1
if %1 == jp set game_version=
set PACKAGE_NAME=jp.co.ponos.battlecats%game_version%
adb push %2SAVE_DATA /data/data/%PACKAGE_NAME%/files/SAVE_DATA
adb shell am force-stop %PACKAGE_NAME%
adb shell monkey -p %PACKAGE_NAME% -v 1

Wipe Save Data

Creates a fresh game ready for unban/fix elsewhere features

Run the script with the argument of the game version that you want, e.g script.bat en

You can add a second agrument with the path to push from, otherwise it will push the save data located in the current directory.

Download (Right click -> save as)

@echo off
set game_version=%1
if %1 == jp set game_version=
set PACKAGE_NAME=jp.co.ponos.battlecats%game_version%
adb shell rm /data/data/jp.co.ponos.battlecatsen/shared_prefs -r -f
adb shell rm /data/data/jp.co.ponos.battlecatsen/files/*SAVE_DATA*

adb shell am force-stop %PACKAGE_NAME%
adb shell monkey -p %PACKAGE_NAME% -v 1

Features

  1. Cat Food
  2. XP
  3. Tickets / Platinum Shards
    3.1 Normal Tickets
    3.2 Rare Tickets
    3.3 Platinum Tickets
    3.4 Legend Tickets
    3.5 Platinum Shards (using this instead of platinum shards reduces the chance of a ban)
  4. Leadership
  5. NP
  6. Treasures
    6.1 All Treasures In A Chapter / Chapters
    6.2 Specific Treasure Types e.g Energy Drink, Void Fruit
  7. Battle Items
  8. Catseyes
  9. Cat Fruits / Seeds
  10. Talent Orbs
  11. Gamatoto
    11.1 Catamins
    11.2 Helpers
    11.3 XP
  12. Ototo
    12.1 Base Materials
    12.2 Engineers
    12.3 Cat Cannon Upgrades
  13. Gacha Seed
  14. Equip Slots
  15. Gain / Remove Cats
    15.1 Get all cats
    15.2 Get specific cats
    15.3 Remove all cats
    15.3 Remove specific cats
  16. Cat / Stat Upgrades
    16.1 Upgrade all cats
    16.2 Upgrade all cats that are currently unlocked
    16.3 Upgrade specific cats
    16.4 Upgrade Base / Special Skills (The ones that are blue)
  17. Cat Evolves
    17.1 Evolve all cats
    17.2 Evolve specific cats
    17.3 Evolve all current cats
    17.4 Devolve all cats
    17.5 Devolve specific cats
  18. Cat Talents
  19. Clear Levels / Outbreaks / Timed Score
    19.1 Clear Main Story Chapters
    19.2 Clear Stories of Legend Subchapters
    19.3 Clear Uncanny Legends Subchapters
    19.4 Clear Other Event Stages
    19.5 Clear Zombie Stages / Outbreaks
    19.6 Clear Aku Realm
    19.7 Set Into The Future Timed Scores
    19.8 Clear Heavenly Tower
    19.9 Clear Infernal Tower
  20. Inquiry Code / Elsewhere Fix / Unban
    20.1 Change Inquiry Code
    20.2 Fix save is used elsewhere error - whilst selecting a save that has the error(the one you select when you open the editor) select a new save that has never had the save is used elsewhere bug ever(you can re-install the game to get a save like that)
  21. Get Restart Pack
  22. Close rank up bundle / offer menu
  23. Calculate checksum of save file

battle-cats-save-file-editor's People

Contributors

fieryhenry avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

battle-cats-save-file-editor's Issues

Rare Capsule Tickets bug

have 0 rare capsule tickets
back up my save using BackupManagerEN.exe
edit rare capsule tickets value into 1
and the result i have 256 rare capsule tickets, not 1

New feature: seed retrieving from save file

I've made a fork based on this editor to get seed without rolling gacha.

What about adding this feature to main repo?

And also, fix your Discord link, it's doesn't works

Missing Cat

when use "all cats" feature, the result is there are 2 cats still not unlocked; Mighty Aether Ltd. (594) and Blooming Kamakura (595).

The Battle Cats EN v10.3.0.

Change inquiry code don´t work.

I attempted to use the new inquiry code function, but the inquiry code not changed, and that message still appears on screen. This is the first error that i have with this save editor.

Save active elsewhere bug

When this bug shows up, you can fix it with the new save incury code replacement but at the moment you transfer the save out of the rooted device, the save is active elsewhere bug appears and there is nothing left to do, save get lost of theres no backup

Catfruit and Catseeds

Using Menu option 21>2
Changing all catfruit/seeds to 256 will yield 256 of each item totalling 256x 15 = 3840
When loaded in game only 256 of Purple seed is shown and recorded. (first 256 in list)

Issue is; Catfruit Storage will only hold 256 MAX of all items.

Suggest capping mass edit from 256 to 17 . (256max/15types = 17of ea)
OR
Suggest capping mass edit to only cat fruits
32 Catfruits ea, (256max/8types = 32 of ea catfruits and no cat seeds)

[Feature request] Transfer save file to game (similar to the old BackupManagerEN)

Is it possible to integrate the "restore a backup" feature of Lethal's BackupManagerEN into the editor?
Although his program haven't been updated in a long time, it's still works (to an extent, and somewhat buggy)

This would really help ease the process of getting the edited save file running, and also remove the reliance on a rooted android device/emulator

Change leadership is bug

I tried to use this cheat to change leadership (my current is 200) but after I change it, it turns to 0

Several Features Not Working

I tried using some of the features in the save editor but it seems that only the xp, cat food, get a specific cat seems to work.

Regarding materials, once I input my desired values, it changes inside the game to random strings of value and I can't build anymore.

I'm sorry I'm not a developer or anything so I don't know how to generate any data for you to improve on it. Several of the option have their own error message and then it automatically closes down, so I couldn't even copy paste haha.

Still, I love the idea behind editing the save file. Looking forward to new updates/fixes! :)

nintendo switch

rare tickets work on the nintendo switch and thats about it Wanted to know if nintendo switch is one of the platforms ya update this save editor on and. thanks

XP Editing broken

When editing XP the returner mode button pops up and when entering a chapter it instantly goes to the stage list, not allowing me to enter the upgrade and equip menus.
Using EN.

Battle cats wont start after editing

I used your editor while watching your video to make sure nothing went wrong, even went way under reccomended values to avoid this. But after patching and inserting the new save, the game wont open and my account it theoretically gone.

Platinum Ticket

Cannot use "add platinum tickets" when Lucky Gold G Tickets Events in-game.

The Battle Cats EN v10.3.0.

[Request] Linux/Debian build

Hi there, could you make a build for Linux command line? I saw that you use C#/.NET in the source code but it's kinda hard to build it in Linux env. Thank you so much :)

The data is not patched but replaced

I have followed all steps from the guide. NOX -> SAVE_DATA -> Battle-Cats-Save-File-Editor (only max food) -> BackupManagerEN
Everything works but until resume the game. the game only gives max food but nothing else. It means everything is reset except the food is max that done in Battle-Cats-Save-File-Editor. I don't have my current save but reset with max food.

I am wondering if there is a bug in the editor. Or the SAVE_DATA from NOX is wrong?

Talent levels

When you choose to edit talents for a cat that has a gain tough vs, gain massive damage or gain money up talent, the editor allows you to enter a max level of 10, which should be 1 instead. See screenshots below for what happens if you choose a level that's not 1.
Screenshot_20211211-205713_The_Battle_Cats
Screenshot_20211211-205702_The_Battle_Cats
Screenshot_20211211-205728_The_Battle_Cats
e

game will no longer open in Nox

i was just editing my account to give myself max items and now the game wont open in Nox anymore, i thought it might be me leveling all my cats up by +50 or giving myself 15 slots, but i have no explanation really and my app wont open. any Help?

Change Item Battle Count Exception

Every time i try to change my battle item count, i get this exception:

How many of each item do you want?(max 65535)
100

Unbehandelte Ausnahme: System.ArgumentOutOfRangeException: Nicht negative Zahl erforderlich.
Parametername: value

bei System.IO.FileStream.set_Position(Int64 value)
bei Battle_Cats_save_editor.Editor.Items(String path)
bei Battle_Cats_save_editor.Editor.Main()

Translation:

How many of each item do you want?(max 65535)
100

Unhandled Exception: System.ArgumentOutOfRangeException: non-negative number required.
parameter name: value

at System.IO.FileStream.set_Position(Int64 value)
at Battle_Cats_save_editor.Editor.Items(String path)
at Battle_Cats_save_editor.Editor.Main()

Edit: This only happens if you haven't unlocked battle items yet.

Can't add specific cats?

Sometimes when I want to add a cat by their ID it just doesn't work. The cat is kinda unlocked in the (book? forgot what it's called) but isn't visible and I am unable to equip it (it just doesn't show up). When I use the option to add all cats, the ones not working before seem to get added. I checked the id's a couple of times and it should be working. It happens for example with Cornelia #186.

features that Might need a Fix

  1. Change Cat food Works
  2. Change XP Works
  3. Get all treasures Works
  4. All cats upgraded 40+80 NEEDS A FIX! [some cats only get to +9 or don't get leveled at all.]
  5. Change leadership Works
  6. Change NP Works
  7. Change cat tickets Works
  8. change rare cat tickets Works
  9. Change platinum tickets Works
  10. Change gacha seed Works
  11. All cats evolved DOES NOT WORK! [doesn't do anything]
  12. Change battle item count Works
  13. Change Catamins Works
  14. Change base materials Works
  15. Change catseyes Works
  16. All cats Works
  17. Get a specific cat Works
  18. Upgrade a specific cat to a specific level needs a fix
  19. change treasure level (game crashes when you enter the tresure menu but the effects of all those treasures are present) Works
  20. Patch Data works
  • IDEAS
    add catfruit [Amount]
    Finished all stories [100%]
    add story medals

  • fixes needed...
    GAMATO crashing...

  1. all cats evolve doesn't do anything.
    Storage crashing issue

  2. All cats upgraded Needs a Fix [ some are +9 or never really gets upgraded and Breaks gamato ]

Auto closes app

When i try opening it and selecting my file it automatically closes the app

unable to change the cats evolve

hi, im having trouble changing the evolvent of the cats, i do know how to fix it, it just takes much longer, if possible pliease fix this.
thank you
-swaqyy
(get in contact with me by using my tag on discord "swaqywack#2242"

Unable Decrypt .list and .pack files

In option "27. Enter game modding menu, contains stuff on .packs and .lists" > "1. Decrypt .list and .pack files."
Is this function only works for the EN version? Have you done this function for JP or TW version also?

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.