Making Patches Using xdelta

Discussion in 'General Tutorials' started by flame1234, Oct 25, 2015.

Oct 25, 2015

Making Patches Using xdelta by flame1234 at 5:21 PM (2,019 Views / 8 Likes) 2 replies

  1. flame1234
    OP

    Member flame1234 GBAtemp Advanced Fan

    Joined:
    May 17, 2009
    Messages:
    638
    Country:
    United States
    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.
     
  2. HaloEffect17

    Member HaloEffect17 Splatoon Fan

    Joined:
    Jul 1, 2015
    Messages:
    959
    Country:
    Canada
    Nice simple tutorial. Thanks for this.
     
    Margen67 likes this.
  3. omarrrio

    Member omarrrio GBAtemp Advanced Fan

    Joined:
    Feb 18, 2010
    Messages:
    633
    Location:
    nowhere
    Country:
    Morocco
    Nice tutorial, but, you gotta put some stuff for errors like this and ways to work around them
    Warning: Spoilers inside!
     

Share This Page