Homebrew Building DSiWare CIAs

XorTroll

Switching between my 2DS and my Switch
OP
Developer
Joined
Dec 28, 2017
Messages
646
Trophies
1
Location
Nowhere
Website
github.com
XP
4,309
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
24
Location
New York
XP
2,771
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
646
Trophies
1
Location
Nowhere
Website
github.com
XP
4,309
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
24
Location
New York
XP
2,771
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
646
Trophies
1
Location
Nowhere
Website
github.com
XP
4,309
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
646
Trophies
1
Location
Nowhere
Website
github.com
XP
4,309
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
646
Trophies
1
Location
Nowhere
Website
github.com
XP
4,309
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
24
Location
New York
XP
2,771
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
646
Trophies
1
Location
Nowhere
Website
github.com
XP
4,309
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,759
Trophies
2
XP
8,674
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
646
Trophies
1
Location
Nowhere
Website
github.com
XP
4,309
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
  • No one is chatting at the moment.
  • NinStar @ NinStar:
    on tiramisu you can access it by opening mii maker
  • crafthp434 @ crafthp434:
    okay
  • NinStar @ NinStar:
    I don't have a wii u anymore to test it myself, but if homebrews are not visible on the wii u menu I think you can press L + R + minus to open the plugin menu, there should be an option called "homebrews on wii u menu" or something similar
  • crafthp434 @ crafthp434:
    nope
  • crafthp434 @ crafthp434:
    it is L+dpad down+ select
  • crafthp434 @ crafthp434:
    but homebrew is appearing in the home menu btw
  • NinStar @ NinStar:
    yes, now I remember it
  • NinStar @ NinStar:
    then it is working, I also don't like that they did this but it is the only option you have if you are using aroma
  • crafthp434 @ crafthp434:
    i just didint know the homebrew launcher didint exist in aroma
  • crafthp434 @ crafthp434:
    thanks btw
  • Xdqwerty @ Xdqwerty:
    Im downloading fallout 3 goty edition
    +1
  • BigOnYa @ BigOnYa:
    I'm downloading more ram for my hamster pc
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    New hamster PC, with anal operation and BT connectivity!
    +1
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, How do I make enemies respawn on gdevelop after
    the player dies?
  • Psionic Roshambo @ Psionic Roshambo:
    Carrying a PC or phone is so old school!
  • Psionic Roshambo @ Psionic Roshambo:
    Squeeze your cheeks twice to answer calls!
  • BigOnYa @ BigOnYa:
    @Xdqwerty you can use a "spawner" function on any object.
    +1
  • BigOnYa @ BigOnYa:
    Or when your player dies, you can say in code, if enemy exists, do nothing, but if enemy does not exist, then create enemy at certain spot. (This would be a pain tho for lots of emeies)
    +1
  • BigOnYa @ BigOnYa:
    Easiest, simple way would be just restart scene, but player would restart from beginning.
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, thx in advance
    +1
  • Spider2190 @ Spider2190:
    Heya
  • Spider2190 @ Spider2190:
    How are you doing, @Xdqwerty
    ?
  • Psionic Roshambo @ Psionic Roshambo:
    Dolphin porn??? This man has my vote!!! Lol
    Psionic Roshambo @ Psionic Roshambo: Dolphin porn??? This man has my vote!!! Lol