hit tracker

Release eboot tool

Discussion in 'PS3 Homebrew Corner' started by Unk, Sep 26, 2015.

  1. 22
    19
    3
    Unk

    Unk PS3 Developer Wizard Loyal Member

    Joined:
    Jul 12, 2014
    1 tool to create eboots from original elfs (yay homebrew developers); eboot will look like game eboots.
    2 tool to extract elf from original game eboots. can be used with tool 1

    needs keys etc. put in local folder ".ps3"
    saves header keys to file, used when recreating an eboot or uses random keys if file not present
    also uses padding file if present

    update
    fixed extra 16 bytes added to compressed section offset if alignment was already correct. alignment of compressed sections must be fixed when creating compressed selfs. added check for section alignment already correct so it doesn't get "corrected" twice
    also combined all the tools into one archive. thanks to the member who spotted this problem.

    important
    original eboots only. not compatible with non compliant eboots or elfs.
    probably works on other ppc self but I don't have a game with extra ppc self.
    not sprx or spu self

    View attachment combined_max_beta.zip
     
    Last edited by a moderator: Oct 3, 2015
    ErikPshat, catalinnc and GaryOPA like this.
  2. 22
    19
    3
    Unk

    Unk PS3 Developer Wizard Loyal Member

    Joined:
    Jul 12, 2014
    sorry, forgot one accessory file. for the eboot to look exactly like an original eboot, put this file in the same folder. it will use it instead of zeroes for the non executable part of the eboot. this is the largest one I could find. if anyone has a larger one, plese post it here.

    combined this with the archive in the first post
     
    Last edited by a moderator: Oct 3, 2015
    catalinnc and GaryOPA like this.
  3. 1
    0
    0
    ihoax

    ihoax Loyal Member

    Joined:
    Aug 3, 2015
    What's the exact purpose of this tool?
     
  4. 22
    19
    3
    Unk

    Unk PS3 Developer Wizard Loyal Member

    Joined:
    Jul 12, 2014
    update
    fixed extra 16 bytes added to compressed section offset if alignment was already correct. alignment of compressed sections must be fixed when creating compressed selfs. added check for section alignment already correct so it doesn't get "corrected" twice. thanks to the member who spotted this problem.

    also combined all the tools into one archive.

    download from the first post above
     
    Last edited by a moderator: Oct 3, 2015
    catalinnc and GaryOPA like this.
  5. 22
    19
    3
    Unk

    Unk PS3 Developer Wizard Loyal Member

    Joined:
    Jul 12, 2014
    encrypt.exe is intended to create an eboot/ppc self that has the same format as an official eboot. The input eboot must be compiled as original elf or extracted from an official game eboot with unencrypt.exe. When used with official game eboots the elf portion of the re-made eboot should turn out exactly the same as the original (except for your modifications).

    unencrypt also extracts the keys used to encrypt the meta data and the section keys from the original self. if present, they will be used by encrypt.exe instead of random keys.

    the area between elf sections is filled with padding in game selfs. encrypt will place this padding into the self or will use zeroes if not available.

    For npdrm self of course the special npdrm only signature at the end of the eboot will not be present. You could simply take the last 30 bytes plus any padding from the original eboot or use random numbers. It really doesn't matter without the real key.

    sdk.exe is for editing the sdk version in the elf.
     
    catalinnc likes this.
  6. 22
    19
    3
    Unk

    Unk PS3 Developer Wizard Loyal Member

    Joined:
    Jul 12, 2014
    here is an alternate version of unencrypt.exe. It also creates a batch file that can be used with encrypt to make the new eboot.

    3 versions

    1 creates batch file using firmware version, key revision, and other attributes from original self
    2 creates batch file using firmware version 355 and key revision 0A
    3 creates batch file using firmware version 341 and key revision 04

    it's a convenience feature; simpler than typing in long command line with lots of numbers.

    for npdrm eboots, the real file name that is placed in the batch file:
    if the input self for unencrypt.exe is named with the extension ".BIN", it will use EBOOT.BIN for the real file name. With other extensions, it will use the input file name as the real file name. The real file name must match the name of the self as installed on the ps3. This is checked by the ps3.

    EBOOT.BIN -> EBOOT.BIN
    GAME1.BIN -> EBOOT.BIN
    GAME2. BIN -> EBOOT.BIN
    GAME1.SELF -> GAME1.SELF

    View attachment unencrypt_also_create_batch_file.zip
     
    ErikPshat and catalinnc like this.

Share This Page