Even though I never tried Java, I just gave it a try, but even with Bouncy Castle / Jpcsp correct sources, Jpcsp is still relying on other things like os.apache.xx and some other libs unrecognised by Eclipse xDcodestation wrote:The CryptoEngine from the jpcsp emulator can decrypt savedata (and other things) on PC, is easy as:
With just the classes at "src/jpcsp/crypto/", the Bouncy Castle Crypto API jar file and a quick wrapper class one can make a decrypter in 10 mins.
Code: Select all
byte out = new CryptoEngine().DecryptSavedata(savedata_byte_array, savedata_byte_array.length, gamekey, 0);
Sadly you still need a psp to hook the savedata function and retrieve the gamekey (that or know some mips and reverse a little around sceUtilitySavedataInitStart to get the gamekey from the eboot).
Anyway it bored me and I'm no java fan, so unless someone more into java does it I won't touch java anymore for now lol, SED works great too anyway