Finish Environmental Variables subsubsection

SirNapkin1334 2018-04-15 18:30:30 -07:00
parent fd95b13b9e
commit e61ab8c7e7

@ -31,3 +31,9 @@ Environmental Variables are variables that are always available, no matter what.
`GM9OUT` - the standard output path (i.e. `0:/gm9/out`) `GM9OUT` - the standard output path (i.e. `0:/gm9/out`)
`CURRDIR` - the directory the script is running from (i.e. `0:/gm9/scripts`) `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 "")) `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).