Homebrew Building DSiWare CIAs

XorTroll

Switching between my 2DS and my Switch
OP
Developer
Joined
Dec 28, 2017
Messages
636
Trophies
1
Location
Nowhere
Website
github.com
XP
4,117
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,093
Trophies
1
Age
22
Location
New York
XP
2,721
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
636
Trophies
1
Location
Nowhere
Website
github.com
XP
4,117
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,093
Trophies
1
Age
22
Location
New York
XP
2,721
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
636
Trophies
1
Location
Nowhere
Website
github.com
XP
4,117
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
25
Location
Magnolia, Fiore
XP
296
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
636
Trophies
1
Location
Nowhere
Website
github.com
XP
4,117
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
636
Trophies
1
Location
Nowhere
Website
github.com
XP
4,117
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,093
Trophies
1
Age
22
Location
New York
XP
2,721
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
636
Trophies
1
Location
Nowhere
Website
github.com
XP
4,117
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,644
Trophies
2
XP
7,900
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
636
Trophies
1
Location
Nowhere
Website
github.com
XP
4,117
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,

You may also like...

General chit-chat
Help Users
  • No one is chatting at the moment.
  • K3N1 @ K3N1:
    Most that stay together just do it for their kids
    +1
  • K3N1 @ K3N1:
    I have had ex's that made everything to be my fault though and end up breaking up with other boyfriends
    +1
  • ZeroT21 @ ZeroT21:
    @M4x1mumReZ Beats the purpose of getting married then, if it was that easy
    +1
  • M4x1mumReZ @ M4x1mumReZ:
    Kids are a bitch to take care of. You got to feed them, look after them, pay for child support, education, health care, etc.
  • K3N1 @ K3N1:
    Nah they don't want to cause emotional damage to their kids mind so they try to hide it from them
    +1
  • M4x1mumReZ @ M4x1mumReZ:
    There's that too.
  • ZeroT21 @ ZeroT21:
    Just my personal thoughts, no offense, I think kids can be cute and fun sometimes if they behave, but can be absolute devils worse than criminals
    +1
  • K3N1 @ K3N1:
    Point is just try to know you can take care of yourself first
    +2
  • ZeroT21 @ ZeroT21:
    I just feel I need riot gear to deal with kids
    +1
  • K3N1 @ K3N1:
    It's the norm for most adults to have kids in their 30s or 40s so still a lot of thinking time
    +1
  • ZeroT21 @ ZeroT21:
    Guess the most helpfull tool to keep kids away is a console, tablet... or ducktape

    :glare:
    +1
  • M4x1mumReZ @ M4x1mumReZ:
    Give them an iPad with YT Kids
  • K3N1 @ K3N1:
    I got permission from two different dad's to put them in the dumpster if they get on my nerves
    +2
  • M4x1mumReZ @ M4x1mumReZ:
    Whenever I go on a train, visit a restaurant, or enter a shop, there maybe a chance that there is some kid in their pram holding an iPad infront of their face watching Cocomelon.
  • ZeroT21 @ ZeroT21:
    And there goes the ''Dad of the Year'' award
    +1
  • K3N1 @ K3N1:
    Nah that's what gets them the award
    +1
  • M4x1mumReZ @ M4x1mumReZ:
    These iPads deserve to be trashed.
  • ZeroT21 @ ZeroT21:
    Maybe only old senoirs would have loved to hear noisy kids
    +1
  • ZeroT21 @ ZeroT21:
    But then again, I see kids as a health hazza

    rd
    +1
  • M4x1mumReZ @ M4x1mumReZ:
    Their ears would have troubles hearing their loud screeches that they can sleep in peace.
    +1
  • M4x1mumReZ @ M4x1mumReZ:
    @ZeroT21, They lack any common sense because their brain hasn't been fully developed.
  • K3N1 @ K3N1:
    If old people learned how to use tablets more we might get them off the road :tpi:
    +1
  • M4x1mumReZ @ M4x1mumReZ:
    Anyways, I'm off for tonight. See you all later.
    +1
  • Sonic Angel Knight @ Sonic Angel Knight:
    Old people flip tables in anger :P
    Sonic Angel Knight @ Sonic Angel Knight: Old people flip tables in anger :P