Hacking PGD encrypter

  • Thread starter Thread starter Belmondo
  • Start date Start date
  • Views Views 9,026
  • Replies Replies 5
  • Likes Likes 4

Belmondo

Well-Known Member
Member
Joined
Jul 24, 2007
Messages
125
Reaction score
43
Trophies
1
XP
429
Country
New Zealand
I modified this in 2014 shortly after the valkyria chronicles 3 English patch was released

The valkyria chronicles 3 team modified the eboot.bin to accept decrypted pgd's, which at the time i felt was messy. By modifying some stuff in the kirk_engine https://github.com/tpunix/kirk_engine i was able to turn the decrypter into an encrypter as well.

It works very simply, put the original file named (rename if it is not the same) DATA.BIN in the directory. it will spit out DATA.BIN.decrypt also vkey and header (decrypted) and to reuse in the encryption process (this way it can create 1 to 1 PGD's of the original (if the file is not modified))

when you want to encrypt a file put DATA.cpk (rename any file to this) into the directory and run the bat and it will give you DATA.cpk.encrypt which you can then add back into your PSP iso.

pgdecrypt: encrypt/decrypt PGD file.
-----------------------------------------

Open input file <DATA.BIN> error!
Open input file <DATA.cpk> error!

https://www.dropbox.com/s/m60abir4gbgthr1/pgdecrypt.rar?dl=0

I hope this will be of some use to somebody.

Regards
 
I just want to revive this and say thank you for this, it will be extremely helpful for a project we're doing right now.
 
The program outputs "Open input file <DATA.cpk> error!" when I try to open DATA.BIN and I do not know what to do. I'm trying to decrypt a file to get a PKG file.
 
Please help me. The program outputs "Open input file <DATA.cpk> error!" when I try to open DATA.BIN and I do not know what to do. I'm trying to decrypt a file to get a PKG.
 

Site & Scene News

Popular threads in this forum