blake502 / balatro-mobile-maker

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

Got an error when pushed saves from android device #54

Closed danielavdalian closed 1 week ago

danielavdalian commented 3 weeks ago

When I pull the save from my android device, I get this error: image I got the same error when using a save from steam to my android

danielavdalian commented 3 weeks ago

Update:

The error only happens when the version of Balatro of both devices is different. Like:

Android Version: 1.0.0.i-FULL Windows Version: 1.0.0.n-FULL Android ------> Windows FAIL Windows------> Android FAIL

blake502 commented 3 weeks ago

Good to know. I also encountered this issue, but have a fix planned.

To fix this manually, copy your saves from Android -> to Windows. Then, on the Windows side, delete any 0kb file in the %AppData%\Balatro directory (make sure to check sub-directories).

On Android, clear your saves entirely using the app manager, then copy the saves back to Android.

The cause of the issue I encountered was because I "touch" every possible file on the Android side that might be included in the save before transferring to Windows... As a result, a couple of 0kb files are likely to be generated. Balatro will try to read those files as if they contain information-- which they do not.

danielavdalian commented 3 weeks ago

Ok ok ok, got it, I will do that in the meantime. Thank you!

danielavdalian commented 3 weeks ago

I fixed it with this PR: https://github.com/blake502/balatro-mobile-maker/pull/55

jwwood3 commented 2 weeks ago

Just got this error with the same version (1.01e-FULL) on android and windows. Just in case that's important. The manual fix still worked though.

danielavdalian commented 2 weeks ago

The beta 0.8.2 should fix your problem