From 110e5b1be37cfd14fef7ee4c54ffa432e065db85 Mon Sep 17 00:00:00 2001
From: rmc
Date: Fri, 22 Dec 2023 18:46:30 -0500
Subject: [PATCH] Update maketad page
---
_layouts/devinfo.html | 2 +-
assets/css/styledsi.css | 5 +++
dsidev/man/maketad.html | 41 +++++++++++-----------
dsidev/twlnmenu.html | 76 ++++++++++++++++++++++++++++++++++++-----
todo.md | 1 +
5 files changed, 96 insertions(+), 29 deletions(-)
diff --git a/_layouts/devinfo.html b/_layouts/devinfo.html
index 8f90e6f..66454f6 100644
--- a/_layouts/devinfo.html
+++ b/_layouts/devinfo.html
@@ -11,7 +11,7 @@ layout: dsiware
-
{{ ENTRY.TITLE }}
+
{{ ENTRY.TITLE }}
{{ content }}
diff --git a/assets/css/styledsi.css b/assets/css/styledsi.css
index 5696336..c471262 100755
--- a/assets/css/styledsi.css
+++ b/assets/css/styledsi.css
@@ -21,6 +21,9 @@ code {
special {
font-family: dsifont-special;
}
+h2 {
+ padding-top:20px;
+}
/* https://github.com/gbdev/pandocs/issues/507 */
.pixelate {
-ms-interpolation-mode: nearest-neighbor;
@@ -371,6 +374,7 @@ table.menu {
border-collapse: collapse;
width: 100%;
background-color: #b2b2b2;
+ margin-bottom: 20px;
}
th.menuheader {
background-color: #feb0fc;
@@ -387,6 +391,7 @@ td.menuitem {
td.menuitem:nth-of-type(1) {
background-color: #b2b2b2;
font-family: dsifont-bios;
+ font-size: 20px;
}
td.menuitem2 {
background-color: #cecece;
diff --git a/dsidev/man/maketad.html b/dsidev/man/maketad.html
index b0be73e..da9a000 100644
--- a/dsidev/man/maketad.html
+++ b/dsidev/man/maketad.html
@@ -36,7 +36,7 @@ TD,TH{
-
+<--- BACK TO MAIN SITE
maketad
NOTE: This is an edited version of the official README. See the revision history below for a list of changes.
@@ -45,9 +45,9 @@ TD,TH{
maketad is a tool for generating TAD files (.tad) from the specified SRL file. TAD files are used to import applications into the system memory.
-TAD files for TWL that are created with this tool can only be imported
-into TWL development kits. The TWL-SDK environment cannot be used to
-create TAD files that can run on retail TWL hardware.
+TAD files that are created with this tool can only be imported
+into TWL development kits. maketad cannot be used to
+create TAD files that run on retail TWL hardware.
Downloads
@@ -63,14 +63,14 @@ Standard maketad application. These create TAD files to be imported
maketad-20090604-3.exe
-Updater maketad application. These create TAD files to be used when compiling Twl SystemUpdater. Output TADs are encrypted with an unknown key and so they cannot be decrypted.
+Updater maketad application. These create the TAD files used in Twl SystemUpdater. Output TADs are specially encrypted with the debugger common key (A2FDDDF2E423574AE7ED8657B5AB19D3) and so they will not work on development units.
-Dependancies for maketad.
+Dependencies for maketad.
-Additional tools. These are not required, but are recommended for working with TAD files.
+Additional tools for decrypting TADs. These are not required, but are highly recommended.
- - split_tad_console-20090401.exe (usage:
split_tad_console.exe TADFILE, where TADFILE is a TAD file to decrypt to SRL)
+ - split_tad_console-20090401.exe - Official Nintendo program but only supports development encrypted TADs. Usage:
split_tad_console.exe TADFILE
+ - decrypt_tad.py - Unofficial program but supports development, retail, and update encrypted TADs. Usage:
python decrypt_tad.py TADFILE
Using the Tool
@@ -102,19 +103,21 @@ Returns 0 when execution completes normally.
The following are possible reasons for the function to fail.
-- The provided DLLs (see download section) were not found
-
- Nothing is specified with the
-o option
- - An unknown option was found
-
- Characters other than those from ASCII code
0x21 through 0x7e are included for the game code
- - A code reserved by the system is being used in the game code (please use
-s to bypass the error)
- - The file is not of the type
*.srl
- - The SRL file cannot be opened or read
-
- An SRL file has not been specified
-
- A TAD file cannot be output
-
- The SRL filename is too long
-
+The provided DLLs (see download section) were not found
+Nothing is specified with the -o option
+An unknown option was found
+Characters other than those from ASCII code 0x21 through 0x7e are included for the game code
+A code reserved by the system is being used in the game code (please use -s to bypass the error)
+The SRL file is not a NAND application
+The file is not of the type *.srl
+The SRL file cannot be opened or read
+An SRL file has not been specified
+A TAD file cannot be output
+The SRL filename is too long
+
Revision History
+2023/12/22 Added debugger common key for maketad_updater and linked to script for TAD decryption.
2023/11/24 Added download links, changed dependancy information, and listed maketad_updater + split_tad_console.
2023/11/21 Added the -s option
2009/11/10 Added Return Values.
diff --git a/dsidev/twlnmenu.html b/dsidev/twlnmenu.html
index 4afe29f..d718f74 100755
--- a/dsidev/twlnmenu.html
+++ b/dsidev/twlnmenu.html
@@ -2,15 +2,73 @@
layout: devinfo
app: TwlNmenu
---
-TwlNmenu is a title manager similar to DevMenu for 3DS. TwlNmenu can install programs in the TAD format, which is an installable format created by Nintendo, similar to the Wii's WADs.
What's this "TAD" thing?
-
-
"The installable format, TAD share many similarities to the WAD format, including the same offsets for title ID's and using the same devsign as WADs. A TAD can be resigned using Wii resigning tools and a RVL devkey. However, due to TwlNmenu's anti-tampering methods, the tool lets you not install resigned TAD files." -
RGDWiki
-
-
-
TADs are essentially SRLs (NDS ROMs) that have been packaged into an installable format. TAD files can be created with
- maketad.exe
-, from the TwlSDK (TwlSDK/tools/bin/maketad.exe). Only apps that are installed to the 00030004 folder are able to be converted to TAD Note: DO NOT install TADs on a retail DSi.
Attempting to do so will just result in a -2011 error, due to the TAD being unsigned. Resigning the TAD will not work as TwlNmenu protects against this (error code 7). Additionally, TwlNmenu will OVERWRITE WHAT IT'S TRYING TO INSTALL, so if it fails, your apps may be deleted. How can I safely run a TAD?
To run a TAD on retail hardware, you have to decrypt it and extract the SRL. You can use this python script to do so. Usage is python3 decrypt_tad.py [path to file].tad
-
Rename the SRL to NDS, and it should work in emulators or on real hardware.
+TwlNmenu is a tool used to manage NAND apps on the DSi. It has 3 modes: NAND, SD, and CARD.
+NAND
+In NAND mode you can boot, delete, and get info for programs installed to NAND. Only user programs are visible (anything in nand:/title/00030004/). The controls are as follows:
+
+The top screen will display information such as the company code, game code, and sizes of the app and save data. NAND mode also displays the status of installed programs. This is shown by highlighting the program name in a specific color.
+
+SD
+SD mode allows you to install
+
+
+
+
+
+
+
+CARD
Screenshots:
diff --git a/todo.md b/todo.md
index 2ae0a3c..c0ab0c0 100644
--- a/todo.md
+++ b/todo.md
@@ -17,6 +17,7 @@
- [X] DS Game Card To SD
- [ ] Main page text
- [ ] Add new version to MachineSettings
+ - [ ] Debugger key for TADs with SystemUpdater and maketad
- [X] Make ~~good~~ mediocre 404 page with appropriately themed error
- [ ] Contact page
- [X] Smaller image sizes