Difference between revisions of "/title/00000001/00000002/data/setting.txt"
m (→AREA: added the (presumed) information found form the friend code experiments) |
m (→AREA: format error) |
||
Line 7: | Line 7: | ||
This seems to correlate to the system menu region (The letter that appears after the system menu version), enumerated in the following way:{{check}} | This seems to correlate to the system menu region (The letter that appears after the system menu version), enumerated in the following way:{{check}} | ||
− | + | * Japan ("J") = 0,{{Ref|https://github.com/GaryOderNichts/vWii-Decaffeinator/blob/master/src/main.h}} | |
− | + | * USA ("U") = 1,{{Ref|https://github.com/GaryOderNichts/vWii-Decaffeinator/blob/master/src/main.h}} | |
− | + | * Europe ("E") = 2,{{Ref|https://github.com/GaryOderNichts/vWii-Decaffeinator/blob/master/src/main.h}} | |
− | + | * Korea ("K") = 3{{Ref|Guess and check with a friend code decoder and a Korean Wii}} | |
=== MODEL === | === MODEL === |
Revision as of 22:54, 31 May 2022
/title/00000001/00000002/data/setting.txt is an encrypted file containing console information.[1]
Fields
All fields are stored in the format KEY=value
on separate lines.
AREA
This seems to correlate to the system menu region (The letter that appears after the system menu version), enumerated in the following way:[check]
MODEL
The RVL-xxx model. Set to RVL-001 for vWii.
DVD
Unknown, possibly related to Disc Channel DVD icon?
MPCH
Unknown
CODE
Some internal console-unique number
SERNO
Serial number
VIDEO
NTSC or PAL video mode
GAME
Another region, possibly set by rgnsel?
Encryption
setting.txt is encrypted by the following symmetric algorithm:
unsigned int key = 0x73B5DBFA; int i, len; if (is_enc) { len = 256; } else { len = strlen(buf); } for(i = 0; i < len; i++) { buf_ptr[i] ^= key & 0xff; key = (key << 1) | (key >> 31); }
References
↑ 1. https://github.com/GaryOderNichts/vWii-Decaffeinator/blob/master/src/utils/setting_generator.c
↑ 2. https://github.com/GaryOderNichts/vWii-Decaffeinator/blob/master/src/main.h
↑ 3. https://github.com/GaryOderNichts/vWii-Decaffeinator/blob/master/src/main.h
↑ 4. https://github.com/GaryOderNichts/vWii-Decaffeinator/blob/master/src/main.h
↑ 5. Guess and check with a friend code decoder and a Korean Wii