[Release] DS ROM Patcher

Discussion in '3DS - ROM Hacking, Translations and Utilities' started by evandixon, Dec 7, 2016.

  1. evandixon
    OP

    evandixon PMD Researcher

    Member
    1,689
    810
    May 29, 2009
    United States
    Normaly, distributing ROM hacks for NDS ROMs involves an XDelta patch applied to the entire ROM. 3DS hacks usually involves tedious ROM extraction and file replacement. Patches applied to the ROM as a whole do not support multiple regions of games, and tedious ROM extraction and file replacement is a chore. DS ROM Patcher aims to fix that: a single easily-distributable zip file contains everything that's needed to apply a hack to a ROM. The supported input and output formats are the same as in my .Net 3DS Toolkit: 3DS, CIA, and Hans.

    Instructions for creating and applying hacks can be found at the GitHub Readme page.

    A patcher for @Dio_Vento's Pokémon Star Sapphire 2.1 can be found here so people can try out the patching capabilities without having to make a ROM hack. Fun fact: the zip file I just linked to is about 6.5 MB, while the original distribution file was about 118 MB.

    Requires the .Net Framework 4.6.

    Release Page
    GitHub
     
  2. Luro02

    Luro02 Advanced Member

    Newcomer
    92
    9
    Nov 11, 2016
    Gambia, The
    Germany,Baden-Würtemberg
    Does this mean I Can convert a .nds -File into a CIA ?
     
  3. Mikemk

    Mikemk GBAtemp Advanced Maniac

    Member
    1,594
    583
    Mar 26, 2015
    United States
    No, it's an alternative to xdelta.
     
  4. Jayro

    Jayro MediCat USB and Mini Windows 10 Developer

    Member
    GBAtemp Patron
    Jayro is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    5,220
    2,857
    Jul 23, 2012
    United States
    Octo Canyon
    So does this work with .NDS ROMs too, or just 3DS?
     
  5. Mikemk

    Mikemk GBAtemp Advanced Maniac

    Member
    1,594
    583
    Mar 26, 2015
    United States
    I think it's targeted at NDS, while also supporting 3DS
     
  6. evandixon
    OP

    evandixon PMD Researcher

    Member
    1,689
    810
    May 29, 2009
    United States
    Both are fully supported. Because 3DS ROMs are more complicated, it's more useful for the 3DS, but it can still apply edits to NDS ROMs from different regions depending on the exact changes and the setup.
     
    Jayro likes this.
  7. Luro02

    Luro02 Advanced Member

    Newcomer
    92
    9
    Nov 11, 2016
    Gambia, The
    Germany,Baden-Würtemberg
    I am a bit confused ??? :wacko:
    What does the Programm ? (I thought it would patch the .nds so u are able to load "cartridge backups" with TWLoader)
    Now I think it's just to apply mods to a .nds file but why do u publish this in the 3ds Forum and not in the DSi-Forum ?:blink:
     
  8. evandixon
    OP

    evandixon PMD Researcher

    Member
    1,689
    810
    May 29, 2009
    United States
    It allows ROM hacks for NDS and 3DS ROMs to be easily distributed in a single zip file, which can easily apply the hacks to a clean ROM.
     
  9. Luro02

    Luro02 Advanced Member

    Newcomer
    92
    9
    Nov 11, 2016
    Gambia, The
    Germany,Baden-Würtemberg
    So i can patch my CIA (ex.NSMB2) with the Halloween Mod ?
    and the I would get a Romfs or a CIA ???
     
  10. evandixon
    OP

    evandixon PMD Researcher

    Member
    1,689
    810
    May 29, 2009
    United States
    If someone made a modpack to apply the Halloween Mod (see the readme for terminology and usage), then the resulting zip file can apply the patch to a decrypted NSMB2 ROM, giving you a CIA or putting the files required to use HANS on your SD, whichever you pick.
     
  11. Luro02

    Luro02 Advanced Member

    Newcomer
    92
    9
    Nov 11, 2016
    Gambia, The
    Germany,Baden-Würtemberg
    Ah okay thx