FRDA:UpdateMii: Difference between revisions

From 3dbrew
Jump to navigation Jump to search
m Name unknown fields
TimmSkiller (talk | contribs)
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
=Request=
=Request=
{| class="wikitable" border="1"
{{IPC/Request}}
|-
{{IPC/RequestHeader|0x040C|32|0}}
!  Index Word
{{IPC/RequestEntryRange|24|Friend [[Mii#CFLStoreData|Mii Data]]}}
!  Description
{{IPC/RequestEntryRange|6|10-Character UTF-16 Screen Name (10 characters + null termination)}}
|-
{{IPC/RequestEntry|bool, profanity flag}}
| 0
{{IPC/RequestEntry|u8, [[Mii#Mii_format|Mii Character Set]]}}
| Header code [0x040C0800]
{{IPC/RequestEnd}}
|-
| 1-24
| [[Mii#Mii_format|Mii Data]]
|-
| 25-30
| UTF-16 Mii name
|-
| 31
| u8 Profanity flag
|-
| 32
| u8 Character set
|}


=Response=
=Response=
{| class="wikitable" border="1"
{{IPC/Request}}
|-
{{#vardefine:ipc_offset|0}}
!  Index Word
{{IPC/RequestHeader|0x040C|1|0}}
!  Description
{{IPC/RequestEntry|Result code}}
|-
{{IPC/RequestEnd}}
| 0
| Header code
|-
| 1
| Result code
|}


=Description=
=Description=
This updates the Mii data on the friends list. Note: Mii Maker seems to be leaking memory on the Mii name, so any data after the NULL termination should be discarded.
Updates the Mii data of the personal Mii shown in the own friend card of the friends list.

Latest revision as of 11:02, 11 June 2025

Request

Index Word Description
0
Header 0x040C0800 Cmd 0x040C Param 32 Xlat 0
1-24 Friend Mii Data
25-30 10-Character UTF-16 Screen Name (10 characters + null termination)
31 bool, profanity flag
32 u8, Mii Character Set

Response

Index Word Description
0
Header 0x040C0040 Cmd 0x040C Param 1 Xlat 0
1 Result code

Description

Updates the Mii data of the personal Mii shown in the own friend card of the friends list.