[Q]How to convert .3ds to .cia via Mac OSX

Discussion in '3DS - Homebrew Development and Emulators' started by neim81094, Aug 11, 2016.

  1. neim81094
    OP

    neim81094 GBAtemp Regular

    Member
    148
    37
    Jun 15, 2013
    United States
    Hey Guys,

    I have tried to scour the internet to find ways to convert 3ds files to cia but I am unable to find any tutorials for MacOSX. Would someone be able to point me to the right direction? Or at least show me which tools can be used that are Mac compatible?


    Thanks in Advance!
     
  2. Petraplexity

    Petraplexity Fidget-Spinning Spicy Memelord™

    Member
    372
    767
    Sep 5, 2015
    United States
    Over There
  3. cearp

    cearp the ticket master

    Member
    7,405
    4,658
    May 26, 2008
    Tuvalu
    i think @ihaveamac made some nice python scripts you can use :)
    keep in mind some of the process has to be done on the 3ds also.

    not a helpful answer.
     
    Hayleia and neim81094 like this.
  4. ihaveamac

    ihaveamac GBAtemp Guru

    Member
    5,339
    5,752
    Apr 20, 2015
    United States
    Tigard, OR
    https://github.com/ihaveamac/3dsconv - use the terminal on "macOS"
    if the .3ds is decrypted (if you dumped this game card, you should do it decrypted):
    Code:
    python2 3dsconv.py game.3ds
    if the .3ds is encrypted:
    Code:
    python2 3dsconv.py --gen-ncchinfo game.3ds
    # use ncchinfo.bin with Decrypt9, place xorpads in the same folder as the .3ds
    python2 3dsconv.py game.3ds
    ... or use the newest release of Decrypt9 to convert it to CIA right on the console :)
     
    Billy Acuña and neim81094 like this.
  5. neim81094
    OP

    neim81094 GBAtemp Regular

    Member
    148
    37
    Jun 15, 2013
    United States
    Thanks man, I was worried that I would have to deal with everyone saying that response

    Thanks so much guys! I will look at all these options

    Decrypt9 recently updated that to support 3Ds > CIA? That's awesome!! This was released a few hours ago :D :D :D


    Update - Both the python script and the new Decrypt9WIP Work 3ds to cia converter work like a charm. I really appreciate your help guys

    Now is there a way to uncompress the cia/3ds files and recompile them :unsure:
     
    Last edited by neim81094, Aug 11, 2016
  6. LSolrac

    LSolrac Member

    Newcomer
    27
    5
    Oct 26, 2015
    My honest suggestion, gz or bz2 or even 7z compression works everywhere, so why shouldn't there be a 3ds version of it? (Literally just extract and install on the fly)
     
    neim81094 likes this.
  7. neim81094
    OP

    neim81094 GBAtemp Regular

    Member
    148
    37
    Jun 15, 2013
    United States
    Thanks for the suggestion. I was talking more specifically about extracting game files.

    For instance there is a Pokémon Alpha Sapphire hack that requires the rom to be decrypted and files changed before placed back into a CIA file
     
  8. ahmedrk8

    ahmedrk8 Newbie

    Newcomer
    3
    0
    Jul 27, 2016
    Bosnia and Herzegovina
    hi guys please help me i have a .cia file and i really don't know how to convert it?
     
  9. trainboy2019

    trainboy2019 Shadow Maker in the Shadows

    Member
    737
    210
    Oct 6, 2015
    Antarctica
    Ylisse
    Just to throw this out there, the way to run things like ctrtool on a mac is to run it in the directory in terminal with the command ./ctrtool