Announcement

Collapse
No announcement yet.

Elf Modifer V 1.2

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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
    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, 07:26:16 PM.

    Comment


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

      Comment


      • #4
        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...

        Comment


        • #5
          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...

          Comment


          • #6
            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, 05:32:09 AM.

            Comment


            • #7
              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...

              Comment


              • #8
                you need to prefix the data with 0x aswell

                Comment


                • #9
                  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...

                  Comment


                  • #10
                    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

                    Comment


                    • #11
                      Sounds good, man; thanks. If I manage to modify an ELF, will I get any indication that something happened, or will I have to check for file changes (eg, will I get a popup box saying I've successfully modded the elf)?
                      I may be lazy, but I can...zzzZZZzzzZZZzzzZZZ...

                      Comment


                      • #12
                        Bleh, if I could either time my 'net appearances better to catch you before you're offline, or figure out what's going on, this tool would be really useful for me to figure out whether PS2Dis is disassembling ccheat.elf incorrectly/incompletely, or elfmaker is reassembling improperly...

                        Perhaps more detail will shine a light on what's going wrong. I name the txt "text.txt", and the elf is "unpacked.elf", in c:\. The ELF header loads fine, but I can't get Elf Modder to load the txt, nor can I get it to do anything if I manually add codes to the GUI's codes box, and mod the elf that way.

                        So I moved both files to the directory that's automatically in the "Input elf" box, "C:/cygwin/usr/local/ps2dev/ps2sdk/projects/find_syscall_vtbl/", but nothing changed. I've tried renaming text.txt to unpacked.txt, just in case that was relevant. I've tried with 1, 2, or 3 codes. I've tried different codes. I've tried different elfs. Can you attach (using the forum function, or your own if you prefer) an elf you've had success with (unmodded, so I might use it to test), with a proper txt? Has anyone else used Elf Modder successfully? I'm just wondering if it's possible we're all missing some essential part of Elf Modder.
                        I may be lazy, but I can...zzzZZZzzzZZZzzzZZZ...

                        Comment


                        • #13
                          right that original directory was supposed to be removed from it, i had that there for the purposes of speeding up testing because all my elfs were there so ignor that...
                          at the moment the main text box in the GUI does nothing :S just was planned for the future. But hopefully il catch you this time on aim

                          Comment


                          • #14
                            Cool. I'm currently at work, and most chat protocols are decently blocked. I could set up an SSH tunneling system of sorts, if I wasn't too lazy...I'll be home around 6PM Central Time.
                            I may be lazy, but I can...zzzZZZzzzZZZzzzZZZ...

                            Comment


                            • #15
                              mm any change of giving me that in GMT lol

                              Comment

                              Working...
                              X