[Guide: How to convert .pnachs to other regions]
In this scenario, we'll port Rumble Roses widescreen patch from PAL to NTSC-U.
Step 1:
Get both .elf files for each region. Simply run the .iso in Windows explorer and drag them out, or use Elf Extract Tool.
NOTE: Sometimes there may be more than one .elf file. If the address you're looking for doesn't appear, look for any other .elf files in the .iso.
Step 2:
Open two instances of ps2dis (download here) side-by-side:
http://www.codemasters-project.net/porta...hp?view.23
I also like to change the font (Preference... > Font) to Courier New, Regular, 14, so that it's easier to read.
On the left, load the region .elf you're porting from, and on the right, the region of the .elf file you're porting to.
In the center, load the .pnach file. Remember, all you're doing is changing the addresses, not the values themselves.
Step 3:
The first address is 00104084, so on the left, go to that address.
You can simply press G on your keyboard, copy-paste it, and get there immediately.
The value for that address is 00000000, but that's not specific enough for us to find.
Usually, you can just use the direct value of the address, but that doesn't always work.
So let's try the one directly above it (because it's very close), 46007e86. On the right, Find [hex] String (Control + F) 867e0046, because it's simply the reversed pairs.
Step 4:
Look at the corresponding data on each side. They have to match up (or look very similar, some slight differences in numbers are fine), or it won't work. If you don't find very similar looking data, keep pressing F5 to instantly check the next address.
Replace the address in the .pnach with the corresponding address on the right. Repeat this for all addresses.
When you're finished, save the .pnach, and be sure to rename the CRC.
Test the ported code in PCSX2! If it works, congrats!
NOTE: If you successful port a code, please post it in this thread so I can archive it for everyone else.
If you weren't able to port a code, you can ask for help in this thread.
TIPS:
- The first 4 digits for every address will almost always be the same. For example, the widescreen patch for Persona 4 NTSC-U is 0076111c, and its PAL counterpart is 0076461C.
- If the address value is too generic, use values near that address.
- Learn the three shortcuts G, Control + F, and F5, to make things easier.
- In some rare cases, the addresses may already be the same! This is true for Devil May Cry.
Common widescreen values:
- 3c013f80 (change to 3c013f40) / 803f013c to 403f013c
- 3c023f80 (change to 3c023f40) / 803f023c to 403f023c
- 3c033f80 (change to 3c033f40) / 803f033c to 403f033c
- 3c043f80 (change to 3c043f40) / 803f043c to 403f043c
- 3f800000 (change to 3f400000)
- 3f4ccccd (change to 3f1aaaab) /cdcc4c3f to abaa1a3f
- 3faaaaaa (change to 3fe38e38) /aaaaaa3f to 388ee33f
- 3faaaaab (change to 3fe38e38) /abaaaa3f to 388ee33f
Matrix hack:
00000000 00000000 43AD1346 00000000
to
403F013C 00008144 43AD1346 02C60046
http://forums.pcsx2.net/Thread-PCSX2-Wid...#pid316003