Post: Decrypting and Encrypting .SELF and EBOOT.BIN Files.
09-03-2010, 07:39 PM #1
Xcellerator
You talkin to me?
(adsbygoogle = window.adsbygoogle || []).push({}); OK, I think some people may already know this, but you can decrypt and re-encrypt NPDRM SELF files such as 'default.elf' or 'default_mp.self'. You can also with EBOOT.BIN but for adjustments, you must fix the checksum (or so I've been told...).

TO DECRYPT
First, you need the PS3 SDK, and after navigating through Command Prompt (or Terminal) to your appropriate OS version, you need to use the unfself command.

    unfself{.exe} '[I]directory[/I]/default.self' '[I]directory[/I]/default.elf'

In whatever directory you specified the .ELF to be in will be the decrypted one. A lot of the top of the code (in HEX) is unreadable, but towards the bottom is a lot of plaintext which can be easily modified.

TO ENCRYPT
In order to encrypt your ELF file, you need to use the make_fself_npdrm command. As shown below...

    make_fself_npdrm{.exe} '[I]directory[/I]/default.elf' '[I]directory[/I]/default.self'


The self file will be wherever you you specified.


As I said, I know some people may already know how to do this, but I have posted it for the sake of those who don't. I'll probably add a PDF version (and in a bit more detail) on my website for those who are interested. Also I will add some about checksums in the full PDF version.
(adsbygoogle = window.adsbygoogle || []).push({});

The following 10 users say thank you to Xcellerator for this useful post:

BabyGravy, chrisisadude, DEREKTROTTER, egonadrian, high_colestrol, ihaxgames, IW_JOSH, Ix Benere xI, robot6527, tcwyw
09-03-2010, 10:42 PM #2
Ix Benere xI
At least I can fight
Thank you very much. You have only been here a while and you have already made some very valid contributions. I'm gunna' give you some very well deserved Rep+ and Nom.
09-04-2010, 12:01 AM #3
Rath
Today Will Be Different
Originally posted by Ix
Thank you very much. You have only been here a while and you have already made some very valid contributions. I'm gunna' give you some very well deserved Rep+ and Nom.


He wouldn't be where he is if he didn't read my "Default_mp.self and Default_mp.xex files" thread in the MW2 Hacks and Exploits section. But at least he is contributing.
09-04-2010, 12:55 AM #4
shiver
chaos personified
This is for debug console's only....
09-04-2010, 10:12 AM #5
Xcellerator
You talkin to me?
Or with PSJB...

The following user thanked Xcellerator for this useful post:

09-07-2010, 08:58 PM #6
shiver
chaos personified
Originally posted by Xcellerator View Post
Or with PSJB...


So true Smile :bro:
09-08-2010, 06:53 AM #7
I'm trying to extract the EBOOT.BIN file I guess you could say with the unfself.exe? Would I be doing this correctly? Im trying to make a pkg with the make_...blah blah and it says that my EBOOT.BIN is not a NPDRM SELF (already authorized) ... is there something that I need to do before I can make the package?
09-08-2010, 03:58 PM #8
Xcellerator
You talkin to me?
You need to convert back to SELF with the make_fself.exe or make_fself_npdrm.exe commands..
Does anyone know of the difference between these two commands. As far as I can make out, they are the same..?
09-08-2010, 04:18 PM #9
shiver
chaos personified
Originally posted by Xcellerator View Post
You need to convert back to SELF with the make_fself.exe or make_fself_npdrm.exe commands..
Does anyone know of the difference between these two commands. As far as I can make out, they are the same..?


Hint: Ask your self what NPDRM is.
09-08-2010, 06:47 PM #10
The EBOOT.BIN I'm trying to get the SELF out of it.. but I can't because I didn't write it. I'm trying to reverse a patch. But I need to extract the SELF from the EBOOT.BIN.. if i run "unfself EBOOT.BIN myself.self" it gives a File : I/O error.

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo