ACTA:UpdateMiiImage: Difference between revisions

From 3dbrew
Jump to navigation Jump to search
TimmSkiller (talk | contribs)
Created page with "=Request= {{IPC/Request}} {{IPC/RequestHeader|0x0413|3|2}} {{IPC/RequestEntry|u8, Account slot}} {{IPC/RequestEntry|u8, Mii Image Type}..."
 
TimmSkiller (talk | contribs)
No edit summary
 
Line 3: Line 3:
{{IPC/RequestHeader|0x0413|3|2}}
{{IPC/RequestHeader|0x0413|3|2}}
{{IPC/RequestEntry|u8, Account slot}}
{{IPC/RequestEntry|u8, Account slot}}
{{IPC/RequestEntry|u8, [[ACTA:UpdateMiiImage#Mii_Image_Types|Mii Image Type]]}}
{{IPC/RequestEntry|u8, [[ACT_Services#Mii_Image_Types|Mii Image Type]]}}
{{IPC/RequestEntry|Input Mii Image buffer size}}
{{IPC/RequestEntry|Input Mii Image buffer size}}
{{IPC/MapPointerR|Input Mii Image buffer}}
{{IPC/MapPointerR|Input Mii Image buffer}}
Line 18: Line 18:
=Description=
=Description=
Updates one of the 9 different Mii Images for the given account. The image data should be in the TGA format.
Updates one of the 9 different Mii Images for the given account. The image data should be in the TGA format.
=Mii Image Types=
{| class="wikitable" border="1"
|-
! Value !! Description
|-
| 0 || Primary Mii Image
|-
| 1 || Unknown
|-
| 2 || Unknown
|-
| 3 || Unknown
|-
| 4 || Unknown
|-
| 5 || Unknown
|-
| 6 || Unknown
|-
| 7 || Unknown
|-
| 8 || Unknown
|}

Latest revision as of 18:04, 7 March 2025

Request

Index Word Description
0
Header 0x041300C2 Cmd 0x0413 Param 3 Xlat 2
1 u8, Account slot
2 u8, Mii Image Type
3 Input Mii Image buffer size
4 Descriptor for mapping a read-only buffer in the target process
5 Input Mii Image buffer

Response

Index Word Description
0
Header 0x04130042 Cmd 0x0413 Param 1 Xlat 2
1 Result code
2 Descriptor for mapping a read-only buffer in the target process
3 Input Mii Image buffer

Description

Updates one of the 9 different Mii Images for the given account. The image data should be in the TGA format.