DLC, how does it work?

Discussion in '3DS - ROM Hacking, Translations and Utilities' started by gudenau, Sep 7, 2015.

  1. gudenau
    OP

    gudenau Largely ignored

    Member
    3,278
    1,250
    Jul 7, 2010
    United States
    /dev/random
    I would like to know how the DLC system works. Does different DLC come in different CIAs? Can it patch the executable? Can it replace files?
     
  2. Buggzy1011

    Buggzy1011 Newbie

    Newcomer
    8
    4
    Jun 30, 2015
    United States
    I think DLC works like updates or it is stored in the extradata of the game.
     
  3. The Real Jdbye

    The Real Jdbye Always Remember 30/07/08

    Member
    GBAtemp Patron
    The Real Jdbye is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    12,107
    5,178
    Mar 17, 2010
    Norway
    Alola
    All DLC for one game shares the same ID. So, different DLC for the same game has to be packed into one CIA, since you can only have one DLC CIA installed at a time. It can't to my knowledge patch the executable -- the game has to already be aware of the DLC and check for it. What happens after that is up to the game I suppose. Whether it imports game data directly from the DLC (so it works more like an update), or it simply checks for a flag to enable DLC that already exists either in the ROM or in an update. Whether it can replace files or not is probably down to how the game handles it.
     
  4. gudenau
    OP

    gudenau Largely ignored

    Member
    3,278
    1,250
    Jul 7, 2010
    United States
    /dev/random
    So, to add a theme I would need to dump my theme cia then add to it?
     
  5. The Real Jdbye

    The Real Jdbye Always Remember 30/07/08

    Member
    GBAtemp Patron
    The Real Jdbye is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    12,107
    5,178
    Mar 17, 2010
    Norway
    Alola
    Pretty much, or you can get the pack that contains every theme.
     
  6. gudenau
    OP

    gudenau Largely ignored

    Member
    3,278
    1,250
    Jul 7, 2010
    United States
    /dev/random
    I want to add custom ones, that would not help me much.