Open alpakeno opened 6 years ago
@alpakeno I should have added this to readme. You dont use zRIF string or klicensee for decrypting savedata or trophies. Dont provide any of those arguments. Key is taken from sealedkey file.
thanks for the info, that's works :)
now i get this error when trying to decrypt save file from from mai dump for this game "PCSE00899" All mai dump saves gives this error "keystone: invalid magic" but still decrypt it to the output folder except "PCSE00899" it give "Unexpected padding" error, here is the log:
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... Hash tree is ok Building directory matrix... [WARNING] Directory SCE_SYS size is invalid Building file matrix... [WARNING] Invalid file type for file OS2SAVEFILE00.DAT. 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... parsing icv.db... Unexpected padding
@alpakeno I can only say to you that mai dump stuff is not canonical. Maybe some crap is written to savedata and this is related to using mai? You could try sharing this file. I will try to check, but most likely smth is wrong with the savedata.
I thought that it's related to mai issue for this game "PCSE00899" to not be able to decrypt it... But after trying to decrypt SaveData for the physical version of this game "PCSE00019" it gives the same warning and error "Unexpected padding", so i think it's related to parsing the icv.db... Unfortunately, in the mean time i cannot provide the SaveData file because it's not mine.
@alpakeno Ok, thats interesting. If this is not related to mai - I will try to add some code that ignores this padding and writes only warning.
Thanks, that's will be nice.
Tried 2 savedata and both gives this error, here is the log:
psvpfsparser.exe -i PCSE00899 -o PCSE00899_dec -z "KO5ifR1dQ+eHBhgYmptDTbWwtATZ7+/i6Rcc4OEa5OoDssoAn//cAvu/cR6foneAh0NIVGRmymiMD24AAMciEoQA" -f http://cma.henkaku.xyz
psvpfsparser.exe -i PCSA00008 -o PCSA00008_dec -k 5269EBF7649358B87AB9A045EC1DDF5D -z KO5ifR1dQ+eHBlgi6TKwANkf5BrsGRzi6OfsGuYZ4hgajM9/QZmvv6dMjthRtXOB6xvZ+7GDPDqYR3p6BAD7VhY9 -f http://cma.henkaku.xyz
Successfully decompressed zRIF from provided license string. parsing files.db... verifying header... header signature is invalid