mmozeiko / pkg2zip

Decrypts PlayStation Vita pkg file and packages to zip archive
The Unlicense
406 stars 89 forks source link

Error on pkg extraction #13

Open tomazzz369 opened 6 years ago

tomazzz369 commented 6 years ago

error on pkg extraction with -x arg

http://gs.ww.np.dl.playstation.net/ppkg/np/PCSI00011/PCSI00011_T8/286a65ec1ebc2d8b/IP9100-PCSI00011_00-PSMRUNTIME000000-A0201-V0100-e4708b1c1c71116c29632c23df590f68edbfc341-PE.pkg

or

http://gs.ww.np.dl.playstation.net/ppkg/np/PCSI00007/PCSI00007_T14/e950d8fe71b12388/IP9100-PCSI00007_00-PSSUITEDEV000000-A0115-V0100-cb04c7271731e00236dcde01f679419195cb1a63-PE.pkg

pkg2zip v1.8 [] loading... [] unpacking Vita PATCH ERROR: cannot create 'patch/PCSI00011/sce_sys/package/cert.bin' file

gabest11 commented 6 years ago

This looks similar to an old issue https://github.com/mmozeiko/pkg2zip/issues/4

The package directory is not created but there is a sce_sys/package/cert.bin file.

gabest11 commented 6 years ago

I am not sure why the file needs to be renamed to body.bin, or what to do with cert.bin in this case.

mmozeiko commented 6 years ago

These pkg files are pretty useless - they are not from game but part of obsolete PSM of PS Suite devkit. When I made pkg2zip I encountered these two files, but decided ignore them, nobody would install them anyway. So I don't really care that they don't work. If somebody wants to fix it, please submit pull request.