In memory of Ben “bushing” Byer, who passed away on Monday, February 8th, 2016.

Difference between revisions of "/shared2/sys/SYSCONF"

From WiiBrew
< /shared2‎ | sys
Jump to navigation Jump to search
m (added "item")
(filled in some gaps)
Line 23: Line 23:
 
{{ Table/Header | Name | Type | Size | Values | Description }}
 
{{ Table/Header | Name | Type | Size | Values | Description }}
 
{{ Table/Row | BT.DINF | BIGARRAY | 0x460 | Bluetooth IDs | List of Wiimotes "synced" to the system }}
 
{{ Table/Row | BT.DINF | BIGARRAY | 0x460 | Bluetooth IDs | List of Wiimotes "synced" to the system }}
{{ Table/Row | BT.CDIF | ? | ? | ? | ? }}
+
{{ Table/Row | BT.CDIF | BIGARRAY | ? | ? | CDIF = "CmpDevInfo" }}
 
{{ Table/Row | BT.SENS | LONG | 4 |0-4? | Wiimote sensitivity setting }}
 
{{ Table/Row | BT.SENS | LONG | 4 |0-4? | Wiimote sensitivity setting }}
 
{{ Table/Row | BT.BAR | BYTE | 1 | 0,1 | Sensor bar position (0:bottom) }}
 
{{ Table/Row | BT.BAR | BYTE | 1 | 0,1 | Sensor bar position (0:bottom) }}
Line 34: Line 34:
 
{{ Table/Header | Name | Type | Size | Values | Description }}
 
{{ Table/Header | Name | Type | Size | Values | Description }}
 
{{ Table/Row | IPL.IDL | SMALLARRAY | 2 | 0,1;0,1 | Shutdown mode and idle LED mode }}
 
{{ Table/Row | IPL.IDL | SMALLARRAY | 2 | 0,1;0,1 | Shutdown mode and idle LED mode }}
{{ Table/Row | IPL.UPT | BYTE | 1 |2,? | Unknown }}
+
{{ Table/Row | IPL.UPT | BYTE | 1 |2,? | Update Type }}
 
{{ Table/Row | IPL.NIK | SMALLARRAY | 0x16 | utf16be string, including trailing NUL | Console Nickname }}
 
{{ Table/Row | IPL.NIK | SMALLARRAY | 0x16 | utf16be string, including trailing NUL | Console Nickname }}
 
{{ Table/Row | IPL.AR | BYTE | 1 | 0,1 | Aspect ratio setting. 0: 4:3 1: 16:9 }}
 
{{ Table/Row | IPL.AR | BYTE | 1 | 0,1 | Aspect ratio setting. 0: 4:3 1: 16:9 }}
 
{{ Table/Row | IPL.SSV | BYTE | 1 | 0,1 | Screen Saver off/on (burn-in reduction) }}
 
{{ Table/Row | IPL.SSV | BYTE | 1 | 0,1 | Screen Saver off/on (burn-in reduction) }}
 
{{ Table/Row | IPL.LNG | BYTE | 1 |0,1 | System Language, see conf.c for some values }}
 
{{ Table/Row | IPL.LNG | BYTE | 1 |0,1 | System Language, see conf.c for some values }}
{{ Table/Row | IPL.SADR | BIGARRAY | 0x1007 |lots | Shop Address? Contains some region info }}
+
{{ Table/Row | IPL.SADR | BIGARRAY | 0x1007 |lots | "Simple Address" Contains some region info }}
{{ Table/Row | IPL.CB | LONG | 4 | ?? | Counter Bias (?) }}
+
{{ Table/Row | IPL.CB | LONG | 4 | ?? | Counter Bias -- difference between RTC and local time, in seconds }}
 
{{ Table/Row | IPL.PC | SMALLARRAY | 0x50 |string | Parental Control password/setting }}
 
{{ Table/Row | IPL.PC | SMALLARRAY | 0x50 |string | Parental Control password/setting }}
{{ Table/Row | IPL.CD | BOOL | 1 |bool | Unknown }}
+
{{ Table/Row | IPL.CD | BOOL | 1 |bool | Config Done flag -- has initial setup been performed?}}
{{ Table/Row | IPL.CD2 | BOOL | 1 | bool | Unknown2 }}
+
{{ Table/Row | IPL.CD2 | BOOL | 1 | bool | Config2 Done flag -- has network setup been performed?}}
 +
{{ Table/Row | IPL.EULA | BOOL | 1 |bool | EULA Done flag -- has EULA been acknowledged?}}
 
{{ Table/Row | IPL.PGS | BYTE | 1 | 0,1 | Use Progressive Scan }}
 
{{ Table/Row | IPL.PGS | BYTE | 1 | 0,1 | Use Progressive Scan }}
 
{{ Table/Row | IPL.E60 | BYTE | 1 | 0,1 | Use EuRGB60 (PAL6) }}
 
{{ Table/Row | IPL.E60 | BYTE | 1 | 0,1 | Use EuRGB60 (PAL6) }}
 
{{ Table/Row | IPL.SND | BYTE | 1 | 0-2 | Sound setting }}
 
{{ Table/Row | IPL.SND | BYTE | 1 | 0-2 | Sound setting }}
 
{{ Table/Row | IPL.DH | BYTE | 1 | ? | Display Offset (Horiz) }}
 
{{ Table/Row | IPL.DH | BYTE | 1 | ? | Display Offset (Horiz) }}
{{ Table/Row | IPL.INC | ? | ? | ? | ? }}
+
{{ Table/Row | IPL.INC | LONG | 4 | ? | "Installed Channel App Count" }}
 
{{ Table/Row | IPL.ARN | ? | ? | ? | ? }}
 
{{ Table/Row | IPL.ARN | ? | ? | ? | ? }}
{{ Table/Row | IPL.FRC | ? | ? | ? | Friend code? }}
+
{{ Table/Row | IPL.FRC | LONG | 4 | ? | "Free Channel App Count" }}
 
|}
 
|}
 
IPL.SADR values:
 
IPL.SADR values:
Line 66: Line 67:
 
{{ Table/Row | NET.CNF | ? | ? | ? | ? }}
 
{{ Table/Row | NET.CNF | ? | ? | ? | ? }}
 
{{ Table/Row | NET.CFG | ? | ? | ? | ? }}
 
{{ Table/Row | NET.CFG | ? | ? | ? | ? }}
{{ Table/Row | NET.WCFG | ? | ? | ? | ? }}
+
{{ Table/Row | NET.CTPC | LONG | 4 | ? | Net Content Restrictions ("Content Parental Control"?)}}
 +
{{ Table/Row | NET.WCFG | LONG | 4 | ? | WC24 Configuration flags }}
 
|}
 
|}
 
[[Category:Wii Filesystem]]
 
[[Category:Wii Filesystem]]

Revision as of 11:15, 26 August 2008

The SYSCONF contains many Wii system settings.

The format of the file is fairly simple. Its size is 0x4000, and it contains a header that reads "SCv0", followed by the number of settings in the file (be u16), and then a list of offsets of each setting (be u16). Each setting (aka "Item") contains first a u8, specifying the type of the value, and the length of the name. The low-order 5 bits specify the length of the name, minus one. The high-order three bits specify the type of the value, as given by the table below. This is followed by a name, in ASCII, then a value. In the case of a BIGARRAY, the value begins with a be u16 specifying the length of the data, in bytes, which follows. In the case of a SMALLARRAY, the value begins with a u8 specifying the length.

Conventions for adding or removing settings to the file are currently unknown, but shouldn't be too hard to determine--although that's not necessarily a useful function.

Types

Template:Table Template:Table/Header Template:Table/Row Template:Table/Row Template:Table/Row Template:Table/Row Template:Table/Row Template:Table/Row Template:Table/Row |}

Some settings from the file:

BT Settings

Template:Table Template:Table/Header Template:Table/Row Template:Table/Row Template:Table/Row Template:Table/Row Template:Table/Row Template:Table/Row |}

IPL Settings

Template:Table Template:Table/Header Template:Table/Row Template:Table/Row Template:Table/Row Template:Table/Row Template:Table/Row Template:Table/Row Template:Table/Row Template:Table/Row Template:Table/Row Template:Table/Row Template:Table/Row Template:Table/Row Template:Table/Row Template:Table/Row Template:Table/Row Template:Table/Row Template:Table/Row Template:Table/Row Template:Table/Row |} IPL.SADR values: Offset 0 is a Country Code and offset 1 seems to be a more localized region code.

Misc Settings

Template:Table Template:Table/Header Template:Table/Row Template:Table/Row Template:Table/Row Template:Table/Row Template:Table/Row Template:Table/Row Template:Table/Row Template:Table/Row Template:Table/Row Template:Table/Row |}