Convert 'Retail' CIA's to Debug

Discussion in '3DS - ROM Hacking, Translations and Utilities' started by BigPanda, Jul 20, 2016.

  1. BigPanda
    OP

    BigPanda Advanced Member

    Newcomer
    88
    44
    Jul 18, 2016
    Belgium
    Hello,

    I would like to know if someone know and want to share how to convert a 'Retail' CIA or to debug so it can be installed on such hardware.
     
  2. BigPanda
    OP

    BigPanda Advanced Member

    Newcomer
    88
    44
    Jul 18, 2016
    Belgium
  3. Ryccardo

    Ryccardo WiiUaboo

    Member
    3,069
    1,476
    Feb 13, 2015
    Italy
    Imola
    It would just be a matter of fully decrypting it on retail, then (probably) encrypting it on Panda (I don't know the features of Reinand for Panda...)
     
  4. BigPanda
    OP

    BigPanda Advanced Member

    Newcomer
    88
    44
    Jul 18, 2016
    Belgium
    Auctually, you need to decrypt everything, and re-assemble it using tools and dev keys.
     
  5. Poryhack

    Poryhack GBAtemp Fan

    Member
    332
    7
    Oct 18, 2009
    United States
    Has anyone ever actually succeeded in doing this? I don't think it's quite as simple as it sounds (at least if signature checks are still enabled on the dev system).
     
    Last edited by Poryhack, Jul 25, 2016
  6. BigPanda
    OP

    BigPanda Advanced Member

    Newcomer
    88
    44
    Jul 18, 2016
    Belgium
    I know a guy name Ryan leaked all the debug signature keys from the SDK. I will try to decrypt a game and rebuild the cia using makerom with dev aes key
     
    ItsMetaKnight likes this.
  7. ItsMetaKnight

    ItsMetaKnight GBAtemp Advanced Fan

    Member
    776
    153
    Mar 4, 2008
    Let us know how it goes and if it works I would be interested in the steps :)
     
  8. BigPanda
    OP

    BigPanda Advanced Member

    Newcomer
    88
    44
    Jul 18, 2016
    Belgium
    Actually, it is working and you don't need the Nintendo SDK to do the convertion. However you need the following aes key: ctr_aes_common_key_dev0.bin

    Just tested with 1 game as I don't own the test console myself.
     
  9. BigPanda
    OP

    BigPanda Advanced Member

    Newcomer
    88
    44
    Jul 18, 2016
    Belgium
    Here it is 'makeDebugCIA', a small front-end for makerom that will help anyone to build 'debug' cia out of retail roms.

    Please look at the readme as it state all the pre-requirements along with the procedure.

    This was only tested with Super Mario 3D Land.

    http://www119.zippyshare.com/v/3VLokR3d/file.html

    *Note that the archive does not contain any files or keys from Nintendo.

    The tool will be better with time. This version is only a 'Proof of Concept' on how to convert a retail rom to debug.
     
    Last edited by BigPanda, Jul 27, 2016
  10. BigPanda
    OP

    BigPanda Advanced Member

    Newcomer
    88
    44
    Jul 18, 2016
    Belgium
    makeDebugCIA 0.2

    Included the latest makerom.exe version
    Added support to also package Manual and Download Play Child CFA's.
    However, you need to have the CFA's rebuilt for Debug. You can't use the retail version.

    See readme on how to activate the Manual and DPC integration.

    http://www16.zippyshare.com/v/XE9ctmNF/file.html
     
  11. solarsoftware

    solarsoftware Newbie

    Newcomer
    1
    0
    Jan 29, 2017
    United States
    Is it possible for this to be rehosted?
     
    Last edited by solarsoftware, Jan 29, 2017