DS-Scene www.ds-scene.net
  Welcome Guest ( Log In | Register )
 
 
 »  
DS-Scene » Forum Index » Nintendo DS(i) Tutorials » How to manually patch ROMs using hex edits (XVI32) - patch your roms with hex edits
Get Adobe Flash player
 
         
 
 
 » Nintendo DS(i) Tutorials
 
     
  How to manually patch ROMs using hex edi...roms with hex edits
Posted by MyNameIsNobody on Fri, January 15th, 2010 at 04:05 - 7 Comments
 
multi
options
MyNameIsNobody United States

 
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


 
 Signature
 
 » Comment on: How to manually patch ROMs using hex edits (XVI32)
#1
 
logical thinker Japan

  Fri, January 15th, 2010 at 09:03
top
multi
options
 
Complementing the "How to"...

I think this is the official site of XVI32: http://www.chmaas.handshake.de/delphi/freeware/xvi32/xvi32.htm#download
"List" with other hex editors: http://en.wikipedia.org/wiki/Comparison_of_hex_editors

If the hex edit has a "→" in the middle, the code before it, is the original code (that you will find when you go to the specified address), and the code after it, the one that you will use/write.
In the post above, the format is: address: code
But you can also find: address: code → code
Examples:
00004300: 3C 04 02 F3 71 7B B8 FA 0B AB 58 AF F2 2E 49 27 → 1C 00 9F E5 00 10 90 E5 18 20 9F E5 02 00 51 E1
If the hex edit is in the format above, you have to use in the hex editor, the code after the "→".

000FA189 0C → 36
In this case, you have to find the 0C in that line/address and overwrite it with 36.

Alternatively, you can use RakuRaku Patch:
Quote 
Triforce on Thu, October 8th, 2009 at 21:45 [»]

Download RakuRaku Patch 0.1b here

Open the nds file, paste the code below and hit run.

000FA189 0C → 36
000FA2E1 7A → 7B
(This code was for the game "Iron Master: The Legendary Blacksmith (JPN)." )



================

applaud Great!
I added thumbs, OK?


amazed That game, man? Is it good?

This post has been edited by logical thinker, Fri, January 15th, 2010 at 23:13
 
 Signature
 
 » Comment on: How to manually patch ROMs using hex edits (XVI32)
#2
 
MyNameIsNobody United States

  Fri, January 15th, 2010 at 15:02
top
multi
options
 
I don't know, it's just what I used for an example  confused
 
 Signature
 
 » Comment on: How to manually patch ROMs using hex edits (XVI32)
#3
 
Triforce United Kingdom

  Fri, January 15th, 2010 at 17:47
top
multi
options
 
Thanks for this, I stickied the thread as it will come in handy to link to when anyone asks how to use hex fixes for future releases.
 
 Signature
 
 » help
#4
 
burnham United States

  Sat, February 27th, 2010 at 06:35
top
multi
options
 
Please help! I am new to this. I am trying to patch Yu-Gi-Oh! 5D’s World Championship 2010 Reverse of Arcadia. Can anyone tell how to do it step by step? Thanks.
 
 Signature
 
 » Comment on: How to manually patch ROMs using hex edits (XVI32)
#5
 
Ferzitos Brazil

  Fri, March 26th, 2010 at 02:08
top
multi
options
 
In first place, congratulations for the tutorial, it's very good.

But, I can't find the Yu-Gi-Oh world champioship 2010 codes.

I know how to do, but i don't know the codes that i have to change?

Where I can find it?

Ty
 
 Signature
 
 » Comment on: How to manually patch ROMs using hex edits (XVI32)
#6
 
ZombiePuppy Brazil

  Fri, March 26th, 2010 at 02:33
top
multi
options
 
Thanks, bro.
Now, could anyone help me find a good FREE debugger? I'm not paying for a gosh darned emulator.
 
 Signature
 
 » Comment on: How to manually patch ROMs using hex edits (XVI32)
#7
 
elektriko United States

  Sun, May 16th, 2010 at 07:01
top
multi
options
 
Quote 
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).

I cant find any hex edit under any game that needs one at all I've tried Pokemon SoulSilver, Yu-Gi-Oh! 5D , Sonic Classic Collection among others and not one single game had a hex edit.
 
 Signature
         
 


 
 » Users reading this topic.
 
 
1 user(s) are viewing this topic (1 Guests)
 

0 Members:
refresh



Home    Download    Forum    Release List    Reviews    RSS Feed    Search    Weblinks
Powered by FunkySkunk Forums v2 © 2007 retrohead - Exclusive to DS-Scene.net - irc.efnet.net #ds-scene 
 
Performed 11 Queries in 0.00581 Seconds. 
The page rendered in 0.84502 Seconds. 
www.ds-scene.net