Update maketad page

This commit is contained in:
rmc 2023-12-22 18:46:30 -05:00
parent 4d2e08fc03
commit 110e5b1be3
No known key found for this signature in database
GPG Key ID: 5633EC10309D77D1
5 changed files with 96 additions and 29 deletions

View File

@ -11,7 +11,7 @@ layout: dsiware
<div style="background-image: url('https://cdn.randommeaninglesscharacters.com/assets-dsi/menu/dsi_widepromptnobar.png');background-size:100% 100%;position: static;display: inline-block;"> <div style="background-image: url('https://cdn.randommeaninglesscharacters.com/assets-dsi/menu/dsi_widepromptnobar.png');background-size:100% 100%;position: static;display: inline-block;">
<div class="devinfo-main" style="position:relative;"> <div class="devinfo-main" style="position:relative;">
<div style="text-align:right;"><a href="https://github.com/rvtr/rvtr.github.io/edit/master/dsidev/{{ ENTRY.PROGRAM | downcase }}.html" target="_blank">Edit</a></div> <div style="text-align:right;"><a href="https://github.com/rvtr/rvtr.github.io/edit/master/dsidev/{{ ENTRY.PROGRAM | downcase }}.html" target="_blank">Edit</a></div>
<h1>{{ ENTRY.TITLE }}</h1><br> <h1>{{ ENTRY.TITLE }}</h1>
{{ content }} {{ content }}
</div> </div>
</div> </div>

View File

@ -21,6 +21,9 @@ code {
special { special {
font-family: dsifont-special; font-family: dsifont-special;
} }
h2 {
padding-top:20px;
}
/* https://github.com/gbdev/pandocs/issues/507 */ /* https://github.com/gbdev/pandocs/issues/507 */
.pixelate { .pixelate {
-ms-interpolation-mode: nearest-neighbor; -ms-interpolation-mode: nearest-neighbor;
@ -371,6 +374,7 @@ table.menu {
border-collapse: collapse; border-collapse: collapse;
width: 100%; width: 100%;
background-color: #b2b2b2; background-color: #b2b2b2;
margin-bottom: 20px;
} }
th.menuheader { th.menuheader {
background-color: #feb0fc; background-color: #feb0fc;
@ -387,6 +391,7 @@ td.menuitem {
td.menuitem:nth-of-type(1) { td.menuitem:nth-of-type(1) {
background-color: #b2b2b2; background-color: #b2b2b2;
font-family: dsifont-bios; font-family: dsifont-bios;
font-size: 20px;
} }
td.menuitem2 { td.menuitem2 {
background-color: #cecece; background-color: #cecece;

View File

@ -36,7 +36,7 @@ TD,TH{
</style> </style>
</head> </head>
<body> <body>
<h1><i><a href="/"><--- Back to main site</a></i></h1> <span style="font-size:40px;"><i><a href="/"><--- BACK TO MAIN SITE</a></i></span><hr>
<h1 align="left">maketad</h1> <h1 align="left">maketad</h1>
<p> <p>
<i><u>NOTE: This is an edited version of the official README. See the revision history below for a list of changes.</u></i> <i><u>NOTE: This is an edited version of the official README. See the revision history below for a list of changes.</u></i>
@ -45,9 +45,9 @@ TD,TH{
<p> <code>maketad</code> is a tool for generating TAD files (<code>.tad</code>) from the specified SRL file. TAD files are used to import applications into the system memory.</p> <p> <code>maketad</code> is a tool for generating TAD files (<code>.tad</code>) from the specified SRL file. TAD files are used to import applications into the system memory.</p>
<p> <p>
TAD files for TWL that are created with this tool can only be imported TAD files that are created with this tool can only be imported
into TWL development kits. The TWL-SDK environment cannot be used to into TWL development kits. <code>maketad</code> cannot be used to
create TAD files that can run on retail TWL hardware. create TAD files that run on retail TWL hardware.
</p> </p>
<h2>Downloads</h2> <h2>Downloads</h2>
<p> <p>
@ -63,14 +63,14 @@ Standard <code>maketad</code> application. These create TAD files to be imported
<li><a href="https://cdn.randommeaninglesscharacters.com/tools/maketad/maketad-20090604-3.exe">maketad-20090604-3.exe</a></li> <li><a href="https://cdn.randommeaninglesscharacters.com/tools/maketad/maketad-20090604-3.exe">maketad-20090604-3.exe</a></li>
</ul> </ul>
<p> <p>
Updater <code>maketad</code> application. These create TAD files to be used when compiling <a href="/dsidev/twlsystemupdater.html">Twl SystemUpdater</a>. Output TADs are encrypted with an unknown key and so they cannot be decrypted. Updater <code>maketad</code> application. These create the TAD files used in <a href="/dsidev/twlsystemupdater.html">Twl SystemUpdater</a>. Output TADs are specially encrypted with the debugger common key (<code>A2FDDDF2E423574AE7ED8657B5AB19D3</code>) and so they will not work on development units.
</p> </p>
<ul> <ul>
<li><a href="https://cdn.randommeaninglesscharacters.com/tools/maketad/maketad_updater-20050422.exe">maketad_updater-20050422.exe</a></li> <li><a href="https://cdn.randommeaninglesscharacters.com/tools/maketad/maketad_updater-20050422.exe">maketad_updater-20050422.exe</a></li>
<li><a href="https://cdn.randommeaninglesscharacters.com/tools/maketad/maketad_updater-20080523.exe">maketad_updater-20080523.exe</a></li> <li><a href="https://cdn.randommeaninglesscharacters.com/tools/maketad/maketad_updater-20080523.exe">maketad_updater-20080523.exe</a></li>
</ul> </ul>
<p> <p>
Dependancies for <code>maketad</code>. Dependencies for <code>maketad</code>.
</p> </p>
<ul> <ul>
<li><a href="https://cdn.randommeaninglesscharacters.com/tools/maketad/cygcrypto-0.9.8.dll">cygcrypto-0.9.8.dll</a></li> <li><a href="https://cdn.randommeaninglesscharacters.com/tools/maketad/cygcrypto-0.9.8.dll">cygcrypto-0.9.8.dll</a></li>
@ -79,9 +79,10 @@ Dependancies for <code>maketad</code>.
<li><a href="https://cdn.randommeaninglesscharacters.com/tools/maketad/cygz.dll">cygz.dll</a></li> <li><a href="https://cdn.randommeaninglesscharacters.com/tools/maketad/cygz.dll">cygz.dll</a></li>
</ul> </ul>
<p> <p>
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.
<ul> <ul>
<li><a href="https://cdn.randommeaninglesscharacters.com/tools/maketad/split_tad_console-20090401.exe">split_tad_console-20090401.exe</a> (usage: <code>split_tad_console.exe TADFILE</code>, where TADFILE is a TAD file to decrypt to SRL)</li> <li><a href="https://cdn.randommeaninglesscharacters.com/tools/maketad/split_tad_console-20090401.exe">split_tad_console-20090401.exe</a> - Official Nintendo program but only supports development encrypted TADs. Usage: <code>split_tad_console.exe TADFILE</code></li>
<li><a href="https://gist.github.com/rvtr/f1069530129b7a57967e3fc4b30866b4">decrypt_tad.py</a> - Unofficial program but supports development, retail, and update encrypted TADs. Usage: <code>python decrypt_tad.py TADFILE</code>
</ul> </ul>
</p> </p>
<h2>Using the Tool</h2> <h2>Using the Tool</h2>
@ -102,19 +103,21 @@ Returns 0 when execution completes normally.<br>
The following are possible reasons for the function to fail. The following are possible reasons for the function to fail.
</p> </p>
<ul> <ul>
<li>The provided DLLs (see download section) were not found <li>The provided DLLs (see download section) were not found</li>
</li><li>Nothing is specified with the <code>-o</code> option <li>Nothing is specified with the <code>-o</code> option</li>
</li><li>An unknown option was found <li>An unknown option was found</li>
</li><li>Characters other than those from ASCII code <code>0x21</code> through <code>0x7e</code> are included for the game code <li>Characters other than those from ASCII code <code>0x21</code> through <code>0x7e</code> are included for the game code</li>
</li><li>A code reserved by the system is being used in the game code (please use <code>-s</code> to bypass the error) <li>A code reserved by the system is being used in the game code (please use <code>-s</code> to bypass the error)</li>
</li><li>The file is not of the type <code>*.srl</code> <li>The SRL file is not a NAND application</li>
</li><li>The SRL file cannot be opened or read <li>The file is not of the type <code>*.srl</code></li>
</li><li>An SRL file has not been specified <li>The SRL file cannot be opened or read</li>
</li><li>A TAD file cannot be output <li>An SRL file has not been specified</li>
</li><li>The SRL filename is too long <li>A TAD file cannot be output</li>
</li></ul> <li>The SRL filename is too long</li>
</ul>
<h2>Revision History</h2> <h2>Revision History</h2>
<p> <p>
2023/12/22 Added debugger common key for <code>maketad_updater</code> and linked to script for TAD decryption.<br>
2023/11/24 Added download links, changed dependancy information, and listed <code>maketad_updater</code> + <code>split_tad_console</code>.<br> 2023/11/24 Added download links, changed dependancy information, and listed <code>maketad_updater</code> + <code>split_tad_console</code>.<br>
2023/11/21 Added the <code>-s</code> option<br> 2023/11/21 Added the <code>-s</code> option<br>
2009/11/10 Added <b>Return Values</b>.<br> 2009/11/10 Added <b>Return Values</b>.<br>

View File

@ -2,15 +2,73 @@
layout: devinfo layout: devinfo
app: TwlNmenu 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. <h3>What's this "TAD" thing?</h3> TwlNmenu is a tool used to manage NAND apps on the DSi. It has 3 modes: NAND, SD, and CARD.
<div style="padding-left:2%;"> <h2>NAND</h2>
<i>"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."</i> - <a href="https://wiki.raregamingdump.ca/index.php?title=TwlNmenu">RGDWiki</a> In NAND mode you can boot, delete, and get info for programs installed to NAND. Only user programs are visible (anything in <code>nand:/title/00030004/</code>). The controls are as follows:
</div> <table class="menu">
<br> <tr>
<br>TADs are essentially SRLs (NDS ROMs) that have been packaged into an installable format. TAD files can be created with <code> <th class="menuheader">Button</th>
<a href="/dsidev/man/maketad.html" target="_blank">maketad.exe</a> <th class="menuheader">Purpose</th>
</code>, from the TwlSDK (<code>TwlSDK/tools/bin/maketad.exe</code>). Only apps that are installed to the <code>00030004</code> folder are able to be converted to TAD <h4 style="color:red;">Note: DO NOT install TADs on a retail DSi.</h4>Attempting to do so will just result in a <code>-2011</code> error, due to the TAD being unsigned. Resigning the TAD will not work as TwlNmenu protects against this (error code <code>7</code>). Additionally, <span style="color:red;">TwlNmenu will OVERWRITE WHAT IT'S TRYING TO INSTALL</span>, so if it fails, your apps may be deleted. <h3>How can I safely run a TAD?</h3>To run a TAD on retail hardware, you have to decrypt it and extract the SRL. You can use <a href="https://cdn.randommeaninglesscharacters.com/rmc-dsi/decrypt_tad.py">this</a> python script to do so. Usage is <code>python3 decrypt_tad.py [path to file].tad</code> </tr>
<br>Rename the SRL to NDS, and it should work in emulators or on real hardware. <tr>
<td class="menuitem">START</td>
<td class="menuitem">Boot the selected program.</td>
</tr>
<tr>
<td class="menuitem">X</td>
<td class="menuitem">Delete the selected program. Deleting once will remove the app + tmd but keep the ticket as "proof" it was installed. Press <b>X</b> again to fully remove the program.</td>
</tr>
<tr>
<td class="menuitem">R + X</td>
<td class="menuitem">Delete all programs of the same type. For example, pressing <b>R + X</b> on a broken program will delete all broken programs, and pressing <b>R + X</b> on an installed program will remove all installed programs.</td>
</tr>
<tr>
<td class="menuitem">Y</td>
<td class="menuitem">Delete the private save data of the selected program.</td>
</tr>
</table>
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.
<table class="menu">
<tr>
<th class="menuheader">Color</th>
<th class="menuheader">Status</th>
</tr>
<tr>
<td class="menuitem"><span style="color:black;">Black</span></td>
<td class="menuitem">The title is installed without errors.</td>
</tr>
<tr>
<td class="menuitem"><span style="color:blue;">Blue</span></td>
<td class="menuitem">The title was deleted from NAND (has a leftover ticket, but no app + tmd).</td>
</tr>
<tr>
<td class="menuitem"><span style="color:red;">Red</span></td>
<td class="menuitem">The title is broken (bad app), or it was installed improperly (has an app + tmd, but missing/bad ticket).</td>
</tr>
</table>
<h2>SD</h2>
SD mode allows you to install
<table class="menu">
<tr>
<th class="menuheader">Button</th>
<th class="menuheader">Purpose</th>
</tr>
<tr>
<td class="menuitem">A</td>
<td class="menuitem">Install the selected TAD.</td>
</tr>
<tr>
<td class="menuitem">R + A</td>
<td class="menuitem">Install all TADs in the current directory.</td>
</tr>
</table>
<h2>CARD</h2>
<h1 style="text-align: center;">Screenshots:</h1> <h1 style="text-align: center;">Screenshots:</h1>
<div class="screenshot"> <div class="screenshot">

View File

@ -17,6 +17,7 @@
- [X] DS Game Card To SD - [X] DS Game Card To SD
- [ ] Main page text - [ ] Main page text
- [ ] Add new version to MachineSettings - [ ] Add new version to MachineSettings
- [ ] Debugger key for TADs with SystemUpdater and maketad
- [X] Make ~~good~~ mediocre 404 page with appropriately themed error - [X] Make ~~good~~ mediocre 404 page with appropriately themed error
- [ ] Contact page - [ ] Contact page
- [X] Smaller image sizes - [X] Smaller image sizes