Disclaimer: I only tested this on the melonDS emulator. I don’t currently have a DSi console to test it on
Requirements
--------------------------------------------------------
A) Download "DSiWare to NAND Package"
B) Install Python (https://www.python.org/downloads/)
C) NAND file with No$gba footer (if you know your CID and Console ID, this tool can add the footer. See Optional 2)
D) DSiWare games from the same region as your NAND in the form of .nds files (if what you have are .app files or files without extension, then just rename the files to have .nds extension)
E) Encrypted ticket file from your NAND (see Section II)
F) A program to mount the NAND file. e.g. OSFMount (https://www.osforensics.com/tools/mount-disk-images.html)
Section I: Formatting the NAND with melonDS
(if your NAND file has been formatted with melonDS, go to Section II)
---------------------------------------------------------------------------------------
For some reason (I haven't figured it out yet), this tool only works if you use it on a NAND that has been formatted with melonDS.
You only need to format your NAND the first time. If you want to use this tool to add games to your NAND again, there is no need to re-format it.
To format your NAND:
1- Run the NAND in melonDS and in the emulated DSi go to System Settings-->Format System Memory-->Format-->Format-->Format-->OK
2- Run the NAND again in melonDS and choose the desired options (don't change the NAND region) until you get to the DSi main menu (when it asks you to take a picture choose "Later") then close melonDS
*If you don't want to lose the games already in the NAND, copy them to an SD card before you format then copy them back after it. For that you will need to have a DSi SD card file
Section II: Getting an encrypted ticket file from your NAND
(if you already have an encrypted ticket file from your NAND, go to Section III)
---------------------------------------------------------------------------------------
0- Extract “DSiWare to NAND Package”
1- Put the NAND file in the [Input] folder and name it [NAND.bin]
2- Run the batch file [Decrypt NAND.bat] and wait until it finishes. Now in the folder [Mount] you should find: [DecryptedNAND.bin] file & [CID.txt] file & [ConsoleID.txt] file
3- Mount [DecryptedNAND.bin] with a program like OSFMount (remember to choose the first/biggest partition & to UNCECK the "Read-only Drive" option)
4- Go in the mounted image to the [ticket] folder then the folder [0003000f] then copy [484e4c45.tik] to the folder [Input] and rename it to [EncryptedTicket.tik]
5- Unmount [DecryptedNAND.bin] and delete it with everything else in the [Mount] folder
*Keep this ticket file somewhere safe, just in case you want to add more games to your NAND again
*Ticket files are NAND specific. You can’t just get a ticket file from any NAND and expect it to work on yours
*I tried the ticket file [484e4c45.tik] and it seems to always work for the process. If you get problems playing a game, you might want to try a different ticket file for it
Section III: Checking for needed .tmd files
(if you already know you have all needed .tmd files, go to Section IV)
---------------------------------------------------------------------------------------
In order for the games (.nds files) to be added to the NAND, you need to have the appropriate .tmd file for each game.
In the folder .\TOOLS\tmds\ there is a collection of .tmd files that the script uses. To check if all the needed .tmd files for your .nds games are present, do:
0- Extract “DSiWare to NAND Package”
1- Put all your .nds DSi game files in the [Input] folder
2- Run the batch file [TMD Check.bat]
3- If there are any missing needed .tmd files, then you will get a file called [Missing TMD Files.txt]. Inside the file you will have a list in the form "GameFile.nds : GameLongID"
Where the "GameFile.nds" is the game file that is missing a needed .tmd file. The "GameLongID" is there to help you look for the appropriate .tmd file by Game ID on the internet
Section IV: Adding games to your NAND
---------------------------------------------------------------------------------------
0- Extract “DSiWare to NAND Package”
1- Put the NAND file in the [Input] folder and name it [NAND.bin]
2- Put the encrypted ticket file in the [Input] folder and name it [EncryptedTicket.tik]
3- Put all your .nds DSi game files in the [Input] folder
4- Run the batch file [Add Games (Step 1).bat] and wait until it finishes. Now in the folder [Mount] you should find: [DecryptedNAND.bin] file & [CID.txt] file & [ConsoleID.txt] file & [ticket] folder & [title] folder
5- Mount [DecryptedNAND.bin] with a program like OSFMount (remember to choose the first/biggest partition & to UNCECK the "Read-only Drive" option)
6- Move the two folders [ticket] and [title] directly to the mounted NAND and then unmount [DecryptedNAND.bin]
7- Run the batch file [Add Games (Step 2).bat] and wait until it finishes. Now in the folder [Output] you should find the file [New_NAND.bin]. This NAND file is encrypted, has No$gba footer, has all your .nds DSi games, and ready to be used in melonDS (now feel free to delete everything in the [Input] & [Mount] folders)
Optional 1: Getting a list of Games IDs
---------------------------------------------------------------------------------------
0- Extract “DSiWare to NAND Package”
1- Put all your .nds DSi game files in the [Input] folder
2- Run the batch file [List Games IDs.bat] and wait until it finishes
3- You will get a file called [Games IDs.txt]. Inside the file you will have a list in the form "GameFile.nds : GameLongID" for all the .nds games in the [Input] folder
Optional 2: Adding No$gba Footer
---------------------------------------------------------------------------------------
0- Extract “DSiWare to NAND Package”
1- Put the NAND file in the [Input] folder and name it [NAND.bin]
2- In the [Input] folder create two text files [CID.txt] & [ConsoleID.txt] and write your CID and Console ID in them respectively
3- Run the batch file [Add No$gba Footer.bat] and wait until it finishes
4- You will get a file called [NAND_With_Footer.bin] in the folder [Output]
Optional 3: Removing No$gba Footer
---------------------------------------------------------------------------------------
0- Extract “DSiWare to NAND Package”
1- Put the NAND file in the [Input] folder and name it [NAND.bin]
2- Run the batch file [Remove No$gba Footer.bat] and wait until it finishes
3- You will get a file called [NAND_Without_Footer.bin] in the folder [Output]
Optional 4: Getting .tmd files for the games
---------------------------------------------------------------------------------------
If you want a copy of the .tmd files for your .nds games:
0- Extract “DSiWare to NAND Package”
1- Put all your .nds DSi game files in the [Input] folder
2- Run the batch file [Get TMD.bat]
3- You will get all the .tmd files for your games in the folder [Output] and they will have the same name as the games
4- If there are any missing .tmd files, then you will get a file called [Missing TMD Files.txt]. Inside the file you will have a list in the form "GameFile.nds : GameLongID"
Where the "GameFile.nds" is the game file that is missing a needed .tmd file. The "GameLongID" is there to help you look for the appropriate .tmd file by Game ID on the internet
Note 1: You can only install about 40 games to your NAND (this is a DSi limitation and is independent of game size). After that you will have to delete games from your NAND to install others (you can delete games from your NAND with melonDS)
Note 2: Stay away from naming your files or any folder the tool is in with any Non-Latin or special characters like {}-+,.;&%@#$^()!
-----------------------------------------------------------///Credits///-----------------------------------------------------------------------------------------
The "DSiWare to NAND Package" is based on this guide:
https://gbatemp.net/threads/photo-guide-to-installing-dsiware-backups-on-real-hardware-and-emulator.476817/
Tools and files used in this package:
http://stahlworks.com/dev/swiss-file-knife.html
https://gbatemp.net/threads/release-twltool-dsi-downgrading-save-injection-etc-multitool.393488/
https://gbatemp.net/threads/tmd-files-preservation.471610/
https://gbatemp.net/threads/tool-nds-no-intro-roms-to-dsiware.514089/
https://gbatemp.net/threads/could-someone-make-this-script.517070/
Comentarios
Publicar un comentario