Using xdelta to patch rom in Ubuntu Linux

Discussion in 'NDS - ROM Hacking and Translations' started by Verstand Bumsen, Mar 26, 2010.

  1. Verstand Bumsen
    OP

    Verstand Bumsen Newbie

    Newcomer
    1
    0
    Mar 26, 2010
    United States
    So I am new to Ubuntu/Linux and really love it so far but today I decided to patch Soma Bringer with the translation patch found here but I couldn't I tried using wine but it is not working for this. So I was wondering if there was anyway I can use the translation patch in Ubuntu Linux.
     
  2. Mario92

    Mario92 GBAtemp Advanced Fan

    Member
    878
    84
    Feb 20, 2010
    Finland
    Finland
    Same problem (with differend distro). Only solutions I have found is to send files to friend with windows machine or run windows on virtualbox [​IMG]
     
  3. Bitbyte

    Bitbyte GBAtemp Advanced Fan

    Member
    987
    13
    Dec 20, 2003
    Belgium
    ._________.
    Download Wine.
     
  4. DarthNemesis

    DarthNemesis GBAtemp Maniac

    Member
    1,211
    41
    Feb 19, 2008
    United States
    1. Get the xdelta3 package
    2. Run it with the following parameters: -dfs originalromname.nds SomaPatch.xd patchedromname.nds
     
  5. Valiarchon

    Valiarchon trentacles

    Member
    182
    6
    Mar 11, 2010
    melbourne
    better fix - use windows.
     
  6. ByteMunch

    ByteMunch GBAtemp Fan

    Member
    444
    7
    Jan 2, 2010
    I'm on ubuntu too, but cannot use the terminal properly... is there a detailed guide anywhere? like, for simpletons?
    does that mean put

    xdelta3 patch -dfs file:///media/7A37-662B/Downloads/NDS/game/game.nds file:///media/7A37-662B/Downloads/NDS/game/patch.xdelta file:///media/7A37-662B/Downloads/NDS/game/game_edit.nds
    Because from that i get
    xdelta3: too many filenames: file:///media/7A37-662B/Downloads/NDS/game/game.nds ...
     
  7. Beige

    Beige GBAtemp Regular

    Member
    266
    0
    Nov 2, 2008
    United States
    Volcano Bakemeat
    Fixed.
    I personally use Windows on campus and I have a Parallels virtual Machine of Windows XP for games and video converters. No other reasons. Windows turned into garbage in a week on my Netbook and I've been running Linux Mint on my Netbook for a good few months and it runs just fine. In fact, if people sold computers without Windows pre-installed, it could easily knock about $50 off the price tag.
    Linux is far more secure anyways.
     
  8. Absynthe

    Absynthe GBAtemp Regular

    Member
    227
    0
    Sep 14, 2008
    Italy
    The Isle of Everywhere
    Assuming those are the correct locations of the files. Wait a couple of seconds and "game.nds" should be patched.
     
  9. RyanfromtheShire

    RyanfromtheShire Member

    Newcomer
    15
    0
    Apr 11, 2008
    United States
    I installed xdelta3 via sudo apt-get install and I ran it through the terminal and got this output:

    Code:
    ryan@Matilda:~$ xdelta3 -dfvs ~/Desktop/pw.nds ~/Desktop/pw.xdelta ~/Desktop/pwp.nds
    xdelta3: source /home/ryan/Desktop/pw.nds source size 256 MiB [268435456] blksize 2.00 MiB window 64.0 MiB
    xdelta3: target window checksum mismatch: XD3_INVALID_INPUT
    Anyone know what's going wrong?
     
  10. Rydian

    Rydian Resident Furvertâ„¢

    Member
    27,883
    8,108
    Feb 4, 2010
    United States
    Cave Entrance, Watching Cyan Write Letters
    1 - Place the patch and ROM in a folder.

    2 - Use the "cd" command in the command-line to change the current folder the command line is working in to the folder you made. For example if it's in your user folder and in there you have you desktop and a path folder, you'd...
    cd Desktop
    cd PatchFolder
    Or whatever.

    3 - Run the command, but for the files just use "./filename.whatever". The "./" means "current directory". Or maybe it's just a dot, no slash? I'm not in linux ATM and haven't used xdelta from it's command-line in a while.
     
  11. jurassicplayer

    jurassicplayer Completionist Themer

    Member
    4,355
    505
    Mar 7, 2009
    United States
    Pantsuland
    You could be using the wrong xdelta. IIRC there was an xdelta3 and an xdelta, both of which don't work with the other's patches (I think). Or you just have a bad ROM.