Encryption/Decryption possible on Computer?

Discussion in '3DS - ROM Hacking, Translations and Utilities' started by Zan', May 5, 2016.

  1. Zan'
    OP

    Zan' 2F88744FEED717856386400A44BBA4B9CA62E76A32C715D4F

    Member
    385
    159
    Oct 8, 2015
    As you know to edit games etc it is necessary to decrypt them on console (Decrypt9 deep) and encrypt them again in the end (NCCH)
    Why do we need a console to do so. What's stopping us from doin it on Computer?
    System titles specifically should be very generic encrypted. Can we not get this done on PC?

    And if there is a way. How do you do it?
     
  2. SockNaste

    SockNaste My Little Pony Fetish

    Banned
    301
    107
    Jan 9, 2016
    United States
    2 High To Remember
    -snip-
    Also it is easier to do it on your 3DS than on the PC.
     
    Last edited by SockNaste, May 5, 2016
  3. daxtsu

    daxtsu GBAtemp Guru

    Member
    5,536
    3,926
    Jun 9, 2007
    Antarctica
    We don't have the key(s) required to do so. They're stored in the bootrom, in a protected area that we cannot access. Until we get the keys, xorpads or using Decrypt9 to directly decrypt stuff will be needed.
     
    Zan' and Zanoab like this.
  4. Zan'
    OP

    Zan' 2F88744FEED717856386400A44BBA4B9CA62E76A32C715D4F

    Member
    385
    159
    Oct 8, 2015
    Alright but generating xorpads is a thing for specific things right?

    If I wanted to rebuild a title over and over again. Do I have any options creating xorpads or anything to do the ncch encryption on pc in the Future for just this specific cia? So I would save the time of going into Decrypt9 every single time.
     
  5. daxtsu

    daxtsu GBAtemp Guru

    Member
    5,536
    3,926
    Jun 9, 2007
    Antarctica
    Sure, if I remember correctly, that's what ncchinfogen.py is for. It'll create an ncchinfo.bin that you can use with Decrypt9, and Decrypt9 will spit out xorpads.
     
    Zan' likes this.
  6. Zan'
    OP

    Zan' 2F88744FEED717856386400A44BBA4B9CA62E76A32C715D4F

    Member
    385
    159
    Oct 8, 2015
    And these xorpads can the be used to do my ncch encryption for this Single cia on my pc in the future?
     
  7. daxtsu

    daxtsu GBAtemp Guru

    Member
    5,536
    3,926
    Jun 9, 2007
    Antarctica
    Yes.
     
    Zan' likes this.
  8. Zan'
    OP

    Zan' 2F88744FEED717856386400A44BBA4B9CA62E76A32C715D4F

    Member
    385
    159
    Oct 8, 2015
    Thank you very much.
     
  9. Zan'
    OP

    Zan' 2F88744FEED717856386400A44BBA4B9CA62E76A32C715D4F

    Member
    385
    159
    Oct 8, 2015
    Alright. So since it was a System title I only had a cia Version.
    So I used Godmode9 to extract the .app from my NAND and used the it to generate xorpads with Decrypt9.
    I can't use the xorpads to decrypt a cxi from an encrypted cia.
    Did I get wrong xorpads?

    Also how would I build the cia again. I know I can build an encrypted cxi, but makerom doesn't take them.