Config

Overview

Config is a configuration program for CTR that can be used for things such as calibrating the touch panel and Circle Pad, and for setting the system clock.

How to Use

Button Operation
↑↓ Navigate menu
A Select / Run
B Back / Cancel

Reset Setting

Initializes all settings. Settings are reset to their initial (default) values on the next reboot.
On first startup, initialize the settings and then configure them as needed.

Button Operation
X Run
B Cancel

The following settings are initialized:

Hid Setting

Calibrates the touch panel and Circle Pad.

Button Operation
A Run
B Back / Cancel

Touch Panel

To calibrate the touch panel, use the stylus to touch the + marks in sequence on the lower screen. Touch the + mark twice to complete the calibration process and save the calibrated settings.

Circle Pad

To calibrate the Circle Pad, slowly move the pad around in the biggest circle possible. Finally, press the A Button to complete the calibration process and save the calibrated settings.
If you move the Circle Pad too quickly or if the circle motion is not complete, calibration will fail.

RTC Setting

Configures the system clock. Time can be set in range of the years 2000 to 2050.

Button Operation
←→ Move between settings
↑↓ Adjust date and time
A Set
B Cancel

Raw RTC Setting

Changes the system clock without affecting the RTC offset value.

If the nn::cfg::CTR::GetUserTimeOffset function is being used in the application to detect whether the user has changed the system clock, this provides a way of changing the system clock without the application knowing. When you change the RtcRaw value, the system clock also gets changed by that same amount. So, for example, if you advance the RtcRaw value ahead by one year, the system clock also gets advanced by one year.
The time of the system clock after the change is shown in the Rtc item.

The RtcRaw value can be set in the range of years 2001 to 2050.
When checking the setting, note that the system clock must be in the range of 2000 to 2050.

Button Operation
←→ Move between settings
↑↓ Adjust date and time
A Set
B Cancel

LCD Setting

Configures the LCD flicker adjustment and backlight settings.

Button Operation
↑↓ Move between settings / Change setting values
A Select
B Back

Flicker Setting

Displays a calibration image (vertical black and white stripes) covering the entire screen that you want to calibrate. Adjust the value so that the calibration image does not flicker. If the image appears to flicker, the flicker setting needs adjustment.

Active Backlight Setting

Enables/disables the active backlight.

Luminance Level Setting

Sets screen brightness to one of five levels. The larger the number, the brighter the setting.

User Info Setting

Configures the user information.

Button Operation
↑↓ Move between settings / Change setting values
A Select / Confirm
B Back / Cancel
Touch Panel User name input

User Name

User Name

Allows you to input a user name via a software keyboard. Only single-byte alphanumeric characters can be entered and displayed.

NG User Name Flag Setting

Toggles the user name profanity flag.

SimpleAddress Setting

Country Setting

Select the country ID from the set list of country IDs for regions.
In addition to the country IDs defined for each region, you can also set an undefined ID (255).
Make sure to refer to and follow the guidelines when testing with undefined IDs.

Region Setting

For the region ID, select a value between 0 and 255.
0 indicates that no region has been selected. 1 indicates that no selectable region exists.
All other values indicate that a specific region has been selected in the system settings.
If the ID is for an existing region, the ID and the region name are shown together.
"Undefined" is displayed for the ID where the regions do not exist (undefined ID.)
Make sure to refer to and follow the guidelines when testing with undefined IDs.

Other Settings

Configures other settings.

Button Operation
↑↓ Move between settings / Change setting values
A Select
B Back

Sound Setting

You can select monaural, stereo, or 3D surround sound for the sound output mode.

System Mode Setting

Configures the memory size.

You can switch the debugger between prod, dev1, and dev2 as needed.
Do not use any other settings unless instructed to do so.
Also, you cannot use any settings other than prod and dev2 on the development hardware or capture units.

prod uses 64 MB of memory, which is the same as the retail product.
dev1 uses 96 MB of memory, which is the size allotted for development.

dev2 uses 80 MB of memory, which is the size allotted for development.
If anything other than prod or dev2 is selected, menu settings are automatically changed to test menu.

Exception Handling Setting

Selects whether to enable or disable the application's handling of exceptions that arise in the non-debug environment.

Use the nn::os::SetUserExceptionHandler function to handle exceptions in the application.
If the application is not set to handle exceptions, the application quits when an exception occurs.

Break Setting

Selects whether to enable or disable stopping the application when a break is encountered in the non-debug environment.
If the application is not made to stop, it quits on a break.

Menu Settings

Select either home menu or test menu for the menu to be started.
If HOME Menu is selected, the system mode is automatically changed to prod or dev2.

Language Settings

Set the language to one of the languages available for the given region.
The invalid setting is an invalid language code. Applications must operate normally even with this language setting.
Note: If an invalid language is selected, some of the application features other than starting the application from the HOME Menu may not operate correctly.

Download Play Debug Settings

Select enable or disable to enable and disable Download Play debugging features.
After selecting enable, you can use the following debugging features.

Debugging Mode Setting

Select enable or disable to enable and disable debugging functions.
Debugging is always disabled for retail products.

This setting affects the following functions.

The impact of the setting varies depending on the function. For more details, see the specific function references.
Unless otherwise noted, the functions operate when set to enable and do nothing when set to disable.

FS Latency Emulation Settings

Sets the delay time that is applied each time FS access occurs.
The behavior that occurs when there is a conflict between background FS access (such as with BOSS and FS access) in the application can be emulated.
The nn::fs::InitializeLatencyEmulation function must be called to enable this feature.
The specified delay time is routinely applied each time the FS is accessed. (No delay occurs when it is set to 0 ms.)
The recommended delay value is 700 ms.

Also, if the debugging mode is enabled, a random delay will occur in addition to the routine delay specified with this setting.
For more information, see the nn::fs::InitializeLatencyEmulation function reference.

COPPACS Settings

This feature configures the COPPACS settings.
The COPPACS settings are only enabled for software for the Americas region, and when the country in System Settings is set to the US or Canada. You can change this setting to change the nn::cfg::CTR::GetCoppacsRestriction function's return value as shown below.

Settings Corresponding Return Values
"not restricted" CFG_COPPACS_RESTRICTION_NONE
"need pin code" CFG_COPPACS_RESTRICTION_NEED_PARENTAL_PIN_CODE
"need auth" CFG_COPPACS_RESTRICTION_NEED_PARENTAL_AUTHENTICATION

You cannot select the "need pin code" setting when Parental Controls have not been configured in the System Settings.

Test Setting

Tests the calibration and checks the settings.

Button Operation
A Start
B Exit

EULA Setting

Configures the EULA settings.

Button Operation
↑↓ Move between settings / Change setting values
A Select / Confirm
B Exit

Stereo Camera Cal for Check

Checks the behavior of applications that use the stereo camera by rewriting and writing back some of the calibration values.

Setting

The following checks are supported. The check method is described later.

Description of Check Setting Displayed in Tool
Checks whether calibration data are used. Set strange data 1
Set strange data 2
Set strange data 3
Set strange data 4
Checks whether edge of screen is cut off in display with calibration limit values. Set limit value 1
Set limit value 2
In addition to the above, there is also the Reset to factory default item for resetting the rewritten calibration value.

How to Use

Select one item from among the settings shown in the Please select box in the lower screen.

Button Operation
↑↓ Move between settings
A Select / Confirm
B Exit

If you press the A Button and then successfully rewrite the calibration value, the word Success will display in the Result box in the lower screen. If the process fails, Failure will display.

The calibration values that are the targets of change are displayed in the bottom part of the lower screen as Current (for the current value) and After setting (for the value after rewriting). If the rewrite is successful, the current value will be updated.

Check Method

To check whether calibration data are used

The following table shows the correspondences between the setting item and the calibration value that is changed.

Setting NameAppearance on the ToolScaleRotationZTranslationXTranslationYAngleOfViewRightAngleOfViewLeft
Invalid Value 1Set strange data 1Factory default valueFactory default valueFactory default value27.0Factory default valueFactory default value
Invalid Value 2Set strange data 2Factory default value5.0Factory default valueFactory default valueFactory default valueFactory default value
Invalid Value 3Set strange data 31.5Factory default valueFactory default valueFactory default valueFactory default value105.0
Invalid Value 4Set strange data 40.66Factory default valueFactory default valueFactory default value105.0Factory default value

Set any of Invalid Value 1, Invalid Value 2, Invalid Value 3, or Invalid Value 4 and close the tool. Next, start the application, go to a scene captured with the stereo camera, and confirm whether the positional relationship between the subjects in the left and right camera images is as indicated in the guidelines.

If the positional relationship between the subjects is as indicated in the guidelines, the calibration data is being used properly. If not, or if there is no change in the positional relationship between the subjects, the calibration data is not being used properly.

The calibration data values will no longer correspond to the cameras' actual physical relative positions. For this reason, the check described lets you verify the positional relationship between the subjects without the need to check whether stereoscopic display is working correctly.

To check whether edge of screen is cut off in display with calibration limit values

The following table shows the correspondences between the setting item and the calibration value that is changed.

Setting NameAppearance on the ToolScaleRotationZTranslationXTranslationYAngleOfViewRightAngleOfViewLeft
Limit value 1Set limit value 10.9650.75-123.0-30.266.064.3
Limit value 2Set limit value 20.965-0.75-123.030.268.766.0

Set limit value 1 or limit value 2 and then quit the tool. Now launch the application, move to a scene captured with the stereo camera, and check whether display shows without being cut off at the screen edge.

If limit value 1 or limit value 2 has been set, the calibration data values will no longer correspond to the camera's actual physical relative position. For this reason, the check described lets you verify whether edge of screen is cut off without the need to check whether stereoscopic vision is working correctly.

Conduct the above-described check using both limit value 1 and limit value 2.

On the selection screen, you can display the special settings items Set special limit value 1 and Set special limit value 2 by pressing the X Button while pressing Right on the +Control Pad. When either of these is selected, you can set a value larger than the calibration limit value. Use these settings when it is difficult to determine whether your application is behaving normally using the limit values as set forth in the Nintendo guidelines, or when you want to see how the application behaves when you intentionally set values greater than the limit values. You do not need to use these settings to check whether edge of screen is cut off.

Reset calibration value

After completing the check, select Reset to factory default so the calibration value is once again correctly associated with the camera's actual physical relative position.

Depending on the situation, use the System Settings application to make adjustments to the calibration data.

Gyro/Accel Cal for Check

Rewrites and restores the gyro sensor and accelerometer calibration values.

Button Operation
↑↓ Move between settings
←→ Switches the gyro sensor / accelerometer settings.
LR Batch-changes settings.
L/R + X Batch-change the gyro sensor's RPM 0 item and the accelerometer's Offset item.
L/R + Y Batch-change the gyro sensor's RPM Sensitivity item and the accelerometer's Scale item.
A Select / Confirm
B Exit

CTR Info Setting

Reads a settings file from an SD Card and uses this to configure the owner information, EULA, and Parental Controls.

Button Operation
←→ Switches the Result display pages.
A Confirm
B Back
The settings file (ctrsetting.txt) is located in the $CTR-SDK/resources/configtool/ directory.
Place the settings file in the root directory of an SD Card and insert that card into the system.
Confirm that the lower screen shows Set Ctr Setting and press the A Button to begin configuration.

About the Settings File

Do not change the name of the settings file. Any change to the format of the settings file prevents proper configuration.

Result Display

Once configuration completes, the results are displayed on the lower screen. [o] : Configuration completed normally.
[x] : The system could not be configured, possibly because the information in the settings file was invalid.
[-] : The settings file did not contain a value specification for the particular item.

Revision History

2012/06/04
Added the description for the System Mode Setting.
2012/05/02
Added a note about the warning message display flag.
2012/04/16
Added a description about the FS Latency Emulation setting.
2012/02/02
Added description about the SimpleAddress settings.
Deleted the section about country settings. (Combined it into the section about SimpleAddress settings.)
2012/01/24
Added description about RawRtc settings.
2011/12/12
Added a description of the dev2 system mode setting and changed limitations on the setting range.
Deleted text about COPPACS.
2011/11/01
Revised the description of COPPACS settings.
2011/10/19
Added description specific to country setting.
Added description specific to COPPACS.
2011/08/30
Added description about COPPACS configuration.
Revised description of Download Play debug settings.
2011/07/30
Added details about the Stereo Camera Cal for Checksettings.
2011/07/26
Revised the description of operations of the Gyro/Accel Cal for Check settings.
2011/06/06
Listed the items that are initialized by ResetSetting.
2011/03/29
Revised description of language-setting limitations.
2011/03/28
Added functions affected by debug setting.
2011/03/09
Added a description of debugging settings.
2011/03/03
Added a description of language settings.
2011/02/02
Added a description of menu settings.
2010/12/22
Added a description to the Gyro/Accel Cal for Check settings.
2010/11/01
Added descriptions for the Exception Handling and Break settings.
2010/10/26
Added a description of the "Forced Import of Download Play Children" setting.
Added a description of the System Mode setting.
2010/09/17
Added a description to CTR Info Setting.
2010/08/25
Added a description to Stereo Camera Cal for Check.
2010/08/03
Added a description of the EULA Setting.
2010/07/22
Added descriptions of the Sound and System Mode settings.
2010/06/16
Added descriptions of the User Info Setting, Flicker Setting, Active Backlight Setting, Luminance Level Setting, and Sound Setting.
2010/04/12
Initial version.

CONFIDENTIAL