CfgS:GetConfigInfoBlk2: Difference between revisions

From 3dbrew
Jump to navigation Jump to search
Created page with "=Request= {| class="wikitable" border="1" |- ! Index Word ! Description |- | 0 | Header code [0x0001....] |- | 1 | Size |- | 2 | BlkID |- | 3 | (Size<<4) <nowiki>|</nowiki> 12..."
 
Profi200 (talk | contribs)
 
(3 intermediate revisions by one other user not shown)
Line 6: Line 6:
|-
|-
| 0
| 0
| Header code [0x0001....]
| Header code [0x00010082]
|-
|-
| 1
| 1
Line 35: Line 35:


=Description=
=Description=
This loads data from the Cfg NAND savegame, with the ConfigInfoBlk flag 0x2 set. The above input size field must match the size field for the corresponding block entry below.
This loads data from the Cfg NAND [[Config_Savegame|savegame]], with the ConfigInfoBlk flag 0x2 set. The above input size field must match the size field for the corresponding block entry.
 
==ConfigInfoBlks==
{| class="wikitable" border="1"
|-
!  BlkID
!  Size
!  Flags
!  Description
|-
| 0x000A0002
| 0x1
| 0xA
| Language
|-
| 0x000B0000
| 0x4
| 0x8
| CountryInfo
|}
 
===Languages===
{| class="wikitable" border="1"
|-
!  ID
!  Description
|-
| 0
| ja
|-
| 1
| en
|-
| 2
| fr
|-
| 3
| de
|-
| 4
| it
|-
| 5
| es
|-
| 6
| zh
|-
| 7
| ko
|-
| 8
| nl
|-
| 9
| pt
|-
| 10
| ru
|}
 
===CountryInfo===
{| class="wikitable" border="1"
|-
!  Byte
!  Description
|-
| 0
| ?
|-
| 1
| ?
|-
| 2
| ?
|-
| 3
| Country code, same as DSi/Wii country codes. Value 0xff is invalid.
|}

Latest revision as of 02:25, 26 December 2014

Request

Index Word Description
0 Header code [0x00010082]
1 Size
2 BlkID
3 (Size<<4) | 12
4 Output data pointer

Response

Index Word Description
0 Header code
1 Result code

Description

This loads data from the Cfg NAND savegame, with the ConfigInfoBlk flag 0x2 set. The above input size field must match the size field for the corresponding block entry.