Skip to content

Instantly share code, notes, and snippets.

@shchmue
Last active May 27, 2024 18:56
Show Gist options
  • Save shchmue/be86fbd7ebe8a0b4693f62acb40c279a to your computer and use it in GitHub Desktop.
Save shchmue/be86fbd7ebe8a0b4693f62acb40c279a to your computer and use it in GitHub Desktop.
Descriptions and types of contents in Settings saves for the Nintendo Switch.
Updated as of firmware 16.0.0.
All values except firmware versions and floats are hex.
Field names are either official symbols or derived from the name of the accessor/mutator function.
Firmware version information for each field is not indicated but likely maps neatly to the firmware versions in which accessor/mutator functions for the given field were introduced. See: https://switchbrew.org/wiki/Settings_services
PrivateSettings 8000000000000052
offset size type/name default
0 10 GAP
10 20 nn::settings::system::InitialLaunchSettings 0
50 10 nn::util::Uuid ExternalSteadyClockSourceId 0,0
60 8 long ShutdownRtcValue 0
68 8 long ExternalSteadyClockInternalOffset 0
d0 4 nn::settings::system::PlatformRegion 0
SystemSettings 8000000000000050
offset size type/name default
0 4 version 0/unwritten (1.0.0), 0x20000 (2.0.0), 0x30000 (3.0.0-3.0.1), 0x40001 (4.0.0-4.1.0), 0x50000 (5.0.0-5.1.0), 0x60000 (6.0.0-6.2.0), 0x70000 (7.0.0), 0x80000 (8.0.0-8.1.1), 0x90000 (9.0.0-10.0.4), 0x100100 (10.1.0+), 0x120000 (12.0.0-12.1.0), 0x130000 (13.0.0-13.2.1), 0x140000 (14.0.0+)
4 4 flags 0/unwritten (1.0.0), 1 (6.0.0-8.1.0), 2 (8.1.1), 7 (9.0.0+). if (flags & 2), defaults are written for AnalogStickUserCalibration
10 8 nn::settings::LanguageCode 0
18 38 GAP
50 4 nn::settings::system::NetworkSettings count<=20 1
54 4 bool WirelessLanEnableFlag 1
60 400*20 nn::settings::system::NetworkSettings 1B0 "default-ethernet", ...
8060 4 nn::settings::system::BluetoothDevicesSettings count<=A 0
8064 1 bool BluetoothEnableFlag 1
8068 4 bool BluetoothAfhEnableFlag 1
806C 4 bool BluetoothBoostEnableFlag 0
8070 200*A nn::settings::system::BluetoothDevicesSettings first A n/a
9470 4 int LdnChannel -1
9474 3C GAP
94B0 10 nn::util::Uuid MiiAuthorId rand
94C0 30 GAP
94F0 4 nn::settings::system::NxControllerSettings count<=A 0
9500 40*A nn::settings::system::NxControllerSettings size 29 (nn::settings::system::NxControllerLegacySettings on 13.0.0+)
9780 170 GAP
98F0 4 bool ExternalRtcResetFlag 0
98F4 3C GAP
9930 4 int PushNotificationActivityModeOnSleep 0
9934 3C GAP
9970 4 int nn::settings::system::ErrorReportSharePermission 0
9974 3C GAP
99B0 4 nn::settings::KeyboardLayout 0x80000000
99B4 3C GAP
99F0 4 bool WebInspectorFlag 0
99F4 4 nn::settings::system::AllowedSslHost count<=8 0
99F8 4 bool MemoryUsageRateFlag 0
98FC 34 GAP
9A30 100 nn::settings::system::HostFsMountPoint 0..0 * 100
9B30 100*8 nn::settings::system::AllowedSslHost
A330 6C0 GAP
A9F0 4 nn::settings::system::BlePairingSettings count<=A 0
AA00 80*A nn::settings::system::BlePairingSettings
AF00 4 nn::settings::system::AccountOnlineStorageSettings cnt<=8 0
AF10 40*8 nn::settings::system::AccountOnlineStorageSettings 18
B110 4 bool PctlReadyFlag 0
B114 3C GAP
B150 80 nn::settings::system::ThemeId type0 0..0 * 80
B1D0 80 nn::settings::system::ThemeId type1 0..0 * 80
B250 100 GAP
B350 4 int nn::settings::ChineseTraditionalInputMethod 0
B354 3C GAP
B390 4 bool ZoomFlag 0
B3D0 4 nn::settings::system::ButtonConfigRegisteredSettings count 0
B3E0 4 nn::settings::system::ButtonConfigSettings full count 0
B3E8 5A8*5 nn::settings::system::ButtonConfigSettings full
E3E0 4 nn::settings::system::ButtonConfigSettings embedded count 0
E3E8 5A8*5 nn::settings::system::ButtonConfigSettings embedded
113E0 4 nn::settings::system::ButtonConfigSettings left count 0
113E8 5A8*5 nn::settings::system::ButtonConfigSettings left
143E0 4 nn::settings::system::ButtonConfigSettings right count 0
143E8 5A8*5 nn::settings::system::ButtonConfigSettings right
1D3E0 5C8 nn::settings::system::ButtonConfigRegisteredSettings embedded 0..0
1D9A8 5C8*A nn::settings::system::ButtonConfigRegisteredSettings
29370 C nn::settings::system::ConsoleSixAxisSensorAccelerationBias 0
2937C C nn::settings::system::ConsoleSixAxisSensorAngularVelocityBias 0
29388 24 nn::settings::system::ConsoleSixAxisSensorAccelerationGain 1.0, 0,0,0, 1.0, 0..., 1.0
293AC 24 nn::settings::system::ConsoleSixAxisSensorAngularVelocityGain 1.0, 0,0,0, 1.0, 0..., 1.0
293D0 C nn::settings::system::ConsoleSixAxisSensorAngularVelocityTimeBias 0,0
293DC 24 nn::settings::system::ConsoleSixAxisSensorAngularAcceleration 1.0, 0, 1.0, 0, 1.0
29400 70 GAP
29470 1 bool LockScreenFlag 1
29478 4 int ColorSetId 0
2947C 4 bool QuestFlag 0
29480 4 nn::settings::system::RegionCode 0x80000000
29484 1C nn::settings::system::InitialLaunchSettings packed 0..0
294A0 4 bool BatteryPercentageFlag 0
294A4 4 BitFlagSet<32, nn::settings::system::AppletLaunchFlag> 0
294A8 8 nn::settings::system::ThemeSettings 0
294B0 10 nn::fssystem::ArchiveMacKey ThemeKey 0
294C0 1 bool FieldTestingFlag 0
294C4 4 int PanelCrcMode 0
294F0 2C nn::settings::system::BacklightSettings mixed up
2951C 64 GAP
29580 20 nn::time::SystemClockContext UserSystemClockContext 0..0
295A0 20 nn::time::SystemClockContext NetworkSystemClockContext 0..0
295C0 4 bool UserSystemClockAutomaticCorrectionEnabled 1
295C8 18 nn::time::SteadyClockTimePoint UserSystemClockAutomaticCorrectionUpdatedTime 0,0,0
295E0 10 GAP
295F0 4 u32 nn::settings::system::AccountSettings 0
295F4 FC GAP
296F0 8 nn::settings::system::AudioVolume type0 0,A
296F8 8 nn::settings::system::AudioVolume type1 2,7
29700 4 int nn::settings::system::AudioOutputMode type0 1
29704 4 int nn::settings::system::AudioOutputMode type1 1
29708 4 int nn::settings::system::AudioOutputMode type2 1
2970C 4 bool ForceMuteOnHeadphoneRemoved 1
29710 4 int HeadphoneVolumeWarningCount 0
29714 4 bool HeadphoneVolumeUpdateFlag 1
29718 4 nn::settings::system::AudioVolume type2 0,8
29720 4 int nn::settings::system::AudioOutputMode type3 1
29724 4 int nn::settings::system::AudioOutputMode type4 1
29728 1 bool HearingProtectionSafeguardFlag 1
2972C 4 GAP
29730 8 long HearingProtectionSafeguardRemainingTime 72000000000000
29738 38 GAP
29770 4 bool ConsoleInformationUploadFlag 0
29774 3C GAP
297B0 4 bool AutomaticApplicationDownloadFlag 0
297B8 18 nn::settings::system::NotificationSettings 303, 2, <9, 0>, <15, 0>
297D0 60 GAP
29830 4 nn::settings::system::AccountNotificationSettings cnt<=8 0
29840 40*8 nn::settings::system::AccountNotificationSettings 18
29A40 4 float VibrationMasterVolume 1.0
29A44 4 bool UsbFullKeyEnableFlag 0
29A48 10 nn::settings::system::AnalogStickUserCalibration L 0..0
29A58 10 nn::settings::system::AnalogStickUserCalibration R 0..0
29A68 4 int nn::settings::system::TouchScreenMode 1
29A80 4 nn::settings::system::TvSettings.tv_resolution 0
29A84 4 nn::settings::system::TvSettings.hdmi_content_type 4
29A88 4 nn::settings::system::TvSettings.rgb_range 0
29A8C 4 nn::settings::system::TvSettings.cmu_mode 0
29A90 4 nn::settings::system::TvSettings.underscan 0
29A94 4 nn::settings::system::TvSettings.gamma 1.0
29A98 4 nn::settings::system::TvSettings.contrast 0.5
29A9C 4 nn::settings::system::TvSettings.flags C
29AA0 100 nn::settings::system::Edid 0..0 * 100
29BA0 2E0 GAP
29E80 8 nn::settings::system::DataDeletionSettings 0,0
29E88 38 GAP
29EC0 8 nn::ncm::ProgramId InitialSystemAppletProgramId 0
29EC8 8 nn::ncm::ProgramId OverlayDispProgramId 0
29ED4 1 bool RequiresRunRepairTimeReviser 0
29ED5 6B GAP
29F40 24 nn::time::LocationName "UTC"
29F68 18 nn::time::SteadyClockTimePoint DeviceTimeZoneLocationUpdatedTime 0,0,0
29F80 C0 GAP
2A040 4 int nn::settings::system::PrimaryAlbumStorage 1
2A044 3C GAP
2A080 4 bool Usb30EnableFlag 0
2A084 4 bool Usb30HostEnableFlag 0
2A088 4 bool Usb30DeviceEnableFlag 0
2A08C 34 GAP
2A0C0 4 bool NfcEnableFlag 1
2A0C4 3C GAP
2A100 C nn::settings::system::SleepSettings 3,3,0
2A10C 34 GAP
2A140 4 nn::settings::system::EulaVersion count <=20 0
2A150 18*20 nn::settings::system::EulaVersion
2A450 500 GAP
2A950 80 nn::settings::system::DeviceNickName 0..0 * 80
2A9D0 80 GAP
2AA50 4 AutoUpdateEnableFlag 1
2AA54 4C GAP
2AAA0 200*E nn::settings::system::BluetoothDevicesSettings last E n/a
2E6A0 800*A nn::settings::system::NxControllerSettings data from offset 30-42C
DeviceSettings 8000000000000053
offset size type/name default
0 10 GAP
10 18 nn::settings::BatteryLot PtmBatteryLot 0,0,0
28 18 nn::settings::system::PtmFuelGaugeParameter 0,0,0
40 1 unsigned char PtmBatteryVersion 0
44 4 nn::settings::system::PtmCycleCountReliability 0
90 10 nn::settings::system::AnalogStickUserCalibration L 0, 0, 0, 0, 0, 0x10, 0, 0x10, 0, 8, 0, 8, 0, 0, 0, 0
A0 10 nn::settings::system::AnalogStickUserCalibration R 0, 0, 0, 0, 0, 0x10, 0, 0x10, 0, 8, 0, 8, 0, 0, 0, 0
D0 C nn::settings::system::ConsoleSixAxisSensorAccelerationBias 0
DC C nn::settings::system::ConsoleSixAxisSensorAngularVelocityBias 0
E8 24 nn::settings::system::ConsoleSixAxisSensorAccelerationGain 1.0, 0,0,0, 1.0, 0..., 1.0
10C 24 nn::settings::system::ConsoleSixAxisSensorAngularVelocityGain 1.0, 0,0,0, 1.0, 0..., 1.0
130 C nn::settings::system::ConsoleSixAxisSensorAngularVelocityTimeBias 0,0
13C 24 nn::settings::system::ConsoleSixAxisSensorAngularAcceleration 1.0, 0, 1.0, 0, 1.0
ApplnSettings 8000000000000054
offset size type/name default
0 10 GAP
10 10 nn::util::Uuid MiiAuthorId copied from system 94B0 rand
50 4 nn::settings::system::ServiceDiscoveryControlSettings 0
74 4 bool InRepairProcessEnableFlag 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment