Guide to decrypt EDAT files
Started by Ekaseo




16 posts in this topic
Ekaseo
Unregistered


 
06-23-2014, 08:33 PM -
#1
Hi, could someone post a guide on how to decrypt EDAT files?
jacky400
Unregistered


 
06-24-2014, 05:46 PM -
#2
The simplest one would be using npdtool

For example key.edat

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


 
06-24-2014, 07:37 PM -
#3
(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
ssshadow
Moderator
*****


4
2,494 posts 63 threads Joined: Aug 2017
06-24-2014, 08:47 PM -
#4
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
Unregistered


 
06-25-2014, 03:17 PM -
#5
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
Unregistered


 
06-25-2014, 03:49 PM -
#6
[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
ssshadow
Moderator
*****


4
2,494 posts 63 threads Joined: Aug 2017
06-25-2014, 03:58 PM -
#7
(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
Unregistered


 
06-26-2014, 02:50 AM -
#8
(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
Unregistered


 
07-04-2014, 03:25 AM -
#9
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
Unregistered


 
07-06-2014, 05:07 PM -
#10
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?


Forum Jump:


Users browsing this thread: 1 Guest(s)