Difference between revisions of "/shared2/sys/SYSCONF"
(Updated descriptions) |
|||
Line 22: | Line 22: | ||
{{ 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,? | Unknown }} | ||
− | {{ Table/Row | IPL.NIK | SMALLARRAY | 0x16 | string? | | + | {{ Table/Row | IPL.NIK | SMALLARRAY | 0x16 | string? | 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 | Shop Address? Contains some region info }} | ||
− | {{ Table/Row | IPL.CB | LONG | 4 | ?? | | + | {{ Table/Row | IPL.CB | LONG | 4 | ?? | Counter Bias (?) }} |
{{ Table/Row | IPL.PC | SMALLARRAY | 0x50 |string | Parental Control password }} | {{ Table/Row | IPL.PC | SMALLARRAY | 0x50 |string | Parental Control password }} | ||
{{ Table/Row | IPL.CD | BOOL | 1 |bool | Unknown }} | {{ Table/Row | IPL.CD | BOOL | 1 |bool | Unknown }} |
Revision as of 23:16, 15 August 2008
The SYSCONF contains many Wii system settings.
The format of the file is fairly simple. Its size is 0x4000, and tt contains a header that reads "SCv0", followed by the number of settings in the file (u16), and then a list of offsets of each setting (u16). Each setting contains first a type identifier (u8), then a name (char*), and a value (varies, based on type). libogc/marcan's conf.c contains code to parse this information.
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.
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 |}
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 |}
IPL.SADR values: Offset 0 is a Country Code and offset 1 seems to be a more localized region code.