Difference between revisions of "/shared2/sys/SYSCONF"
(Added some initial values. Will add more.) |
m |
||
Line 13: | Line 13: | ||
{{ 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) }} | ||
− | {{ Table/Row | BT.SPKV | BYTE | varies | Wiimote speaker volume }} | + | {{ Table/Row | BT.SPKV | BYTE | 1 |varies | Wiimote speaker volume }} |
− | {{ Table/Row | BT.MOT | BYTE | 0,1 | Wiimote motor on/off }} | + | {{ Table/Row | BT.MOT | BYTE | 1 |0,1 | Wiimote motor on/off }} |
|} | |} | ||
Revision as of 20:35, 1 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 |}