CDNto3DS Question

Discussion in '3DS - ROM Hacking, Translations and Utilities' started by InsaneNutter, Nov 29, 2015.

  1. InsaneNutter
    OP

    InsaneNutter GBAtemp Advanced Fan

    Member
    620
    448
    Dec 26, 2007
    Yorkshire, UK
    Hi,

    I have been playing about with CDNto3DS, using the games TitleID and my TitleKey i've been able to create a .CIA which installs and is working on RxTools's emunand and a .3DS which works on Gateway.

    However when actually building the .cia and .3ds i got the following errors

    Building mycia...
    [NCCH ERROR] Failed to load ncch aes key
    [CIA WARNING] CXI AES Key could not be loaded
    Meta Region, SaveDataSize, Remaster Version cannot be obtained

    Building my3ds...
    [CCI WARNING] Nintendo does not support CARD2 for the current MediaSize, alignin
    g save offset after last NCCH
    Done!

    I presume the 3DS error is simply telling me the game (GB Virtual Console in this example) is too small to ever be an official card2 game size?

    However the CIA error sounds more serious, do i some how need to obtain the ncch aes key to do a proper job in creating the .cia?
     
  2. 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,532
    5,475
    Mar 17, 2010
    Norway
    Alola
    If the files work then I don't see any problem.
    I think it's normal for makerom to throw certain errors because it was never designed to create these "invalid" CIA files (using null keys for encryption etc) so it's looking for a proper key to use for encryption, but doesn't have one, because no one's gotten ahold of Nintendo's retail encryption keys, we only have the encryption keys for dev units.

    Edit: I think that error occurs because something is missing in the rsf file, assuming CDNto3DS even uses one. As long as the output file works though, it's not an issue. RSF files have a section for encryption keys, which should be completely filled in to avoid such errors.
     
    Last edited by The Real Jdbye, Nov 29, 2015
    InsaneNutter likes this.
  3. InsaneNutter
    OP

    InsaneNutter GBAtemp Advanced Fan

    Member
    620
    448
    Dec 26, 2007
    Yorkshire, UK
    Thanks for the explanation, i just thought the ncch aes key might have been something i needed to obtain from my 3DS / the web.

    But as everything works that's the main thing!