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,

GhostLatte

GBAtemp's Official Van Master™
Member
GBAtemp Patron
Joined
Mar 26, 2015
Messages
3,650
Trophies
3
Age
24
XP
11,170
Country
United States
so, after doing a backup of nand using fwtool with ugopwn and decrypting it i can do this tutorial to install DSiWare? :0
Indeed, but be careful and follow it carefully since I bricked my DSi probably from me being sleep deprived :P
 
  • Like
Reactions: Diego788

bennyman123abc

Well-Known Member
Member
Joined
Mar 21, 2013
Messages
920
Trophies
1
Age
22
Location
Alton, IL
XP
1,208
Country
United States
If I had a dollar everytime somebody asked, I'd be richer than Gates. I tried to install Sudoku but probably missed a step or something.
Geez. It wasn't in the Ugopwn step, was it? I've tried Ugopwn 4 times, got the homebrew to load once but, it crashed almost as soon as it started code execution.
 

GhostLatte

GBAtemp's Official Van Master™
Member
GBAtemp Patron
Joined
Mar 26, 2015
Messages
3,650
Trophies
3
Age
24
XP
11,170
Country
United States
Geez. It wasn't in the Ugopwn step, was it? I've tried Ugopwn 4 times, got the homebrew to load once but, it crashed almost as soon as it started code execution.
Ugopwn crashed causing my console to freeze a couple of times, but simply removing the battery fixed it.
 

froggestspirit

Aspiring Game Dev
Member
Joined
Jul 28, 2011
Messages
1,281
Trophies
1
XP
1,561
Country
United States
Sudoku, browser, shantae, 4 swords, AC clock, and bomberman. I can hard mod it, and i kept a backup, i just want to know what went wrong before i do that lol
 

Ryccardo

Penguin accelerator
OP
Member
Joined
Feb 13, 2015
Messages
7,696
Trophies
1
Age
28
Location
Imola
XP
6,922
Country
Italy
Is it true that we can test our NAND in NoCash, and if it works in there, it's safe to restore?
No$GBA is not 100% accurate, but yes, after reencrypting your nand, you can add a footer with your CID and ConsoleID to emulate your own console
You will also need the (partial) DSi bootroms = BiosDSi.rom

All there in the No$GBA manual
 
  • Like
Reactions: MarioMasta64

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • K3Nv2 @ K3Nv2:
    $600 gets you a decent one
    +1
  • Xdqwerty @ Xdqwerty:
    @K3Nv2, too expensive
  • K3Nv2 @ K3Nv2:
    Uremums expensive
  • BigOnYa @ BigOnYa:
    Uremums cheap, she even takes coupons still. She put a dollar on her head, and said "all you can eat, under a dollar."
  • K3Nv2 @ K3Nv2:
    Gotta save a dollar where you can get a dollar
    +1
  • HiradeGirl @ HiradeGirl:
    I want a PC
  • HiradeGirl @ HiradeGirl:
    Better than what I currently have
  • HiradeGirl @ HiradeGirl:
    But it's so expensive.
    +1
  • Xdqwerty @ Xdqwerty:
    @HiradeGirl, what about a laptop?
  • BigOnYa @ BigOnYa:
    Don t we all! Bet if you visited Juan, he would buy you one.
    +1
  • K3Nv2 @ K3Nv2:
    Juan would get @HiradeGirl a taco and call it hightech
    +2
  • HiradeGirl @ HiradeGirl:
    Juan blocked me. I can't see His messages.
  • HiradeGirl @ HiradeGirl:
    Is he in this chat room right now?
  • K3Nv2 @ K3Nv2:
    Lol
  • BigOnYa @ BigOnYa:
    I think that means you blocked him
    +2
  • HiradeGirl @ HiradeGirl:
    @Xdqwerty which laptop can be powerful enough to run newer games?
  • K3Nv2 @ K3Nv2:
    Let me guess he whipped it out and you giggled
    +2
  • HiradeGirl @ HiradeGirl:
    @BigOnYa Maybe I did
    +1
  • HiradeGirl @ HiradeGirl:
    I giggle all the time, you boy
  • Xdqwerty @ Xdqwerty:
    @HiradeGirl, sorry idk
  • K3Nv2 @ K3Nv2:
    Ryzen based 5700U can do cyberpunk at 30fps on like low everything
  • HiradeGirl @ HiradeGirl:
    What if I want Ultra everything?
  • K3Nv2 @ K3Nv2:
    You'll look at $1400
    +1
  • BigOnYa @ BigOnYa:
    $1000+
  • K3Nv2 @ K3Nv2:
    Google the laptops graphic chip for games streaming more then likely benched on YouTube
    K3Nv2 @ K3Nv2: Google the laptops graphic chip for games streaming more then likely benched on YouTube