RPCS3 Forums
Guide to decrypt EDAT files - Printable Version

+- RPCS3 Forums (https://forums.rpcs3.net)
+-- Forum: Support & Issues (https://forums.rpcs3.net/forumdisplay.php?fid=17)
+--- Forum: Support (https://forums.rpcs3.net/forumdisplay.php?fid=18)
+--- Thread: Guide to decrypt EDAT files (/showthread.php?tid=163024)

Pages: 1 2


RE: 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 - Dante38490 - 07-06-2014

I have a problem after decrypt .edat it makes me that
LDR: E PPU[1] Thread (CPUThread)[0x02831160]EDAT: File has invalid NPD header.

What does that mean?