+ Reply to Thread
Page 1 of 3 123 LastLast
Results 1 to 10 of 26

Thread: Elf Modifer V 1.2

  1. #1
    Join Date
    Oct 2006
    Posts
    97

    Default Elf Modifer V 1.2

    well this is its first public release.
    You can modify the elf header using this app and edit lines within the elf wic is perfect for disk editing etc...
    ================================================== ======================
    Elf modifier v1.2
    ================================================== ======================

    Basic overview:
    This app allows you to modify the elf headers (main, programme and section).
    Also allows you to modify lines of code in the elf.

    *Notes*
    [1] The set Header and Programme header buttons will use both the data from each tab so be carefull
    [2] you will need .net run times sorry
    (http://www.microsoft.com/downloads/d...displaylang=en)
    [3] Address for moddifying is calculated by:
    Finding the first address of the elf in the PS2Dis (not the entrypoint) generally 0x00100000.
    Subtracting this address from the address you want to edit (0021044C - 00100000 = 0011044c)
    [4] Backup the elf first incase something bad happends.

    [5] code text file looks like:

    2
    0x000000e4 0x24426e40
    0x000000e8 0x20000002

    format:
    NumberOfCodeLines
    Code1[space]Data1
    Code2[space]Data2
    etc...

    Change log:
    V 1.2 (31/10/06)
    [1] Added a GUI.
    v 1.1 (31/10/06)
    [1] Added support for reading a code text file to add to the elf.
    v 1.0 (30/10/06)
    APP released.

    enjoy
    http://www.megaupload.com/?d=5QU6WYNG
    -->ok the console is still there!! does anyone know how to stop this console appearing in Visual C++ Express because its useless having it and makes app look shitty

    feel free to make any suggestions

  2. #2
    Join Date
    Oct 2006
    Posts
    23

    Default

    Quote Originally Posted by cYs Driver View Post
    well this is its first public release.
    You can modify the elf header using this app and edit lines within the elf wic is perfect for disk editing etc...
    ================================================== ======================
    Elf modifier v1.2
    ================================================== ======================

    Basic overview:
    This app allows you to modify the elf headers (main, programme and section).
    Also allows you to modify lines of code in the elf.

    *Notes*
    [1] The set Header and Programme header buttons will use both the data from each tab so be carefull
    [2] you will need .net run times sorry
    (http://www.microsoft.com/downloads/d...displaylang=en)
    [3] Address for moddifying is calculated by:
    Finding the first address of the elf in the PS2Dis (not the entrypoint) generally 0x00100000.
    Subtracting this address from the address you want to edit (0021044C - 00100000 = 0011044c)
    [4] Backup the elf first incase something bad happends.

    [5] code text file looks like:

    2
    0x000000e4 0x24426e40
    0x000000e8 0x20000002

    format:
    NumberOfCodeLines
    Code1[space]Data1
    Code2[space]Data2
    etc...

    Change log:
    V 1.2 (31/10/06)
    [1] Added a GUI.
    v 1.1 (31/10/06)
    [1] Added support for reading a code text file to add to the elf.
    v 1.0 (30/10/06)
    APP released.

    enjoy
    http://www.megaupload.com/?d=5QU6WYNG
    -->ok the console is still there!! does anyone know how to stop this console appearing in Visual C++ Express because its useless having it and makes app look shitty

    feel free to make any suggestions
    Nice job man......I can't wait to play with this this weekend. I'm getting the feeling it's going to be useful.
    Last edited by -MIPs-; 10-31-2006 at 07:26:16 PM.

  3. #3
    Join Date
    Oct 2006
    Posts
    97

    Default

    lol thanks its 10x easier than a hex editor especially with the code files

  4. #4
    Join Date
    Jul 1999
    Posts
    7,089

    Default

    Nice; this may solve my problem with CCheat

    I'll add this to GSHI's Downloads section, with your permission. Also, feel free to use the attachment function of the forums.

    [Edit]: I believe you mean http://www.microsoft.com/downloads/d...displaylang=en as the other link was to .net 1.1.
    I may be lazy, but I can...zzzZZZzzzZZZzzzZZZ...

  5. #5
    Join Date
    Jul 1999
    Posts
    7,089

    Default

    Also, if I wanted to change the value at 0x00400770 to 0x00000001, I would choose the input elf, choose an output filename, use...

    1
    0x00400770 0x00000001

    ...in the main box of the Edit File tab, then click Set Codes, correct? I can't seem to get Elf Modifier to output a file (well, it makes a file, with 0 bytes filesize)
    I may be lazy, but I can...zzzZZZzzzZZZzzzZZZ...

  6. #6
    Join Date
    Oct 2006
    Posts
    97

    Default

    well the input elf will also be the the output elf unless you are modifying the headers, if you mod them you must choose a new output file. to edit that line create a text file with the format as shown, fix the address so it is relative and add it to the file. select the file in elf mod edit codes tab and click set codes. This will then get the codes from the txt file provided and add them to the inputelf
    Last edited by cYs Driver; 11-01-2006 at 05:32:09 AM.

  7. #7
    Join Date
    Jul 1999
    Posts
    7,089

    Default

    Right, I forgot about subtracting the starting address in my example.

    But I still can't seem to mod anything. I made a .txt with

    1
    0x00000770 00000001

    ...chose the input elf, used the same file for the output elf, used Get Header Info to be sure the elf was read properly, selected the Edit File tab, and typed in the location of my text file [ c:\test.txt ], but Input Codes, Get Codes, and Set Codes all did nothing. I even used Hex Workshop's Fille Differencing engine to see if anything had been changed in the elf, but nada. Am I missing something?
    I may be lazy, but I can...zzzZZZzzzZZZzzzZZZ...

  8. #8
    Join Date
    Oct 2006
    Posts
    97

    Default

    you need to prefix the data with 0x aswell

  9. #9
    Join Date
    Jul 1999
    Posts
    7,089

    Default

    Err...geh, this was just another typo in my example. I prefixed the value in my actual attempt. I tried another elf, but got the same results...
    I may be lazy, but I can...zzzZZZzzzZZZzzzZZZ...

  10. #10
    Join Date
    Oct 2006
    Posts
    97

    Default

    mm i dont know what your doing because i get it working fine for me :S
    il talk to you on aim some other time im going out all day

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     
Collapse this box.

Visitors found this page by searching for:

elf header hex workshop

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts