Homebrew Building DSiWare CIAs

XorTroll

Switching between my 2DS and my Switch
OP
Developer
Joined
Dec 28, 2017
Messages
642
Trophies
1
Location
Nowhere
Website
github.com
XP
4,228
Country
Spain
I'm trying to rebuild a DSiWare CIA with the main ROM modified, but all the tools I have (makerom, ctrtool...) are only prepared to build 3DS CIAs (with RomFS, ExeFS, ExHeader...)
Any way I can rebuild that DSiWare CIA?
 

Giodude

GBAtemp's official rock
Member
Joined
May 17, 2015
Messages
5,094
Trophies
1
Age
23
Location
New York
XP
2,761
Country
United States
I'm not sure if you meant to double post... But you did. For convenience sake I'm just gonna report the other thread as a double post, no hard feelings. Anyway, I'm not sure about how to actually build a dsiware CIA, but I know it took a while for somebody to do it for the first time. It is significantly more complex than building a 3ds CIA. What are you trying to accomplish? There might be a better way.
 

XorTroll

Switching between my 2DS and my Switch
OP
Developer
Joined
Dec 28, 2017
Messages
642
Trophies
1
Location
Nowhere
Website
github.com
XP
4,228
Country
Spain
I'm not sure if you meant to double post... But you did. For convenience sake I'm just gonna report the other thread as a double post, no hard feelings. Anyway, I'm not sure about how to actually build a dsiware CIA, but I know it took a while for somebody to do it for the first time. It is significantly more complex than building a 3ds CIA. What are you trying to accomplish? There might be a better way.
About the other post, I made it trying to edit this one, and I was going to delete it, sorry for that. I'm currently searchinh about this type of CIAs.
 
  • Like
Reactions: Giodude

Giodude

GBAtemp's official rock
Member
Joined
May 17, 2015
Messages
5,094
Trophies
1
Age
23
Location
New York
XP
2,761
Country
United States
About the other post, I made it trying to edit this one, and I was going to delete it, sorry for that. I'm currently searchinh about this type of CIAs.
No problem, I figured as much. So you don't want to do anything in particular, just curiosity?
 

XorTroll

Switching between my 2DS and my Switch
OP
Developer
Joined
Dec 28, 2017
Messages
642
Trophies
1
Location
Nowhere
Website
github.com
XP
4,228
Country
Spain
I would like to see if there's a single way to install NDS ROMs on a console, and I tried doing it by DSiWare apps. I replaced a *.app file in the CTRNAND folder of a DSiWare app I had by another NDS app, and it worked correctly. Later, I rebuilt the modified app as a standard CIA, and tried to reinstall it again to have a DSiWare app with my ROM's icon and title, but it gave me an error, and the ROM couldn't load this time.
Briefly, I managed to install and run a NDS ROM as a DSiWare app, but no it's banner, so I'm googling ways to achieve that now.
 
Last edited by XorTroll,

umbjolt

Wild jolteon
Member
Joined
Sep 15, 2016
Messages
558
Trophies
0
Age
27
Location
Magnolia, Fiore
XP
316
Country
I would like to see if there's a single way to install NDS ROMs on a console, and I tried doing it by DSiWare apps. I replaced a *.app file in the CTRNAND folder of a DSiWare app I had by another NDS app, and it worked correctly. Later, I rebuilt the modified app as a standard CIA, and tried to reinstall it again to have a DSiWare app with my ROM's icon and title, but it gave me an error, and the ROM couldn't load this time.
Briefly, I managed to install and run a NDS ROM as a DSiWare app, but no it's banner, so I'm googling ways to achieve that now.
Unafortunately, .nds rom converted to DSIWare CIA will not work, since .nds games are hardcoded to work from SLOT-1, that's why nds-bootstrap and TWLoader exists.
 
  • Like
Reactions: Giodude

XorTroll

Switching between my 2DS and my Switch
OP
Developer
Joined
Dec 28, 2017
Messages
642
Trophies
1
Location
Nowhere
Website
github.com
XP
4,228
Country
Spain
Unafortunately, .nds rom converted to DSIWare CIA will not work, since .nds games are hardcoded to work from SLOT-1, that's why nds-bootstrap and TWLoader exists.
And could SRLs or encrypted ROMs work? Because I loaded there a NDS ROM created by myself using devkitpro and it worked
 

XorTroll

Switching between my 2DS and my Switch
OP
Developer
Joined
Dec 28, 2017
Messages
642
Trophies
1
Location
Nowhere
Website
github.com
XP
4,228
Country
Spain
Anyway, just another question. Do you know if there's any way to generate xorpads of encrypted 3DS files just on any PC, without using HBW and D9?
It would be very useful to convert 3DS ROMs to CIA files directly, but I haven't found it it's possible yet.
 

Giodude

GBAtemp's official rock
Member
Joined
May 17, 2015
Messages
5,094
Trophies
1
Age
23
Location
New York
XP
2,761
Country
United States
Anyway, just another question. Do you know if there's any way to generate xorpads of encrypted 3DS files just on any PC, without using HBW and D9?
It would be very useful to convert 3DS ROMs to CIA files directly, but I haven't found it it's possible yet.
Those methods are ancient. Download the latest 3ds hacking toolkit. It can extract and rebuild CIA files directly without even needing to convert to a .3ds first. Also, do you have b9s on your 3ds? Older versions of decrypt9 that even support xorpad generation are for a9lh only.
 

XorTroll

Switching between my 2DS and my Switch
OP
Developer
Joined
Dec 28, 2017
Messages
642
Trophies
1
Location
Nowhere
Website
github.com
XP
4,228
Country
Spain
Well, about the topic of building DSi CIAs (which was the main topic), I've been trying to do some research about it and I think I got a solution. On a tutorial of building DSiWare CIAs (consisted on extracting BIN files from DSi and then converting them to ROMs and to CIAs, not what I'm currently trying) I found an executable called make_cia.exe:

Captura.PNG


Well, after making some tests with some official SRLs of the Nitro SDK (Nintendo's official SDK for Nintendo DS) a friend of mine shared with me, I noticed that the conversion worked, and made me my CIAs, and after that I tried to test it with two types of ROMs: original NDS ROMs of NDS (NOT DSi, like MKDS or NSMB), and homebrew - like ROMs, those made using devkitPro.
In the first attempt, none of them worked. Then, I tried to use a "NDS decryptor" called eNDryptS Advanced, and it technically "re-encrypted" these ROMs (I'm putting these things in inverted commas because I'm not totally sure they're / they do those things). After trying again with the entrypted ones, the homebrew one worked (and made me the CIA!), whereas the other one didn't work.
At least I know why the legit one didn't work: (a very obvious reason) because it was not a DSi ROM (it was actually MKDS)
Now, I have to test if the CIAs work on my 2DS. I'll tell you how does it go!
 
Last edited by XorTroll,

cearp

瓜老外
Developer
Joined
May 26, 2008
Messages
8,724
Trophies
2
XP
8,500
Country
Tuvalu
People have converted extracted dsiware to cia for a while now right?
Are you just figuring it out by yourself? (bono offense, it's good to learn!)

Or did you know that, and you are trying something new?
 

XorTroll

Switching between my 2DS and my Switch
OP
Developer
Joined
Dec 28, 2017
Messages
642
Trophies
1
Location
Nowhere
Website
github.com
XP
4,228
Country
Spain
People have converted extracted dsiware to cia for a while now right?
Are you just figuring it out by yourself? (bono offense, it's good to learn!)

Or did you know that, and you are trying something new?
I've just noticed that, it's been 5 mins between I discovered this fact and that I posted it here.
And also I've been searching for a while and almost found nothing about this topic, before I found this trick.
 
Last edited by XorTroll,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Psionic Roshambo @ Psionic Roshambo: @SylverReZ, Indeed lol