mirror of
https://github.com/d0k3/GodMode9.git
synced 2025-06-26 13:42:47 +00:00
Correctly list Environmental Variables
parent
60a29384d1
commit
197bc95af3
24
Scripting.md
24
Scripting.md
@ -25,15 +25,15 @@ A short description of every command. Click on the command to go to a more detai
|
|||||||
|
|
||||||
Environmental Variables are variables that are always available, no matter what. They are determined when GodMode9 boots, and cannot be changed via scripting commands. Remember, when including a variable in a command, use `$[VAR]` where `VAR` is the name of the variable (i.e. `$[HAX]`).
|
Environmental Variables are variables that are always available, no matter what. They are determined when GodMode9 boots, and cannot be changed via scripting commands. Remember, when including a variable in a command, use `$[VAR]` where `VAR` is the name of the variable (i.e. `$[HAX]`).
|
||||||
|
|
||||||
`GM9VER` - the version of the currently running GodMode9 firm. (i.e. v5.0.0)
|
* `GM9VER` - the version of the currently running GodMode9 firm. (i.e. v5.0.0)
|
||||||
`REGION` - the region of the console's SysNAND. (can be `USA`, `EUR`, `JPN`, `KOR`, `CHN`, `TWN`, or `UNK` for unknown)
|
* `REGION` - the region of the console's SysNAND. (can be `USA`, `EUR`, `JPN`, `KOR`, `CHN`, `TWN`, or `UNK` for unknown)
|
||||||
`SERIAL` - the serial of the console's SysNAND, not including Check Digit. (i.e. `CW13701547`)
|
* `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`)
|
* `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`)
|
* `ONTYPE` (stands for Old/NewTYPE) - the console type. (`O3DS` or `N3DS`)
|
||||||
`RDTYPE` (stands for Retail/DevTYPE) - the unit type. (`retail` or `devkit`)
|
* `RDTYPE` (stands for Retail/DevTYPE) - the unit type. (`retail` or `devkit`)
|
||||||
`SYSID0` - ID0 of SysNAND.
|
* `SYSID0` - ID0 of SysNAND.
|
||||||
`EMUID0` - ID0 of EmuNAND (if available).
|
* `EMUID0` - ID0 of EmuNAND (if available).
|
||||||
`TIMESTAMP` - the current time in hhmmss format (based on RTC).
|
* `TIMESTAMP` - the current time in hhmmss format (based on RTC).
|
||||||
`DATESTAMP` - the current date in YYMMDD format (based on RTC).
|
* `DATESTAMP` - the current date in YYMMDD format (based on RTC).
|
Loading…
x
Reference in New Issue
Block a user