Are there any methods to port multi-lined codes quickly?
I really want to port long codes from older patches to 1.60, but they take forever doing it line by line.
Does anyone know how to do it quickly?
Printable View
Are there any methods to port multi-lined codes quickly?
I really want to port long codes from older patches to 1.60, but they take forever doing it line by line.
Does anyone know how to do it quickly?
if its a code like this....(not a real code)
0x00567894 0xFFFFFFFF
0x00567898 0xFFFFFFFF
0x0056789C 0xFFFFFFFF
0x00567810 0xFFFFFFFF
as you can see, it goes from 4 to 8 to C to 10 so they are all in a row. All of those addys are in a row, so all you need to port is the first one, and just use the 3 lines after it because thats how it will work. Otherwise i dont know any other way.
Thank man.
If the address is more than 4 hex digits away in patterns of 8. Take for example scal's.
0x00567894 0xFFFFFFFF
0x00567898 0xFFFFFFFF
0x0056789C 0xFFFFFFFF
0x00567810 0xFFFFFFFF
4 + 4 = 8 + 4 = C + 4 = 10
Then no it isn't but if they are use his method.
OR. If its like this
0x00567890 0xFFFFFFFF
0x00567910 0xFFFFFFFF
0x00567920 0xFFFFFFFF
Its just like this...you port the first line, go down 4 lines to the next one, and then another 4 lines to the next one.
Most codes go 4 to 8, 10 C to 14 then 18 etc. you can probaly port something short with this that doesn't have a mix off codes like (not a real code either)
0x00567890 0xFFFFFFFF
0x00167880 0xFFFFFFFF
0x01908791 0xFFFFFFFF
This could confuse almost everyone so either do ps2dis or have a short easy code and do this way