Making Patches Using xdelta

xdelta is a tool for making and applying patches.
xdelta in "make patch" mode will analyze the difference between two files and make an xdelta file containing the differences. It's useful for romhacking because it's usually the case that your changes are small and the dumped game file (ROM or ISO) is large.

First, be sure you have:
1) The original ROM or ISO
2) A version of the ROM or ISO you want to distribute
These are outside the scope of this tutorial.

Now, follow these steps:
1) Download xdelta
2) Put xdelta3.exe, the original ROM or ISO, and the modified ROM or ISO in a folder
3) Run xdelta. You have to fill in the names of your original, modified and patch files in the command below. From the command prompt:
xdelta3 -e -s old_file new_file delta_file

Now you need to distribute your patch file. This is outside the scope of this tutorial.
 

omarrrio

Well-Known Member
Member
Joined
Feb 18, 2010
Messages
634
Trophies
1
Location
nowhere
XP
527
Country
Macau
Nice tutorial, but, you gotta put some stuff for errors like this and ways to work around them
ef1c49416f9c3c2695fcefb0c0487a2a.png

PS: Solution is to just use a .bat file to run your command for you.
 
  • Like
Reactions: flame1234

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • BigOnYa @ BigOnYa:
    Call my wifey, tell her pick up stuff on her way over.
  • K3Nv2 @ K3Nv2:
    Pick up my door dash meat me in the allyway
    +1
  • BigOnYa @ BigOnYa:
    Wifey is busy, so ill send my buddy @AncientBoi , in his gimp outfit. "who ordered the 6" sausage?""
  • K3Nv2 @ K3Nv2:
    Like subway it's false advertising
    +1
  • BigOnYa @ BigOnYa:
    Ok "who ordered the Vienna sausage?"
  • K3Nv2 @ K3Nv2:
    Uremum
    +1
  • BigOnYa @ BigOnYa:
    My buddy convince me to download and play poker game with him yesterday, called Four Kings Casino, its pretty fun actually, you create a avatar and walk around in a virtual casino, and play any table, or slots with others online.There's even a dance club and bowling alley.
  • SylverReZ @ SylverReZ:
    They should bring advertisements like this back LOL.
  • BakerMan @ BakerMan:
    or that german ninja turtle commercial
    +1
  • K3Nv2 @ K3Nv2:
    Forgot to buy BBQ sauce at the store so made my own ffs
  • RedColoredStars @ RedColoredStars:
    Blues Hog BBQ sauces are pretty good.
  • K3Nv2 @ K3Nv2:
    My insurance has a thing where if I do a virtual visit they'll just send me a $100 gift card to Walmart I'm about to sell a company my medical history for $100 lol
  • BigOnYa @ BigOnYa:
    My insurance has a thing called, " Nope, we aren't paying for that." that they like to use on us all the time. Then we play the "Ok we will go to some other insurance company." then they miraculously say ok we will pay for that.
  • The_Dizzy_Vizzy @ The_Dizzy_Vizzy:
    Well look at what the cat dragged in!!!
  • BigOnYa @ BigOnYa:
    Hey, do you feel any older?
  • K3Nv2 @ K3Nv2:
    No I don't
    +1
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, not right now
    +1
  • BigOnYa @ BigOnYa:
    @K3Nv2 That's my phrase, stop it
    +1
  • K3Nv2 @ K3Nv2:
    Your phrase is I'm not drunk
    +1
  • Xdqwerty @ Xdqwerty:
    I feel a discomfort in my throat
  • SylverReZ @ SylverReZ:
    BigOnYa after a long day.
    Xdqwerty @ Xdqwerty: @SylverReZ, hello