Homebrew Is it possible to convert a dev cci into a retail cia? (3DS Unity CCI)

Kriogenic

Well-Known Member
OP
Newcomer
Joined
Feb 20, 2016
Messages
49
Trophies
0
Age
33
XP
114
Country
Hi everyone so my question is relating to development cci's specifically ones compiled with Unity with the new Unity for 3DS (http://blogs.unity3d.com/2016/01/29/unity-comes-to-new-nintendo-3ds/)

I have compiled a cci and it has an option to create a cia with it. the CIA with it does not install as it is a dev CIA.

With the cci given when run through decrypt9 it says it successfully decrypted it and the CCI can then be opened with citra 3DS emulator and runs fine.

I am running reinand CFW and am not sure if I can run cci directly and have tried multiple tools to try convert the decrypted cci into a cia including Decrypt9 itself which has a cci to cia converter.

I have tried the following things
  • install the dev mode cia directly causes invalid signature error in all cia installers I tried (FBI, DevMenu and Big Blue Menu)
  • decrypting the cci and converting it to cia using Decrypt9 causes the CIA to install but cause a crash with the black screen telling to power off
  • decrypting the cci and extracting the info from it exHeader and etc and using makerom to convert to cia this causes makerom to throw a content 0 is invalid message and not create a cia, changing makerom to make a cci out of the extracted content works fine.
  • decrypting the cci and running it through HackPack to convert to cia allowed it to install and when booting the game it gives an infinite 3DS logo loop.
My system is a N3DS with:
sysNand 9.2
Reinand CFW (latest firmware)
Big Blue Menu injected to H&S
DevMenu and FBI installed as CIAs to emuNAND

Has anyone else attempted this or have any ideas what to try? I do not really want to fork out for a development console or a SNAKE Debugger or whatever just to try out 3DS development.

Thanks,
Kriogenic.
 
Last edited by Kriogenic,

Kriogenic

Well-Known Member
OP
Newcomer
Joined
Feb 20, 2016
Messages
49
Trophies
0
Age
33
XP
114
Country
I updated my post to say I am using a N3DS and thanks I will look into it. Hopefully its N3DS compatible.
 

Kriogenic

Well-Known Member
OP
Newcomer
Joined
Feb 20, 2016
Messages
49
Trophies
0
Age
33
XP
114
Country
Sorry as it is just a link to a download and I am not familiar with Luma3DS do I need a separate emuNAND for this or does it not mess with my current emuNAND?
 

Kriogenic

Well-Known Member
OP
Newcomer
Joined
Feb 20, 2016
Messages
49
Trophies
0
Age
33
XP
114
Country
Oh wow thank you so very much for your help with this. I finally have had success...

Firstly I created a CCI in Unity (without the development build option checked in build settings). This creates a development build without SNAKE debugger support.

I then put this into the files9/D9Game folder on my SD card which the latest Decrypt9 uses, I then proceeded to decrypt the CCI using Decrypt9 options "Content Decrypter Options" -> "NCCH/NCSD File Options" -> "NCCH/NCSD Decryptor"
NOTE: If you need key files you will have to find them elsewhere!

Once the decryption was complete I select "NCCH/NCSD to CIA Converter" which will convert the decrypted CCI into a CIA.

Booted into Luma3DS with development functionality enabled and the CIA installed and ran flawlessly.

I would really like to thank you for your blistering fast replies in solving an issue I have been trying to solve for literally 6 or so hours today. If only I knew exactly what I was looking for... I was trying to be overly complicated.

and since I have CTRBootManager I can continue to use ReiNAND as usual between development tests.

Massive thank you again.
 
D

Deleted User

Guest
The CCI which Unity produces contains what's known as 0-key encryption.

If possible, use 3DS Simple CIA Converter as soon as the CCI finishes building, as 0-key encryption is supported by it. (Be sure to rename the .cci extention to .3ds, because the tool does not detect '.cci' file extentions.) Alternatively, @ihaveamac himself recently added 0-key encryption support to his 3dsconv utility, which serves the same purpose as Simple CIA Converter, but is a more up-to-date utility to use.

The CIA that Unity outputs doesn't (and will possibly never?) work with a retail 3DS; I don't know the reason why, myself. Perhaps the CCI2CIA tool supplied by the official SDK makes the CIA a dev CIA that will only be able to be installed on dev hardware.

I don't think it matters whether you use normal Luma builds or Dev Luma builds, as I have tried my own Unity projects on both, and they have successfully worked using the method I explained above.

Just be sure not to tick the "development build" option before you start building your project in the Unity Editor and you will be fine.
 
  • Like
Reactions: Ryccardo

PennyTails

Member
Newcomer
Joined
Aug 23, 2016
Messages
7
Trophies
0
Age
37
XP
51
Country
United States
Hello everyone, im new in the forum but i bought a n3ds just to try this, i have Luma3DS (5.5 dev) running with emuNAND, this method works for me too but i have to open the cia several times, it crashes 4 out of 5 times, is this normal?
 

marcelop

Member
Newcomer
Joined
Aug 24, 2016
Messages
10
Trophies
0
Age
41
XP
41
Country
Canada
Hey there. I'm having the same problem as PennyTails. I was able to install my CIA, but running it causes a black screen + crash 1 out of 10 times (on Gateway Mode or Luma3DS). I'm wondering if this is happening because it's an up to date emuNAND.
Kriogenic, what's the version you're using?

I have a N3DS with sysNAND 9.0 and Gateway emuNAND up to date (v 11.0 I think). I haven't tried installing it on the sysNAND yet. I'll probably make a new emuNAND 9.0 and try it
 

devleon

Active Member
Newcomer
Joined
Aug 17, 2016
Messages
32
Trophies
0
Age
29
XP
92
Country
Gambia, The
Thanks so much for asking this question! I was wondering the exact same thing for quite a while now.
Now I can finally port my unity games to my 3ds :)
 

marcelop

Member
Newcomer
Joined
Aug 24, 2016
Messages
10
Trophies
0
Age
41
XP
41
Country
Canada
What 3DS model?
N3DS XL with sysNAND 9.0 and Gateway emuNAND 11.0 .

I tried a few other things last night, with no success. I installed it directly on the sysNAND, and I also tried decrypting/encrypting with Decrypt9 like Kriogenic did.
Honestly, if I hadn't seen it work a few times, I would have given up already.
I still suspect something might be wrong with the package though. Maybe Unity or the SDK are not fully compatible with windows 10
 

marcelop

Member
Newcomer
Joined
Aug 24, 2016
Messages
10
Trophies
0
Age
41
XP
41
Country
Canada
Do any of you guys have an example cci that you have compiled with Unity yourself (and that you know actually works) that I could test on my environment? That way I would be sure the problem is with my package and not with the 3DS setup
 
D

Deleted User

Guest
Can someone who has it working please post their unity version and Nintendo plugin version? It might be something to do with latest updates in one or the other.
My specs:
Computer OS: Windows 10
Unity for New3DS Version: 1.1.15 (5.2.4)
CTR_SDK: 11.4.0 (11.5.X causes issues for Old3DS builds for me.)
New3DS specs: 11.0.0; Arm9LoaderHax; Luma3DS Dev 6.0.1 hourly (I don't think the settings matter.)

Sorry I wasn't able to reply to you earlier last month, by the way. It's just that it could be anything! Are you building with "development build" checked? Are you building a scene with too many assets? There are plenty of things that make the build crash or not load.

I'm also starting to have a hunch that your 3DS's setup plays a key part in Unity build functionality as well.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • K3Nv2 @ K3Nv2:
    Yes uremum didn't tell me about her transition and begged me to make it my background
  • K3Nv2 @ K3Nv2:
    I couldn't hurt his or hers feelings
  • TechieSaru tempBOT:
    TechieSaru has joined the room.
  • SylverReZ @ SylverReZ:
    @K3Nv2, Don't ask him where to get lemonade. ;)
  • K3Nv2 @ K3Nv2:
    Psi fondles big red lemons to make lemonaides
    +1
  • K3Nv2 @ K3Nv2:
    Always wanting my lemons he can't have them
  • K3Nv2 @ K3Nv2:
    Jeb stole bigonyas pants
    +1
  • BigOnYa @ BigOnYa:
    Jokes on you, I don't have any on.... "Cause I'm free.... Free ballin'"
  • SylverReZ @ SylverReZ:
    @BigOnYa, Sounds like you and AncientBoi get along together TOO well.
    +1
  • BigOnYa @ BigOnYa:
    Thank God we are 20 states away from each tho. Kenny's almost neighbors with him.
  • K3Nv2 @ K3Nv2:
    I live in kc you dingus
  • BigOnYa @ BigOnYa:
    Ok still closer to him than me, perv boi
  • BigOnYa @ BigOnYa:
    Not to mention you guys share the same last name.
  • K3Nv2 @ K3Nv2:
    I thought you were Mrs.bigboi
    +2
  • BigOnYa @ BigOnYa:
    Nuh twice divorced, I took my maiden name
  • K3Nv2 @ K3Nv2:
    Mrs. bigancientboi?
    +2
  • BigOnYa @ BigOnYa:
    Ms. now, We divorced.
  • K3Nv2 @ K3Nv2:
    I'd keep the Mrs. He's got more years on you
  • BigOnYa @ BigOnYa:
    The end of this game, in the house, is like Texas chainsaw massacre house, is crazy. I just gotta find Chris n kill him.
  • BigOnYa @ BigOnYa:
    Damn it, Chris was not the original werewolf.
  • K3Nv2 @ K3Nv2:
    I didn't think I'd like these dumb xreals but being able to use my phone while having a big screen floating about is pretty cool
    +1
  • duskfall @ duskfall:
    :yaysp:these emojis are great
    duskfall @ duskfall: :yaysp:these emojis are great