Converting eshop dump to CIA possible ?

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

May 31, 2016
  1. sion_zaphod
    OP

    Member sion_zaphod Ex-Galactic President; confidence trickster; etc

    Joined:
    Sep 4, 2011
    Messages:
    291
    Location:
    Wales
    Country:
    United Kingdom
    Is it possible to convert an already installed eshop title to CIA? I have a title installed on my 3ds and I would like to convert it to CIA to install on my Daughters 3ds. You might ask why don't I just use eshop on my Daughters console to download the title; well the answer is because the title is no longer available on eshop. It was a free download back in the early days of the console and it's called Kingdom of Plants 3D. I have tried many different methods to get a CIA version but no luck. I've tried using CiAngel and freeshop to search for it but I guess it's been removed from the Nintendo servers. Seems a bit excessive for a simple free video app. Anyway my daughter really likes watching it but I would prefer being able to put it on her 3ds so she doesn't keep using mine:wink:.

    I've read tutorials for dumping titles and repacking them and tried to do this with braindump then extracting the romfs/exefs from the cxi file but I've read that the exheader created from braindump files cannot be used to repack to CIA.

    Can someone give me a detailed explanation of how to do this correctly or would anyone be up to the challenge of converting it for me if I provide the files. After all this was a free download and it's no longer available it must be considered quite rare.
     
  2. TheKawaiiDesu

    Member TheKawaiiDesu Ball of Kawaiiness

    Joined:
    Aug 23, 2015
    Messages:
    1,405
    Location:
    Lowee
    Country:
    Bermuda
    I think you can use Decrypt9 to dump your encTitleKeys.bin file from your 3DS, copy it to your daughter 3DS' SD card, convert the encTitleKeys.bin file to .tik files with CIAngel, install them with FBI, and then download the game you're looking for from FBI. You just need to find the Title ID for your game.
     
  3. sion_zaphod
    OP

    Member sion_zaphod Ex-Galactic President; confidence trickster; etc

    Joined:
    Sep 4, 2011
    Messages:
    291
    Location:
    Wales
    Country:
    United Kingdom
    I have the title ID for the app but it is not hosted any more. I've tried funkycia, plaicdn and dtk to download it but cannot download it the title is 000400000009A400.
     
  4. TheKawaiiDesu

    Member TheKawaiiDesu Ball of Kawaiiness

    Joined:
    Aug 23, 2015
    Messages:
    1,405
    Location:
    Lowee
    Country:
    Bermuda
    Then, as I said, you can dump your encTitleKeys.bin file with Decrypt9 (on the 3DS where the game is installed), transfer that file to the other 3DS' SD card, convert the file to .tik files using CIAngel, install the 000400000009A400.tik file with FBI, then go to tickets > 000400000009A400 > install from CDN (still in FBI).
     
  5. sion_zaphod
    OP

    Member sion_zaphod Ex-Galactic President; confidence trickster; etc

    Joined:
    Sep 4, 2011
    Messages:
    291
    Location:
    Wales
    Country:
    United Kingdom
    Do you mean dump my decTitleKeys.bin? How do i convert that to ticket with ciangel? where do I copy the file? And what do I do in the ciangel app?
     
  6. sion_zaphod
    OP

    Member sion_zaphod Ex-Galactic President; confidence trickster; etc

    Joined:
    Sep 4, 2011
    Messages:
    291
    Location:
    Wales
    Country:
    United Kingdom
    Guess what! 404 error when trying to redownload via ticket file (I think that shows its no longer on the nintendo servers). Does anyone else have a solution. This must be one of the rarest eshop files since its not even on that iso site. Can someone please tell me how to convert it to an installable cia? I have dumped the title. Extracted the romfs and exefs now how can I rebuild a cia from that?
     
  7. Ryccardo

    Member Ryccardo WiiUaboo

    Joined:
    Feb 13, 2015
    Messages:
    1,618
    Location:
    Imola
    Country:
    Italy
    You can decryot the installed copy of the game by using Decrypt9's SD decryptor option (the easiest way is D9/Game decryptor/SD decryptor sysnand or emunand, but it will process every installed title taking a lot of time), so that you'll end up with decrypted .app files = NCCHs;

    after figuring out the ones belonging to that app (easy, the folders are numbered according to title id),
    and which one is the main cxi, which one is the manual (file size would probably be enough),
    and their content-id (it's in their filename)
    ...you can assemble them into a cia with makerom!

    makerom -f cia -o KingdomOfPlants3D.cia -content 457362fa.app:0:457362fa -content 00000a02.app:1:00000a02 -major 1 -minor 1
    (in this example, the "game" is 457362fa and the manual 00000a02

    Good luck!!

    -------------

    Update 2016-10-16

    Decrypt9 now has an automatic macro to do this!
     
    Last edited by Ryccardo, Oct 16, 2016
  8. gamesquest1

    Member gamesquest1 Nabnut

    Joined:
    Sep 23, 2013
    Messages:
    13,393
    Country:
    United Kingdom
    I have a cia of it, took ages to find a system that still had it still actually installed and on the SD as it was removed from the servers

    But yeah i just did basically what the guide above said, decrypt the SD files and rebuilt the cia
     
    Last edited by gamesquest1, Jun 4, 2016
    sion_zaphod likes this.

Share This Page