Need help with DSi

Discussion in 'NDS - Emulation and Homebrew' started by MurraySkull, Sep 26, 2014.

  1. MurraySkull
    OP

    MurraySkull Member

    Newcomer
    32
    3
    Apr 26, 2008
    United States
    How do I decrypt a DSi ROM?
     
  2. Foxi4

    Foxi4 On the hunt...

    pip Reporter
    23,537
    21,496
    Sep 13, 2009
    Poland
    Gaming Grotto
    I would assume eNDryptS should work just fine.
     
  3. MurraySkull
    OP

    MurraySkull Member

    Newcomer
    32
    3
    Apr 26, 2008
    United States
    Decryption failed.

    I am trying to decrypt Four Swords: Anniversary Edition.
     
  4. Foxi4

    Foxi4 On the hunt...

    pip Reporter
    23,537
    21,496
    Sep 13, 2009
    Poland
    Gaming Grotto
    That's a DSiWare game, you didn't mention that. I don't really know how to decrypt DSi games, I'm not even sure if there's an easy way to do it.
     
  5. MurraySkull
    OP

    MurraySkull Member

    Newcomer
    32
    3
    Apr 26, 2008
    United States
    Well, somebody has done it.
     
  6. Jayro

    Jayro MediCat DVD and Mini Windows 10 Developer

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

    Our Patreon
    4,842
    2,575
    Jul 23, 2012
    United States
    Octo Canyon
    Is there any way to "convert" DSiWare into a regular .nds rom?
     
  7. Foxi4

    Foxi4 On the hunt...

    pip Reporter
    23,537
    21,496
    Sep 13, 2009
    Poland
    Gaming Grotto
    None that I heard of, although it's probably feasible.
     
  8. MurraySkull
    OP

    MurraySkull Member

    Newcomer
    32
    3
    Apr 26, 2008
    United States
    Again, somebody has done it.
     
  9. Foxi4

    Foxi4 On the hunt...

    pip Reporter
    23,537
    21,496
    Sep 13, 2009
    Poland
    Gaming Grotto
    Posting the same link twice doesn't help (I also have to remove your link since it cross-links to warez .SDAT files).

    DSiWare games are encrypted and signed with your unique console key - cartridge-based games and DSiWare are two different beasts. The key is located in dev.kp, a file created in your system's NAND as you first entered the DSi store. Retrieving that key used to be possible using two exploits - DSiHax and WinterMute's exploit, both were patched by Nintendo. You'll have to get your hands on that key by extracting dev.kp from your NAND and decrypting it first if you want the binary to be executable after you're done, you need it in order to re-sign the file, decrypting it isn't the only step you need to take. Doing that will require you to connect your NAND to an MMC-compatible dongle. I suggest looking up DSiBrew for details. If you just want to extract something, decrypting is probably all you need to do.

    Here's a link to DSiBrew's description of ES block encryption, it might be what you're looking for. They also link to a couple of tools that you could use: http://dsibrew.org/wiki/ES_block_encryption
     
    ipwndeveloper likes this.
  10. alexenochs

    alexenochs GBAtemp Fan

    Member
    422
    71
    Aug 30, 2010
    United States