mirror of
https://github.com/PabloMK7/citra.git
synced 2025-11-03 15:18:47 +00:00
To obtain the data, the LLEd mii selector of system version 11.8.0 was used.
In AppletManager::GlanceParameter, the following code was added to write the returned buffer data to a file:
if (parameter.buffer.size() == 132) {
std::u16string name(10, '\0');
std::memcpy(name.data(), parameter.buffer.data() + 0x26, 10 * sizeof(u16));
name = std::u16string(name.data());
FileUtil::IOFile file{fmt::format("{}.mii", Common::UTF16ToUTF8(name)), "wb"};
file.WriteBytes(parameter.buffer.data(), parameter.buffer.size());
}
Then "xxd -i" was used on the file to convert it to a hex array.
|
||
|---|---|---|
| .. | ||
| applet.cpp | ||
| applet.h | ||
| erreula.cpp | ||
| erreula.h | ||
| mii_selector.cpp | ||
| mii_selector.h | ||
| mint.cpp | ||
| mint.h | ||
| swkbd.cpp | ||
| swkbd.h | ||