Convert .cia files to .3ds?

Discussion in '3DS - Flashcards & Custom Firmwares' started by Tony8690, Feb 12, 2015.

  1. Tony8690
    OP

    Tony8690 GBAtemp Regular

    Member
    173
    40
    Jan 28, 2015
    London
    Hi Guys,

    Sorry if this has been answered before.

    is there any possible way to convert a .CIA file back to a .3ds file so I can play it on my Sky3ds?

    Thanks :)

    T
     
  2. coolfuze

    coolfuze GBAtemp Fan

    Member
    367
    174
    Jun 25, 2013
    google cia to 3ds and open the first link, it contains software that converts cia to 3ds
     
    Margen67 likes this.
  3. Tony8690
    OP

    Tony8690 GBAtemp Regular

    Member
    173
    40
    Jan 28, 2015
    London

    Doh! just found it =] Thanks

    T
     
    Margen67 likes this.
  4. DjoeN

    DjoeN Captain Haddock!

    Member
    5,136
    1,478
    Oct 21, 2005
    Belgium
    Somewhere in this potatoland!
    Margen67 likes this.
  5. siFippo

    siFippo Member

    Newcomer
    21
    7
    Oct 31, 2012
    Swaziland
    Since i don't own a Sky3ds I haven't tried it myself but wouldn't it be possible to run eshop only games through sky if you use those tools? Would you need to somehow generate your own template file?
     
    4ur0r likes this.
  6. SLiV3R

    SLiV3R 3DS Friend Code: 0473-9069-2206

    Member
    2,195
    1,043
    Jan 9, 2006
    I don't think this is possible. Sky3DS can't play cia or converted to roms...
     
  7. Tony8690
    OP

    Tony8690 GBAtemp Regular

    Member
    173
    40
    Jan 28, 2015
    London

    I was going to try and se if I can convert a .cia to a .3ds and play it on my sky3ds.. if its not possible then I guess I wont waste my time :)

    Thanks,
    T
     
  8. Celebrimbor360

    Celebrimbor360 Advanced Member

    Newcomer
    69
    24
    Nov 15, 2014
    United States
    it's probably easier to just download 3ds files than converting, if no 3ds files ever is released, chances are it's not in sky's template.
     
  9. Tony8690
    OP

    Tony8690 GBAtemp Regular

    Member
    173
    40
    Jan 28, 2015
    London
    I wanted to convert a EUR version of Pokémon OR CIA as I have the US version.3ds. just don't feel like using the region free trick all the time and theres going to be sometimes where I cant use it (such as being on planes)
     
  10. cearp

    cearp the ticket master

    Member
    7,471
    4,707
    May 26, 2008
    Tuvalu
    it is not 'convert back' to 3ds.
    eshop games can be packed into a .cia
    and retail cart games can be dumped as a file and named as .3ds

    with a bit of hacking we can convert one to the other.
    if you took something that was a cia, whether it was actually form eshop content, or whether it was converted from a .3ds file, it would not work on sky3ds because sky3ds needs the 3ds rom in it's original state, untouched form the retail game cart.
     
    siFippo likes this.
  11. Tony8690
    OP

    Tony8690 GBAtemp Regular

    Member
    173
    40
    Jan 28, 2015
    London
    Ah ok, thanks for the explanation =]

    T
     
  12. Cyan

    Cyan GBATemp's lurking knight

    Global Moderator
    18,042
    8,562
    Oct 27, 2002
    France
    Engine room, learning
    Is there a guide to convert .cia to .3ds? Like BigBlueBox did when they released eshop dumps to .3ds format to play from gateway.
    I the link above is for 3ds to cia, not the contrary.

    3DS Lazy seems to not be able to rebuild .3ds format (unless the first post is not updated)
     
  13. coolfuze

    coolfuze GBAtemp Fan

    Member
    367
    174
    Jun 25, 2013
    Google Noob Friendly 3DS To CIA Converter and open the first link, the software contains a cia to 3ds converter, it doesn't come with a guide afaik but it should be self explanatory.
     
  14. hackotedelaplaqu

    hackotedelaplaqu GBAtemp Advanced Fan

    Member
    543
    161
    Jan 10, 2009
    France
    It fails with Ace Atorney Dual Destinies, the only game I tested, but the same applies with other tools.
    I claimed this function is broken but since the command line 3DS Lazy uses seems Ok, you should try.
    I never tried other games and thinking about it AA is an eshop game, so this may be the reason.
     
  15. Cyan

    Cyan GBATemp's lurking knight

    Global Moderator
    18,042
    8,562
    Oct 27, 2002
    France
    Engine room, learning
    I see, thanks.
    I don't convert games or play them, I'm just curious about knowledge in general to be able to help users better

    Edit:
    you should edit your first post to 3DS Lazy, currently it looks like it can't repack correctly at all.
     
  16. hackotedelaplaqu

    hackotedelaplaqu GBAtemp Advanced Fan

    Member
    543
    161
    Jan 10, 2009
    France
    3ds
    3ds repack you mean? Because cia repack works fine for many users.:yaysp:
     
  17. liomajor

    liomajor GBAtemp Maniac

    Member
    1,463
    1,065
    Jun 10, 2008
    United States
    Reverse-CIA.bat
    Code:
    @ Echo off
     
    set GameName=%~n1
    md "%GameName%"
     
    tools\_makerom -ciatocci %1
    tools\ctrtool -p --exheader="exheader.bin" --romfs="romfs.bin" --exefs="exefs.bin" --logo="logo.bin" "%GameName%.cci"
    tools\ctrtool -t exefs --exefsdir="%GameName%" "exefs.bin" --decompresscode
    tools\ctrtool -t exheader "exheader.bin" > "exheader.txt"
    tools\ctrtool -i "%GameName%.cci" >info.txt
     
    move %1 "%GameName%"
    move *.bin "%GameName%"
    move *.cci "%GameName%"
    move *.txt "%GameName%"
    
    Now you have all files except your needed .rsf to rebuild unencrypted .3ds without manual.

    Take a sample rsf, look @ info.txt/exheader.txt and fill the sample with all you need.

    >>> makerom -f cci -target g -minor 9 -rsf "<your-rsf>" -desc app:7 -romfs "romfs.bin" -exheader "exheader.bin" -logo "logo.bin" -exefslogo -code "code.bin" -icon "icon.bin" -banner "banner.bin" -alignwr -o <your-rebuilded-3ds>
     
    Arkansaw, Garou and lemanuel like this.
  18. Garou

    Garou GBAtemp Advanced Fan

    Member
    542
    164
    Jan 13, 2015
    Hi, sorry to bump the thread

    so how do I decrypt cia files?
    because when I tried to convert cia to cci, makerom returns this error

    _makerom -ciatocci game.cia
    [CCI ERROR] Failed to decrypt CIA content: 0x00000000
    [RESULT] Failed to build CCI
     
  19. mid-kid

    mid-kid GBAtemp spamBOT

    Member
    879
    962
    Aug 2, 2012
    The -ciatocci option only works when the .cia is already decrypted, and that script won't do it for you.
    To convert an eShop CIA to 3DS, you have to install it on a new SD card, use any SD decryptor on it (rxTools works fine), decrypt the .app files with padxorer, find out with ctrtool which of the files is the main application, which the manual and so forth (If it's got DLP, that too), then "makerom -f cia -o game.cia -content main.app:0:0 -content manual.app:1:1 -content dlp.app:2:2", then you can -ciatocci it, and voila. You can further decrypt that main.app if you want to edit it (regionfree, firmware spoof), just treat it like a .3ds file.
     
    Garou likes this.