need help using xdelta

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

Sep 4, 2008

need help using xdelta by valyr at 7:11 PM (8,080 Views / 0 Likes) 5 replies

  1. valyr
    OP

    Member valyr GBAtemp Fan

    Joined:
    Sep 15, 2007
    Messages:
    317
    Location:
    United Kingdom
    Country:
    United Kingdom
    can anyone tell me how to get this working please
     
  2. DarthNemesis

    Member DarthNemesis GBAtemp Maniac

    Joined:
    Feb 19, 2008
    Messages:
    1,208
    Country:
    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

    Member valyr GBAtemp Fan

    Joined:
    Sep 15, 2007
    Messages:
    317
    Location:
    United Kingdom
    Country:
    United Kingdom
    thanks darth
    btw do the files need to be the same size?
     
  4. DarthNemesis

    Member DarthNemesis GBAtemp Maniac

    Joined:
    Feb 19, 2008
    Messages:
    1,208
    Country:
    United States
  5. valyr
    OP

    Member valyr GBAtemp Fan

    Joined:
    Sep 15, 2007
    Messages:
    317
    Location:
    United Kingdom
    Country:
    United Kingdom
    excellent [​IMG] thanks darthnemesis
     
  6. Yol Morefi

    Newcomer Yol Morefi Advanced Member

    Joined:
    Apr 11, 2008
    Messages:
    51
    Country:
    France

Share This Page