<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.3dbrew.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=MarioErmando</id>
	<title>3dbrew - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://www.3dbrew.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=MarioErmando"/>
	<link rel="alternate" type="text/html" href="https://www.3dbrew.org/wiki/Special:Contributions/MarioErmando"/>
	<updated>2026-05-04T03:16:46Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.1</generator>
	<entry>
		<id>https://www.3dbrew.org/w/index.php?title=User:MarioErmando&amp;diff=13921</id>
		<title>User:MarioErmando</title>
		<link rel="alternate" type="text/html" href="https://www.3dbrew.org/w/index.php?title=User:MarioErmando&amp;diff=13921"/>
		<updated>2015-10-17T09:36:30Z</updated>

		<summary type="html">&lt;p&gt;MarioErmando: Created page with &amp;quot;hey, i&amp;#039;m a 15 year old human from brussels  my website: http ://ermansay dot in&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;hey, i&#039;m a 15 year old human from brussels&lt;br /&gt;
&lt;br /&gt;
my website: http ://ermansay dot in&lt;/div&gt;</summary>
		<author><name>MarioErmando</name></author>
	</entry>
	<entry>
		<id>https://www.3dbrew.org/w/index.php?title=SMDH&amp;diff=13920</id>
		<title>SMDH</title>
		<link rel="alternate" type="text/html" href="https://www.3dbrew.org/w/index.php?title=SMDH&amp;diff=13920"/>
		<updated>2015-10-17T09:34:44Z</updated>

		<summary type="html">&lt;p&gt;MarioErmando: /* Region Specific Game Age Ratings */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page describes the format of the icon stored at [[NCCH#CXI|CXI]] ExeFS:/icon and [[CIA]] icons.&lt;br /&gt;
The size of icons is 0x36c0 bytes. The CXI icon is displayed by [[Home Menu]] and [[System Settings]](3DS Software Management), while [[CIA#Meta|CIA icons]] are dummies and not yet utilised by Dev 3DS&#039; (as of rev 47586).&lt;br /&gt;
&lt;br /&gt;
== Format ==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!  OFFSET&lt;br /&gt;
!  SIZE&lt;br /&gt;
!  DESCRIPTION&lt;br /&gt;
|-&lt;br /&gt;
|  0x00&lt;br /&gt;
|  0x04 &lt;br /&gt;
|  Magic &#039;SMDH&#039;&lt;br /&gt;
|- &lt;br /&gt;
|  0x04&lt;br /&gt;
|  0x02 &lt;br /&gt;
|  Version&lt;br /&gt;
|- &lt;br /&gt;
|  0x06&lt;br /&gt;
|  0x02 &lt;br /&gt;
|  Reserved&lt;br /&gt;
|-&lt;br /&gt;
|  0x8&lt;br /&gt;
|  0x2000&lt;br /&gt;
|  16 application titles structs, each 0x200 bytes&lt;br /&gt;
|-&lt;br /&gt;
| 0x2008&lt;br /&gt;
| 0x30&lt;br /&gt;
| Application Settings&lt;br /&gt;
|-&lt;br /&gt;
| 0x2038&lt;br /&gt;
| 0x8&lt;br /&gt;
| Reserved &lt;br /&gt;
|-&lt;br /&gt;
| 0x2040&lt;br /&gt;
| 0x1680&lt;br /&gt;
| Icon graphics&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Application Titles ==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!  START&lt;br /&gt;
!  SIZE&lt;br /&gt;
!  DESCRIPTION&lt;br /&gt;
|-&lt;br /&gt;
|  0x00&lt;br /&gt;
|  0x80&lt;br /&gt;
|  Short Description&lt;br /&gt;
|- &lt;br /&gt;
|  0x80&lt;br /&gt;
|  0x100 &lt;br /&gt;
|  Long Description&lt;br /&gt;
|- &lt;br /&gt;
|  0x180&lt;br /&gt;
|  0x80 &lt;br /&gt;
|  Publisher&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
All encoded in UTF-16.&lt;br /&gt;
There are 16 app title structs(currently only 12 are used), each one for separate languages.&lt;br /&gt;
&lt;br /&gt;
The languages by order of appearance:&lt;br /&gt;
&lt;br /&gt;
* 1st: Japanese title name&lt;br /&gt;
* 2nd: English title name&lt;br /&gt;
* 3rd: French title name&lt;br /&gt;
* 4th: German title name&lt;br /&gt;
* 5th: Italian title name&lt;br /&gt;
* 6th: Spanish title name&lt;br /&gt;
* 7th: Simplified Chinese title name&lt;br /&gt;
* 8th: Korean title name&lt;br /&gt;
* 9th: Dutch title name&lt;br /&gt;
* 10th: Portuguese title name&lt;br /&gt;
* 11th: Russian title name&lt;br /&gt;
* 12th: Traditional Chinese title name&lt;br /&gt;
&lt;br /&gt;
== Application Settings ==&lt;br /&gt;
&lt;br /&gt;
Most of these flags are only used by the [[Home Menu]]. All of these are represented in SMDH files in little endian. But when documented below, the tables represent values in big endian.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!  START&lt;br /&gt;
!  SIZE&lt;br /&gt;
!  DESCRIPTION&lt;br /&gt;
|-&lt;br /&gt;
|  0x2008&lt;br /&gt;
|  0x10&lt;br /&gt;
|  Region Specific Game Ratings (For use with Parental Controls)&lt;br /&gt;
|-&lt;br /&gt;
|  0x2018&lt;br /&gt;
|  0x4&lt;br /&gt;
|  Region Lockout&lt;br /&gt;
|-  &lt;br /&gt;
|  0x201C&lt;br /&gt;
|  0xC &lt;br /&gt;
|  Match Maker IDs (Online Play)&lt;br /&gt;
|-    &lt;br /&gt;
|  0x2028&lt;br /&gt;
|  0x4&lt;br /&gt;
|  Flags&lt;br /&gt;
|-    &lt;br /&gt;
|  0x202C&lt;br /&gt;
|  0x2 &lt;br /&gt;
|  EULA Version&lt;br /&gt;
|-    &lt;br /&gt;
|  0x202E&lt;br /&gt;
|  0x2 &lt;br /&gt;
|  Reserved&lt;br /&gt;
|-  &lt;br /&gt;
|  0x2030&lt;br /&gt;
|  0x4 &lt;br /&gt;
|  &#039;Optimal Animation Default Frame&#039; (for BNR)&lt;br /&gt;
|-    &lt;br /&gt;
|  0x2034&lt;br /&gt;
|  0x4 &lt;br /&gt;
|  CEC (StreetPass) ID (So the Home Menu knows which application icon to show the &#039;Green&#039; CEC notification for)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Region Specific Game Age Ratings ===&lt;br /&gt;
&lt;br /&gt;
These flags tell the 3DS the &#039;Age Rating&#039; of the software for the below regions:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!  START&lt;br /&gt;
!  SIZE&lt;br /&gt;
!  DESCRIPTION&lt;br /&gt;
|-&lt;br /&gt;
|  0x2008&lt;br /&gt;
|  0x1&lt;br /&gt;
|  CERO (Japan)&lt;br /&gt;
|-&lt;br /&gt;
|  0x2009&lt;br /&gt;
|  0x1&lt;br /&gt;
|  ESRB (USA)&lt;br /&gt;
|-&lt;br /&gt;
|  0x200A&lt;br /&gt;
|  0x1&lt;br /&gt;
|  Reserved&lt;br /&gt;
|-&lt;br /&gt;
|  0x200B&lt;br /&gt;
|  0x1&lt;br /&gt;
|  USK (German)&lt;br /&gt;
|-&lt;br /&gt;
|  0x200C&lt;br /&gt;
|  0x1&lt;br /&gt;
|  PEGI GEN (Europe)&lt;br /&gt;
|-&lt;br /&gt;
|  0x200D&lt;br /&gt;
|  0x1&lt;br /&gt;
|  Reserved&lt;br /&gt;
|-&lt;br /&gt;
|  0x200E&lt;br /&gt;
|  0x1&lt;br /&gt;
|  PEGI PRT (Portugal)&lt;br /&gt;
|-&lt;br /&gt;
|  0x200F&lt;br /&gt;
|  0x1&lt;br /&gt;
|  PEGI BBFC (England)&lt;br /&gt;
|-&lt;br /&gt;
|  0x2010&lt;br /&gt;
|  0x1&lt;br /&gt;
|  COB (Australia)&lt;br /&gt;
|-&lt;br /&gt;
|  0x2011&lt;br /&gt;
|  0x1&lt;br /&gt;
|  GRB (South Korea)&lt;br /&gt;
|-&lt;br /&gt;
|  0x2012&lt;br /&gt;
|  0x1&lt;br /&gt;
|  CGSRR (Taiwan)&lt;br /&gt;
|-&lt;br /&gt;
|  0x2013&lt;br /&gt;
|  0x1&lt;br /&gt;
|  Reserved&lt;br /&gt;
|-&lt;br /&gt;
|  0x2014&lt;br /&gt;
|  0x1&lt;br /&gt;
|  Reserved&lt;br /&gt;
|-&lt;br /&gt;
|  0x2015&lt;br /&gt;
|  0x1&lt;br /&gt;
|  Reserved&lt;br /&gt;
|-&lt;br /&gt;
|  0x2016&lt;br /&gt;
|  0x1&lt;br /&gt;
|  Reserved&lt;br /&gt;
|-&lt;br /&gt;
|  0x2017&lt;br /&gt;
|  0x1&lt;br /&gt;
|  Reserved&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Active ratings have a bitmask of 0x80, and inactive ratings have no bitmask at all. Ratings without the 0x80 bitmask are ignored. 0x40 bitmask indicates Rating Pending. 0x20 bitmask indicates No Age Restriction.&lt;br /&gt;
&lt;br /&gt;
=== Region Lockout ===&lt;br /&gt;
&lt;br /&gt;
This u32 flag is what the Home Menu uses to determine the [[Home Menu#Region Lockout|Region Lockout]] of a title.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!  REGION&lt;br /&gt;
!  BITMASK&lt;br /&gt;
|-&lt;br /&gt;
|  Japan&lt;br /&gt;
|  0x01&lt;br /&gt;
|-&lt;br /&gt;
|  North America&lt;br /&gt;
|  0x02 &lt;br /&gt;
|-&lt;br /&gt;
|  Europe&lt;br /&gt;
|  0x04 &lt;br /&gt;
|-&lt;br /&gt;
|  Australia&lt;br /&gt;
|  0x08 &lt;br /&gt;
|-&lt;br /&gt;
|  China&lt;br /&gt;
|  0x10 &lt;br /&gt;
|-&lt;br /&gt;
|  Korea&lt;br /&gt;
|  0x20 &lt;br /&gt;
|-&lt;br /&gt;
|  Taiwan &lt;br /&gt;
|  0x40 &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Regions are &#039;included&#039; in region lock by setting their bitmask value. Nintendo defines region free as 0x7fffffff. Early in the 3DS&#039; development, Nintendo grouped the Australian and Europe markets together. Nintendo defines market Europe as having the combined bitmasks of Europe and Australia. No 3DS&#039; which check the Australia bitmask have been seen (Australia uses the European 3DS model).&lt;br /&gt;
&lt;br /&gt;
=== Match Maker IDs ===&lt;br /&gt;
&lt;br /&gt;
These IDs are an application&#039;s online gaming IDs.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!  START&lt;br /&gt;
!  SIZE&lt;br /&gt;
!  DESCRIPTION&lt;br /&gt;
|-&lt;br /&gt;
|  0x201C&lt;br /&gt;
|  0x4&lt;br /&gt;
|  Match Maker ID&lt;br /&gt;
|- &lt;br /&gt;
|  0x2020&lt;br /&gt;
|  0x8&lt;br /&gt;
|  Match Maker BIT ID&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Flags ===&lt;br /&gt;
The u32 is used for storing flags as bit-masks.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!  FLAG&lt;br /&gt;
!  BITMASK VALUE&lt;br /&gt;
|-&lt;br /&gt;
|  Visibility Flag (Required for visibility on the Home Menu)&lt;br /&gt;
|  0x0001&lt;br /&gt;
|-&lt;br /&gt;
|  [[Home Menu#Auto-Boot Kiosk Function|Auto-boot]] this gamecard title&lt;br /&gt;
|  0x0002&lt;br /&gt;
|-&lt;br /&gt;
|  Allow use of 3D? (For use with parental Controls. An application can use the 3D affect, even when this flag isn&#039;t set)&lt;br /&gt;
|  0x0004&lt;br /&gt;
|-&lt;br /&gt;
|  Require accepting CTR EULA(see below)&lt;br /&gt;
|  0x0008&lt;br /&gt;
|-&lt;br /&gt;
|  Autosave on exit?&lt;br /&gt;
|  0x0010&lt;br /&gt;
|-&lt;br /&gt;
|  Uses an [[Extended Banner]]?&lt;br /&gt;
|  0x0020&lt;br /&gt;
|-&lt;br /&gt;
|  [[SMDH#Region Specific Game Age Ratings|Region game rating]] required&lt;br /&gt;
|  0x0040&lt;br /&gt;
|-&lt;br /&gt;
|  Uses save data?&lt;br /&gt;
|  0x0080&lt;br /&gt;
|-&lt;br /&gt;
|  Application usage is to be recorded. If this is not set, it causes the application&#039;s usage to be omitted from the Home Menu&#039;s [[Home_Menu#Cache.dat &amp;amp; CacheD.dat|icon cache]], as well as in [[????????|other places]].&lt;br /&gt;
|  0x0100&lt;br /&gt;
|-&lt;br /&gt;
|  Disables [[SD Savedata Backups]] for this title.&lt;br /&gt;
|  0x0400&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== EULA Version ===&lt;br /&gt;
This is the EULA version which is checked when the Accept EULA flag is set, the version is compared to one stored in the 3DS. If the SMDH version is greater, then the user will be prompted to accept the EULA.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!  START&lt;br /&gt;
!  SIZE&lt;br /&gt;
!  DESCRIPTION&lt;br /&gt;
|-&lt;br /&gt;
|  0x202C&lt;br /&gt;
|  0x01&lt;br /&gt;
|  EULA Version Minor&lt;br /&gt;
|-&lt;br /&gt;
|  0x202D&lt;br /&gt;
|  0x01&lt;br /&gt;
|  EULA Version Major&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== &#039;Optimal Animation Default Frame&#039; (for BNR) ===&lt;br /&gt;
&lt;br /&gt;
This is a float, indicating the preferred (or &#039;most representative&#039;) frame for the banner animation.&lt;br /&gt;
&lt;br /&gt;
=== CEC (StreetPass) ID ===&lt;br /&gt;
&lt;br /&gt;
This u32 represents the application CEC ID. This is likely loaded by applications for use with the CEC services as well.&lt;br /&gt;
&lt;br /&gt;
== Icon graphics ==&lt;br /&gt;
&lt;br /&gt;
At offset 0x2040, there are two icons:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!  START&lt;br /&gt;
!  SIZE&lt;br /&gt;
!  DESCRIPTION&lt;br /&gt;
|-&lt;br /&gt;
|  0x2040&lt;br /&gt;
|  0x480&lt;br /&gt;
|  Small - 24x24 (shown on top screen when pausing the app)&lt;br /&gt;
|- &lt;br /&gt;
|  0x24C0&lt;br /&gt;
|  0x1200 &lt;br /&gt;
|  Large - 48x48 icon (the general icon)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Both of the icons are encoded in RGB565 meaning 16bpp. Although both icons are known to be RGB565, developers have the option of encoding icons (and banners) with the following encodings :&lt;br /&gt;
&lt;br /&gt;
* RGBA8&lt;br /&gt;
* RGB8&lt;br /&gt;
* RGBA5551&lt;br /&gt;
* RGB565&lt;br /&gt;
* RGBA4&lt;br /&gt;
* LA8&lt;br /&gt;
* HILO8&lt;br /&gt;
* L8&lt;br /&gt;
* A8&lt;br /&gt;
* LA4&lt;br /&gt;
* L4&lt;br /&gt;
* ETC1&lt;br /&gt;
* ETC1A4&lt;br /&gt;
&lt;br /&gt;
This does not necessarily mean the other encodings will be used, it is just that those are the options when compiling. Like we&#039;ve seen with Super Mario 3D Land Nintendo has changed save file encryption, and likewise they can encode icons and banners differently &#039;&#039;should they choose to&#039;&#039;. Currently we&#039;ve seen just RGB565 so don&#039;t be fooled if an icon doesn&#039;t show up right! It is probably one of these formats above. Although we will probably not see other formats used for a while it&#039;s nice to know they have an opportunity to change.&lt;br /&gt;
&lt;br /&gt;
The data is encoded in tiles (starting from size 8x8, continuing recursively).&lt;br /&gt;
&lt;br /&gt;
If the buffer is like this:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!  0&lt;br /&gt;
!  1&lt;br /&gt;
!  2&lt;br /&gt;
!  3&lt;br /&gt;
!  4&lt;br /&gt;
!  5&lt;br /&gt;
!  6&lt;br /&gt;
!  7&lt;br /&gt;
!  8&lt;br /&gt;
!  9&lt;br /&gt;
!  10&lt;br /&gt;
!  11&lt;br /&gt;
!  12&lt;br /&gt;
!  13&lt;br /&gt;
!  14&lt;br /&gt;
!  15&lt;br /&gt;
!  16&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Then the image would look like this:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!  x=0&lt;br /&gt;
!  x=1&lt;br /&gt;
!  x=2&lt;br /&gt;
!  x=3&lt;br /&gt;
!  x=4&lt;br /&gt;
|-&lt;br /&gt;
| 0&lt;br /&gt;
| 1&lt;br /&gt;
| 4&lt;br /&gt;
| 5&lt;br /&gt;
| 16&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| 3&lt;br /&gt;
| 6&lt;br /&gt;
| 7&lt;br /&gt;
| ...&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| 9&lt;br /&gt;
| 12&lt;br /&gt;
| 13&lt;br /&gt;
|-&lt;br /&gt;
| 10&lt;br /&gt;
| 11&lt;br /&gt;
| 14&lt;br /&gt;
| 15&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Tools ==&lt;br /&gt;
&lt;br /&gt;
[[CiTRUS]] - (GUI)(Windows Only) Generating ICN files&lt;br /&gt;
&lt;br /&gt;
[[3DSExplorer]] - (GUI)(Windows Only) Parsing ICN files&lt;/div&gt;</summary>
		<author><name>MarioErmando</name></author>
	</entry>
</feed>