motoharu-gosuto / psvpfstools

Tools for decrypting PS Vita PFS filesystem
127 stars 22 forks source link

parsing icv.db... Unexpected padding #40

Open leifi76 opened 5 years ago

leifi76 commented 5 years ago

Hi,

I have followed these instructions for getting my stardew valley save with QCMA but get the error "unexpected padding" message when trying to decrypt. Here is the full output.

psvpfsparser -i ux0_temp_game_PCSB01226_savedata_PCSB01226 where PCSB01226 -o PCSB01226_dec -f http://cma.henkaku.xyz Missing option --klicensee or --zRIF sealedkey will be used using sealedkey... sealedkey: matched retail hmac parsing files.db... verifying header... header signature is valid root icv is valid Validating hash tree... 0 - OK : ca8ffc46834d3ea271cb7c2a392b09ed7174ec37 1 - OK : 66d665ec342f83bef0d45518ab456498b1c9ff3d Hash tree is ok Building directory matrix... [WARNING] Directory LEIGH_186865867 size is invalid [WARNING] Directory SCE_SYS size is invalid Building file matrix... [WARNING] Invalid file type for file STARTUP_PREFERENCES. assuming file is encrypted [WARNING] Invalid file type for file LEIGH_186865867. assuming file is encrypted [WARNING] Invalid file type for file SAVEGAMEINFO. assuming file is encrypted [WARNING] Invalid file type for file SDSLOT.DAT. assuming file is encrypted Flattening file pages... Building dir paths... Building file paths... Linking dir paths... Linking file paths... Matching file paths... Files not found in files.db (warning): ux0_temp_game_PCSB01226_savedata_PCSB01226/VITA_PATH.TXT parsing icv.db... Unexpected padding

Any ideas as to what that means or how to resolve? Really don't want to have to start the game again!

I'm on Windows 10. I've tried both the 32 and 64bit versions with the same result.

I've attached the files also in case that helps. ux0_temp_game_PCSB01226_savedata_PCSB01226.zip

savedata.zip

Thank you 👍

motoharu-gosuto commented 5 years ago

@leifi76 Hi. This is a known issue. You can see by checking the other issues. Unfortunately I don't have time to fix it right now.

leifi76 commented 5 years ago

@motoharu-gosuto Ah - sorry! #39 Looked like it had a lot more going on as part of the issue so I wasn't sure if the underlying cause was the same.

Is there anything I can do re a workaround or is it just a case of waiting for the app to be fixed? If in the meantime you need anything testing just pop me a message.

Cheers,

motoharu-gosuto commented 5 years ago

@leifi76 At the moment - the only workaround is to fix it and then compile yourself. =)