PS3 is it possible to replace files in eboot.bin?

mizio90

Member
Hi, as the title suggests, I'm trying to replace a file contained in an eboot.bin, in particular a .jpg image ...
I converted the eboot from .bin to .elf.
with HeX (hexadecimal editor) I found the sectors of the image to be replaced (I copied them to a new file and saved with .jpg, the image is displayed by win7, so the sectors are correct) ... at this point I replaced them (paste and overwrite) with those of the new image to be included in the eboot and I saved everything as .elf.
Next I used the command:
"make_fself.exe EBOOT.ELF EBOOT.BIN"
but i get an error and it is not converted to .bin ...
Cattura.png

Am I wrong somewhere or what I'm trying to do is not possible ??
Thanks in advance for your answers!
 
Last edited:
you need to decrypt the EBOOT.BIN. I don't know what you mean by changing it to elf through hex. I'm unfamiliar with that.
 
yes, from eboot.bin I extracted eboot.elf ... Modified with hex editor and tried to report it in .bin but I get that error
 
you can't do that. you have to decrypt the EBOOT.BIN. the elf contains a header with all the information about the file
 
yes, use scetool or one of the many other tools that exist. if you have ps3 tools, you should be able to right click, then decrypt eboot.
 
ok, so that's what i had done before ...
then I edit eboot.elf with HxE and then I have to convert it back to .bin, but I can't, the file seems not to be recognized as valid and the conversion is not successful ...
 
To modify executable bind resources You need get pure *.elf file.

If it contain *.jpg inside which You want to replace You can do it by hex editor BUT You must fit into exactly the same size, You cannot use larger file because You will overwrite some important data, You cannot move any data to another offsets just like that because You will destroy executable structure, and You shouldn't use smaller file because You will leave some part of old image and what JPEG/JFIF interpret it depend of used parser by the author.

And after that, You must create EBOOT.BIN (properly signed *.elf).

TBH: What You want to edit? If this is homebrew with source available would a lot better to just compile it with replaced resources. ;p
 
@bucanero Is still active dev so You can make polite request to make background read from outside EBOOT and no need hacking homebrew need anymore. ^^
 
since you mentioned the developer (thanks for doing it), I will wait for an answer here in the next few days, otherwise I will make a direct (polite:wink:) request to the dev ..!
 
Back
Top