Distributing a patch for an NDS game

Discussion in 'NDS - ROM Hacking and Translations' started by kosheh, Mar 20, 2009.

  1. kosheh
    OP

    kosheh GBAtemp Advanced Fan

    Member
    573
    6
    Jan 3, 2009
    United States
    Yeah, somehow I managed to really screw this up, lol

    So I've been doing some translation for this game, and I want to let my friend, who's got an M3 Simply, test out my work. Now, of course, the answer is "release a patch" - however, when using NDS Packer to unpack some of the files to work on them, I also ended up trimming the game's filesize. [​IMG]
    So I've got one 64MB clean ROM and the 56.7MB trimmed one.
    Now, using IPS patcher and PPF Studio, respectively, makes the programs whine about the two filesizes not being the same. When I use Tsukuyomi to patch it, I end up with a nasty 61MB patch. I might as well just give out the patched ROM with a filesize like that!


    (which, of course, would be the stupid thing to do)

    So, if there any way to "un-trim" my old file so it's conveniently patchable?
    I remember Deufeufeu's JUS translation project having a nice patcher with a fine, small patch that automatically trimmed the ROM - maybe I'll look into that.

    Yeah, it's gonna seriously suck if I have to rebuild the entire thing or something; throwing a dummy file into the game would sure be nice :/
     
  2. psycoblaster

    psycoblaster Divine

    Member
    2,132
    2
    Jan 26, 2008
    Seoul.. (in Korea)
    try using xdelta
     
  3. FAST6191

    FAST6191 Techromancer

    pip Reporter
    23,731
    9,598
    Nov 21, 2005
    United Kingdom
  4. kosheh
    OP

    kosheh GBAtemp Advanced Fan

    Member
    573
    6
    Jan 3, 2009
    United States
    All right - I've found a version of xdelta for Windows and I wrote an accompanying batch file (so it's almost a one click patch)


    I'm kinda proud of my work; but someone on GBAtemp's already translated it ;A;
    I actually gave them a shoutout in the readme - this was more of an exercise than anything and my objective was to make a more in-depth translation, in the hopes of being able to translate its (poorly coded) sequel that comes out next month. [​IMG]

    is it still OK to post here?
     
  5. nIxx

    nIxx GBAtemp Advanced Maniac

    Member
    1,540
    81
    Sep 30, 2007
    Gambia, The
    Germany
    Yes why not [​IMG]
    For which game is it ?
     
  6. kosheh
    OP

    kosheh GBAtemp Advanced Fan

    Member
    573
    6
    Jan 3, 2009
    United States
    It's for Naruto Shippuuden: Shinobi Retsuden II. I went up-and-over for it, translating all of Quest Mode, the entire UI outside of Story Mode, and in Story Mode I've translated the story mode dialogue up to the first fight with Sasori.
    Speaking of which, I also translated those save-prompts in between "chapters", but not the chapter names themselves (they're actually supposed to be episodes in the Shippuuden storyline)