bucanero / apollo-psp

Apollo Save Tool (PSP)
http://www.bucanero.com.ar/
GNU General Public License v3.0
50 stars 1 forks source link

PSP Go issue - Saves on ef0 won't appear #11

Closed Double-0-seven7 closed 1 year ago

Double-0-seven7 commented 1 year ago

As the title says. There is also an issue that you cant get the decryption keys from games if you launch them from ef0 as well (even if you have the save on ms0).

bucanero commented 1 year ago

I don't have a PSP Go so I haven't been able to test properly. Right now the "Saves" menu is hardcoded to ms0:/PSP/SAVEDATA so it will only show saves from ms0.

If you select ef0 under "Settings", that option currently only changes the source for the "Ext Saves" menu. So it will load saves from ef0:/APOLLO/SAVEDATA/

If you are willing to do some tests on PSP Go, I can add a feature to load from ef0:/PSP/SAVEDATA based on the user settings.

About decryption keys, there are two things to review:

bucanero commented 1 year ago

Update about Key dumping plugins and PSP Go ⚠️

I have reviewed the source code of SGDeemer and SGKeyDumper:

Keep in mind if you try SGKeyDumper 1.7, the plugin doesn't create the dump folder so you need to manually create folder ef0:/PSP/GAME/SED/gamekey/ or else the plugin won't save any key.

Double-0-seven7 commented 1 year ago

I am willing to try a new version with Go support. I use the internal memory more then the memory card because the card is only limited to 8gb so it will be a great help.

bucanero commented 1 year ago

meanwhile, can you test out the SGKeyDumper plugin (1.7) and confirm if it dumps keys to ef0? I need to be sure that Apollo can access keys from the right path ef0:/PSP/GAME/SED/gamekey/

Double-0-seven7 commented 1 year ago

meanwhile, can you test out the SGKeyDumper plugin (1.7) and confirm if it dumps keys to ef0? I need to be sure that Apollo can access keys from the right path ef0:/PSP/GAME/SED/gamekey/

Hmm every time I create it it shows up as corrupted data... I tried with and without creating it and still it wont save the keys there. Dunno if I am doing something wrong or not...

EDIT: NVM the key does show up there the corrupted data thing must have threw me off. So yeah it seems to work.

bucanero commented 1 year ago

ok, thanks checking the key dump plugin 👍

btw, the "corrupted data" icon is because the folder GAME/SED/ has no PARAM.SFO or EBOOT.PBP, so the XMB can't recognize anything. But as long as the keys are dumped there, Apollo will be able to access them and use the data to decrypt/encrypt save data.

bucanero commented 1 year ago

@Pik-a-boo can you test this build https://github.com/bucanero/apollo-psp/suites/14332684836/artifacts/806681634 ? (to download you need to be logged in Github)

This version should list saves on ef0 , just be sure to select ef0 as "Save Source" under the Settings menu. Then everything else should work, and also decrypting saves should work loading the keys dumped by the 1.7 plugin from ef0:/PSP/GAME/SED/gamekey/ .

Let me know if everything works with your PSP Go

bucanero commented 1 year ago

hey @Pik-a-boo can you test the fix for PSP Go? any feedback?

Double-0-seven7 commented 1 year ago

hey @Pik-a-boo can you test the fix for PSP Go? any feedback?

Seems to work but I only tried changing the save data source place to ef0 and that's it. All the saves seem to show fine.

Double-0-seven7 commented 1 year ago

I think you can merge the PR as it appears like everything works well I even hexedited some saves.