motoharu-gosuto / psvpfstools

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

Cannot decrypt games that don't require zRIF #15

Open Knurek-NC opened 6 years ago

Knurek-NC commented 6 years ago

There's a bunch of games in the NPS database that have NOT REQUIRED set for zRIF string. I'm guessing they all use a common key? How can one decrypt data from them?

motoharu-gosuto commented 6 years ago

@Knurek-NC Not sure what you mean. Can you give me some title names? I will investigate. @SilicaAndPina Btw - not sure if you are following commits or not. Savedata, trophies etc decryption is almost there. It already works. I just need to finish minor issues and will merge to master.

Knurek-NC commented 6 years ago

@motoharu-gosuto: Kai-ri-Sei Million Arthur (PCSG00750), Kin-Iro no Corda 4 (PCSG00774), Harukanaru Toki no Naka de 6: Gentou Rondo (3.61+!) (PCSG00975), Harukanaru Toki no Naka de 3 Ultimate (3.61+!) (PCSG00992), Kin-iro no Corda 2 ff (3.61+!) (PCSG01124) I'm interested in ripping the music out of them, but neither can be decrypted on PC, because your tool requires a zRIF argument to work.

motoharu-gosuto commented 6 years ago

@Knurek-NC Thanks. I will check later. Btw do these games have icv.db folder inside sce_pfs folder? If yes then I would suggest you to wait for a little longer. I am working on decryption of icv.db pfs format. It uses sealedkey instead of zRIF. Maybe this will help.

tomazzz369 commented 6 years ago

all games requires license for decryption. drm free pkg have license inside pkg - temp.bin

edit:

klicensees extracted from games you mentioned

Content ID: JP0082-PCSG00750_00-KAIRISEIMILLIPSV Klicensee: B0FA290C96873A3041D790629CB136A6

Content ID: JP0106-PCSG00774_00-CORDA4VITAPKG000 Klicensee: 1D4D784D9C9A16F5A9BEE17D075DFC34

Content ID: JP0106-PCSG00975_00-BBVITAPKG0000000 Klicensee: 19065134969312DC6120373BC6BA1252

Content ID: JP0106-PCSG00992_00-HARUKA3ULTIMATE0 Klicensee: 3AB77D40951CFF793244671C2E3139E4

Content ID: JP0106-PCSG01124_00-CORDA2FF00000000 Klicensee: 1EBAD4A37E7DC77577CE8F7EAF402602

motoharu-gosuto commented 4 years ago

@tomazzz369 It looks like the solution would be to implement extraction of klicensee from temp.bin ?