Difference between revisions of "/shared2/sys/SYSCONF"
m (table template didn't like =) |
|||
Line 26: | Line 26: | ||
{{ 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 | | + | {{ Table/Row | IPL.SADR | BIGARRAY | 0x1007 |lots | Shop Address? Contains some region info }} |
{{ Table/Row | IPL.CB | LONG | 4 | ?? | Unknown }} | {{ Table/Row | IPL.CB | LONG | 4 | ?? | Unknown }} | ||
{{ Table/Row | IPL.PC | SMALLARRAY | 0x50 |string | Parental Control password }} | {{ Table/Row | IPL.PC | SMALLARRAY | 0x50 |string | Parental Control password }} | ||
Line 34: | Line 34: | ||
{{ Table/Row | IPL.E60 | BYTE | 1 | 0,1 | Use EuRGB60 (PAL6) }} | {{ Table/Row | IPL.E60 | BYTE | 1 | 0,1 | Use EuRGB60 (PAL6) }} | ||
|} | |} | ||
+ | |||
+ | IPL.SADR values: | ||
+ | Offset 0 is a [[Country Codes|Country Code]] and offset 1 seems to be a more localized region code. | ||
[[Category:Wii Filesystem]] | [[Category:Wii Filesystem]] |
Revision as of 02:15, 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.