How do I patch xdetla files to a .cia

Discussion in '3DS - Homebrew Development and Emulators' started by BurningDesire, Oct 28, 2015.

  1. BurningDesire
    OP

    BurningDesire GBAtemp Psycho!

    Member
    4,962
    5,811
    Jan 27, 2015
    United States
    Behind a screen reading news
    So i found out how to do it to a .nds file but i need to do it to a .cia file...
     
  2. Cyan

    Cyan GBATemp's lurking knight

    Global Moderator
    18,285
    8,758
    Oct 27, 2002
    France
    Engine room, learning
    you can't apply the xdelta patch onto a different file than the expected one.
    The patch is a comparison and differences between two files (the clean and the modified file).

    Original <-> patch <-> modified

    If you change the original, you can't use the patch anymore.
    You need a NEW patch file, specifically created using CIA as source when comparing both original and modified version.


    Short answer :
    1. Use the NDS file to apply the patch, then convert the result to cia.
    or
    2. Use a xdelta for cia. (ask the translation team, etc.)
     
  3. BurningDesire
    OP

    BurningDesire GBAtemp Psycho!

    Member
    4,962
    5,811
    Jan 27, 2015
    United States
    Behind a screen reading news
    Thanks for the reply! I'll look into xdelta for cia