Skip to content

Python script for injecting Lovely into mobile Balatro APK

Notifications You must be signed in to change notification settings

54ac/BalatroAPKInjector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

Balatro APK Injector

What is this?

This is a simple Python script that injects the Android build of Lovely to the retail APK of Balatro, adding mod support to the game. Primarily written to be used with the Mobile Menu Mod mod, but should work with others as long as they were written for the mobile version of the game.

Requirements

  • Python 3
  • Balatro APK, which can be copied from your device with apps such as App Manager.

Usage

  • Download the script and place it in a folder with the Balatro APK.
  • Open a terminal in that folder and run e.g. python apk_patcher.py balatro.apk, optionally providing additional arguments which are listed when running the script with the --help flag. The script will set up a virtual environment and take care of downloading and setting up all dependencies automatically.
  • Install the resulting APK on your device, e.g. by using adb (adb install path/to/balatro.mod.apk).
  • Depending on your device, the data folder may be located at /storage/emulated/0/Android/data/com.playstack.balatro.android.mod or its equivalent on external storage (SD card). Copy mods to the files/mods folder inside.

Notes

Mods or frameworks such as Steamodded might not work at this time, as they are designed for the PC version of the game.

About

Python script for injecting Lovely into mobile Balatro APK

Topics

Resources

Stars

Watchers

Forks

Languages