Changes

3,139 bytes added ,  03:04, 5 May 2012
Adding flags
Line 2: Line 2:  
The size of icons is 0x36c0 bytes. The CXI icon is displayed by homemenu, while CIA icons are dummies and not yet utilised by Dev 3DS'.
 
The size of icons is 0x36c0 bytes. The CXI icon is displayed by homemenu, while CIA icons are dummies and not yet utilised by Dev 3DS'.
   −
=== Format ===
+
== Format ==
    
{| class="wikitable" border="1"
 
{| class="wikitable" border="1"
Line 23: Line 23:  
|-
 
|-
 
| 0x1608
 
| 0x1608
| 0xA38
+
| 0x9F8
| ?
+
| Zeros
 +
|-
 +
| 0x2000
 +
| 0x40
 +
| Flags
 
|-
 
|-
 
| 0x2040
 
| 0x2040
Line 31: Line 35:  
|}
 
|}
   −
=== Application Titles ===
+
== Application Titles ==
    
{| class="wikitable" border="1"
 
{| class="wikitable" border="1"
Line 69: Line 73:  
* 11th: Russian title name
 
* 11th: Russian title name
   −
=== Icon graphics ===
+
== Flags ==
 +
 
 +
This is where the application Home Menu flags exist
 +
 
 +
{| class="wikitable" border="1"
 +
|-
 +
!  START
 +
!  SIZE
 +
!  DESCRIPTION
 +
|-
 +
|  0x2008
 +
|  0xA
 +
|  Region Specific Game Ratings
 +
|-
 +
|  0x2018
 +
|  0x4
 +
|  BNR Region
 +
|- 
 +
|  0x201C
 +
|  0xC
 +
|  Match Maker IDs
 +
|-   
 +
|  0x2028
 +
|  0x1
 +
|  Combined Flag
 +
|- 
 +
|  0x2032
 +
|  0x2
 +
|  'Optimal Animation Default Frame' (for BNR)
 +
|-   
 +
|  0x2034
 +
|  0x4
 +
|  CEC (StreetPass) ID
 +
|}
 +
 
 +
=== Region Specific Game Age Ratings ===
 +
 
 +
These flags tell the 3DS the 'Age Rating' of the software for the below regions:
 +
 
 +
{| class="wikitable" border="1"
 +
|-
 +
!  START
 +
!  SIZE
 +
!  DESCRIPTION
 +
|-
 +
|  0x2008
 +
|  0x1
 +
|  CERO (Japan)
 +
|-
 +
|  0x2009
 +
|  0x1
 +
|  ESRB (USA)
 +
|-
 +
|  0x200B
 +
|  0x1
 +
|  USK (German)
 +
|-
 +
|  0x200C
 +
|  0x1
 +
|  PEGI GEN (Europe)
 +
|-
 +
|  0x200E
 +
|  0x1
 +
|  PEGI PRT (Portugal)
 +
|-
 +
|  0x200F
 +
|  0x1
 +
|  PEGI BBFC (England)
 +
|-
 +
|  0x2010
 +
|  0x1
 +
|  COB (Australia)
 +
|-
 +
|  0x2011
 +
|  0x1
 +
|  Unknown/Unused
 +
|}
 +
 
 +
These flags are generated by converting the age rating to a hex value and then adding it to '80'. For example if '7 years' was the rating, then the flag would be '87'. The unknown/unused rating is only has a value when the BNR is for 'All Regions'. Also if Game Ratings are not used, when selecting a region for the BNR, it generates random Game Age Ratings for all regions.
 +
 
 +
=== BNR Region ===
 +
 
 +
This Flag limits the 'region scope' of the application's BNR:
 +
 
 +
{| class="wikitable" border="1"
 +
|-
 +
!  REGION
 +
!  VALUE
 +
|-
 +
|  All Regions (No region restrictions)
 +
|  FF FF FF 7F
 +
|-
 +
|  Japan
 +
|  01 00 00 00
 +
|-
 +
|  North America
 +
|  02 00 00 00
 +
|-
 +
|  Europe
 +
|  0C 00 00 00
 +
|-
 +
|  Korea
 +
|  20 00 00 00
 +
|-
 +
|  Taiwan
 +
|  40 00 00 00
 +
|-
 +
|  China
 +
|  50 00 00 00
 +
|}
 +
 
 +
=== Match Maker IDs ===
 +
 
 +
These IDs are an application's online gaming IDs
 +
 
 +
{| class="wikitable" border="1"
 +
|-
 +
!  START
 +
!  SIZE
 +
!  DESCRIPTION
 +
|-
 +
|  0x201C
 +
|  0x4
 +
|  Match Maker ID
 +
|-
 +
|  0x2020
 +
|  0x8
 +
|  Match Maker BIT ID
 +
|}
 +
 
 +
For example, if the Match Maker ID was '12345678' and the Match Maker BIT ID was '1234567891234567', the flags would be '78 56 34 12' and '67 45 23 91 78 56 34 12' respectively
 +
 
 +
=== Combined Flag ===
 +
 
 +
This flag has multiple flags, packed into one byte. By use of addition the flags are combined:
 +
 
 +
{| class="wikitable" border="1"
 +
|-
 +
!  FLAG
 +
!  VALUE
 +
|-
 +
|  Base Flag (always present)
 +
|  01
 +
|-
 +
|  Allow use of 3D?
 +
|  04
 +
|-
 +
|  Require accepting CTR EULA?
 +
|  08
 +
|-
 +
|  Autosave on exit?
 +
|  10
 +
|-
 +
|  Uses an extended Banner?
 +
|  20
 +
|-
 +
|  Region game rating required?
 +
|  40
 +
|-
 +
|  Uses save data?
 +
|  80
 +
|}
 +
 +
For example, if we wanted an application to use the 3D effect, autosave on exit and use save data. The combined flag would be '95' (01+04+10+80)
 +
 
 +
=== 'Optimal Animation Default Frame' (for BNR) ===
 +
 
 +
Purpose of this flag: ???
 +
 
 +
{| class="wikitable" border="1"
 +
|-
 +
!  OPTIMAL ANIMATION DEFAULT FRAME
 +
!  VALUE
 +
|-
 +
|  0
 +
|  00 00
 +
|-
 +
|  1
 +
|  80 3F
 +
|-
 +
|  2
 +
|  00 40
 +
|-
 +
|  3
 +
|  40 40
 +
|-
 +
|  4
 +
|  80 40
 +
|-
 +
|  5
 +
|  A0 40
 +
|-
 +
|  6
 +
|  C0 40
 +
|}
 +
 
 +
Flag Pattern: ???
 +
 
 +
=== CEC (StreetPass) ID ===
 +
 
 +
With a size of 4 bytes this represents the applications CEC ID. For example if the ID was '12345678' the flag would be '78 56 34 12'
 +
 
 +
== Icon graphics ==
    
At offset 0x2040, there are two icons:
 
At offset 0x2040, there are two icons:
839

edits