Sponsored Links

Sponsored Links

PS3 EDAT NPDRM Decryption / Re-Encryption Tools Are Released


Sponsored Links
121w ago - Following up on the previous PS3 EDAT File Name Restorer utility, today PlayStation 3 homebrew developers [Register or Login to view links] and [Register or Login to view links] have made available some PS3 EDAT NPDRM Decryption / Re-Encryption Tools.

Download: [Register or Login to view links] / [Register or Login to view links] (Mirror #1) / [Register or Login to view links] (Mirror #2) / [Register or Login to view links] (Mirror #3) / [Register or Login to view links] (Mirror #4)

To quote: Over on gotbrew irc we were dropped off some stuff from snowydew.

The tools allow for decryption and re encryption of edat, can perform iso.bin.edat extraction, can further decrypt eboot.pbp's / eboot.bins for further game modifiying.

Decryption of act.dat and rif keys, the re encryption part however isn't 100% since we are missing a variable or two, but we can resign them as free npdrm without Sony tools.

A large portion of npdrm right here. It "CAN" do it, it's not implemented just yet. It requires testing though. The encrypton process is a PoC until bytes 0xb0 - 0x100 are figured out.

There is some goodies in the files, check it out if interested in PSP, PS1, etc on your PS3.

[@Snowydew] so very well yes, if you can use the key, find the way to decrypt what's in them, then you could very well sign it with a seperate key / patched ldr to read it as a "proper" signing, and play other ps1 games off the hard drive. It's possible, but i'm currently not seeking it out atm. However all the tools are available to the public to do so
[@Snowydew] "if anyone wants to figure out what the bytes are for 0xb0 to 0x100 that would also massively help us since we've been a bit too busy, or if someone wants to test some things we might be able to go a bit further.
[@Snowydew] so the decryption as it stands right now, an do iso.bin.edat, requires idps, rif and act.dat for the games. re encryption I believe it needs the “fake” signed ones, as well as an idps (not sure on the idps) however the second method only requires the idps and the .rap file. This does not cover licenseing games i believe (It could, but we haven’t tested it). The re encryption algo is in the encryption one, but again haven’t been able to test it completely (reason I was asking around on twitter awhile back).

From Twitter: Welp, time to stop sitting on projects. Multiple versions KDSBest thanks for porting it over and helping Binaries and sources included for all decryption and encryption processes. It's a PoC, but usable.

According to Snowydew, it could leave to people resigning PS1 games into the eboot.pbp's to run PS1 games , but the iso.bin.edat still needs studying:

We haven't fully documented much of it (because the need for "Examples" to see what are in there for a variety of tests). However sandungas might be able to help if he still has that txt file from way back somewhere, there are other smaller things we haven't fully documented, however we would like that if anyone does, please post it on the wiki for others.

The only things I have personally looked at with the few others were the iso.bin.edats and that they're .cue files with a header, which is the most likely the decryption key for the eboot.pbp / bin (depends from what I've actually seen) and the rest calls the emulator with flags, for what exact I'm not sure just yet.

As juan said, currently this only fully supports decryption of PSOne games (Simple fix to add others through klicense keys). the encryption process isn't 100% tested, but if people want to help we can go from there. the headers from 0xb0 to 0x100 as kdsbest said. We currently don't fully know what these are so if anyone wants to help with that, that would be awesome.

From JuanNadie: Congrats snowydew and KDSBest. Good job (specially for providing source code).

I ran the app and there is no text field for klicensee so I assume that this release is only for PSX games.

For those asking this tool (once improved) will allow you to do what EXE.trim.ALL did months ago... freeing DLC, PSX, PS2 and some PSN game. However my favorite use is SDAT. A lot of developers encrypt resource files on SDAT... now we can do our own mods/translation

BTW if you have a RAP you don't need the IDPS nor act.dat nor RIF...

PS: For devs, if any of you knows how an isolated SPU reads the config ring please contact me.

From sandungas: Its poorly explained in the thread, but this tool is not focused in psn, but in rebuilding PS1 games in ps3 format from a copy of the original disc.

The fact is there is an .iso inside all "ps1 classic" games and "psp minis" games... and probably "ps2 classic" games. There are firmware modules (the ones labeled 9660) that can read this .iso format that is an standard of the industry.

So theorically, if you can provide an .iso in the correct format (with the extended track info)... and with the ability of recreating his header and the rest of his structure you have a way to boot any ps1 game in any ps3 model.

*obiously there is no 100% compatibility in the emulators itself, so some games will not run, but expect a big number to work

With "PSP minis"... there is no use because there are no minis discs to make a backup in .iso format.

With "PS2 classics" probably has some things in common with PS1... but also some different things... can be a bit more complicated (and compatibility very low with ps3 slims).

The file structure of a decrypted iso.bin is divided in "blocks" and "clusters":

[Register or Login to view code]

First you have the header (1 block) <--- this header can be considered "patched" to the start of the file, doesnt count as part of first cluster... clusters are used only inside the "discs" areas.

Then the "disc 1" starts (1024 blocks, 64 clusters)
Then the "disc 2" starts (another 1024 blocks, 64 clusters) etc...

Inside the first clusters of each disc (this cluster can be considered another header specific for this disc) you have the "magic" PSISOIMG0000 that is different for "psp minis" (I don't remember)... and probably another for "ps2 classics" (speculation)

Also the "game_id"... "number of clusters"... some unknown counters... (probably blocks used or similar). But the most important area of this cluster is the 32 bytes (seems to be a key) displaced 0x800 bytes from the start of the cluster.

Then there is a block of padding, and in the second cluster it begins the "file_table"... this table last to the end of the "disc 1" (and not-used clusters contains a checksum of 16 bytes)

The file_table is composed of entries of 32 bytes each. In each entry you have... the displacement from start of table, file size ?, cluster number (inside the iso) ?... etc...

Well... this file_table is pointing to the disc in iso format, and probably to "sectors" of the disc... it can be a TOC. And here is where is important to take in account the track data mode of the old ps1 discs, because it had an special track (known as MODE2)

The positions are always fixed, so for a game with 4 discs the important stuff is at this offsets:

[Register or Login to view code]


I just created a new wiki page: ps3devwiki.com/wiki/Iso.bin.edat

All the iso.bin offsets are mapped, some of them are still unknown, but his positions are clear. With this tables can be done a program to "read" iso.bin files to give an output list of all the positions, information, etc... (in a semi-human-readable format)

Now its needed to identify the "unknown" areas by understanding the relationship with the real .iso structure. The next step is to be able to generate this iso.bin files. Feel free to help updating the page if you find something.

The names i used for the tables or areas... are a bit confusing (if anyone understand this better feel free to clarify them) But because i don't know exactly what they are... i found no better names

All that i added to the page is from a iso.bin.edat decrypted from a retail game... i just removed the extension .edat to difference it from an encrypted one

And well... in resume... this iso.bin is pointing to areas of another .iso file. This areas obviously are "sectors of a disc"... and probably related with the TOC of the disc (table of contents)

And for the decryption of each disc (or each disc header)... i think the key is the one i marked as "disc_key" (doesn't seems to be a checksum, and is the only one with 32 bytes) At the end of the file there is an area of 40 bytes a bit strange that i have no idea if is related with encryption.

From PatrickBatman comes a Tutorial to Decrypt NPDRM as follows:

Well I guess I can tell you how the EASY WAY (After figuring this out I saw moogie figured it out also). This the easy way so ill tell you how to do that (I haven't looked for extensively/found the latest NPDRM keys like what duplex uses or whatever)

Basically you can make ebootMOD do this (this is the easy way instead of cygwin or linux)

1) Get deank's ebootMOD
2) Keys: get app-iv-102f, app-key-102f, app-pub-102f, app-priv-356, free_klicensee-key, klic-key, npdrm-const and rif-key
3) Get the unself that is 139KB allows NPDRM decryption
(to get items 2 and 3 search for PS3_Tools_NPDRM_v3)
4) Put keys in ebootMOD's .ps3 folder
5) Replace ebootMOD's unself (132 KB) with the 139KB unself (allows NPDRM decryption)
6) Drag and drop NPDRM eboot over ebootMOD icon
7) EbootMOD will make MODIFIED_EBOOT.BIN at the same location as original NPDRM eboot

Also, you can use the tools with PS3_Tools_NPDRM_v3 to unpkg update pkg files but you need working knowledge of cygwin/linux.

Or the easy way: get Unpkg GUI by Team SOS (I just extracted Skyrim 1.03 update with this, but of course can't decrypt eboot cause its using higher NPDRM keys or has EDAT, haven't checked anyway EDAT uses several keys,

[Register or Login to view code]


Finally, from zecoxao comes some [Register or Login to view links] for Edats in general (Minis and PSX Classics ONLY!) and the executable is located in the bin folder of each VS project. He also recently set up a [Register or Login to view links] for interested PlayStation 3 developers.

To quote: In case you haven't noticed, ps3devwiki.com/wiki/Iso.bin.edat is more complete because i have had some help in decrypting the stuff. There's also a new thing i've found. They are some differences between a 1 CD PSX Classic like Abe's Oddysee, and Multi-Disk PSX Classics like FF VII and FF VIII. I would appreciate if someone took the care into documenting those differences.




Stay tuned for more PS3 Hacks and PS3 CFW news, follow us on Twitter and be sure to drop by the PS3 Hacks and PS3 Custom Firmware Forums for the latest PlayStation 3 scene updates and homebrew releases!

Comments 49 Comments - Go to Forum Thread »

• Please Register at PS3News.com or Login to make comments on Site News articles. Thanks!

PS3 News's Avatar
#34 - PS3 News - 80w ago
Following up on his previous updates, today PlayStation 3 homebrew developer Quake of [Register or Login to view links] has updated his PS3 homebrew application called Simple PS3Updates to version 1.4.15 with the changes outlined below.

Download: [Register or Login to view links] / [Register or Login to view links]

To quote: I just stopped by to inform you guys of an update to Simple PS3Updates.

SubZero DeZigns brings you: Simple PS3Updates - v1.4.15

Here is the Change Log since last release here:

v1.4.15

  • Added: GameID select from Search to Main form
  • Added: Right click Delete - Listview
  • Notes: 3 Way Deletion .pkg("Recycle Bin") Question .txt("Kill"), .temp("Kill") Question .txt("Kill"), .txt("Kill")
  • Added: List>Text - Settings
  • Tweaked: List to Text
  • Tweaked: Search Message Results
  • Tweaked: Main form Opening
  • Tweaked: Raw
  • Tweaked: How Downloads are handled
  • Notes: Pkg files are now Temp files till download is 100% complete
  • Fixed: Skin Shape color handle
  • Fixed: Download Listview icon handle

v1.4.10

  • Revamped: Skin Selection - Settings

v1.4.0

  • Added: Auto SSL Certificate - Vista+ - Settings
  • Fixed: Runtime Error '9': Subscript out of range - Load List "startup"

v1.3.1026

  • Added: Splash Skin - Load

v1.3.1020

  • Added: Skinning to Download - DL

v1.3.1015

  • Added: Multi form display placement control - DL, Multi DL

As always: Installer Includes all files needed. RAR file only includes EXE, What's New.txt and Skin files.

More PlayStation 3 News...

PS3 News's Avatar
#33 - PS3 News - 86w ago
You may want to redownload it as some revisions have been made since the initial news article was posted. The download links remain the same and are posted HERE.

vikingo75's Avatar
#32 - vikingo75 - 86w ago
the prog not start i see it in task manager with cpu to max...

PS3 News's Avatar
#31 - PS3 News - 86w ago
Following up on his previous updates, this weekend PlayStation 3 homebrew developer Quake of [Register or Login to view links] has updated his PS3 homebrew application called Simple PS3Updates to version 1.3.1001 followed by v1.3.1007 with details below.

Download: [Register or Login to view links] / [Register or Login to view links] (Installer)

To quote: SubZero DeZigns brings you; Simple PS3Updates - v1.3.1001

This is just a simple update checker. Type in the Game ID and click Fetch.

Functions:

  • Add ID
  • Explore Directory- Open Directory
  • Save List - Save List As
  • Skinning
  • Opacity
  • 0 Byte txt files are put in place to remind one self they have this file or have downloaded it before.
  • Multiple Downloads - Using Winsock. No Inet controls!

Changelog v1.3.1000 - v1.3.1001:

v1.3.1000:

  • Removed: Asynchronous DL Ctrl - Do to VB6 limitations
  • Added: Winsock DL - Better Support
  • Added: File Name click - Downloader
  • Added: Previous DL txt file - Checks for a txt if it was DL'ed
  • Added: Over write Option - Settings - Options
  • Added: Game Names to List
  • Added: Search Function
  • Added: Visual Enhancements - Files
  • Fixed: Click Unclick About
  • Fixed: GameID input - Auto Alpha Caps caused start Char 1
  • Fixed: DL Speed - kb/s, MB/s, GB/s
  • Fixed: Cancel on File Already Exist, Cancel Message
  • Fixed: DL Directory - Settings
  • Fixed: DL lock on Error code: 7 - Out of memory
  • Fixed: Mouse Icons - Downloader

v1.3.1001:

  • Fixed: Runtime Error '9': Subscript out of range - Search

v1.3.1005

  • Added: Progressbar to Search form. - Visual affects
  • Added: List to Buffer upon load - Affects Search form.
  • Fixed: Progressbar flicker - Main form.

v1.3.1005 v2

  • Fixed: Scroll value label to Search - Settings, Opacity

Note: Does not warrent version change. Re-Update if you need to.

v1.3.1006: Do to a Stack over flow on fresh installs, the software would hang. This issue is fixed.

  • Fixed: Stack Over flow - Fresh install

v1.3.1007: Sorry about the errors. When coding this software I've always had a list loaded.

More PlayStation 3 News...

PS3 News's Avatar
#30 - PS3 News - 102w ago
Following up on his previous updates, this weekend PlayStation 3 homebrew developer Quake of [Register or Login to view links] has released a PS3 homebrew application called Simple PS3Updates v1.0.0 followed by v1.0.1 and v1.0.2 with details outlined below.

Download: [Register or Login to view links] / [Register or Login to view links] (Installer)

To quote: SubZero DeZigns brings you; Simple PS3Updates - v1.0.0

This is just a simple update checker. Type in the Game ID and click Fetch.

Functions:

  • Add ID
  • Save List
  • Skinning
  • Opacity
  • Multiple Downloads - Using Asynchronous. No Inet controls!

Notes: This software could interfere with download accelerators. And few more for good measure.

Thanks,

Quake

P.S. Yes! There are some other PS3 Update downloaders out there. This is my version. Installer Includes all files needed. RAR file only includes EXE and Skin files.

Skins can be edited via: X:\Program Files\Simple PS3Updates\skin

I suggest copying the default skin and edit from there.

Changelog v1.0.1:

  • Removed: vscroll control from Opacity's
  • Added: Scroll controll to Opacity's
  • Added: Slider Icon to Opacity skin

Finally, in related PS3 homebrew news today hgoel0974 (via wololo.net/talk/viewtopic.php?f=23&t=15920#p177400) has updated The Homebrew Network to v7.3 with the changes outlined below, as follows:

Download: [Register or Login to view links] / [Register or Login to view links] / [Register or Login to view links] / [Register or Login to view links]

NOTE:

Windows:

  • Requires the .Net framework 4.x
  • Requires an internet connection

Linux:

  • Requires the latest version of the Mono Framework
  • Requires an internet connection

General users:

  • Flash Player is required to chat

Changelogs:

ChangeLog v7.3

  • Major Internal changes
  • Newer downloads work with this version onwards due to changes in the format- old versions can may or may not download everything - Update now!

ChangeLog v7.1:

  • Major Bug Fixes
  • Transfer function now supports FTP

ChangeLog v7:

  • HUGE Update
  • Chat added
  • Get the latest news from wololo.net while downloading homebrew!
  • Linux version now available!

ChangeLog v6:

  • Transferring is back! Not complete but is usable

ChangeLog v5:

  • MOVED SERVERS: Users must update to get new homebrew from the network because the system has been moved to a new server
  • Added logo by josh_axey, winner of the logo contest
  • Added Credits : Click on the title bar of the application for details

ChangeLog v4:

  • Cosmetic Changes
  • Fixed Filename (No more "Homebrew Transferer for by Hgoel0974")
  • Removed "Transfer" tab, functionality disabled
  • Major Bug Fixes
  • Servers Updated! Added loads of new homebrew!

ChangeLog v3:

  • Major Bug Fixes!
  • Decreased load times
  • Added the ability to provide file details
  • Spaces are now allowed

NOTE: I recommend that users update to this version because the older versions don't support spaces and thus will not function very well.

More PlayStation 3 News...

Sponsored Links

Sponsored Links
Sponsored Links

Sponsored Links







Advertising - Affiliates - Contact Us - PS3 Downloads - Privacy Statement - Site Rules - Top - © 2014 PlayStation 3 News