ACTU:GetAccountDataBlock: Difference between revisions
		
		
		
		Jump to navigation
		Jump to search
		
 Created page with "=Request= {| class="wikitable" border="1" |- !  Index Word !  Description |- | 0 | Header code [0x000600C2] |- | 1 | Unknown, usually 0xFE? |- | 2 | Size |- | 3 | BlkID |- | 4 | ..."  | 
				|||
| Line 40: | Line 40: | ||
This returns NNID account info.  | This returns NNID account info.  | ||
=  | =DataBlocks=  | ||
{| class="wikitable" border="1"  | {| class="wikitable" border="1"  | ||
|-  | |-  | ||
Revision as of 18:50, 23 May 2015
Request
| Index Word | Description | 
|---|---|
| 0 | Header code [0x000600C2] | 
| 1 | Unknown, usually 0xFE? | 
| 2 | Size | 
| 3 | BlkID | 
| 4 | (Size<<4) | 12 | 
| 5 | Output buffer ptr | 
Response
| Index Word | Description | 
|---|---|
| 0 | Header code | 
| 1 | Result code | 
Description
This returns NNID account info.
DataBlocks
| BlkID | Size | Description | 
|---|---|---|
| 0xB | 0x3 | ASCII NUL-terminated country-name. | 
| 0x8 | 0x11 | Username/nickname, exact format unknown. | 
| 0x19 | 0x8 | ? | 
| 0x1E | 0x41 | ASCII location for the timezone. | 
| 0x2F | 0x4 | Similar or identical to cfg CountryInfo? |