Want to Join Us ?

you'll be able to discuss, share and send private messages.

Release Self Tools

Discussion in 'Homebrew' started by Rip Cord, Sep 13, 2015.

Share This Page

  1. Rip Cord

    Administrator Staff Member Admin Developer

    For homebrew developers, make_eboot.exe for converting your compiled elfs into eboots with the same structure as game selfs. Also makes eboots from game elfs that have been extracted with this special version of decrypt_eboot.exe.

    decrypt_eboot.exe also extracts the meta_info_keys and the section keys from the eboot.
    make_eboot.exe scans the current folder for those keys or uses randomly generated keys

    Put keys in ".ps3", klics in "klics" and raps in "raps" folders.
    includes sample batch files.

    The fill between the self sections appears to be the same for different eboots. make_eboot will load the fill from a file called fill.bin in the same folder else uses NULL bytes for fill.


    uses aes/ecdsa engine of ps3tools, sha1/sha1hmac of polarssl, and Flatz algo for rap.
    thanks to aldo, catalinnc, and storm shadow

    update:
    added fixed make_eboot.exe, with check for compressed section already correctly aligned.
     

    Attached Files:

    Last edited: Oct 2, 2015
    jo3tomas, catalinnc and storm shadow like this.
  2. storm shadow

    Techbliss Owner Admin Ida Pro Expert Developer

    Rip Cord likes this.
  3. Rip Cord

    Administrator Staff Member Admin Developer

    added a convenience feature to decrypt_eboot.exe

    these versions of decrypt_eboot.exe also create a batch file for use with make_eboot to re-create the eboot

    3 versions:
    1 creates batch file that uses firmware version and key revision from input eboot
    2 creates batch file that uses firmware version 355 and key revision 0A
    3 creates batch file that uses firmware version 341 and key revision 04

    attention:
    for npdrm files the last commandline argument is the real file name. in order to play on the console, this name must match the name of the installed file. usually, EBOOT.BIN but other ppc self have different names. if the file decrypted with decrypt_eboot has the extension .BIN, then it will put EBOOT.BIN as the real file name in the batch file. if it has a different extension (like self), it will put the input self file name as the real file name in the batch file.
    MONKEY.BIN -> EBOOT.BIN as real file name
    EBOOT.BIN -> EBOOT.BIN as real file name
    MONKEY.SELF -> MONKEY.SELF as real file name

    edit the batch file if needed
     

    Attached Files:

  4. Rip Cord

    Administrator Staff Member Admin Developer

    update to make_eboot.exe

    fix:
    for compressed self, the alignment has to be corrected when determining the section offsets. unfortunately I forgot to check first to see if the compressed section by chance fell on the correct alignment. in the lucky eboot, that compressed section offset (and following sections' offsets) would be 0x10 more than in the original eboot.

    thanks to jo3tomas for spotting the problem. :)
     

    Attached Files:

    Last edited: Oct 2, 2015
    catalinnc, jo3tomas and storm shadow like this.
  5. Rip Cord

    Administrator Staff Member Admin Developer

    added a requested feature to make_eboot.
    edits sdk version to match firmware version.
    firmware version 355, sdk version-> 35
    firmware version 341, sdk version-> 34
    firmware version 453, sdk version-> 45

    one exception:
    I have 1 eboot with firmware version 00; it's sdk version is 15 and prx version 00.
    so for make_eboot if firmware version 00; sdk version->15 and prx version-> 00

    thanks to the member who made the request
     

    Attached Files:

    jo3tomas and storm shadow like this.
  6. Rip Cord

    Administrator Staff Member Admin Developer

    slight variation to make_eboot
    this version only modifies the sdk version if the new firmware version is lower than original

    eboot.bin firmware 4.65 -> 3.55, sdk lowered from 45 or whatever to 35
    eboot.bin firmware 3.41 -> 4.21, sdk version 34 not changed

    this was also a feature request. thanks for the idea.
     

    Attached Files:

    catalinnc and storm shadow like this.
  7. Rip Cord

    Administrator Staff Member Admin Developer

    for make_eboot with edit sdk version if going to lower firmware, added TOTALLY FAKE sig for np eboots.

    end of file <- [padding] + random bytes + partial hash

    for cosmetic purposes only. some other tools also add a fake sig including zcetool
    thanks to members who requested this feature
     

    Attached Files:

    Last edited: Oct 15, 2015
    jo3tomas, storm shadow and catalinnc like this.
  8. Rip Cord

    Administrator Staff Member Admin Developer

    update to decrypt_eboot and make_eboot
    fixed processing of one type of intentionally trick ppc self.

    UP0002-BLUS31466_00-CODAW00000000TU5 has 2 ppc self with section 4 size > 0, filled with null bytes, and compressed. Fixed incorrect offsets calculated for sections after section 4.

    also changed command line for decrypt_eboot. now uses content id in eboot to load klic or rap from
    /raps/content_id.rap or klics/content_id.klic. to decrypt with free klic, use option -f.


    decrypt_eboot.exe 2.4
    Usage: decrypt_eboot.exe <input eboot> <output.elf> [-f]

    -f use free klic, else:
    content_id.klic files should be in folder "klics"
    content_id.rap files should be in folder "raps"
    key files should be in folder ".ps3"
     

    Attached Files:

    catalinnc, jo3tomas and storm shadow like this.
Top