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,

incidentallyscribble

Well-Known Member
Member
Joined
Apr 24, 2016
Messages
863
Trophies
0
Age
38
XP
1,467
Country
United States
Btw, the link to the DSi footer template is down on dsiguide.me.
It is? Gee, nobody told me. Give me a sec.

--------------------- MERGED ---------------------------

Btw, the link to the DSi footer template is down on dsiguide.me.
Why dont you check now, and see if I was able to fix the download link on the site correctly from my phone. If the program is the same and you followed the steps to add the footer then you probably have a bad Nand dump
 
D

Deleted-394630

Guest
Beware, I flashed the modified nand backup without testing correctly, I bricked. ALWAYS TEST BACKUPS.
 

TheCyberQuake

Certified Geek
Member
Joined
Dec 2, 2014
Messages
5,012
Trophies
1
Age
28
Location
Las Vegas, Nevada
XP
4,432
Country
United States
Beware, I flashed the modified nand backup without testing correctly, I bricked. ALWAYS TEST BACKUPS.
I did that to my first dsi. When I checked later some error occurred somewhere in the process and made a nand.bin with garbage data. I always test in no$gba, it's saved me a couple times.
 

PrincessLillie

(Future) VTuber
Member
Joined
Nov 28, 2013
Messages
2,920
Trophies
3
Age
21
Location
Virtual Earth
Website
lillie2523.carrd.co
XP
4,784
Country
United States
Yep sounds like you did.
FUCK! How in hell did I brick? I followed the guide precisely as closely as I followed 3ds.guide and dsiguide.me!
Let's see, I added 2 games, so my DSiWare list would be as follows:
Nintendo DSi Browser
Flipnote Studio
SUDOKU
Zelda: Four Swords
Cut the Rope

What did I do wrong?
 

TheCyberQuake

Certified Geek
Member
Joined
Dec 2, 2014
Messages
5,012
Trophies
1
Age
28
Location
Las Vegas, Nevada
XP
4,432
Country
United States
FUCK! How in hell did I brick? I followed the guide precisely as closely as I followed 3ds.guide and dsiguide.me!
Let's see, I added 2 games, so my DSiWare list would be as follows:
Nintendo DSi Browser
Flipnote Studio
SUDOKU
Zelda: Four Swords
Cut the Rope

What did I do wrong?
Based on the error sounds like a faulty sd or SD slot.
 

PrincessLillie

(Future) VTuber
Member
Joined
Nov 28, 2013
Messages
2,920
Trophies
3
Age
21
Location
Virtual Earth
Website
lillie2523.carrd.co
XP
4,784
Country
United States
Based on the error sounds like a faulty sd or SD slot.
Well, when I had restored the NAND before to downgrade and install SUDOKU, it worked flawlessly. Well, this time I was using HBMenu to boot fwTool, so do you think that caused it? Also, how would I unbrick? Flashcards and hardmods are not an option.
The strange thing is, I tested my NAND in No$GBA and it worked fine!
 

TheCyberQuake

Certified Geek
Member
Joined
Dec 2, 2014
Messages
5,012
Trophies
1
Age
28
Location
Las Vegas, Nevada
XP
4,432
Country
United States
Well, when I had restored the NAND before to downgrade and install SUDOKU, it worked flawlessly. Well, this time I was using HBMenu to boot fwTool, so do you think that caused it? Also, how would I unbrick? Flashcards and hardmods are not an option.
The strange thing is, I tested my NAND in No$GBA and it worked fine!
Hardmod is the only option at this point
 
  • Like
Reactions: CatmanFan

PrincessLillie

(Future) VTuber
Member
Joined
Nov 28, 2013
Messages
2,920
Trophies
3
Age
21
Location
Virtual Earth
Website
lillie2523.carrd.co
XP
4,784
Country
United States
According to No$GBA, I still had 612 blocks open. What went wrong? Maybe I flashed the decrypted NAND on accident?
Hardmod is the only option at this point
Well, fuck my life. BRB, gonna go sit in the corner.
 
  • Like
Reactions: CatmanFan

TheCyberQuake

Certified Geek
Member
Joined
Dec 2, 2014
Messages
5,012
Trophies
1
Age
28
Location
Las Vegas, Nevada
XP
4,432
Country
United States
According to No$GBA, I still had 612 blocks open. What went wrong? Maybe I flashed the decrypted NAND on accident?

Well, fuck my life. BRB, gonna go sit in the corner.
This is why apache thunder hasn't released his exploit yet. He's waiting for a safer method for nand modification and he's not going to be the one to make it from what I've heard.
The error message you received likely means the SD card stopped being readable sometime during the flash. Usually a sign of a faulty sd card or SD slot.
 
Last edited by TheCyberQuake,

Billy Acuña

Well-Known Member
Member
Joined
Oct 10, 2015
Messages
3,126
Trophies
1
Age
31
XP
3,701
Country
Mexico
This is why apache thunder hasn't released his exploit yet. He's waiting for a safer method for nand modification and he's not going to be the one to make it from what I've heard.

That is bs, fwtool is completly safe (at least certain fork is), as you said, it was definetly an SD card/adapter/slot error.
Also people should get the rid of this kind of outdated guides, you know, TWLnf is a thing...
 

slaphappygamer

Well-Known Member
Member
Joined
Nov 30, 2008
Messages
4,117
Trophies
2
Age
46
Location
California
XP
7,606
Country
United States
That is bs, fwtool is completly safe (at least certain fork is), as you said, it was definetly an SD card/adapter/slot error.
Also people should get the rid of this kind of outdated guides, you know, TWLnf is a thing...
So TWLnf is stable? I mean, as long as you follow the instructions correctly.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    K3Nv2 @ K3Nv2: https://youtu.be/MddR6PTmGKg?si=mU2EO5hoE7XXSbSr