motoharu-gosuto / psvpfstools

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

[Suggestion]Single or multiple file decryption #29

Open TheRadziu opened 6 years ago

TheRadziu commented 6 years ago

How about support for single or multiple file decryption? I'd be useful for people who want to quickly decrypt just a single or few files from game directory in order to apply xdelta patch on them and then use them with/on repatch.

In case of multiple files having psvimgparser to load file list from external text file would be nice, for example japanese release of "I Am Setsuna"[PCSG00756]:

/Media/Managed/Assembly-CSharp.dll
/Media/StreamingAssets/PSVita/parameter.cpk
/Archive.psarc

That would also allow apps like Knit ( by IcySon55, available on github ) to fully support encrypted games without the need to decrypt all the files in order just to get few of them.

Cheers!

motoharu-gosuto commented 6 years ago

@TheRadziu Thanks for the suggestion. I actually had this idea for quite some time. The problem is that it was not that simple to implement. So I started some refactoring in io-api branch. I will implement it at some point since this will be needed for Vita3K