bucanero / apollo-ps3

Apollo Save Tool (PS3)
http://www.bucanero.com.ar/
GNU General Public License v3.0
357 stars 23 forks source link

Decrypt save file operation completes but does not create a .DAT file #129

Closed DeepMac closed 7 months ago

DeepMac commented 8 months ago

V1.8.4 on a PS3 Slim with HEN v3.1.1

I was able to decrypt all of my save games using Apollo except two. For Borderlands, I could decrypt the main profile save file (PAYLOAD.DAT). But for the actual character save game, while Apollo reported it decrypted the file to the hard drive, there was no file there.

I loaded the save game into Borderlands on my PS3 no problem and resaved the game. Repeated the attempt, same failure. I also deleted the empty directory on the PS3 HDD and tried again. It creates the directory, but writes no file to it. I assume the decryption operation is failing but not giving an error for some reason.

I found one other game where there was no file created, Ultraton.

DeepMac commented 8 months ago

Screenshots, for clarity.

x (2) x (3) x (1)

bucanero commented 8 months ago

can you upload the Borderlands save that is not exporting decrypted data?

you can use Apollo to "export save as .ZIP" and then just upload the zip here.

DeepMac commented 8 months ago

Hmmm, github claims it can't handle a ZIP file even though it says it can. I just love opening more cases to fix a case to fix a bug, >_<

DeepMac commented 8 months ago

example.zip

Nevermind, browser issue on my end. See attached. No shaming my terrible progress, 😆

bucanero commented 8 months ago

I was checking the provided save, and actually SAVE0001.SAV is not encrypted . (seems that Borderlands is one of the few games that doesn't use the secure-key encryption). You can for example open the file with an hex editor on your computer and you'll see all the plain text data there.

So I assume Apollo detects is not encrypted, doesn't decrypt the file and that's why ends up saying "decrypted ok" but no files are copied to tmp/apollo. I need to either improve the message on screen, or just copy the file anyways even if it's not encrypted. (instead of decryption it would be just a regular file copy)

DeepMac commented 8 months ago

If the file isn't encrypted than I feel the proper action would be to copy the original file. The copying should be a separate step after decryption process, in other words. Only if there's an error returned by decrypting or attempting to load the save should it not copy and of course that'd be a different error message. So good to know that, but sad because the save doesn't load in Borderlands as-is. I assumed because it was decrypted. Sooo something else is going on I guess, :(