Closed chiamikaa closed 6 years ago
Never mind, I got it. I kept messing around with it, and what I think it was that the folder structures for -i and -o can't have a space in them from my testing.
@mkorsak This is very unlikely that you can not use spaces in the path. But I will test it.
you error is caused by non proper windows command usage, not by psvpfsparser
dir name with spaces working without issues:
Successfully decompressed zRIF from provided license string Klicensee: 080C70A29881166B7A46174502F94A5C Parsing files.db... Verifying header... Header signature is valid Root icv is valid Validating hash tree... 0 - OK : 8a71853641584d17888240e32b49385976cc3be4 1 - OK : 0bab71cc15240591f8559f7493c416c0d18e83d0 Hash tree is ok Building directory matrix... Building file matrix... [EMPTY] File 16676.bin index 10 of type 1 Flattening file pages... Building dir paths... Building file paths... Linking dir paths... Linking file paths... Matching file paths... Parsing unicv.db... Total blocks: 18 Building unicv.db -> files.db relation... File dir name with spaces/PCSB00509/USRDIR/DLC/DATA/16676.bin is empty Match found: 2 dir name with spaces/PCSB00509/sce_sys/param.sfo Match found: 4 dir name with spaces/PCSB00509/sce_sys/clearsign Match found: 6 dir name with spaces/PCSB00509/sce_sys/keystone Match found: c dir name with spaces/PCSB00509/USRDIR/DLC/DATA/12580.bin Match found: e dir name with spaces/PCSB00509/USRDIR/DLC/DATA/14628.bin Match found: 11 dir name with spaces/PCSB00509/USRDIR/DLC/INFO/Shoukyou_Co s37.bin Creating directories... Created: dir name with spaces/PCSB00509/sce_sys Created: dir name with spaces/PCSB00509/USRDIR Created: dir name with spaces/PCSB00509/USRDIR/DLC Created: dir name with spaces/PCSB00509/USRDIR/DLC/DATA Created: dir name with spaces/PCSB00509/USRDIR/DLC/INFO Creating empty files... Created: dir name with spaces/PCSB00509/USRDIR/DLC/DATA/16676.bin Decrypting files... Copied: dir name with spaces/PCSB00509/sce_sys/param.sfo Copied: dir name with spaces/PCSB00509/sce_sys/clearsign Decrypted: dir name with spaces/PCSB00509/sce_sys/keystone Decrypted: dir name with spaces/PCSB00509/USRDIR/DLC/DATA/12580.bin Decrypted: dir name with spaces/PCSB00509/USRDIR/DLC/DATA/14628.bin Decrypted: dir name with spaces/PCSB00509/USRDIR/DLC/INFO/Shoukyou_Cos37.b in Keystone sanity check... Keystone: matched retail hmac
@tomazzz369 Thanks for testing. I assume this issue can be closed.
I'm trying to decrypt the files I have for a game locally, for Digimon Story Hacker's Memory. I have all of the files that were taken from a pkg file of it. I have the folder structure: C:\Vita\PCSE01171\app\PCSE01171 This then leads to the folders like resources, sce_modules, etc...
I have a zRIF string too for the game. Many times when trying to run it, I had gotten "Root directory does not exist" when trying to run it. Now when moving the game to where it is now and running it with the arguments "psvpfsparser.exe -i C:\Vita\PCSE01171 -o C:\Users\Mark\Downloads\Vita Hacking\output\decrypted -z KO5ifR1dQ+eHBoBcAjHV0NDcEGS/S7CHo7O3a1Cwr6uvf1CkIT7/xdjKl0+ov+DRXMu9qKvb58ZojA9uAAC7LxRO -f http://cma.henkaku.xyz/", I'm getting the error "failed to find unicv.db file or icv.db folder"
Any idea what I'm doing wrong in running this?