need help using xdelta

Discussion in 'NDS - ROM Hacking and Translations' started by valyr, Sep 4, 2008.

  1. valyr
    OP

    valyr GBAtemp Fan

    Member
    317
    46
    Sep 15, 2007
    United Kingdom
    can anyone tell me how to get this working please
     
  2. DarthNemesis

    DarthNemesis GBAtemp Maniac

    Member
    1,211
    41
    Feb 19, 2008
    United States
    xdelta -efs (original file) (modified file) (patch to create)
    e.g. xdelta -efs ind-hets.nds translation.nds HnEpatch.xd

    Here's a batch file you can use to automate the process:

    Create Patch.bat
    Code:
    @echo off
    if "%~1"=="" goto help
    echo Creating patch...
    "%~dp0xdelta" -efs "%~dp0ind-hets.nds" %1 "%~dp1HnEpatch.xd"
    echo Done!
    goto end
    
    :help
    echo Usage: Drag modified rom onto this file to create a patch.
    
    :end
    echo.
    pause
    cls
    Put it in the same folder as the original NDS file and xdelta, then drag your edited NDS file onto it to create a patch. Make sure to change the file names if you want to use different ones.
     
  3. valyr
    OP

    valyr GBAtemp Fan

    Member
    317
    46
    Sep 15, 2007
    United Kingdom
    thanks darth
    btw do the files need to be the same size?
     
  4. DarthNemesis

    DarthNemesis GBAtemp Maniac

    Member
    1,211
    41
    Feb 19, 2008
    United States
    Nope.
     
  5. valyr
    OP

    valyr GBAtemp Fan

    Member
    317
    46
    Sep 15, 2007
    United Kingdom
    excellent [​IMG] thanks darthnemesis
     
  6. Yol Morefi

    Yol Morefi Advanced Member

    Newcomer
    51
    0
    Apr 11, 2008
    France