Cabinet Applet: Difference between revisions
No edit summary |
Narr the reg (talk | contribs) No edit summary |
||
(3 intermediate revisions by one other user not shown) | |||
Line 31: | Line 31: | ||
! Offset || Size || Description | ! Offset || Size || Description | ||
|- | |- | ||
| 0x0 || 0x1 || | | 0x0 || 0x1 || Left at value 0 by sdknso. | ||
|- | |- | ||
| 0x1 || 0x1 || | | 0x1 || 0x1 || Type | ||
|- | |- | ||
| 0x2 || 0x1 || Flags | | 0x2 || 0x1 || Flags | ||
Line 41: | Line 41: | ||
| 0x4 || 0x8 || [[#AmiiboSettingsStartParam]]+0x0 | | 0x4 || 0x8 || [[#AmiiboSettingsStartParam]]+0x0 | ||
|- | |- | ||
| 0xC || 0x58 || [[NFC_services|nn::nfp::TagInfo]], only enabled when flags bit1 is set. | | 0xC || 0x58 || [[NFC_services|nn::nfp::TagInfo]], only enabled when flags bit1 is set. If enabled, this must match the scanned amiibo. | ||
|- | |- | ||
| 0x64 || 0x100 || [[NFC_services|nn::nfp::RegisterInfo]], only enabled when flags bit2 is set. | | 0x64 || 0x100 || [[NFC_services|nn::nfp::RegisterInfo]], only enabled when flags bit2 is set. | ||
Line 47: | Line 47: | ||
| 0x164 || 0x20 || [[#StartParamForAmiiboSettings]]+0x8 | | 0x164 || 0x20 || [[#StartParamForAmiiboSettings]]+0x8 | ||
|- | |- | ||
| 0x184 || 0x24 || | | 0x184 || 0x24 || Left at all-zero by sdknso. | ||
|} | |||
Types: | |||
* 0 <code>StartNicknameAndOwnerSettings</code> If RegisterInfo is enabled, this will be used for writing, with an option for the user to change it. | |||
* 1 <code>StartGameDataEraser</code> | |||
* 2 <code>StartRestorer</code> | |||
* 3 <code>StartFormatter</code> | |||
== AmiiboSettingsReturnFlag == | |||
{| class="wikitable" border="1" | |||
! Value | |||
! Description | |||
|- | |||
| 0 || Cancel | |||
|- | |||
| 2 || Has [[NFC_services|nn::nfp::TagInfo]] | |||
|- | |||
| 4 || Has [[NFC_services|nn::nfp::RegisterInfo]] | |||
|- | |||
| 6 || Has TagInfo and RegisterInfo | |||
|} | |} | ||
Line 57: | Line 78: | ||
! Offset || Size || Description | ! Offset || Size || Description | ||
|- | |- | ||
| 0x0 || 0x1 || | | 0x0 || 0x1 || [[#AmiiboSettingsReturnFlag]] | ||
|- | |- | ||
| 0x1 || 0x3 || Padding | | 0x1 || 0x3 || Padding | ||
Line 67: | Line 88: | ||
| 0x64 || 0x100 || [[NFC_services|nn::nfp::RegisterInfo]], only available when flags bit2 is set. | | 0x64 || 0x100 || [[NFC_services|nn::nfp::RegisterInfo]], only available when flags bit2 is set. | ||
|- | |- | ||
| 0x164 || 0x24 || | | 0x164 || 0x24 || Ignored by sdknso. | ||
|} | |} | ||