RPCS3 Forums

Full Version: Guide to decrypt EDAT files
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2

Ekaseo

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

jacky400

The simplest one would be using npdtool

For example key.edat

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

Ekaseo

(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
I built it for anyone who needs it: https://mega.co.nz/#!Bg9DwAqZ!uqWBaSjXHF...w8Z1xzuPyw

(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


jacky400

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!

woody2014

[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
(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

jacky400

(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 .

jacky400

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.

Dante38490

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?
Pages: 1 2