From e61ab8c7e789f9d58480ce2eb53d55896399ef0a Mon Sep 17 00:00:00 2001 From: SirNapkin1334 <31591796+SirNapkin1334@users.noreply.github.com> Date: Sun, 15 Apr 2018 18:30:30 -0700 Subject: [PATCH] Finish Environmental Variables subsubsection --- Scripting.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Scripting.md b/Scripting.md index 7ee53f4..72a945e 100644 --- a/Scripting.md +++ b/Scripting.md @@ -30,4 +30,10 @@ Environmental Variables are variables that are always available, no matter what. `SERIAL` - the serial of the console's SysNAND, not including Check Digit. (i.e. `CW13701547`) `GM9OUT` - the standard output path (i.e. `0:/gm9/out`) `CURRDIR` - the directory the script is running from (i.e. `0:/gm9/scripts`) -`HAX` - the exploit the system is running from (can be `ntrboot`, `sighax`, `a9lh`, or ` ` (empty, would be "")) \ No newline at end of file +`HAX` - the exploit the system is running from (can be `ntrboot`, `sighax`, `a9lh`, or ` ` (empty, would be "")) +`ONTYPE` (stands for Old/NewTYPE) - the console type. (`O3DS` or `N3DS`) +`RDTYPE` (stands for Retail/DevTYPE) - the unit type. (`retail` or `devkit`) +`SYSID0` - ID0 of SysNAND. +`EMUID0` - ID0 of EmuNAND (if available). +`TIMESTAMP` - the current time in hhmmss format (based on RTC). +`DATESTAMP` - the current date in YYMMDD format (based on RTC). \ No newline at end of file