Giter Site home page Giter Site logo

berkcelc / bcgm-python Goto Github PK

View Code? Open in Web Editor NEW

This project forked from fieryhenry/bcgm-python

0.0 0.0 0.0 43 KB

A python game modding tool for the mobile game The Battle Cats that can decrypt, encrypt, and modify some game files

License: MIT License

Python 100.00%

bcgm-python's Introduction

Battle Cats Game Modding Tool

A python game modding tool for the mobile game The Battle Cats that can decrypt, encrypt, and modify some game files.

Note: I am no longer actively working on this tool so there may be bugs.

If you know how to program and want to do more powerful things with the game then you should use TBCML instead.

Join the discord server if you want to suggest new features, report bugs or get help on how to use the modder. (Discord is the same one as for save editing as I haven't made a modding specific one yet)

PyPi: https://pypi.org/project/battle-cats-game-modder/

If you want to support me then consider gifting me some ko-fi here: https://ko-fi.com/fieryhenry

Thanks to

How to use

  1. Install python (If you haven't already) https://www.python.org/downloads/

  2. Enter the command: py -m pip install -U battle-cats-game-modder into cmd or another terminal to install the editor. If that doesn't work then use python instead of py in the command

  3. Download the apk you want to edit from somewhere like uptodown or apkmirror

  4. Unpack the apk file for the game using Apktool or APKToolGui.

  5. You can then find the .pack and .list files in the assets folder of the extracted APK.

  6. Get the .pack and .list files that contain the files you want to edit:

    • Most stats are in DataLocal

    • Most text is in resLocal

    • Sprites are in various Server files

  7. Then enter the command: py -m BCGM_Python to run the tool. If that doesn't work then use python instead of py in the command

  8. Select option to decrypt .pack files

  9. Select .pack files that you want, they will be in the assets folder in the apk for local files, or /data/data/jp.co.ponos.battlecatsen/files on your device (if rooted) for downloaded server files

  10. Also decrypt the DownloadLocal pack as you will need it for later

  11. Once completed the files will be in a game_files folder in the folder you ran the command from

  12. You can manually edit the data, or use the option in the tool that you want

  13. Once edited, you should place any modified files in the DownloadLocal pack folder instead of the original pack folder. This is because the game does not check if DownloadLocal has been modified, but it does check if the original pack has been modified. The game also prioritises DownloadLocal over the original pack, so if you have a file in both, the game will use the one in DownloadLocal.

  14. Open the tool again and select the encrypt option

  15. Select the DownloadLocal folder

  16. Once complete the encrypted .pack and .list files will be in anencrypted_files folder in the folder you ran the command from

  17. If you are asked if you want to patch the libnative file, say no as this featrue is currently broken and you do not need to do it if you placed your files in DownloadLocal

  18. Then you need to place the encrypted .pack and .list files back into the assets folder of the apk

  19. You then need to pack the apk using apktool or apktoolgui

  20. You then need to sign the apk using apktool or apktoolgui

  21. You then need to install the apk, you may have to uninstall the game first before installing the modified apk for the first time

  22. Open the game and see if it works

bcgm-python's People

Contributors

fieryhenry avatar j0912345 avatar

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.