The following warnings occurred:
Warning [2] Undefined property: MyLanguage::$archive_pages - Line: 2 - File: printthread.php(287) : eval()'d code PHP 8.2.26 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/printthread.php(287) : eval()'d code 2 errorHandler->error_callback
/printthread.php 287 eval
/printthread.php 117 printthread_multipage



EmuNewz Network
DLC Decryption - Printable Version

+- EmuNewz Network (https://www.emunewz.net/forum)
+-- Forum: PSP Emulation (https://www.emunewz.net/forum/forumdisplay.php?fid=191)
+--- Forum: JPCSP Official Forum (https://www.emunewz.net/forum/forumdisplay.php?fid=51)
+---- Forum: svn trunk discussion (https://www.emunewz.net/forum/forumdisplay.php?fid=56)
+---- Thread: DLC Decryption (/showthread.php?tid=8134)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12


RE: DLC Decryption - nightflyer - 04-07-2014

I have a question regarding the encryption/decryption of SAVEDATA.
Thanks to Hykems option "Disable SAVEDATA encryption", my old savegames still work, even tough they are not encrypted. However, since encryption seems to work now, I've been trying to convert that unencrypted SAVEDATA to encyrpted savedata. So far without success.
Is there a way to use jpcsp or another program to manually encrypt/decrypt SAVEDATA?


RE: DLC Decryption - Hykem - 04-11-2014

(04-07-2014, 01:24 PM)nightflyer Wrote: I have a question regarding the encryption/decryption of SAVEDATA.
Thanks to Hykems option "Disable SAVEDATA encryption", my old savegames still work, even tough they are not encrypted. However, since encryption seems to work now, I've been trying to convert that unencrypted SAVEDATA to encyrpted savedata. So far without success.
Is there a way to use jpcsp or another program to manually encrypt/decrypt SAVEDATA?

Unfortunately, those old save games had many missing data portions, so they were never compatible with a real PSP.
You can try to disable "Disable SAVEDATA encryption" and let JPCSP auto detect the SAVEDATA as unencrypted (this is now possible, JPCSP detects if the SAVEDATA is encrypted or not). If this succeeds (it may not work, because the old PARAM.SFO files were terribly corrupted) then JPCSP will load your unencrypted SAVEDATA and the next time you save your game it will output it as encrypted.
By the way, I suggest you also take a look at the standalone program SED for PC (http://wololo.net/downloads/index.php/download/8122 ) which uses the same algorithms used by PPSSPP/JPCSP without having to use an emulator.


RE: DLC Decryption - nightflyer - 04-15-2014

(04-11-2014, 06:25 PM)Hykem Wrote:
(04-07-2014, 01:24 PM)nightflyer Wrote: I have a question regarding the encryption/decryption of SAVEDATA.
Thanks to Hykems option "Disable SAVEDATA encryption", my old savegames still work, even tough they are not encrypted. However, since encryption seems to work now, I've been trying to convert that unencrypted SAVEDATA to encyrpted savedata. So far without success.
Is there a way to use jpcsp or another program to manually encrypt/decrypt SAVEDATA?

Unfortunately, those old save games had many missing data portions, so they were never compatible with a real PSP.
You can try to disable "Disable SAVEDATA encryption" and let JPCSP auto detect the SAVEDATA as unencrypted (this is now possible, JPCSP detects if the SAVEDATA is encrypted or not). If this succeeds (it may not work, because the old PARAM.SFO files were terribly corrupted) then JPCSP will load your unencrypted SAVEDATA and the next time you save your game it will output it as encrypted.
By the way, I suggest you also take a look at the standalone program SED for PC (http://wololo.net/downloads/index.php/download/8122 ) which uses the same algorithms used by PPSSPP/JPCSP without having to use an emulator.

Thanks for the reply Hykem.
Whenever "Disable SAVEDATA encryption" is disabeled, the SAVEDATA show up as corrupted(probably because of the PARAM.SFO as you said).
I did take a look at SED for PC as you suggested but couldn't get it to work. Probably because I don't know much about how the PSP encrypts/decrypts savegames. I have absolutely no clue what the game-key-file is supposed to contain or where I could find that file. I don't even know what the game-key itself is supposed to be.
If you find the time please explain it to me.


RE: DLC Decryption - Hykem - 04-16-2014

(04-15-2014, 10:29 AM)nightflyer Wrote:
(04-11-2014, 06:25 PM)Hykem Wrote:
(04-07-2014, 01:24 PM)nightflyer Wrote: I have a question regarding the encryption/decryption of SAVEDATA.
Thanks to Hykems option "Disable SAVEDATA encryption", my old savegames still work, even tough they are not encrypted. However, since encryption seems to work now, I've been trying to convert that unencrypted SAVEDATA to encyrpted savedata. So far without success.
Is there a way to use jpcsp or another program to manually encrypt/decrypt SAVEDATA?

Unfortunately, those old save games had many missing data portions, so they were never compatible with a real PSP.
You can try to disable "Disable SAVEDATA encryption" and let JPCSP auto detect the SAVEDATA as unencrypted (this is now possible, JPCSP detects if the SAVEDATA is encrypted or not). If this succeeds (it may not work, because the old PARAM.SFO files were terribly corrupted) then JPCSP will load your unencrypted SAVEDATA and the next time you save your game it will output it as encrypted.
By the way, I suggest you also take a look at the standalone program SED for PC (http://wololo.net/downloads/index.php/download/8122 ) which uses the same algorithms used by PPSSPP/JPCSP without having to use an emulator.

Thanks for the reply Hykem.
Whenever "Disable SAVEDATA encryption" is disabeled, the SAVEDATA show up as corrupted(probably because of the PARAM.SFO as you said).
I did take a look at SED for PC as you suggested but couldn't get it to work. Probably because I don't know much about how the PSP encrypts/decrypts savegames. I have absolutely no clue what the game-key-file is supposed to contain or where I could find that file. I don't even know what the game-key itself is supposed to be.
If you find the time please explain it to me.

The game key is an internal key supplied by the game itself to process SAVEDATA encryption/decryption.
You can use JPCSP to dump this key too. Just check the option "Extract SAVEDATA key to TMP folder" and the key will be saved in binary form under the folder TMP. You can then use this binary file with SED for PC.
Nonetheless, if you wish, just post the corrupted SAVEDATA files here and I'll try to manually fix them for you.


RE: DLC Decryption - nightflyer - 04-17-2014

(04-16-2014, 09:59 PM)Hykem Wrote:
(04-15-2014, 10:29 AM)nightflyer Wrote:
(04-11-2014, 06:25 PM)Hykem Wrote:
(04-07-2014, 01:24 PM)nightflyer Wrote: I have a question regarding the encryption/decryption of SAVEDATA.
Thanks to Hykems option "Disable SAVEDATA encryption", my old savegames still work, even tough they are not encrypted. However, since encryption seems to work now, I've been trying to convert that unencrypted SAVEDATA to encyrpted savedata. So far without success.
Is there a way to use jpcsp or another program to manually encrypt/decrypt SAVEDATA?

Unfortunately, those old save games had many missing data portions, so they were never compatible with a real PSP.
You can try to disable "Disable SAVEDATA encryption" and let JPCSP auto detect the SAVEDATA as unencrypted (this is now possible, JPCSP detects if the SAVEDATA is encrypted or not). If this succeeds (it may not work, because the old PARAM.SFO files were terribly corrupted) then JPCSP will load your unencrypted SAVEDATA and the next time you save your game it will output it as encrypted.
By the way, I suggest you also take a look at the standalone program SED for PC (http://wololo.net/downloads/index.php/download/8122 ) which uses the same algorithms used by PPSSPP/JPCSP without having to use an emulator.

Thanks for the reply Hykem.
Whenever "Disable SAVEDATA encryption" is disabeled, the SAVEDATA show up as corrupted(probably because of the PARAM.SFO as you said).
I did take a look at SED for PC as you suggested but couldn't get it to work. Probably because I don't know much about how the PSP encrypts/decrypts savegames. I have absolutely no clue what the game-key-file is supposed to contain or where I could find that file. I don't even know what the game-key itself is supposed to be.
If you find the time please explain it to me.

The game key is an internal key supplied by the game itself to process SAVEDATA encryption/decryption.
You can use JPCSP to dump this key too. Just check the option "Extract SAVEDATA key to TMP folder" and the key will be saved in binary form under the folder TMP. You can then use this binary file with SED for PC.
Nonetheless, if you wish, just post the corrupted SAVEDATA files here and I'll try to manually fix them for you.

Thank you for the hint on how to find the game-key. I discovered that it is only placed in the TMP-folder if "Disable SAVEDATA encryption" is disabeled.
However, every time I try to run the SED.exe I recieve a notice that a dll-file(specifically MSVCR110D.dll) could not be found. That seems to be some kind of c-runtime but I see no mention of this on the SED-release-site. I tried to run sed on win7 x64 if that is of any importance.
Anyway since you offered, I packed together the savegames(DATA0-8 and param.sfo) and the game-key(SEDKEY.bin) for you to play arround with. The game theese files belong to is Valkyria Chronicles 3 E2(using the fanmade english translation patch) The name of the file is identical to the name of the save-folder.
I only really need DATA0 and DATA1 converted since i only use the first save slot.
Thanks again

EDIT: I managed to fix the problem with the missing ddl by installing the VC++ Redist. 2012 for 32bit.
And after a few tries i managed to convert the save in question.
So thanks for your help Hykem, no need for you to convert anything now, looks like the param.sfo was uncorruped enough.


RE: DLC Decryption - Hykem - 04-18-2014

(04-17-2014, 07:40 AM)nightflyer Wrote:
(04-16-2014, 09:59 PM)Hykem Wrote:
(04-15-2014, 10:29 AM)nightflyer Wrote:
(04-11-2014, 06:25 PM)Hykem Wrote:
(04-07-2014, 01:24 PM)nightflyer Wrote: I have a question regarding the encryption/decryption of SAVEDATA.
Thanks to Hykems option "Disable SAVEDATA encryption", my old savegames still work, even tough they are not encrypted. However, since encryption seems to work now, I've been trying to convert that unencrypted SAVEDATA to encyrpted savedata. So far without success.
Is there a way to use jpcsp or another program to manually encrypt/decrypt SAVEDATA?

Unfortunately, those old save games had many missing data portions, so they were never compatible with a real PSP.
You can try to disable "Disable SAVEDATA encryption" and let JPCSP auto detect the SAVEDATA as unencrypted (this is now possible, JPCSP detects if the SAVEDATA is encrypted or not). If this succeeds (it may not work, because the old PARAM.SFO files were terribly corrupted) then JPCSP will load your unencrypted SAVEDATA and the next time you save your game it will output it as encrypted.
By the way, I suggest you also take a look at the standalone program SED for PC (http://wololo.net/downloads/index.php/download/8122 ) which uses the same algorithms used by PPSSPP/JPCSP without having to use an emulator.

Thanks for the reply Hykem.
Whenever "Disable SAVEDATA encryption" is disabeled, the SAVEDATA show up as corrupted(probably because of the PARAM.SFO as you said).
I did take a look at SED for PC as you suggested but couldn't get it to work. Probably because I don't know much about how the PSP encrypts/decrypts savegames. I have absolutely no clue what the game-key-file is supposed to contain or where I could find that file. I don't even know what the game-key itself is supposed to be.
If you find the time please explain it to me.

The game key is an internal key supplied by the game itself to process SAVEDATA encryption/decryption.
You can use JPCSP to dump this key too. Just check the option "Extract SAVEDATA key to TMP folder" and the key will be saved in binary form under the folder TMP. You can then use this binary file with SED for PC.
Nonetheless, if you wish, just post the corrupted SAVEDATA files here and I'll try to manually fix them for you.

Thank you for the hint on how to find the game-key. I discovered that it is only placed in the TMP-folder if "Disable SAVEDATA encryption" is disabeled.
However, every time I try to run the SED.exe I recieve a notice that a dll-file(specifically MSVCR110D.dll) could not be found. That seems to be some kind of c-runtime but I see no mention of this on the SED-release-site. I tried to run sed on win7 x64 if that is of any importance.
Anyway since you offered, I packed together the savegames(DATA0-8 and param.sfo) and the game-key(SEDKEY.bin) for you to play arround with. The game theese files belong to is Valkyria Chronicles 3 E2(using the fanmade english translation patch) The name of the file is identical to the name of the save-folder.
I only really need DATA0 and DATA1 converted since i only use the first save slot.
Thanks again

EDIT: I managed to fix the problem with the missing ddl by installing the VC++ Redist. 2012 for 32bit.
And after a few tries i managed to convert the save in question.
So thanks for your help Hykem, no need for you to convert anything now, looks like the param.sfo was uncorruped enough.

Glad to know you managed to fix them. Wink


RE: DLC Decryption - Vegerunks - 06-15-2014

So where is the DLC stored is it stored in your games save file or somewhere else?