The following section describes a feature that is experimental. This functionality conforms to the current NDP authentication method, and its availability cannot be guaranteed when the authentication method or something else has been changed. Use at your own discretion.
Under certain circumstances, it is desirable to avoid the NDID OAuth Popup window that prompts the user for their credentials. This would be particularly useful when automating an environment installation in a continuous integration environment and human intervention is either not practical or entirely not possible. Use the following instructions to configure NDICmd to use this feature.
Locate the NDIGlobalConfiguration.config file in the installation directory (ex: %PROGRAMFILES%\Nintendo\Nintendo Dev Interface). Open the XML file with a text editor.
Under the serverConfiguration/servers
element, add a new element as follows:
<add name="Nintendo Developer Portal (NO-POPUP)" uri="https://developer.nintendo.com/mugen/start" authenticationMode="OAuthEx"/> |
The name
attribute can be arbitrary so long as it exists and does not duplicate another name in the list. The uri
and authenticationMode
attributes must match exactly.
Save NDIGlobalConfiguration.config.
In NDICmd, you must configure NDICmdGS.json (ex: %localappdata%\Nintendo\NDI) to login to the new server using your NDID account. Please replace UserName and NonInteractivePassword accordingly.
{ "KeepFilesInCache": true, "SchemaVersion": 1, "SecondsBeforeTimeout": 150, "Login": { "ServerID": "Nintendo Developer Portal (NO-POPUP)", "DataLocale": "en", "UserName": "ndpuser", "NonInteractivePassword": "YourPassword", "SavePassword": true, "Retries": 3 }, "RemoveGlobalsAfterLastEnv": true, "StopOnFirstInstallFailure": false, "DownloadCachePath": null, "DefaultEnvironment": { "RootDir": "C:\\Nintendo", "Name": "TestEnvironment" }, "DefaultDevkit": { "Platform": null, "Identifier": null } } |
By embedding an unencrypted password in a file, the NDP account may be compromised if the file is obtained maliciously. If you cannot tolerate such risks, please use NDI. NDI encrypts stored passwords.
CONFIDENTIAL