YouTube - PS2DIS Porting
I'm tired of someone saying they have ported a code and TESTED it, when in actuality they haven't. If you don't know how to port, then don't port. If you are willing to learn then this port helper should help.
http://www.consolediscussions.com/fo...rs.php?do=port
Tutorial
Today we will be porting Play Dead from the Socom FTB2 1.50 patch to the Socom FTB2 1.60 patch.
Things Needed
PS2DIS
Socom FTB2 1.50 Dump
Socom FTB2 1.60 Dump
Step 1
Open 2 PS2DIS windows. (Double click ps2dis.exe 2 times)
Step 2
In the first window load the Socom FTB2 1.50 Dump.
Step 3
In the second window load the Socom FTB2 1.60 Dump.
Step 4
Now lets look at the original Play Dead code:
#Play Dead
;You can still play when you die
0x0026CCB0 0x03E00008
Breaking it down we have the code name on the first line, code comments on the second line, and the code itself on the third lines. We of course want to focus on the code part which is this area:
0x0026CCB0 0x03E00008
Since there is only one line of code in the Play Dead hack we only have to port that one code, but sometimes other hacks may have more than just one line of code, in which case you must port all of the lines of code.
Step 5
Go to your PS2DIS window that has the Socom FTB2 1.50 Dump loaded.
Step 6
Press G and in the box we want to paste the address of the code which which I have labeled in red below:
#Play Dead
;You can still play when you die
0x0026CCB0 0x03E00008
Then press enter.
You should now end up on this highlighted address:
Take a look at the value of the Play Dead code:
27bdff90
This value will be used in my Port Helper. This isn't always the best way to go though, as sometimes these values are not unique and are used in many codes throughout the data. This means that it would take you forever just to find what you are looking for.
So to solve this problem lets take a value that would be unique and not used in many other addresses. If you look one line below the Play Dead Address you will see e7b40050:
Step 8
Now that we have a unique value we need to enter it into my Port Helper in order for the value searcher to work. When you enter it click convert and you should get this below the "Hex Code:" area:
Step 7
Now that we have the right value for PS2DIS go to your PS2DIS window that has the Socom FTB2 1.60 Dump loaded.
Step 8
Press Ctrl and F, check the "As hex string" box and the paste your new value 5000b4e7 into the search box. Then press enter.
Note: Most of the time with Socom patches (Not all of the time) the data is moved forward. This means, that there is a high chance that the address you are looking for in the Socom FTB2 1.60 Dump will be higher than address of the Play Dead code in the Socom FTB2 1.50 Dump. So before searching for the value, press G and enter in the address of the original Play Dead code 0026CCB0, then do a search for your value. Just remember that the address is not always higher than the original code, so if it works a couple of times and then you end up going in a circle the next time, just remember that it can sometimes be lower.
Step 9
Now this will search for any addresses that have e7b40050 in them. More than likely the first search will not be the correct address of the ported code. To view the next search result press F5.
Step 10
Now you need to know what you are looking for, otherwise I'd be sending you on a random chase. So go back to your PS2DIS window that has the Socom FTB2 1.50 Dump loaded. Look at these two areas:
You will need to compare these areas to the Socom FTB2 1.60 Dump. So, by going back to PS2DIS window that has the Socom FTB2 1.60 Dump loaded you need to press F5 until you see values that match up.
Step 11
After pressing F5 about 16 times we end up with an address where the surrounding area is a match to the Socom FTB2 1.50 Dump Play Dead address area:
0026d280
As you can see the area is the same, however it doesn't always match up perfectly.
<-----1.50 Version 1.60 Version----->
<-----1.50 Version 1.60 Version----->
Step 12
Now all you do is put the code together. Originally we had this code:
#Play Dead
;You can still play when you die
0x0026CCB0 0x03E00008
Just replace the red with the new address 0026d280 and your done:
#Play Dead
;You can still play when you die
0x0026d280 0x03E00008
Maybe now you guys that don't know how to do this can stop trying to get attention by saying a code you ported works when you didn't even test it.
Bookmarks