3
Path variables
Pk11 edited this page 2021-03-23 03:36:36 -05:00

There are four path variables that can be set by the user and used in scripts, they are:

  • %3DSX%, which should be used for downloading 3DSX files. Defaults to sdmc:/3ds
  • %FIRM%, which should be used for downloading FIRM files. Defaults to sdmc:/luma/payloads
  • %NDS%, which should be used when downloading NDS files. Defaults to sdmc:
  • %ARCHIVE_DEFAULT%, which should be used when extracting archives. Defaults to sdmc:

Example:

"Download pkmn-chest.nds (6 MiB)": [
    {
        "file": "https://github.com/Universal-Team/pkmn-chest/releases/download/v2.2/pkmn-chest.nds",
        "message": "Downloading pkmn-chest.nds...",
        "output": "%NDS%/pkmn-chest.nds",
        "type": "downloadFile"
    }
]