motoharu-gosuto / psvpfstools

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

"Directory ./PCSE01141/savedata/sce_sys does not exist" during decryption #54

Open RatCheese1608 opened 2 years ago

RatCheese1608 commented 2 years ago

I was decrypting the asset files of Demon Gaze 2 USA release (PCSE01141) and the decryption never succeeds under that error (Directory ./PCSE01141/savedata/sce_sys does not exist).

I've confirmed myself that this directory indeed exists.

My comand: psvpfsparser.exe -i ./PCSE01141 -o ./PCSE01141-dec -f cma.henkaku.xyz -z KO5ifR1dQ+eHBhgamBlDTDU0NDEE2e/i6uvv5+4Y5RoQHGZkYGiOz3+p9fGT/oZoGMpI8czMLDUsH43xUTAKEMAACCzR+GYgwhxEWID5xiDCBESYGsQbGOg6urg4+/uFgASMdAOcg90N4MAQxHcFMkC0G5R2htIuUNoRSjsBaQZGMGR6f3Z1Z7qrMiMAwbcwCQAA

I got the pkg from NPS browser which failed to extract the pkg, so I did it manually and extracted it manually. I had a copy of the game in my own PS Vita and so I was able to get the work.bin and I was able to get the zRIF key from it using this online tool.

Princess-of-Sleeping commented 4 months ago

This happened to me too. In my case, it rarely occurs with a pfs image as GD that I built myself. And coincidentally in my case too it was Directory pfs_test/tools/native-tool/sce_sys does not exist.

Edit: Of course, this is a pfs image that was cleared by dir/file sha256 check on a real vita.

Edit2: I got the following error when trying the re-encrypted retail application dir: Directory pfs_test/app/sce_sys does not exist

This is apparently caused by something related to sce_sys.