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:
    I heard a new term today related to Cali, thought was funny, "California Sober" lol
  • AncientBoi @ AncientBoi:
    ROFL LMAO
  • K3Nv2 @ K3Nv2:
    I hurt ancientbois feelings
  • BigOnYa @ BigOnYa:
    You wouldn't remove your teeth?
    +1
  • K3Nv2 @ K3Nv2:
    But his mouth is stuck on your meat
    +2
  • AncientBoi @ AncientBoi:
    AN SOFA
    +1
  • K3Nv2 @ K3Nv2:
    I had a power nap woke up with so much gas it's awesome
  • BakerMan @ BakerMan:
    holy shit why do i have 19 notifications?!
  • BakerMan @ BakerMan:
    AND WHY ARE SOME OF THEM BUNDLED UP REACTIONS TO POSTS?
  • BigOnYa @ BigOnYa:
    Cause I maybe, maybe clicked like a few times.
  • K3Nv2 @ K3Nv2:
    You're as loved as much as Juan now enjoy it
    +1
  • K3Nv2 @ K3Nv2:
    I'm sorry for the insult
  • BakerMan @ BakerMan:
    the difference is i like wario and samus and he likes muscle mommies and feet
    +1
  • BakerMan @ BakerMan:
    wait, i forgot wizards too
  • BigOnYa @ BigOnYa:
    I have a buddy that has a moonshine still and he makes his own shine. He brought me a jar of some peach shine/brandy, shit is damn good. Gonna have to see if can get more.
    +1
  • BakerMan @ BakerMan:
    careful that shit don't make you go blind
  • BigOnYa @ BigOnYa:
    Nuh that's only if you drink what first comes out when distilling, you must throw out the first part of it when it starts running. (Its called the "head(s)" of the run) Or use it for fuel or a general purpose cleaner
    +1
  • K3Nv2 @ K3Nv2:
    If alcohol would've made @BigOnYa blind by now it would have
    +2
  • BigOnYa @ BigOnYa:
    So True.
    +1
  • K3Nv2 @ K3Nv2:
    I should make a poll for bigonya to change his username to DrunkOnYa
    +1
  • BigOnYa @ BigOnYa:
    That's my alt
    +1
  • K3Nv2 @ K3Nv2:
    I don't wanna go to the store someone go for me
  • 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?""
    BigOnYa @ BigOnYa: Wifey is busy, so ill send my buddy @AncientBoi , in his gimp outfit. "who ordered the 6" sausage?""