Skip to content

Commit

Permalink
Add uncompiled TwlIPL/TwlToolsRED apps
Browse files Browse the repository at this point in the history
  • Loading branch information
rvtr committed Dec 14, 2024
1 parent fbc8a9f commit e4416f8
Show file tree
Hide file tree
Showing 34 changed files with 504 additions and 67 deletions.
6 changes: 3 additions & 3 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@ decrypt_tad: <a href="https://gist.github.com/rvtr/f1069530129b7a57967e3fc4b3086
twlipl: https://github.com/rvtr/TwlIPL/
twltoolsred: https://github.com/rvtr/TwlToolsRED/
# Note on github links:
# - tree/<commithash>/path/to/file.txt
# - tree/<branch>/path/to/file.txt
# - {{ site.twlipl }}/tree/<commithash>/path/to/file.txt
# - {{ site.twlipl }}/tree/<branch>/path/to/file.txt

# This is for programs that are a part of a set (eg. TWL EVA IMPORT, TWL EVA AGING, TWL EVA MIC)
category-list: [TWL EVA, Nitro EVA, prototype firmware]
category-list: [TWL EVA, Nitro EVA, prototype firmware, TwlIPL test, bootloader/ntrboot]

plugins:
- jekyll-feed
Expand Down
78 changes: 45 additions & 33 deletions _data/dsinfo.csv

Large diffs are not rendered by default.

11 changes: 8 additions & 3 deletions _includes/devcsv.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,20 @@
</div>
{%- endif -%}
<div class="devcsv-info">
<b><u>Source:</u></b><br>{{ ENTRY.ORIGIN }}
<b><u>Origin:</u></b><br>{{ ENTRY.ORIGIN }}
</div>
{%- if ENTRY.SOURCE != "" -%}
<div class="devcsv-info1">
<b><u>Source code:</u></b><br> - View on <a href="{{ ENTRY.SOURCE }}" target="_blank">GitHub</a>
</div>
{%- endif -%}
{%- if ENTRY.UNDUMPED == "TRUE" -%}
<div class="devcsv-info2">
<br><br><b><u>Dumped by:</u></b><br>Currently undumped!
<b><u>Dumped by:</u></b><br>Currently undumped!
</div>
{%- else -%}
<div class="devcsv-info2">
<br><br><b><u>Dumped by:</u></b><br>{{ ENTRY.CREDIT }}
<b><u>Dumped by:</u></b><br>{{ ENTRY.CREDIT }}
</div>
<div class="devcsv-download">
<table class="devcsv-table">
Expand Down
23 changes: 18 additions & 5 deletions _layouts/devinfo.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,11 @@ <h1>{{ ENTRY.TITLE }}</h1>
Other <!--<a href="/dsidev/{{ sc | replace: ' ', '_' | downcase }}/index.html">{{ sc }}</a>-->{{ sc }} programs
</th>
</tr>
{%- if page.catdesc -%}
<tr class="category-footer">
<td><i>{{ page.catdesc }}</i></td>
</tr>
{%- endif -%}
<tr>
<td style="line-height: 1.9;">
<!-- I enjoy eliptical indentation -->
Expand All @@ -46,14 +51,22 @@ <h1>{{ ENTRY.TITLE }}</h1>
{%- if TEST.PUBLISHED == "TRUE" -%}
{%- if page.group == true -%}
{%- for pc in page.category -%}
{%- if pc == sc %}
{%- if i != 0 and page.sequence == true %}
{%- if pc == sc -%}
{%- if i != 0 and page.sequence == true -%}
<!-- Overly fancy arrows to show an order in a list. Counter to not display on the first loop -->
-->
{% endif -%}
{%- endif -%}
{%- if i != 0 and page.sequence == false -%}
-
{%- endif -%}

{% assign i = i | plus: 1 %}
<a class="category-list" href="{{ page.url }}">{{ page.altname }}</a>
{% endif -%}
{%- if ENTRY.PROGRAM == TEST.PROGRAM -%}
<span style="padding:10px;"><b>{{ page.altname }}</b></span>
{%- else -%}
<a class="category-list" href="{{ page.url }}">{{ page.altname }}</a>
{%- endif -%}
{%- endif -%}
{%- endfor -%}
{%- endif -%}
{%- endif -%}
Expand Down
8 changes: 6 additions & 2 deletions _layouts/dsiware.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
<!DOCTYPE html>
<html lang="en">
<!--
Fuck trump.
I'm sorry for the US. I'm sorry for every minority.
Especially fellow trans people.
I hope you are all safe and okay.
-->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
{% if site.target == "STRIPPED" -%}
Expand All @@ -13,7 +19,6 @@
<meta property="og:title" content="{{ page.title }}">
{% if page.preview == null -%}
<meta property="og:image" content="{{ site.imgdir }}{{ ENTRY.PROGRAM }}/{{ ENTRY.PROGRAM }}.gif">
<!-- No "twitter" preview if just app icon -->
{%- else -%}
<meta property="og:image" content="{{ site.imgdir }}{{ page.preview }}">
<meta property="twitter:image" content="{{ site.imgdir }}{{ page.preview }}">
Expand All @@ -31,7 +36,6 @@
<meta property="og:title" content="{{ ENTRY.TITLE }}">
{% if page.preview == null -%}
<meta property="og:image" content="{{ site.imgdir }}{{ ENTRY.PROGRAM }}/{{ ENTRY.PROGRAM }}.gif">
<!-- No "twitter" preview if just app icon -->
{%- else -%}
<meta property="og:image" content="{{ site.imgdir }}{{ ENTRY.PROGRAM }}{{ page.preview }}">
<meta property="twitter:image" content="{{ site.imgdir }}{{ ENTRY.PROGRAM }}{{ page.preview }}">
Expand Down
36 changes: 29 additions & 7 deletions assets/css/styledsi.css
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,19 @@ code {
color: green;
word-wrap: break-word;
}
.code-div {
font-size: 15%;
font-weight: 600;
color: #e83e8c;
margin-left: 40px;
}
pre {
white-space: pre-wrap; /* Since CSS 2.1 */
white-space: -moz-pre-wrap; /* Mozilla, since 1999 */
white-space: -pre-wrap; /* Opera 4-6 */
white-space: -o-pre-wrap; /* Opera 7 */
word-wrap: break-word; /* Internet Explorer 5.5+ */
}
special {
font-family: dsifont-special;
}
Expand Down Expand Up @@ -174,10 +187,11 @@ body {
grid-row-gap: 0px; gap: 10px;
font-size: 2vw;
}
.devcsv-preview-container { grid-area: 1 / 1 / 2 / 3;width:100%;}
.devcsv-info { grid-area: 2 / 1 / 3 / 2; margin-left:10px; margin-right:10px;}
.devcsv-info2 { grid-area: 2 / 2 / 3 / 3;margin-top: -18.5%; margin-left:10px; margin-right:10px;}
.devcsv-download { grid-area: 1 / 3 / 3 / 4; margin-left:10px; margin-right:10px;}
.devcsv-preview-container { grid-area: 1 / 1 / 1 / 5;width:100%;}
.devcsv-info { grid-area: 2 / 1 / 2 / 5; margin-left:10px; margin-right:10px;}
.devcsv-info1 { grid-area: 3 / 1 / 3 / 5; margin-left:10px; margin-right:10px;}
.devcsv-info2 { grid-area: 4 / 1 / 4 / 5; margin-left:10px; margin-right:10px;}
.devcsv-download { grid-area: 5 / 1 / 5 / 5; margin-left:10px; margin-right:10px;}
.preview-container {
position: relative;
top: 0;
Expand Down Expand Up @@ -225,9 +239,10 @@ body {
padding: 5px;
font-size: 1vw;
}
.devcsv-info { grid-area: 1 / 1 / 2 / 2; }
.devcsv-info2 { grid-area: 2 / 1 / 3 / 2; margin-top: -41px; }
.devcsv-download { grid-area: 3 / 1 / 4 / 2; }
.devcsv-info { grid-area: 2 / 1 / 2 / 5; }
.devcsv-info1 { grid-area: 3 / 1 / 3 / 5; }
.devcsv-info2 { grid-area: 4 / 1 / 4 / 5; }
.devcsv-download { grid-area: 5 / 1 / 5 / 5; }
.photo img {
height: 300px;
width: auto;
Expand Down Expand Up @@ -486,6 +501,13 @@ th.category-header {
background-color: #feb0fc;
border: 2px solid #e488b1;
}
tr.category-footer {
border: 1px solid black;
margin: auto;
text-align: center;
color: black;
background: #e6e6e6;
}
a.category-list {
padding:10px;
}
Expand Down
53 changes: 53 additions & 0 deletions dsidev/auto_preinst_rom.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
---
layout: devinfo
app: auto_preinst_rom
altname: auto_preinst_rom
category: [TwlIPL test]
catdesc: [A collection of tests used in the development of the DSi. Many of these are internal equivalents to TWL EVA's tests.]
sequence: FALSE
group: true
---
<b>auto_preinst_rom</b> is a tool made to install bundled apps on a DSi, such DSi + Internet, DSi Browser, and Flipnote Studio. This tool can also delete the bundled apps, and delete the certificate file. The bundled apps meant to be used can be found in the source code. The SD apps (cooperation, HHWA, and HPCA) do not appear to be officially released anywhere, and there are no other mentions of them.
<br><br>
<div class="code-div"><TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0><TR><TD><PRE>
For retail consoles:
ROM
0x00030004484e474a, 0 , 0 , rom:/tads/TWL-HNGJ-v256.tad,
0x000300044b32444a, 0 , 0 , rom:/tads/TWL-K2DJ-v0.tad,
0x000300044b47554a, 0 , 0 , rom:/tads/TWL-KGUJ-v257.tad,

SD
0x00030004434f5041, 0 , 0 , sdmc:/sdtads/en_CooperationA.tad,
0x0003001548485741, 0 , 0 , sdmc:/sdtads/en_HHWA.Release.tad,
0x0003000548504341, 0 , 0 , sdmc:/sdtads/en_HPCA.Release.tad,

For development consoles:
ROM
0x0003000434424e41, 0 , 0 , rom:/tads_dev/backupSample.tad,
0x00030004344a4541, 0 , 0 , rom:/tads_dev/encodeSD.tad,
0x0003000434534e41, 0 , 0 , rom:/tads_dev/nandAppSample.tad,

SD
0x0003000434424e41, 0 , 0 , sdmc:/sdtaddevs/en_backupSample.tad,
0x0003000444534943, 0 , 0 , sdmc:/sdtaddevs/en_chavitt.tad,
0x00030004344a4541, 0 , 0 , sdmc:/sdtaddevs/en_encodeSD.tad,
0x0003000434534e41, 0 , 0 , sdmc:/sdtaddevs/en_nandAppSample.tad,
</TD></TR></TABLE></div>

There is also an option to download titles from the shop servers. Most of the TIDs here are dummy apps, similar to other dummy TIDs used in test apps.
<br><br>
<div class="code-div"><TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0><TR><TD><PRE>
{0x000300044b47554a, 2, FALSE }, // KGUJ
{0x000300044b32444a, 2, FALSE }, // K2DJ
{0x00030004484e474a, 2, FALSE }, // HNGJ
{0x00030004346b6941, 2, FALSE }, // 4kiA
{0x00030004346b6a41, 2, FALSE }, // 4kjA
{0x00030004346b6b41, 2, FALSE }, // 4kkA
{0x00030004346b6c41, 2, FALSE }, // 4klA
{0x0003000434656241, 2, FALSE }, // 4ebA
{0x0003000434657541, 2, FALSE }, // 4euA
{0x0003000430484141, 2, FALSE }, // 0HAA
{0x0003000430484941, 2, FALSE }, // 0HIA
{0x000300044b58374a, 2, FALSE }, // KX7J
{0x000300044b53394a, 2, FALSE } // KS9J
</TD></TR></TABLE></div>
31 changes: 31 additions & 0 deletions dsidev/calchmac_forbroadon.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
---
layout: devinfo
app: CalcHMAC_forBroadOn
altname: CalcHMAC_forBroadOn
category: [TwlIPL test]
catdesc: [A collection of tests used in the development of the DSi. Many of these are internal equivalents to TWL EVA's tests.]
sequence: FALSE
group: true
---
<b>CalcHMAC_forBroadOn</b> is used to create HWInfo for BroadOn's TWL-TS boards. TS boards are very early development prototypes. There are no known TWL-TS photos, but the IRIS and 3DS ones are shown below:
<div class="screenshot">
<img src="{{ site.imgdir }}{{ page.app }}/external/IRIS.png">
<img src="{{ site.imgdir }}{{ page.app }}/external/CTR.png">
</div>
CalcHMAC_forBroadOn is a relatively uninteresting program by itself, though it contains information on 2 of the TWL-TS boards.
<br><br>
<div class="code-div"><TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0><TR><TD><PRE>
TWL-TS ID: K00A317
ConsoleID: 08A1080105112134
Serials: TJN563204020
TEN563204020
TAN563204020
TN563204020

TWL-TS ID: K00A319
ConsoleID: 08A1080105112122
Serials: TJN353890334
TEN353890334
TAN353890334
TN353890334
</TD></TR></TABLE></div>
20 changes: 20 additions & 0 deletions dsidev/copy_dst.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
layout: devinfo
app: copy_dst
altname: RepaireToolRESTORE
category: [TwlIPL test]
catdesc: [A collection of tests used in the development of the DSi. Many of these are internal equivalents to TWL EVA's tests.]
sequence: FALSE
group: true
---
<b>Repaire Tool RESTORE</b> is used to restore the NAND from SD backups made by <a href="/dsidev/copy_org.html">Repaire Tool BACKUP</a>. The process is as follows:
<ul>
<li>Restore RTC and HWInfo</li>
<li>Restore the WiFi board firmware</li>
<li>Restore user settings</li>
<li>Restore <code>nand:/shared2/</code></li>
<li>Restore photos</li>
<li>Restore installed titles</li>
<li>Set up shop config</li>
<li>Restore saves</li>
</ul>
29 changes: 29 additions & 0 deletions dsidev/copy_org.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
---
layout: devinfo
app: copy_org
altname: RepaireToolBACKUP
category: [TwlIPL test]
catdesc: [A collection of tests used in the development of the DSi. Many of these are internal equivalents to TWL EVA's tests.]
sequence: FALSE
group: true
---
<b>Repaire Tool BACKUP</b> is a tool used to back up parts of the DSi NAND and to an SD card. In order, it will copy:
<ul>
<li>The WiFi board firmware</li>
<li>User settings</li>
<li><code>nand:/shared2/</code></li>
<li>All photos</li>
<li>All saves</li>
<li>Installed titles, and a list of them</li>
<li>RTC data and HWInfo</li>
</ul>
After the backup is done, users can run the <a href="/dsidev/copy_dst.html">Repaire Tool RESTORE</a> program to restore the SD files.
<br><br>
There were a couple photos of Repaire Tool BACKUP in the gigaleaks:
<ul>
<li><code>ctr.7z/svn/ctr_Repair/trunk/ConsoleDataMigration/documents/<a href="{{ site.imgdir }}{{ page.app }}/external/CTR用本体データ移行ツール仕様_20101221.ppt" target="_blank">CTR用本体データ移行ツール仕様_20101221.ppt</a></code></li>
</ul>
<div class="screenshot">
<a href="{{ site.imgdir }}{{ page.app }}/external/diagram.jpg" target="_blank"><img src="{{ site.imgdir }}{{ page.app }}/external/diagram.jpg"></a>
<a href="{{ site.imgdir }}{{ page.app }}/external/dsi.jpg" target="_blank"><img src="{{ site.imgdir }}{{ page.app }}/external/dsi.jpg"></a>
</div>
35 changes: 35 additions & 0 deletions dsidev/errorlogtest.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
---
layout: devinfo
app: ErrorLogTest
altname: ErrorLogTest
category: [TwlIPL test]
catdesc: [A collection of tests used in the development of the DSi. Many of these are internal equivalents to TWL EVA's tests.]
sequence: FALSE
group: true
---

<b>ErrorLogTest</b> is used to break the system menu log in <code>nand:/sys/log/sysmenu.log</code>. This is done by fulling the log with fun spam messages like shown below:<br><br>

<div class="code-div"><TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0><TR><TD><PRE>
ERRORLOG_Write( 0x80000 );
ERRORLOG_Printf( "this is overflow message!\nthis is overflow message!\nthis is overflow message!\n"
"this is overflow message!\nthis is overflow message!\nthis is overflow message!\n"
"this is overflow message!\nthis is overflow message!\nthis is overflow message!\n"
"this is overflow message!\nthis is overflow message!\nthis is overflow message!\n"
"this is overflow message!\nthis is overflow message!\nthis is overflow message!\n"
"this is overflow message!\nthis is overflow message!\nthis is overflow message!\n" );

/*
ERRORLOG_Write( (u64)0x77700040051LL );
ERRORLOG_Printf( "%d hyoooo nyoronyoro\naboooon dogaaaaaaaan", 2+5 );


ERRORLOG_Printf( "menuRedIplManager.cpp [l.73] RED FATAL 0" );
ERRORLOG_Printf( "this is too long long long long long long long long long long long long string.\n"
"this is too long long long long long long long long long long long long string.\n"
"this is too long long long long long long long long long long long long string.\n"
"this is too long long long long long long long long long long long long string.\n" );
*/

/*
</TD></TR></TABLE></div>
1 change: 1 addition & 0 deletions dsidev/f-writer.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
category: [Nitro EVA]
group: true
altname: F-WRITER
preview: /preview.png
---
F-WRITER is a factory tool used to flash DS firmware. This program is a variant of Nitro EVA. The only known F-WRITER is for Korean firmware, though versions for the World and iQue regions likely exist. It comes with the following tests:<br><br>

Expand Down
1 change: 1 addition & 0 deletions dsidev/launcher.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
layout: devinfo
app: Launcher
preview: /preview.png
---
1 change: 1 addition & 0 deletions dsidev/machinesettings.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
altname: MachineSettings
redirect_from: /dsidev/settings.html
group: true
preview: /preview.png
---
<i>The majority of this information comes from TCRF, linked <a href="https://tcrf.net/Proto:Nintendo_DSi_System_Settings">here</a>. Go check them out, they're an amazing resource.</i><br><br>
MachineSettings is a prototype version of the SystemSettings. It can be found in prototypes, development units, and in retail NANDs. The latter two console types have MachineSettings installed in the factory's <a href="/dsidev/twl_eva_pre_import.html">PRE_IMPORT</a> stage. All MachineSettings builds are missing features present in the release version such as data management, internet, and system updates.
Expand Down
1 change: 1 addition & 0 deletions dsidev/mictester.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
category: [Nitro EVA]
group: true
altname: MIC
preview: /preview.png
---
Mic Tester (also known as <b>MIC</b>) is a version of Nitro EVA used to test the DS microphone and speakers. There are two known versions of Mic Tester.
<h3>2007/05/07 (v4):</h3>
Expand Down
12 changes: 12 additions & 0 deletions dsidev/nandfirmwriter.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
layout: devinfo
app: NandFirmWriter
altname: NandFirmWriter
category: [TwlIPL test]
catdesc: [A collection of tests used in the development of the DSi. Many of these are internal equivalents to TWL EVA's tests.]
sequence: FALSE
group: true
---
<i>This is a normal application. For the ntrboot NAND Firm Writer, see <a href="/dsidev/nandfirmwriter_ntrboot.html">this page</a>.</i>
<br><br>
<b>NandFirmWriter</b> is used to install the DSi bootloader (<a href="https://docs.randommeaninglesscharacters.com/stage2.html" target="_blank">stage2</a>). The program itself isn't that interesting, though the source code in TwlIPL has <code>menu_launcher-FINALROM-2869-10333-NWD.prod.nand</code>, the 3DS TWL_FIRM's stage2.<br><br>
Loading

0 comments on commit e4416f8

Please sign in to comment.