Hacking Converting NDS to DSIware to CIA?

d0k3

3DS Homebrew Legend
OP
Member
Joined
Dec 3, 2004
Messages
2,786
Trophies
1
XP
3,896
Country
Germany
I wondered if it is somehow possible to convert Nintendo DS (.NDS) files to .CIA. If so, how do we do it? And if not, I'm interested in the technical details (how is DSIware different from the NDS retail game format?).

I suspect it's not possible, cause, from what I see, DSIware games are rather simple when compared to retail NDS games. Also, (to my knowledge) there are no retail games also available as DSIware. Apart from DSIware I see no way (yet) to get .NDS files installed.
 

d0k3

3DS Homebrew Legend
OP
Member
Joined
Dec 3, 2004
Messages
2,786
Trophies
1
XP
3,896
Country
Germany
dragons lair is available as a cart and as dsiware at least in europe

If these are really the same games, it might be possible to convert any NDS title. Now, if there only was some reference about both file types (DSIWare and .NDS)...
 
  • Like
Reactions: Margen67

d0k3

3DS Homebrew Legend
OP
Member
Joined
Dec 3, 2004
Messages
2,786
Trophies
1
XP
3,896
Country
Germany
Are there any cia games that were in ds form before, but are now on eshop?

There's a big list of DSIWare titles on Wikipedia. The only title apart from the two Dragon's Lair titles that I recognize to have also come out as retail cartridge is Puzzle Quest: Challenge of the Warlords. Somehow (correct me if I'm wrong), it seems that DSIware titles use 2D graphics rather than 3D graphics (such as NSMB or the DS Zelda titles), so maybe DSIWare can't access specific cards of the hardware. However, the Asphalt 4 title might prove me wrong. The reviews for that one even say it has better graphics than then the retail cart Asphalt title that came out for NDS.
 

The Real Jdbye

*is birb*
Member
Joined
Mar 17, 2010
Messages
23,252
Trophies
4
Location
Space
XP
13,805
Country
Norway
I wondered if it is somehow possible to convert Nintendo DS (.NDS) files to .CIA. If so, how do we do it? And if not, I'm interested in the technical details (how is DSIware different from the NDS retail game format?).

I suspect it's not possible, cause, from what I see, DSIware games are rather simple when compared to retail NDS games. Also, (to my knowledge) there are no retail games also available as DSIware. Apart from DSIware I see no way (yet) to get .NDS files installed.

Potentially, since sudokuhax works on 3DS and it can load .nds files. But it only loads homebrew right now.
 

2DSGamerdude

Well-Known Member
Member
Joined
Apr 6, 2015
Messages
660
Trophies
0
Location
Gamecube Land
XP
1,472
Country
Greece
it would be so cool if we could convert .dsiware file into .cia for emunand install,
through dsiware isn't as easy to convert and use as vc games like gbc, nes etc :(
and the system part sucks as it installs to sys nand and viewing these files in data management deletes all data in emunand cia's and saves :(
 

d0k3

3DS Homebrew Legend
OP
Member
Joined
Dec 3, 2004
Messages
2,786
Trophies
1
XP
3,896
Country
Germany
Potentially, since sudokuhax works on 3DS and it can load .nds files. But it only loads homebrew right now.
Yup, that would be an option, if it worked. But it seems DSIWare titles can be converted to .CIA directly, and you only need PastaCFW to install and play these. For example, this works with the Shantae game and Zelda Four Swords Anniversary Edition as well. So, if we knew more about the DSIWare file format, we might be able to convert retail NDS games to CIA, instead of relying on Sudokuhax.


And the fact the dsiware is installed to the system memory instead of the sdcard which would mean you can only install a couple of games.
You mean DSIWare titles have to be installed to NAND, really? Have you tested this?
 

The Real Jdbye

*is birb*
Member
Joined
Mar 17, 2010
Messages
23,252
Trophies
4
Location
Space
XP
13,805
Country
Norway
Yup, that would be an option, if it worked. But it seems DSIWare titles can be converted to .CIA directly, and you only need PastaCFW to install and play these. For example, this works with the Shantae game and Zelda Four Swords Anniversary Edition as well. So, if we knew more about the DSIWare file format, we might be able to convert retail NDS games to CIA, instead of relying on Sudokuhax.



You mean DSIWare titles have to be installed to NAND, really? Have you tested this?
Yeah, potentially. Saving could be a problem though, since regular DS games are designed to save on a flash chip.


DSiWare titles do install to NAND. I don't know if they will still work if the CIA is modified to install to SD though (if that's even possible)
 

Keylogger

Well-Known Member
Member
Joined
May 3, 2006
Messages
2,637
Trophies
1
Age
34
Website
Visit site
XP
6,630
Country
France
Yeah, potentially. Saving could be a problem though, since regular DS games are designed to save on a flash chip.


DSiWare titles do install to NAND. I don't know if they will still work if the CIA is modified to install to SD though (if that's even possible)

I think you can choose to install CIA in NAND or SDCard with FBI
 

MRJPGames

Pretty great guy
Member
Joined
Aug 17, 2013
Messages
1,199
Trophies
1
Location
The Netherlands
Website
fizazy.com
XP
1,674
Country
Netherlands
I wondered if it is somehow possible to convert Nintendo DS (.NDS) files to .CIA. If so, how do we do it? And if not, I'm interested in the technical details (how is DSIware different from the NDS retail game format?).

I suspect it's not possible, cause, from what I see, DSIware games are rather simple when compared to retail NDS games. Also, (to my knowledge) there are no retail games also available as DSIware. Apart from DSIware I see no way (yet) to get .NDS files installed.

I know DSiWare can be injected (https://gbatemp.net/threads/tutorial-installing-sudokuhax-on-3ds.388621/) but the problem is most (if not all) NDS roms are too big to fit even 1 on the 3DS' NAND, you'd first have to find a way to install DSiWare to the SD card and make systemmenu load DSiWare from that same SD card.
 
  • Like
Reactions: Margen67

d0k3

3DS Homebrew Legend
OP
Member
Joined
Dec 3, 2004
Messages
2,786
Trophies
1
XP
3,896
Country
Germany
I think you can choose to install CIA in NAND or SDCard with FBI
Yeah, you can choose to install .CIAs to SD with FBI, but will it also work for DSIWare CIAs?

I know DSiWare can be injected (https://gbatemp.net/threads/tutorial-installing-sudokuhax-on-3ds.388621/) but the problem is most (if not all) NDS roms are too big to fit even 1 on the 3DS' NAND, you'd first have to find a way to install DSiWare to the SD card and make systemmenu load DSiWare from that same SD card.
DSiWare titles do install to NAND. I don't know if they will still work if the CIA is modified to install to SD though (if that's even possible)
Maybe someone has already tested this (installing DSIWare CIA to SD via FBI)? There are some DSIWare titles converted to .CIA on a very popular 3DS roms site (won't name it, not even via PM, so don't try).

Saving could be a problem though, since regular DS games are designed to save on a flash chip.
There are save file format patches available for various flashcards. I can't possibly know, but I think it should be possible to make a patch for the save fiel location as well.
 

d0k3

3DS Homebrew Legend
OP
Member
Joined
Dec 3, 2004
Messages
2,786
Trophies
1
XP
3,896
Country
Germany
FBI errors out if you try to install a DSiWare CIA without switching destination to NAND. I've done it.

Duh. It might have to do with that size restriction (sudokuhax doesn't work with anything above 2GB, too, but libnds might be the culprit there). Can a .CIA be modified (without completely rebuilding) to enable installations to the SD? Installing to NAND for testing purposes is just too dangerous when you don't have an EmuNAND. I wouldn't do this even with legit .CIAs.
 
  • Like
Reactions: Margen67

dkabot

Better With Others' Systems Than Their Own
Member
Joined
Sep 9, 2014
Messages
1,042
Trophies
0
XP
626
Country
United States
Duh. It might have to do with that size restriction (sudokuhax doesn't work with anything above 2GB, too, but libnds might be the culprit there). Can a .CIA be modified (without completely rebuilding) to enable installations to the SD? Installing to NAND for testing purposes is just too dangerous when you don't have an EmuNAND. I wouldn't do this even with legit .CIAs.

Recall the DSi was like the Wii; software went onto the NAND. Even when the Wii got "SD" software, it just copied on use.
The 3DS required DSiWare on the NAND because that's how the DSi worked. Getting it to cooperate with being on the SD card would be its own issue.
 
  • Like
Reactions: Margen67

d0k3

3DS Homebrew Legend
OP
Member
Joined
Dec 3, 2004
Messages
2,786
Trophies
1
XP
3,896
Country
Germany
Recall the DSi was like the Wii; software went onto the NAND. Even when the Wii got "SD" software, it just copied on use.
The 3DS required DSiWare on the NAND because that's how the DSi worked. Getting it to cooperate with being on the SD card would be its own issue.

That sounds rather plausible.... I'd have assumed that DSIWare (when bought for 3DS from the eShop) comes in some kind of wrapper that makes it think it's in the correct location.

That brings me to... Has anyone bought a DSIWare game from the eShop? If so, did it install into your NAND or your SD? (easy to find out, as you'd just have to remove the SD and see if it is still there.
 
  • Like
Reactions: Margen67

dkabot

Better With Others' Systems Than Their Own
Member
Joined
Sep 9, 2014
Messages
1,042
Trophies
0
XP
626
Country
United States
That sounds rather plausible.... I'd have assumed that DSIWare (when bought for 3DS from the eShop) comes in some kind of wrapper that makes it think it's in the correct location.

That brings me to... Has anyone bought a DSIWare game from the eShop? If so, did it install into your NAND or your SD? (easy to find out, as you'd just have to remove the SD and see if it is still there.

Reverse the question: Go into data management and check free blocks for 3DS content vs DSi content.
 
  • Like
Reactions: Deleted-236924

d0k3

3DS Homebrew Legend
OP
Member
Joined
Dec 3, 2004
Messages
2,786
Trophies
1
XP
3,896
Country
Germany
Reverse the question: Go into data management and check free blocks for 3DS content vs DSi content.

Alright, I got it. With the limited size of the NAND and even more grave, the requirement to fiddle around with it, the sudokuhax route suddenly sounds a lot more attractive to me. Although that still works only on O3DS v4.x and plays only homebrew.
 
  • Like
Reactions: Margen67

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Xdqwerty @ Xdqwerty: I hate myself