blake502 / balatro-mobile-maker

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

Saves deleted on unsuccessful transfer #46

Open ljunhui opened 3 weeks ago

ljunhui commented 3 weeks ago

Steam save was deleted first before the attempt to extract from Android. If the extraction fails, Steam saves are also lost.

Suggestion to only delete Steam saves if the extraction is successful.

Log of the below error:

Is your Android device connected to the host with USB Debugging enabled? (y/n):
y
Backing up your files...
[xcopy]: 0 File(s) copied
Deleting "C:\Users\User\AppData\Roaming\Balatro/"...
Attempting to pull save files from Android device.
[adb]: adb: error: failed to get feature set: device unauthorized.
[adb]: This adb server's $ADB_VENDOR_KEYS is not set
[adb]: Try 'adb kill-server' if that seems wrong.
[adb]: Otherwise check for a confirmation dialog on your device.
blake502 commented 3 weeks ago

You forgot to include:

Have you backed up your saves? (y/n):
y

Steam saves are also lost.

They are backed up automatically by the program--but you should not rely on that. You can find them here: %appdata%\BalatroBACKUP\

In regards to your ADB failing: Kill your ADB server, then delete this folder: %userprofile%\.android That's an ADB issue, not really an issue with the program.

I plan to re-work how saves are transferred, but I've been busy with multi-platform support.

Edit: There was a bug in how saves were backed up. Hopefully Steam Cloud has your back.