blake502 / balatro-mobile-maker

Create a mobile Balatro app from your Steam version of Balatro
270 stars 21 forks source link

[Error] Save Transfer via ADB #19

Closed tsngsn closed 1 month ago

tsngsn commented 1 month ago

[beta-0.5.2] Balatro APK install via ADB was successful, yet the save transfer was not. I was able to replicate this error by running the APK maker again.

Attempting to transfer saves. If prompted, please allow the USB Debugging connection on your Android device.
adb: error: target '/data/local/tmp/balatro/files/save/game' is not a directory
Deleting tools...
Deleting temporary files...
Press any key to exit...

Moreover, I cannot find the save folder directory on my Android phone to manually transfer my data.

blake502 commented 1 month ago

Thanks for reporting this! Give it a shot now on beta-0.5.3

Edit: Modifying that folder manually can only be done through ADB as far as I know.

tsngsn commented 1 month ago
Attempting` to transfer saves. If prompted, please allow the USB Debugging connection on your Android device.
    adb: error: cannot stat 'C:\Users\John': No such file or directory
    adb: error: cannot stat 'Doe\AppData\Roaming/Balatro/.': No such file or directory

Thanks for being so active in updating this! I tried it again with beta-0.6, but the ADB save transfer failed to locate the Steam saves on my PC. This is likely due to my PC username having a space (i.e. John Doe). Not sure what exact directory it's coded to look in, but pulling saves from %APPDATA%\Balatro\ should work every time regardless of the username right?

blake502 commented 1 month ago

Ah I had not considered somebody having a space in their username haha. The directory needs to be placed in quotes. I'll get that taken care of soon!

blake502 commented 1 month ago

Give it a shot on beta-0.6.1

tsngsn commented 1 month ago

On beta-0.6.1, it works perfectly now. Thanks!