Many DS ROMs require a specific hex edit in order to function properly on certain flash cards (such as the R4). While Rudolph's Universal Child's Play Patch does essentially the same thing automatically, it is not compatible with certain operating systems (such as Linux OSs). If you must, or prefer to patch the ROMs manually, just follow this tutorial:
What you need:
1. A clean ROM of the game you are trying to patch. (one that has not been patched or trimmed)
2. The hex edit specific to the game you are trying to patch. (hex edits are posted on DS-Scene under each specific release that requires one). If the hex edit has 8 numbers followed by a bunch of letters and numbers, like this:
00004300: 1C 00 9F E5 00 10 90 E5 18 20 9F E5 02 00 51 E1
Follow the steps as normal, but if it looks like this:
000519AD 7A →7B
Follow the steps in
red for step 3 and 4.
3. A hex editor, in the case of this tutorial, XVI32. XVI32 is easy to find and use, and is compatible with Linux OS using WINE.
*So far as I know, most hex editors work similarly, so Mac users feel free to use the simplest one you can find and follow this process. Just remember to keep your searches and edits in hex (as opposed to decimal or ASCII).
Step 1: Open your clean ROM in XVI32. Have the hex edit on hand in a text file or browser so that you can copy and paste from it when needed.
Step 2: Go to the Address menu, and select 'Goto...'
Step 3a: Make sure the hexadecimal button is pressed and enter the first address listed in the hex edit. It should appear as a series of 8 numbers and letters. After that, hit OK (You can skip the steps in red below)
Step 3b: If your hex edit looks like THIS...
3b... then enter that same first address and then look at
Step 4b.
Step 4a: Go to the Edit menu, and select 'Overwrite String...'
Step 4b: You should see the same two letters or numbers that follow the address highlighted in the left-hand box of XVI32. Now without clicking anything TYPE the two numbers or letters AFTER the arrow. So in the example 0C →36, you would type "36" (you'll see it change). Repeat this process from step 2 for every line in the hex edit. This example has 3 lines.
Step 5: Make sure the hexadecimal button is pressed and enter the hex string corresponding to the address you just entered. After that, hit OK.
Step 6: Repeat Steps 2-5 for every address listed in the hex edit. This example has 4 addresses.
Step 7: Go to the File menu, and select Save. Wait for your work to save and exit the program. The ROM should now be fully patched.
This post has been edited by MyNameIsNobody, Thu, February 11th, 2010 at 18:37