EmuNewz Network
Guide to decrypt EDAT files - Printable Version

+- EmuNewz Network (https://www.emunewz.net/forum)
+-- Forum: Official Boards for Emunews Affiliated Emu Projects (https://www.emunewz.net/forum/forumdisplay.php?fid=47)
+--- Forum: Official RPCS3 Forum [archive] (https://www.emunewz.net/forum/forumdisplay.php?fid=172)
+---- Forum: RPCS3 - Support & Issue Reporting (https://www.emunewz.net/forum/forumdisplay.php?fid=163)
+---- Thread: Guide to decrypt EDAT files (/showthread.php?tid=163024)

Pages: 1 2


Guide to decrypt EDAT files - Ekaseo - 06-23-2014

Hi, could someone post a guide on how to decrypt EDAT files?


RE: Guide to decrypt EDAT files - jacky400 - 06-24-2014

The simplest one would be using npdtool

For example key.edat

npdtool dr key.edat output.edat <rap key>.rap


RE: Guide to decrypt EDAT files - Ekaseo - 06-24-2014

(06-24-2014, 05:46 PM)jacky400 Wrote: The simplest one would be using npdtool

For example key.edat

npdtool dr key.edat output.edat <rap key>.rap

oh thnx, i know how to use npdtool, but i didnt know you use the rap file to decode all those files as well. Cool


RE: Guide to decrypt EDAT files - ssshadow - 06-24-2014

I built it for anyone who needs it: https://mega.co.nz/#!Bg9DwAqZ!uqWBaSjXHFuJSquzUaGMYZfBInU3y-Cl9w8Z1xzuPyw

(Hint: On Windows 7, shift+right click in the folder where the .exe is, and open a terminal/command window. Then type make_npdata.exe (type just that) and you will see the program usage, without a terminal window that exits when the program is done, so you don't see anything...)

Or look at this I guess

   


RE: Guide to decrypt EDAT files - jacky400 - 06-25-2014

i just tried it to decrypt a EDAT file from Jetpack Joyride , seems to be not working . Probably flag 0x3C and 0x3D are unsupported yet.

E:\rpcs3-master\npdtool>make_npdata -d jet.pak.edat output.edat UP4249-NPUB31097_00-JETPACKJOYRIDE00.rap
NPD HEADER
NPD version: 4
NPD license: 2
NPD type: 0

EDAT HEADER
EDAT flags: 0x0000003C
EDAT block size: 0x00004000
EDAT file size: 0x00BAB567

ERROR: A valid RAP file is needed for this EDAT file!


RE: Guide to decrypt EDAT files - woody2014 - 06-25-2014

[quote='jacky400' pid='211988' dateline='1403709440']
i just tried it to decrypt a EDAT file from Jetpack Joyride , seems to be not working .(npdtool is fine)

E:\rpcs3-master\npdtool>make_npdata -d jet.pak.edat output.edat UP4249-NPUB31097_00-JETPACKJOYRIDE00.rap
NPD HEADER
NPD version: 4
NPD license: 2
NPD type: 0

EDAT HEADER
EDAT flags: 0x0000003C
EDAT block size: 0x00004000
EDAT file size: 0x00BAB567

ERROR: A valid RAP file is needed for this EDAT file!

Try using TrueAncestor edat rebuilder


RE: Guide to decrypt EDAT files - ssshadow - 06-25-2014

(06-25-2014, 03:17 PM)jacky400 Wrote: i just tried it to decrypt a EDAT file from Jetpack Joyride , seems to be not working .(npdtool is fine)

E:\rpcs3-master\npdtool>make_npdata -d jet.pak.edat output.edat UP4249-NPUB31097_00-JETPACKJOYRIDE00.rap
NPD HEADER
NPD version: 4
NPD license: 2
NPD type: 0

EDAT HEADER
EDAT flags: 0x0000003C
EDAT block size: 0x00004000
EDAT file size: 0x00BAB567

ERROR: A valid RAP file is needed for this EDAT file!

You have to specify klick also.

make_npdata -d input output klick rap


RE: Guide to decrypt EDAT files - jacky400 - 06-26-2014

(06-25-2014, 03:58 PM)ssshadow Wrote:
(06-25-2014, 03:17 PM)jacky400 Wrote: i just tried it to decrypt a EDAT file from Jetpack Joyride , seems to be not working .(npdtool is fine)

E:\rpcs3-master\npdtool>make_npdata -d jet.pak.edat output.edat UP4249-NPUB31097_00-JETPACKJOYRIDE00.rap
NPD HEADER
NPD version: 4
NPD license: 2
NPD type: 0

EDAT HEADER
EDAT flags: 0x0000003C
EDAT block size: 0x00004000
EDAT file size: 0x00BAB567

ERROR: A valid RAP file is needed for this EDAT file!

You have to specify klick also.

make_npdata -d input output klick rap

Thanks it is okay now . The source code of make_npdata seems to be supported 0x3C flag though not yet on RPCS3 .


RE: Guide to decrypt EDAT files - jacky400 - 07-04-2014

Just reminder for anyone if you are going to use npdtool , make sure you are using npdtool fix 2 , otherwise the EDAT decrypted will not be able to use with RPCS3

The best would be using make_npdata that should work straightly.


RE: Guide to decrypt EDAT files - umatuma - 07-04-2014

To decrypt EDAT file you need .rap file.
You can get ".rar" file by use "psnstuff" program
Then you should to put files ".edat , "npdtool.exe" and ".rap" into same folder for example I had put it into C:\edate
After it you should to run command promt there need to execute a command "C:\edate\npdtool.exe dr C:\edate\key.edat C:\edate\output.edat C:\edate\<here name of rap file>.rap"