Tutorial  Updated

Photo guide to installing DSiWare backups on real hardware and emulator

First, some USEFUL NOTES

Tickets are not actually required by the DSi launcher (this was unknown at the time the above procedure was written), you may skip the related steps

While still incomplete, @MarioMasta64 is working on automating this process for Windows+Python users:
http://gbatemp.net/threads/a-tool-to-make-converting-dsiware-from-3ds-to-dsi-easier.479996/

If you are using an emunand (through Hiya, for example), consider using DSi Title Manager instead; there's no reason it couldn't work on sysnand with minor changes but... it doesn't do that, yet or ever




Steal Acquire some decrypted DSiware apps. You can use Funkeycia, 3DSeStuff, etc the 3DS eShop to legally download them, rip them to cia, then use ctrtool to extract the cia into "contents" = .app (the very newest versions of ctrtool decrypt them during this extraction); alternatively you can use Godmode9 to directly copy the appropriate .app under twln:/title/00030004/* to the SD.
There's also a no-intro catalogue but no romset I know of, officer...

Backup your console's NAND, CID, and ConsoleID using well documented methods (hardmod if you have some DSiware that can be copied to SD, or fwTool+safety mod if you have an usable DSiware exploit - Team Twiizer's original sudokuhax is not suitable #clobberedkeyslots, while fourswordshax and the leaked ugopwn use minitwlpayload).
If you're using NO$GBA with a nand you didn't dump yourself, you can find the CID and the byteswapped ConsoleID by looking at the end of the dump with a hex editor.
1 NOCASHNAND.PNG
(Adding this block is also how you convert a raw backup for use with NO$GBA, just in case you didn't read the manual)

Use TwlTool to decrypt the nand.
2 nand decrypt.PNG

Mount the 1st partition of the decrypted image with OSFMount (Linux equivalent: losetup + mount; Mac equivalent, hdiutil + mount I guess?).
3 osfmount.PNG 4 osfmount.PNG

Pick (any?) ticket from the NAND, preferably from the regular DSiware category = 00030004, and decrypt it with TwlTool. This will be a base for the edited tickets we will make.
5 ticket crypto.PNG

Open the folder with our dumped title. You will find a "content" folder, possibly a "data" folder, and a .ctx file if it came from a 3DS.
Delete it, then go to the content folder.
Remove the "cmd" folder, and the 3DS-format TMD.
6 source.PNG 7 source content.PNG

Search the TMD pack for the full TitleID of the DSiware; copy the TMD to the content folder, renaming it to "title.tmd".
Open title.tmd in a hex editor.
8 tmd.PNG

Find offset 1E7; rename the .app file (better known as .srl or .nds) so that the last 2 digits are the ones written at 1E7.
Find offset 208; delete everything from there to the end of the file. (A small number of tmds are already trimmed).
Save the file.
9 tmd edit.PNG

Open the ticket we decrypted earlier in a hex editor.
Find offset 1DC and replace the next 8 bytes with the TitleID of the app we're installing;
Save the file with a name equal to the TitleID-low of the app.
10 ticket edit.PNG 11 ticket save.PNG

Use TwlTool to encrypt the ticket, and put it into the NAND.
12 ticket crypto.PNG

Copy the title's (content & data) folder to the NAND.
13 app copy.PNG

Unmount the NAND and re-encrypt it.
14 unmount.PNG 15 nand crypt.PNG

If you're using NO$GBA, you will have to re-add the footer since it will have been removed by TwlTool's NAND features.
16 nand footer.PNG

Enjoy your DSiWarez, and if you liked it, BUY THE ORIGINAL... oh wait, they closed the DSi shop
17.PNG 18.PNG
 
Last edited by Ryccardo,

Ryccardo

Penguin accelerator
OP
Member
Joined
Feb 13, 2015
Messages
7,690
Trophies
1
Age
28
Location
Imola
XP
6,911
Country
Italy
Theoretically couldn't we use this method of to install an exploitable DsiWare, and then transfer from the DSi to a 3DS and use the dsiware exploit to install b9s on another 3DS?
Most likely not, license transfers are done server-side

(And people doing this are just removing perfectly playable DSiwares from their original console... I personally find this unacceptable)
 

Oleboy555

Well-Known Member
Member
Joined
Feb 8, 2017
Messages
907
Trophies
0
Location
Amsterdam
Website
3ds.guide
XP
2,307
Country
Netherlands
Most likely not, license transfers are done server-side

(And people doing this are just removing perfectly playable DSiwares from their original console... I personally find this unacceptable)
ye i wanted to transfer my dsi to 3ds but then I thought why though? what will I play on my dsi? so I didnt do it
 
  • Like
Reactions: I pwned U!

Ryccardo

Penguin accelerator
OP
Member
Joined
Feb 13, 2015
Messages
7,690
Trophies
1
Age
28
Location
Imola
XP
6,911
Country
Italy
You think I could use this to put homebrew on the system menu?
You can certainly install an exploitable game and its save...

It may be possible to replace any DSiware with a DSi-compatible .nds file, but the permissions in the tmd (which can't be edited) would get in the way depending on what you're trying to run
 
  • Like
Reactions: PrincessLillie

PrincessLillie

(Future) VTuber
Member
Joined
Nov 28, 2013
Messages
2,921
Trophies
3
Age
21
Location
Virtual Earth
Website
lillie2523.carrd.co
XP
4,791
Country
United States
You can certainly install an exploitable game and its save...

It may be possible to replace any DSiware with a DSi-compatible .nds file, but the permissions in the tmd (which can't be edited) would get in the way depending on what you're trying to run
I heard it was possible to forge TMDs... Any way you could help me with that?
 

incidentallyscribble

Well-Known Member
Member
Joined
Apr 24, 2016
Messages
863
Trophies
0
Age
38
XP
1,467
Country
United States
Is there going to be an easier way to do this when THIS releases? If so, what would the steps probably be? Also, do you need to hardmod your DSi for this guide? It's a little bit confusing.
 

Ryccardo

Penguin accelerator
OP
Member
Joined
Feb 13, 2015
Messages
7,690
Trophies
1
Age
28
Location
Imola
XP
6,911
Country
Italy
Also, do you need to hardmod your DSi for this guide?
You need a way to access and edit the filesystem of twlnand; how you actually do that doesn't matter

Hardmod + knowing CID and ConsoleID is the most viable way, but you can use a DSiware exploit if you're one of the 400 people or so who installed one while they could

As far (as little) as I understood RocketLauncher, you need to edit the whitelist anyway, which has the same prerequisites
 

incidentallyscribble

Well-Known Member
Member
Joined
Apr 24, 2016
Messages
863
Trophies
0
Age
38
XP
1,467
Country
United States
You need a way to access and edit the filesystem of twlnand; how you actually do that doesn't matter

Hardmod + knowing CID and ConsoleID is the most viable way, but you can use a DSiware exploit if you're one of the 400 people or so who installed one while they could

As far (as little) as I understood RocketLauncher, you need to edit the whitelist anyway, which has the same prerequisites
So if a DSiWare exploit is released that I can use, then would I need anything else for this guide?
 

Thunder Hawk

Firefox Master Race
Member
Joined
Jan 21, 2013
Messages
804
Trophies
1
XP
2,605
Country
United States
Well, a suitable computer and the actual files to install, but they're already mentioned in this guide soooo... :)
@jerbear64 told me that if you do "If you're using NO$GBA, you will have to re-add the footer since it will have been removed by TwlTool's NAND features." on a real system, you will brick. Might want to add a warning, but a new guide is on the way anyway.
 

Ryccardo

Penguin accelerator
OP
Member
Joined
Feb 13, 2015
Messages
7,690
Trophies
1
Age
28
Location
Imola
XP
6,911
Country
Italy
@jerbear64 told me that if you do "If you're using NO$GBA, you will have to re-add the footer since it will have been removed by TwlTool's NAND features." on a real system, you will brick. Might want to add a warning, but a new guide is on the way anyway.
This sounds rather weird, first because the footer is outside the partitions and wouldn't affect the operation anyway, but mostly because if the full nand backup is 256 MB big, 256+something wouldn't fit anyway...
Isn't "if you're using NO$GBA" clear enough for someone with an idea on how to use a hex editor, anyway?
 

jerbear64

Well-Known Member
Member
Joined
Dec 10, 2011
Messages
304
Trophies
1
Age
24
XP
381
Country
United States
This sounds rather weird, first because the footer is outside the partitions and wouldn't affect the operation anyway, but mostly because if the full nand backup is 256 MB big, 256+something wouldn't fit anyway...
Isn't "if you're using NO$GBA" clear enough for someone with an idea on how to use a hex editor, anyway?
I'm just going off of information I heard elsewhere- it's possible that's incorrect.
 

Ryccardo

Penguin accelerator
OP
Member
Joined
Feb 13, 2015
Messages
7,690
Trophies
1
Age
28
Location
Imola
XP
6,911
Country
Italy
I'm just going off of information I heard elsewhere- it's possible that's incorrect.
Let's avoid another round of misinformation, like "installing foreign games may brick your WiiU" that was rampant in the early days of the "brazilian exploit"
Any made-up idea should be clearly stated as an hypothesis, never as a fact - and according to the scientific method, unproven statements with no efforts to try to demostrate them are something you should really distance yourself from :)
 
  • Like
Reactions: jerbear64

jerbear64

Well-Known Member
Member
Joined
Dec 10, 2011
Messages
304
Trophies
1
Age
24
XP
381
Country
United States
Let's avoid another round of misinformation, like "installing foreign games may brick your WiiU" that was rampant in the early days of the "brazilian exploit"
Any made-up idea should be clearly stated as an hypothesis, never as a fact - and according to the scientific method, unproven statements with no efforts to try to demostrate them are something you should really distance yourself from :)
Noted.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    HiradeGirl @ HiradeGirl: Wlak past the light and kill that giant mosquito.