<?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=Lynn</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=Lynn"/>
	<link rel="alternate" type="text/html" href="https://www.3dbrew.org/wiki/Special:Contributions/Lynn"/>
	<updated>2026-04-16T03:05:02Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.1</generator>
	<entry>
		<id>https://www.3dbrew.org/w/index.php?title=Title&amp;diff=18863</id>
		<title>Title</title>
		<link rel="alternate" type="text/html" href="https://www.3dbrew.org/w/index.php?title=Title&amp;diff=18863"/>
		<updated>2016-12-11T23:22:21Z</updated>

		<summary type="html">&lt;p&gt;Lynn: Redirected page to Titles&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#REDIRECT [[Titles]]&lt;/div&gt;</summary>
		<author><name>Lynn</name></author>
	</entry>
	<entry>
		<id>https://www.3dbrew.org/w/index.php?title=Glossary&amp;diff=18862</id>
		<title>Glossary</title>
		<link rel="alternate" type="text/html" href="https://www.3dbrew.org/w/index.php?title=Glossary&amp;diff=18862"/>
		<updated>2016-12-11T23:21:12Z</updated>

		<summary type="html">&lt;p&gt;Lynn: /* T */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;A miniature dictionary for terms that may be encountered on 3DSBrew.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;noautonum&amp;quot;&amp;gt;__TOC__&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== A ==&lt;br /&gt;
&lt;br /&gt;
=== AXI WRAM ===&lt;br /&gt;
&lt;br /&gt;
The name given to 512KiB of SRAM (&amp;quot;Work&amp;quot; RAM) connected to the SOC via AXI. It is where the ARM11 kernel resides. &lt;br /&gt;
&lt;br /&gt;
=== appcore ===&lt;br /&gt;
&lt;br /&gt;
appcore is the name given to one of the Old 3DS&#039;s ARM11 CPU cores. It refers to the core that is used to run games and other [[NCCH]] content. The other core is called [[#syscore|syscore]].&lt;br /&gt;
&lt;br /&gt;
== C ==&lt;br /&gt;
&lt;br /&gt;
=== C ===&lt;br /&gt;
&lt;br /&gt;
A language homebrew developers program in, also used to make everything from web browsers to timers for computers.&lt;br /&gt;
&lt;br /&gt;
=== C++ ===&lt;br /&gt;
&lt;br /&gt;
An object oriented language homebrew developers program in. Like its name suggests, C++ is essentially a step up from C.&lt;br /&gt;
&lt;br /&gt;
=== CCI ===&lt;br /&gt;
[[NCSD#Overview|CTR Cart Image]]. A file extension for game ROM images. The file format is a specialisation of the [[NCSD]] container format.&lt;br /&gt;
&lt;br /&gt;
=== CFA ===&lt;br /&gt;
[[NCCH#CFA|CTR File Archive]]. A file extension for [[NCCH]] containers that contain non-executable data.&lt;br /&gt;
&lt;br /&gt;
=== CIA ===&lt;br /&gt;
[[CIA|CTR Importable Archive]]. A file extension for archives from [[Title_list|Nintendo&#039;s CDN]].&lt;br /&gt;
&lt;br /&gt;
=== Citra ===&lt;br /&gt;
A work-in-progress Nintendo 3DS emulator.&lt;br /&gt;
&lt;br /&gt;
=== CTR ===&lt;br /&gt;
Nintendo’s codename for the Nintendo 3DS.&lt;br /&gt;
&lt;br /&gt;
=== CXI ===&lt;br /&gt;
[[NCCH#CXI|CTR eXecutable Image]]. A file extension for [[NCCH]] containers that contain executable code.&lt;br /&gt;
&lt;br /&gt;
== D ==&lt;br /&gt;
&lt;br /&gt;
=== DSi ===&lt;br /&gt;
&lt;br /&gt;
A handheld console created by Nintendo. It is the second successor to the Nintendo DS, and the 6th generation portable Nintendo gaming system. It features two (larger) screens, two cameras, and an online shop system. The menu is also overhauled, now using similar channels as used on the Wii. It has a screen brightness that can be set to one step higher than the DS Lite.&lt;br /&gt;
&lt;br /&gt;
=== DS Lite ===&lt;br /&gt;
&lt;br /&gt;
The predecessor to the DSi. It came after the original DS PHAT and has a screen that can be set to 4x as bright as the DS PHAT.&lt;br /&gt;
&lt;br /&gt;
=== DS &amp;quot;PHAT&amp;quot; ===&lt;br /&gt;
&lt;br /&gt;
The original Nintendo DS. It ended up being the successor to the Game Boy, though Nintendo did not intend for this to happen. It added a touch screen.&lt;br /&gt;
&lt;br /&gt;
=== DSP ===&lt;br /&gt;
&lt;br /&gt;
Digital Signal Processor. The 3DS uses a DSP core to do the audio mixing instead of relaying on dedicated mixing hardware like the predecessor.&lt;br /&gt;
&lt;br /&gt;
=== DSiWare ===&lt;br /&gt;
&lt;br /&gt;
A platform started by Nintendo that allows developers to cheaply create and then sell original content at low prices (compared to the prices of brand new DSi games). All DSiWare games are available on the DSi Shop Channel on the main menu.&lt;br /&gt;
&lt;br /&gt;
=== Dump ===&lt;br /&gt;
&lt;br /&gt;
To extract the protected contents of something like a chip, NAND drive or disc which are otherwise inaccessible and/or incomprehensible under normal circumstances.&lt;br /&gt;
&lt;br /&gt;
=== DS Download Play ===&lt;br /&gt;
&lt;br /&gt;
Another application built into the Nintendo 3DS firmware. It is a place where people can download multiplayer games from another DS or 3DS. With those compatible games it is possible to use only one game card while playing with several people.&lt;br /&gt;
&lt;br /&gt;
== E ==&lt;br /&gt;
&lt;br /&gt;
=== Exploit ===&lt;br /&gt;
&lt;br /&gt;
A circumvention of security allowing a user to perform tasks that are not normally permitted. Often several exploits will be employed in a series with the user gaining increased authority over a system at each step, the goal typically being complete access and control.&lt;br /&gt;
&lt;br /&gt;
== F ==&lt;br /&gt;
&lt;br /&gt;
=== FCRAM ===&lt;br /&gt;
&lt;br /&gt;
FCRAM (Fast Cycle RAM) is a new technology developed by the Fujitsu Corporation that approaches the problem of DRAM/Processor speed in a different way. It is one of the components of 3DS hardware.&lt;br /&gt;
&lt;br /&gt;
== G ==&lt;br /&gt;
&lt;br /&gt;
=== gx ===&lt;br /&gt;
&lt;br /&gt;
The official API provided by Nintendo to access the 3DS&#039;s graphics subsystem.&lt;br /&gt;
&lt;br /&gt;
== H ==&lt;br /&gt;
&lt;br /&gt;
=== Hexadecimal (Hex) ===&lt;br /&gt;
&lt;br /&gt;
A term used to describe the base 16 number system, in which each digit represents four bits. After the digits 0-9, the letters A-F are used to represent the values 10-15. Hexadecimal is the preferred format for displaying binary data, as it is easy to mentally convert to/from binary and uses only 2 characters per byte.&lt;br /&gt;
&lt;br /&gt;
=== Home Menu ===&lt;br /&gt;
&lt;br /&gt;
The 3DS&#039;s [[Home Menu]] is the main interface which appears after the health warning screen when the system is powered on. In the 3DS this is where all of your default and downloaded channels and games are.&lt;br /&gt;
&lt;br /&gt;
== I ==&lt;br /&gt;
&lt;br /&gt;
=== IRC ===&lt;br /&gt;
&lt;br /&gt;
Internet Relay Chat is, real-time text-based chat over the Internet.&lt;br /&gt;
&lt;br /&gt;
== M ==&lt;br /&gt;
&lt;br /&gt;
=== MPO ===&lt;br /&gt;
&lt;br /&gt;
[[MPO|Multi-Picture Object]] is the open file-format used by Nintendo to make 3D images. It uses Exif tags and MP tags with JPG. MPO files can be read like two JPG files stuck together.&lt;br /&gt;
&lt;br /&gt;
== N ==&lt;br /&gt;
&lt;br /&gt;
=== [[NCCH]] ===&lt;br /&gt;
A file format for storing the content of any installed [[title]]. This is the format used by [[Glossary#CXI|CXI]] and [[Glossary#CFA|CFA]] files.&lt;br /&gt;
&lt;br /&gt;
=== [[NCSD]] ===&lt;br /&gt;
A file format for grouping up to eight [[Glossary#NCCH|NCCH]] partitions. This is the format used by [[Glossary#CCI|CCI]] files and the [[Flash_Filesystem#NAND_structure|NAND structure]].&lt;br /&gt;
&lt;br /&gt;
== P ==&lt;br /&gt;
&lt;br /&gt;
=== PICA200 ===&lt;br /&gt;
&lt;br /&gt;
The GPU used by the 3DS. See [[Hardware#GPU]].&lt;br /&gt;
&lt;br /&gt;
== S ==&lt;br /&gt;
&lt;br /&gt;
=== SD Card ===&lt;br /&gt;
&lt;br /&gt;
Secure Digital Cards are common type of memory cards used by the 3DS, digital cameras, music players, etc. The standard SD card has a maximum capacity of 2 gigabytes (2048 megabytes); however, some 4 GB cards exist but are rare. These cards usually do not have great compatibility with non-SDHC products, even though they are not SDHC, so 2 GB is the preferable size.&lt;br /&gt;
&lt;br /&gt;
=== SDHC ===&lt;br /&gt;
&lt;br /&gt;
Secure Digital High Capacity Card are a type of SD cards with a higher storage capacity than normal ones. These are theoretically capable of holding up to 2 terabytes of space, but are politically limited by the current standards to 32 gigabytes.&lt;br /&gt;
&lt;br /&gt;
=== syscore ===&lt;br /&gt;
&lt;br /&gt;
syscore is the name given to one of the Old 3DS&#039;s ARM11 CPU cores. It refers to the core that is used to run the operating system software stack. The other core is called [[#appcore|appcore]].&lt;br /&gt;
&lt;br /&gt;
== T ==&lt;br /&gt;
&lt;br /&gt;
=== Ticket ===&lt;br /&gt;
A [[ticket]] is a file containing signature and encryption information on a particular [[Glossary#Title|title]]. Tickets may be console-unique: In particular, tickets for [[eShop]] contents are issued uniquely for each 3DS and hence cannot be transferred directly to other devices. System titles (and other content not available on eShop) are using tickets called [[Ticket#Some_facts|CommonETickets]], which are common to all devices.&lt;br /&gt;
&lt;br /&gt;
=== Title ===&lt;br /&gt;
&lt;br /&gt;
A [[Titles|title]] is a 3DS Game on a card or in a 3DS. This includes the built-in channels and menus. A title is identified by a unique title ID, an 8 byte (4 character) long code used for title identification. All titles are encrypted for security purposes.&lt;br /&gt;
&lt;br /&gt;
Related pages: [[Title list]], [[Glossary#Title_Metadata_.28TMD.29|Title Metadata]], [[Glossary#Ticket|Ticket]], [[Title Database]]&lt;br /&gt;
&lt;br /&gt;
=== Title Metadata (TMD) ===&lt;br /&gt;
&lt;br /&gt;
[[Title metadata]] is a format used for storing metadata about a title and its installed contents, including which contents they consist of and their SHA1 hashes.&lt;br /&gt;
&lt;br /&gt;
=== TWL ===&lt;br /&gt;
&lt;br /&gt;
Codename used for the Nintendo DSi.&lt;br /&gt;
&lt;br /&gt;
Related pages: [[FIRM#TWL_FIRM|TWL FIRM]], [[ARM7 Registers]]&lt;/div&gt;</summary>
		<author><name>Lynn</name></author>
	</entry>
	<entry>
		<id>https://www.3dbrew.org/w/index.php?title=Glossary&amp;diff=18861</id>
		<title>Glossary</title>
		<link rel="alternate" type="text/html" href="https://www.3dbrew.org/w/index.php?title=Glossary&amp;diff=18861"/>
		<updated>2016-12-11T23:20:12Z</updated>

		<summary type="html">&lt;p&gt;Lynn: /* C */ add CIA&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;A miniature dictionary for terms that may be encountered on 3DSBrew.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;noautonum&amp;quot;&amp;gt;__TOC__&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== A ==&lt;br /&gt;
&lt;br /&gt;
=== AXI WRAM ===&lt;br /&gt;
&lt;br /&gt;
The name given to 512KiB of SRAM (&amp;quot;Work&amp;quot; RAM) connected to the SOC via AXI. It is where the ARM11 kernel resides. &lt;br /&gt;
&lt;br /&gt;
=== appcore ===&lt;br /&gt;
&lt;br /&gt;
appcore is the name given to one of the Old 3DS&#039;s ARM11 CPU cores. It refers to the core that is used to run games and other [[NCCH]] content. The other core is called [[#syscore|syscore]].&lt;br /&gt;
&lt;br /&gt;
== C ==&lt;br /&gt;
&lt;br /&gt;
=== C ===&lt;br /&gt;
&lt;br /&gt;
A language homebrew developers program in, also used to make everything from web browsers to timers for computers.&lt;br /&gt;
&lt;br /&gt;
=== C++ ===&lt;br /&gt;
&lt;br /&gt;
An object oriented language homebrew developers program in. Like its name suggests, C++ is essentially a step up from C.&lt;br /&gt;
&lt;br /&gt;
=== CCI ===&lt;br /&gt;
[[NCSD#Overview|CTR Cart Image]]. A file extension for game ROM images. The file format is a specialisation of the [[NCSD]] container format.&lt;br /&gt;
&lt;br /&gt;
=== CFA ===&lt;br /&gt;
[[NCCH#CFA|CTR File Archive]]. A file extension for [[NCCH]] containers that contain non-executable data.&lt;br /&gt;
&lt;br /&gt;
=== CIA ===&lt;br /&gt;
[[CIA|CTR Importable Archive]]. A file extension for archives from [[Title_list|Nintendo&#039;s CDN]].&lt;br /&gt;
&lt;br /&gt;
=== Citra ===&lt;br /&gt;
A work-in-progress Nintendo 3DS emulator.&lt;br /&gt;
&lt;br /&gt;
=== CTR ===&lt;br /&gt;
Nintendo’s codename for the Nintendo 3DS.&lt;br /&gt;
&lt;br /&gt;
=== CXI ===&lt;br /&gt;
[[NCCH#CXI|CTR eXecutable Image]]. A file extension for [[NCCH]] containers that contain executable code.&lt;br /&gt;
&lt;br /&gt;
== D ==&lt;br /&gt;
&lt;br /&gt;
=== DSi ===&lt;br /&gt;
&lt;br /&gt;
A handheld console created by Nintendo. It is the second successor to the Nintendo DS, and the 6th generation portable Nintendo gaming system. It features two (larger) screens, two cameras, and an online shop system. The menu is also overhauled, now using similar channels as used on the Wii. It has a screen brightness that can be set to one step higher than the DS Lite.&lt;br /&gt;
&lt;br /&gt;
=== DS Lite ===&lt;br /&gt;
&lt;br /&gt;
The predecessor to the DSi. It came after the original DS PHAT and has a screen that can be set to 4x as bright as the DS PHAT.&lt;br /&gt;
&lt;br /&gt;
=== DS &amp;quot;PHAT&amp;quot; ===&lt;br /&gt;
&lt;br /&gt;
The original Nintendo DS. It ended up being the successor to the Game Boy, though Nintendo did not intend for this to happen. It added a touch screen.&lt;br /&gt;
&lt;br /&gt;
=== DSP ===&lt;br /&gt;
&lt;br /&gt;
Digital Signal Processor. The 3DS uses a DSP core to do the audio mixing instead of relaying on dedicated mixing hardware like the predecessor.&lt;br /&gt;
&lt;br /&gt;
=== DSiWare ===&lt;br /&gt;
&lt;br /&gt;
A platform started by Nintendo that allows developers to cheaply create and then sell original content at low prices (compared to the prices of brand new DSi games). All DSiWare games are available on the DSi Shop Channel on the main menu.&lt;br /&gt;
&lt;br /&gt;
=== Dump ===&lt;br /&gt;
&lt;br /&gt;
To extract the protected contents of something like a chip, NAND drive or disc which are otherwise inaccessible and/or incomprehensible under normal circumstances.&lt;br /&gt;
&lt;br /&gt;
=== DS Download Play ===&lt;br /&gt;
&lt;br /&gt;
Another application built into the Nintendo 3DS firmware. It is a place where people can download multiplayer games from another DS or 3DS. With those compatible games it is possible to use only one game card while playing with several people.&lt;br /&gt;
&lt;br /&gt;
== E ==&lt;br /&gt;
&lt;br /&gt;
=== Exploit ===&lt;br /&gt;
&lt;br /&gt;
A circumvention of security allowing a user to perform tasks that are not normally permitted. Often several exploits will be employed in a series with the user gaining increased authority over a system at each step, the goal typically being complete access and control.&lt;br /&gt;
&lt;br /&gt;
== F ==&lt;br /&gt;
&lt;br /&gt;
=== FCRAM ===&lt;br /&gt;
&lt;br /&gt;
FCRAM (Fast Cycle RAM) is a new technology developed by the Fujitsu Corporation that approaches the problem of DRAM/Processor speed in a different way. It is one of the components of 3DS hardware.&lt;br /&gt;
&lt;br /&gt;
== G ==&lt;br /&gt;
&lt;br /&gt;
=== gx ===&lt;br /&gt;
&lt;br /&gt;
The official API provided by Nintendo to access the 3DS&#039;s graphics subsystem.&lt;br /&gt;
&lt;br /&gt;
== H ==&lt;br /&gt;
&lt;br /&gt;
=== Hexadecimal (Hex) ===&lt;br /&gt;
&lt;br /&gt;
A term used to describe the base 16 number system, in which each digit represents four bits. After the digits 0-9, the letters A-F are used to represent the values 10-15. Hexadecimal is the preferred format for displaying binary data, as it is easy to mentally convert to/from binary and uses only 2 characters per byte.&lt;br /&gt;
&lt;br /&gt;
=== Home Menu ===&lt;br /&gt;
&lt;br /&gt;
The 3DS&#039;s [[Home Menu]] is the main interface which appears after the health warning screen when the system is powered on. In the 3DS this is where all of your default and downloaded channels and games are.&lt;br /&gt;
&lt;br /&gt;
== I ==&lt;br /&gt;
&lt;br /&gt;
=== IRC ===&lt;br /&gt;
&lt;br /&gt;
Internet Relay Chat is, real-time text-based chat over the Internet.&lt;br /&gt;
&lt;br /&gt;
== M ==&lt;br /&gt;
&lt;br /&gt;
=== MPO ===&lt;br /&gt;
&lt;br /&gt;
[[MPO|Multi-Picture Object]] is the open file-format used by Nintendo to make 3D images. It uses Exif tags and MP tags with JPG. MPO files can be read like two JPG files stuck together.&lt;br /&gt;
&lt;br /&gt;
== N ==&lt;br /&gt;
&lt;br /&gt;
=== [[NCCH]] ===&lt;br /&gt;
A file format for storing the content of any installed [[title]]. This is the format used by [[Glossary#CXI|CXI]] and [[Glossary#CFA|CFA]] files.&lt;br /&gt;
&lt;br /&gt;
=== [[NCSD]] ===&lt;br /&gt;
A file format for grouping up to eight [[Glossary#NCCH|NCCH]] partitions. This is the format used by [[Glossary#CCI|CCI]] files and the [[Flash_Filesystem#NAND_structure|NAND structure]].&lt;br /&gt;
&lt;br /&gt;
== P ==&lt;br /&gt;
&lt;br /&gt;
=== PICA200 ===&lt;br /&gt;
&lt;br /&gt;
The GPU used by the 3DS. See [[Hardware#GPU]].&lt;br /&gt;
&lt;br /&gt;
== S ==&lt;br /&gt;
&lt;br /&gt;
=== SD Card ===&lt;br /&gt;
&lt;br /&gt;
Secure Digital Cards are common type of memory cards used by the 3DS, digital cameras, music players, etc. The standard SD card has a maximum capacity of 2 gigabytes (2048 megabytes); however, some 4 GB cards exist but are rare. These cards usually do not have great compatibility with non-SDHC products, even though they are not SDHC, so 2 GB is the preferable size.&lt;br /&gt;
&lt;br /&gt;
=== SDHC ===&lt;br /&gt;
&lt;br /&gt;
Secure Digital High Capacity Card are a type of SD cards with a higher storage capacity than normal ones. These are theoretically capable of holding up to 2 terabytes of space, but are politically limited by the current standards to 32 gigabytes.&lt;br /&gt;
&lt;br /&gt;
=== syscore ===&lt;br /&gt;
&lt;br /&gt;
syscore is the name given to one of the Old 3DS&#039;s ARM11 CPU cores. It refers to the core that is used to run the operating system software stack. The other core is called [[#appcore|appcore]].&lt;br /&gt;
&lt;br /&gt;
== T ==&lt;br /&gt;
&lt;br /&gt;
=== Ticket ===&lt;br /&gt;
A [[ticket]] is a file containing signature and encryption information on a particular [[Glossary#Title|title]]. Tickets may be console-unique: In particular, tickets for [[eShop]] contents are issued uniquely for each 3DS and hence cannot be transferred directly to other devices. System titles (and other content not available on eShop) are using tickets called [[Ticket#Some_facts|CommonETickets]], which are common to all devices.&lt;br /&gt;
&lt;br /&gt;
=== [[Titles]] ===&lt;br /&gt;
&lt;br /&gt;
A title is a 3DS Game on a card or in a 3DS. This includes the built-in channels and menus. A title is identified by a unique title ID, an 8 byte (4 character) long code used for title identification. All titles are encrypted for security purposes.&lt;br /&gt;
&lt;br /&gt;
Related pages: [[Title list]], [[Glossary#Title_Metadata_.28TMD.29|Title Metadata]], [[Glossary#Ticket|Ticket]], [[Title Database]]&lt;br /&gt;
&lt;br /&gt;
=== Title Metadata (TMD) ===&lt;br /&gt;
&lt;br /&gt;
[[Title metadata]] is a format used for storing metadata about a title and its installed contents, including which contents they consist of and their SHA1 hashes.&lt;br /&gt;
&lt;br /&gt;
=== TWL ===&lt;br /&gt;
&lt;br /&gt;
Codename used for the Nintendo DSi.&lt;br /&gt;
&lt;br /&gt;
Related pages: [[FIRM#TWL_FIRM|TWL FIRM]], [[ARM7 Registers]]&lt;/div&gt;</summary>
		<author><name>Lynn</name></author>
	</entry>
	<entry>
		<id>https://www.3dbrew.org/w/index.php?title=Glossary&amp;diff=18859</id>
		<title>Glossary</title>
		<link rel="alternate" type="text/html" href="https://www.3dbrew.org/w/index.php?title=Glossary&amp;diff=18859"/>
		<updated>2016-12-11T23:13:49Z</updated>

		<summary type="html">&lt;p&gt;Lynn: Add some terms&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;A miniature dictionary for terms that may be encountered on 3DSBrew.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;noautonum&amp;quot;&amp;gt;__TOC__&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== A ==&lt;br /&gt;
&lt;br /&gt;
=== AXI WRAM ===&lt;br /&gt;
&lt;br /&gt;
The name given to 512KiB of SRAM (&amp;quot;Work&amp;quot; RAM) connected to the SOC via AXI. It is where the ARM11 kernel resides. &lt;br /&gt;
&lt;br /&gt;
=== appcore ===&lt;br /&gt;
&lt;br /&gt;
appcore is the name given to one of the Old 3DS&#039;s ARM11 CPU cores. It refers to the core that is used to run games and other [[NCCH]] content. The other core is called [[#syscore|syscore]].&lt;br /&gt;
&lt;br /&gt;
== C ==&lt;br /&gt;
&lt;br /&gt;
=== C ===&lt;br /&gt;
&lt;br /&gt;
A language homebrew developers program in, also used to make everything from web browsers to timers for computers.&lt;br /&gt;
&lt;br /&gt;
=== C++ ===&lt;br /&gt;
&lt;br /&gt;
An object oriented language homebrew developers program in. Like its name suggests, C++ is essentially a step up from C.&lt;br /&gt;
&lt;br /&gt;
=== CCI ===&lt;br /&gt;
[[NCSD#Overview|CTR Cart Image]]. A file extension for game ROM images. The file format is a specialisation of the [[NCSD]] container format.&lt;br /&gt;
&lt;br /&gt;
=== CFA ===&lt;br /&gt;
[[NCCH#CFA|CTR File Archive]]. A file extension for [[NCCH]] containers that contain non-executable data.&lt;br /&gt;
&lt;br /&gt;
=== Citra ===&lt;br /&gt;
A work-in-progress Nintendo 3DS emulator.&lt;br /&gt;
&lt;br /&gt;
=== CTR ===&lt;br /&gt;
Nintendo’s codename for the Nintendo 3DS.&lt;br /&gt;
&lt;br /&gt;
=== CXI ===&lt;br /&gt;
[[NCCH#CXI|CTR eXecutable Image]]. A file extension for [[NCCH]] containers that contain executable code.&lt;br /&gt;
&lt;br /&gt;
== D ==&lt;br /&gt;
&lt;br /&gt;
=== DSi ===&lt;br /&gt;
&lt;br /&gt;
A handheld console created by Nintendo. It is the second successor to the Nintendo DS, and the 6th generation portable Nintendo gaming system. It features two (larger) screens, two cameras, and an online shop system. The menu is also overhauled, now using similar channels as used on the Wii. It has a screen brightness that can be set to one step higher than the DS Lite.&lt;br /&gt;
&lt;br /&gt;
=== DS Lite ===&lt;br /&gt;
&lt;br /&gt;
The predecessor to the DSi. It came after the original DS PHAT and has a screen that can be set to 4x as bright as the DS PHAT.&lt;br /&gt;
&lt;br /&gt;
=== DS &amp;quot;PHAT&amp;quot; ===&lt;br /&gt;
&lt;br /&gt;
The original Nintendo DS. It ended up being the successor to the Game Boy, though Nintendo did not intend for this to happen. It added a touch screen.&lt;br /&gt;
&lt;br /&gt;
=== DSP ===&lt;br /&gt;
&lt;br /&gt;
Digital Signal Processor. The 3DS uses a DSP core to do the audio mixing instead of relaying on dedicated mixing hardware like the predecessor.&lt;br /&gt;
&lt;br /&gt;
=== DSiWare ===&lt;br /&gt;
&lt;br /&gt;
A platform started by Nintendo that allows developers to cheaply create and then sell original content at low prices (compared to the prices of brand new DSi games). All DSiWare games are available on the DSi Shop Channel on the main menu.&lt;br /&gt;
&lt;br /&gt;
=== Dump ===&lt;br /&gt;
&lt;br /&gt;
To extract the protected contents of something like a chip, NAND drive or disc which are otherwise inaccessible and/or incomprehensible under normal circumstances.&lt;br /&gt;
&lt;br /&gt;
=== DS Download Play ===&lt;br /&gt;
&lt;br /&gt;
Another application built into the Nintendo 3DS firmware. It is a place where people can download multiplayer games from another DS or 3DS. With those compatible games it is possible to use only one game card while playing with several people.&lt;br /&gt;
&lt;br /&gt;
== E ==&lt;br /&gt;
&lt;br /&gt;
=== Exploit ===&lt;br /&gt;
&lt;br /&gt;
A circumvention of security allowing a user to perform tasks that are not normally permitted. Often several exploits will be employed in a series with the user gaining increased authority over a system at each step, the goal typically being complete access and control.&lt;br /&gt;
&lt;br /&gt;
== F ==&lt;br /&gt;
&lt;br /&gt;
=== FCRAM ===&lt;br /&gt;
&lt;br /&gt;
FCRAM (Fast Cycle RAM) is a new technology developed by the Fujitsu Corporation that approaches the problem of DRAM/Processor speed in a different way. It is one of the components of 3DS hardware.&lt;br /&gt;
&lt;br /&gt;
== G ==&lt;br /&gt;
&lt;br /&gt;
=== gx ===&lt;br /&gt;
&lt;br /&gt;
The official API provided by Nintendo to access the 3DS&#039;s graphics subsystem.&lt;br /&gt;
&lt;br /&gt;
== H ==&lt;br /&gt;
&lt;br /&gt;
=== Hexadecimal (Hex) ===&lt;br /&gt;
&lt;br /&gt;
A term used to describe the base 16 number system, in which each digit represents four bits. After the digits 0-9, the letters A-F are used to represent the values 10-15. Hexadecimal is the preferred format for displaying binary data, as it is easy to mentally convert to/from binary and uses only 2 characters per byte.&lt;br /&gt;
&lt;br /&gt;
=== Home Menu ===&lt;br /&gt;
&lt;br /&gt;
The 3DS&#039;s [[Home Menu]] is the main interface which appears after the health warning screen when the system is powered on. In the 3DS this is where all of your default and downloaded channels and games are.&lt;br /&gt;
&lt;br /&gt;
== I ==&lt;br /&gt;
&lt;br /&gt;
=== IRC ===&lt;br /&gt;
&lt;br /&gt;
Internet Relay Chat is, real-time text-based chat over the Internet.&lt;br /&gt;
&lt;br /&gt;
== M ==&lt;br /&gt;
&lt;br /&gt;
=== MPO ===&lt;br /&gt;
&lt;br /&gt;
[[MPO|Multi-Picture Object]] is the open file-format used by Nintendo to make 3D images. It uses Exif tags and MP tags with JPG. MPO files can be read like two JPG files stuck together.&lt;br /&gt;
&lt;br /&gt;
== N ==&lt;br /&gt;
&lt;br /&gt;
=== [[NCCH]] ===&lt;br /&gt;
A file format for storing the content of any installed [[title]]. This is the format used by [[Glossary#CXI|CXI]] and [[Glossary#CFA|CFA]] files.&lt;br /&gt;
&lt;br /&gt;
=== [[NCSD]] ===&lt;br /&gt;
A file format for grouping up to eight [[Glossary#NCCH|NCCH]] partitions. This is the format used by [[Glossary#CCI|CCI]] files and the [[Flash_Filesystem#NAND_structure|NAND structure]].&lt;br /&gt;
&lt;br /&gt;
== P ==&lt;br /&gt;
&lt;br /&gt;
=== PICA200 ===&lt;br /&gt;
&lt;br /&gt;
The GPU used by the 3DS. See [[Hardware#GPU]].&lt;br /&gt;
&lt;br /&gt;
== S ==&lt;br /&gt;
&lt;br /&gt;
=== SD Card ===&lt;br /&gt;
&lt;br /&gt;
Secure Digital Cards are common type of memory cards used by the 3DS, digital cameras, music players, etc. The standard SD card has a maximum capacity of 2 gigabytes (2048 megabytes); however, some 4 GB cards exist but are rare. These cards usually do not have great compatibility with non-SDHC products, even though they are not SDHC, so 2 GB is the preferable size.&lt;br /&gt;
&lt;br /&gt;
=== SDHC ===&lt;br /&gt;
&lt;br /&gt;
Secure Digital High Capacity Card are a type of SD cards with a higher storage capacity than normal ones. These are theoretically capable of holding up to 2 terabytes of space, but are politically limited by the current standards to 32 gigabytes.&lt;br /&gt;
&lt;br /&gt;
=== syscore ===&lt;br /&gt;
&lt;br /&gt;
syscore is the name given to one of the Old 3DS&#039;s ARM11 CPU cores. It refers to the core that is used to run the operating system software stack. The other core is called [[#appcore|appcore]].&lt;br /&gt;
&lt;br /&gt;
== T ==&lt;br /&gt;
&lt;br /&gt;
=== Ticket ===&lt;br /&gt;
A [[ticket]] is a file containing signature and encryption information on a particular [[Glossary#Title|title]]. Tickets may be console-unique: In particular, tickets for [[eShop]] contents are issued uniquely for each 3DS and hence cannot be transferred directly to other devices. System titles (and other content not available on eShop) are using tickets called [[Ticket#Some_facts|CommonETickets]], which are common to all devices.&lt;br /&gt;
&lt;br /&gt;
=== [[Titles]] ===&lt;br /&gt;
&lt;br /&gt;
A title is a 3DS Game on a card or in a 3DS. This includes the built-in channels and menus. A title is identified by a unique title ID, an 8 byte (4 character) long code used for title identification. All titles are encrypted for security purposes.&lt;br /&gt;
&lt;br /&gt;
Related pages: [[Title list]], [[Glossary#Title_Metadata_.28TMD.29|Title Metadata]], [[Glossary#Ticket|Ticket]], [[Title Database]]&lt;br /&gt;
&lt;br /&gt;
=== Title Metadata (TMD) ===&lt;br /&gt;
&lt;br /&gt;
[[Title metadata]] is a format used for storing metadata about a title and its installed contents, including which contents they consist of and their SHA1 hashes.&lt;br /&gt;
&lt;br /&gt;
=== TWL ===&lt;br /&gt;
&lt;br /&gt;
Codename used for the Nintendo DSi.&lt;br /&gt;
&lt;br /&gt;
Related pages: [[FIRM#TWL_FIRM|TWL FIRM]], [[ARM7 Registers]]&lt;/div&gt;</summary>
		<author><name>Lynn</name></author>
	</entry>
	<entry>
		<id>https://www.3dbrew.org/w/index.php?title=NCCH&amp;diff=18858</id>
		<title>NCCH</title>
		<link rel="alternate" type="text/html" href="https://www.3dbrew.org/w/index.php?title=NCCH&amp;diff=18858"/>
		<updated>2016-12-11T23:09:14Z</updated>

		<summary type="html">&lt;p&gt;Lynn: /* Container File Format */ colors&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:File formats]]&lt;br /&gt;
The following text tries to document the structure of the NCCH container format. This format is used to store the content of any installed [[Titles|title]].&lt;br /&gt;
&lt;br /&gt;
== Overview ==&lt;br /&gt;
There are two known NCCH container specializations used on the 3DS, &amp;quot;executable&amp;quot; and &amp;quot;non-executable&amp;quot;, officially known as CXI and CFA, respectively.&lt;br /&gt;
&lt;br /&gt;
=== CXI ===&lt;br /&gt;
&lt;br /&gt;
The CXI (CTR Executable Image) specialization of the NCCH container contains executable code, which runs on a single ARM11 core.&lt;br /&gt;
&lt;br /&gt;
The CXI format is structured in the following order:&lt;br /&gt;
* first a NCCH header,&lt;br /&gt;
* followed by an [[NCCH/Extended Header|extended header]],&lt;br /&gt;
* followed by an access descriptor,&lt;br /&gt;
* followed by an &#039;&#039;&#039;optional&#039;&#039;&#039; plain binary region,&lt;br /&gt;
* followed by an &#039;&#039;&#039;optional&#039;&#039;&#039; executable filesystem ([[ExeFS]]) - (contains ARM11 code, Home menu [[SMDH|icn]]/bnr and [[Logo|logo]]),&lt;br /&gt;
* and finally followed by an &#039;&#039;&#039;optional&#039;&#039;&#039; read-only filesystem ([[RomFS]]) - (Used for external file storage).&lt;br /&gt;
&lt;br /&gt;
The extended header contains additional information regarding access control. &lt;br /&gt;
The plain binary region is an area specifically stored in plaintext, mostly containing SDK library strings for identification.&lt;br /&gt;
&lt;br /&gt;
=== CFA ===&lt;br /&gt;
&lt;br /&gt;
The CFA (CTR File Archive) specialization of the NCCH container is not executable, but is used in conjunction with CXI files, e.g. the DLP Child Container and the Electronic Manual. (There is a system update NCCH which follows this format, but is used by the 3DS rather than the Application NCCH, and only works when embedded in the [[CCI]] format because the nVer is kept in the header of retail [[CCI]] files instead of the application NCCH). There are CFA files which exist alone in a title, but these are just [[Title list|System Data Archive]] titles and are found only in the [[Flash Filesystem#CTR partition|NAND]].&lt;br /&gt;
&lt;br /&gt;
CFA files are structured in the following order:&lt;br /&gt;
* first a NCCH header,&lt;br /&gt;
* followed by an &#039;&#039;&#039;optional&#039;&#039;&#039; executable filesystem ([[ExeFS]]) (same as in CXI, except no ARM11 code)&lt;br /&gt;
* followed by an &#039;&#039;&#039;optional&#039;&#039;&#039; read-only filesystem ([[RomFS]])&lt;br /&gt;
&lt;br /&gt;
== Container File Format ==&lt;br /&gt;
&lt;br /&gt;
=== Encryption ===&lt;br /&gt;
The extended header, the [[ExeFS]], and the [[RomFS]] are encrypted using [https://github.com/3dshax/ctr/blob/master/ctrtool/ncch.c 128-bit AES CTR] unless the NoCrypto flag is set in ncchflag[7]. There are different sets of encryption parameters in use, as over the time new system updates introduced more sophisticated means of encryption. Generally, the decryption key is generated using the [[AES|AES Engine]] key generator by selecting a particular key slot (see below), the keyX of which is usually set by the bootrom and keyY of which was originally set to the first 0x10 bytes of the NCCH signature.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;NOTE: For a full understanding of the steps involved in decryption, consult the [https://github.com/Relys/Project_CTR ctrtool] and [https://github.com/archshift/Decrypt9 Decrypt9] source code instead.&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Starting with [[9.6.0-24|9.6.0-X]] Process9, there is a different method of generating the NCCH keyY which is enabled by setting the bitmask 0x20 in ncchflag[7]: The keyY will be set to a SHA256 hash generated with the 0x20 bytes of data constituted by the old-method-keyY and a unique content lock seed (each of which are 0x10 bytes wide), where seeds for downloaded titles that use the new crypto are stored in [[Filesystem_services#SEEDDB|SEEDDB]] (nand:/data/&amp;lt;console-unique&amp;gt;/sysdata/0001000f/00000000). The decryption is transparent to ARM11 userland: When FSUSER OpenFile is used with a NCCH archive which uses this crypto, the FS-module will add the seed-data from SEEDDB to the end of the file lowpath used for [[FSPXI:OpenFile]], using which Process9 then gets the hash for calculating the NCCH keyY. It has been observed that this new keyY generation is only used for [[RomFS]] and for [[ExeFS]] sections other than &amp;quot;icon&amp;quot; and &amp;quot;banner&amp;quot; (the same sections which would be used for the additional NCCH keyslots, however this keyY generation can be used without any additional NCCH keyslot). Not applying the encryption to &amp;quot;icon&amp;quot; and &amp;quot;banner&amp;quot; was presumably done to support pre-loading of games from the eShop (i.e. being able to download and install titles without being able to start them until official release).&lt;br /&gt;
&lt;br /&gt;
If a certain NCCH flag is set, a fixed AES key is used. There are two fixed keys, one for titles which have the system category bit set (SystemFixedKey), and one for the rest (&amp;quot;zeros&amp;quot; key). These are debug keys, as they aren&#039;t nomally supported on retail systems.&lt;br /&gt;
&lt;br /&gt;
As of [[7.0.0-13|7.0.0-X]] the system supports a new encryption method for secure-crypto (when ncchflag[3] != 0). Where a second key is generated using the same keyY but with another [[AES|keyslot]]. The second key is used to crypt the [[RomFS]] and [[ExeFS]] files which don&#039;t have filenames &amp;quot;icon&amp;quot; or &amp;quot;banner&amp;quot; (i.e. &amp;quot;.code&amp;quot; and &amp;quot;.firm&amp;quot;). While everything else is crypted with the original key. Note the CTR used is the same for both keys. This makes titles &amp;quot;recognizable&amp;quot; but not &amp;quot;launchable&amp;quot; on systems which don&#039;t support this method or the keyslot used.&lt;br /&gt;
&lt;br /&gt;
See below for the secondary keyslots used in NCCH crypto(as mentioned above). As of [[9.6.0-24|9.6.0-X]], Old3DS Process9 will *only* use secondary-keyslot 0x25 when ncchflag[3] is non-zero.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!  ncchflag[3]&lt;br /&gt;
!  FW Introduced&lt;br /&gt;
!  Old3DS&lt;br /&gt;
!  [[AES#Keyslot|AES Keyslots]]&lt;br /&gt;
!  Notes&lt;br /&gt;
|-&lt;br /&gt;
|  0x01&lt;br /&gt;
|  [[7.0.0-13|7.0.0-X]]&lt;br /&gt;
|  style=&amp;quot;background: #ccffbb&amp;quot; | Yes&lt;br /&gt;
|  0x25&lt;br /&gt;
|  This keyslot is [[Savegames|initialized]] by the 6.0 gamecard savegame keyY init function during boot, using a different portion of the [[Savegames|final]] hash (this keyslot is separate from the one used for the 6.0 save crypto).&lt;br /&gt;
|-&lt;br /&gt;
|  0x0A&lt;br /&gt;
|  [[9.3.0-21|9.3.0-X]]&lt;br /&gt;
|  style=&amp;quot;background: #ffccbb&amp;quot; | No&lt;br /&gt;
|  0x18&lt;br /&gt;
|  This keyslot is initialized by [[FIRM#New_3DS_FIRM|arm9loader]] on New3DS starting with [[8.1.0-0_New3DS]], but only [[9.3.0-21|9.3.0-X]] and later know how to use it with ncchflag[3].&lt;br /&gt;
|-&lt;br /&gt;
|  0x0B&lt;br /&gt;
|  [[9.6.0-24|9.6.0-X]]&lt;br /&gt;
|  style=&amp;quot;background: #ffccbb&amp;quot; | No&lt;br /&gt;
|  0x1B&lt;br /&gt;
|  [[9.6.0-24|9.6.0-X]]&#039;s [[FIRM#New_3DS_FIRM|arm9loader]] changed the contents of keyslots 0x19-0x1F; 9.6.0-X was the first time they were officially used, so this is not a breaking change (there is no content that would use the old versions of those keys).&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Format ===&lt;br /&gt;
&lt;br /&gt;
Currently, only [[ExeFS]]:/.code can be compressed (with a LZ77 variant). A flag in the [[NCCH/Extended Header#System Info|exheader]] determines if this is the case.&lt;br /&gt;
&lt;br /&gt;
On retail for SD applications, exheader_systeminfoflags.flag bit1 must be set.&lt;br /&gt;
&lt;br /&gt;
Retail CFAs use the default NCCH product code &amp;quot;CTR-P-CTAP&amp;quot;, while retail title/gamecard CXIs use NCCH product code &amp;quot;CTR-X-XXXX&amp;quot;. This product code is the NCCH [[Serials|serial code]]. The region-locking info checked by home menu is stored in the [[SMDH#BNR Region|icon]].&lt;br /&gt;
&lt;br /&gt;
All of the hashes stored in this NCCH header are over the cleartext data. The ExeFS/RomFS superblock starts at offset 0x0 in the ExeFS/RomFS, and the size is specified by the hash region fields. Nintendo&#039;s NCCH validation code seems to have the size of this region fixed to 0x200 bytes (for ExeFS at least). &lt;br /&gt;
&lt;br /&gt;
As of [[5.0.0-11]] the application [[ExeFS]]:/logo can be loaded from the plaintext region between the access descriptor and the plain region, all applications built since [[5.0.0-11]] store the logo here. The size of this logo is always 0x2000-bytes.&lt;br /&gt;
&lt;br /&gt;
The plain region mainly contains tags for each SDK library used when building the CXI. The version used for the &amp;quot;FIRMWARE&amp;quot; tag is the kernel/FIRM [[Configuration_Memory|version]], this version can also be stored in the exheader &amp;quot;kernel release version&amp;quot; ARM11 kernel descriptor field. As of [[2.2.0-X]] the NATIVE_FIRM kernels check the CXI exheader &amp;quot;kernel release version&amp;quot; field, if it is stored in the CXI exheader. If the kernel/FIRM version specified by this field is higher than the version of the running NATIVE_FIRM, the kernel will return error-code 0xD9001413.&lt;br /&gt;
&lt;br /&gt;
=== NCCH Header ===&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;
|  0x000&lt;br /&gt;
|  0x100&lt;br /&gt;
|  RSA-2048 signature of the NCCH header, using SHA-256.&lt;br /&gt;
|-&lt;br /&gt;
|  0x100&lt;br /&gt;
|  4&lt;br /&gt;
|  Magic ID, always &#039;NCCH&#039;&lt;br /&gt;
|-&lt;br /&gt;
|  0x104&lt;br /&gt;
|  4&lt;br /&gt;
|  Content size, in media units (1 media unit = 0x200 bytes)&lt;br /&gt;
|-&lt;br /&gt;
|  0x108&lt;br /&gt;
|  8&lt;br /&gt;
|  Partition ID&lt;br /&gt;
|-&lt;br /&gt;
|  0x110&lt;br /&gt;
|  2&lt;br /&gt;
|  Maker code&lt;br /&gt;
|-&lt;br /&gt;
|  0x112&lt;br /&gt;
|  2&lt;br /&gt;
|  Version&lt;br /&gt;
|-&lt;br /&gt;
|  0x114&lt;br /&gt;
|  4&lt;br /&gt;
|  When ncchflag[7] = 0x20 starting with FIRM [[9.6.0-24|9.6.0-X]], this is compared with the first output u32 from a SHA256 hash. The data used for that hash is 0x18-bytes: &amp;lt;0x10-long title-unique content lock seed&amp;gt; &amp;lt;programID from NCCH+0x118&amp;gt;. This hash is only used for verification of the content lock seed, and is not the actual keyY.&lt;br /&gt;
|-&lt;br /&gt;
|  0x118&lt;br /&gt;
|  8&lt;br /&gt;
|  Program ID&lt;br /&gt;
|-&lt;br /&gt;
|  0x120&lt;br /&gt;
|  0x10&lt;br /&gt;
|  Reserved&lt;br /&gt;
|-&lt;br /&gt;
|  0x130&lt;br /&gt;
|  0x20&lt;br /&gt;
|  Logo Region SHA-256 hash. (For applications built with SDK 5+) (Supported from firmware: [[5.0.0-11]])&lt;br /&gt;
|-&lt;br /&gt;
|  0x150&lt;br /&gt;
|  0x10&lt;br /&gt;
|  Product code&lt;br /&gt;
|-&lt;br /&gt;
|  0x160&lt;br /&gt;
|  0x20&lt;br /&gt;
|  Extended header SHA-256 hash (SHA256 of 2x Alignment Size, beginning at 0x0 of ExHeader)&lt;br /&gt;
|-&lt;br /&gt;
|  0x180&lt;br /&gt;
|  4&lt;br /&gt;
|  Extended header size, in bytes&lt;br /&gt;
|-&lt;br /&gt;
|  0x184&lt;br /&gt;
|  4&lt;br /&gt;
|  Reserved&lt;br /&gt;
|-&lt;br /&gt;
|  0x188&lt;br /&gt;
|  8&lt;br /&gt;
|  Flags (See Below)&lt;br /&gt;
|-&lt;br /&gt;
|  0x190&lt;br /&gt;
|  4&lt;br /&gt;
|  Plain region offset, in media units&lt;br /&gt;
|-&lt;br /&gt;
|  0x194&lt;br /&gt;
|  4&lt;br /&gt;
|  Plain region size, in media units&lt;br /&gt;
|-&lt;br /&gt;
|  0x198&lt;br /&gt;
|  4&lt;br /&gt;
|  Logo Region offset, in media units (For applications built with SDK 5+) (Supported from firmware: [[5.0.0-11]])&lt;br /&gt;
|-&lt;br /&gt;
|  0x19c&lt;br /&gt;
|  4&lt;br /&gt;
|  Logo Region size, in media units (For applications built with SDK 5+) (Supported from firmware: [[5.0.0-11]])&lt;br /&gt;
|-&lt;br /&gt;
|  0x1A0&lt;br /&gt;
|  4&lt;br /&gt;
|  ExeFS offset, in media units&lt;br /&gt;
|-&lt;br /&gt;
|  0x1A4&lt;br /&gt;
|  4&lt;br /&gt;
|  ExeFS size, in media units&lt;br /&gt;
|-&lt;br /&gt;
|  0x1A8&lt;br /&gt;
|  4&lt;br /&gt;
|  ExeFS hash region size, in media units&lt;br /&gt;
|-&lt;br /&gt;
|  0x1AC&lt;br /&gt;
|  4&lt;br /&gt;
|  Reserved&lt;br /&gt;
|-&lt;br /&gt;
|  0x1B0&lt;br /&gt;
|  4&lt;br /&gt;
|  RomFS offset, in media units&lt;br /&gt;
|-&lt;br /&gt;
|  0x1B4&lt;br /&gt;
|  4&lt;br /&gt;
|  RomFS size, in media units&lt;br /&gt;
|-&lt;br /&gt;
|  0x1B8&lt;br /&gt;
|  4&lt;br /&gt;
|  RomFS hash region size, in media units&lt;br /&gt;
|-&lt;br /&gt;
|  0x1BC&lt;br /&gt;
|  4&lt;br /&gt;
|  Reserved&lt;br /&gt;
|-&lt;br /&gt;
|  0x1C0&lt;br /&gt;
|  0x20&lt;br /&gt;
|  ExeFS superblock SHA-256 hash - (SHA-256 hash, starting at 0x0 of the ExeFS over the number of media units specified in the ExeFS hash region size)&lt;br /&gt;
|-&lt;br /&gt;
|  0x1E0&lt;br /&gt;
|  0x20&lt;br /&gt;
|  RomFS superblock SHA-256 hash - (SHA-256 hash, starting at 0x0 of the RomFS over the number of media units specified in the RomFS hash region size)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Given offsets are based on the start of the file.&lt;br /&gt;
&lt;br /&gt;
=== NCCH Flags ===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!  INDEX&lt;br /&gt;
!  DESCRIPTION&lt;br /&gt;
|-&lt;br /&gt;
|  3&lt;br /&gt;
|  Crypto Method: When this is non-zero, a NCCH crypto method using two keyslots is used(see above).&lt;br /&gt;
|-&lt;br /&gt;
|  4&lt;br /&gt;
|  Content Platform: 1 = CTR, 2 = snake (New 3DS).&lt;br /&gt;
|-&lt;br /&gt;
|  5&lt;br /&gt;
|  Content Type Bit-masks: Data = 0x1, Executable = 0x2, SystemUpdate = 0x4, Manual = 0x8, Child = (0x4&amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt;0x8), Trial = 0x10. When &#039;Data&#039; is set, but not &#039;Executable&#039;, NCCH is a CFA. Otherwise when &#039;Executable&#039; is set, NCCH is a CXI.&lt;br /&gt;
|-&lt;br /&gt;
|  6&lt;br /&gt;
|  Content Unit Size i.e. u32 ContentUnitSize = 0x200*2^flags[6]; &lt;br /&gt;
|-&lt;br /&gt;
|  7&lt;br /&gt;
|  Bit-masks: FixedCryptoKey = 0x1, NoMountRomFs = 0x2, NoCrypto = 0x4, using a new keyY generator = 0x20(starting with FIRM [[9.6.0-24|9.6.0-X]]).&lt;br /&gt;
|}&lt;br /&gt;
CXIs NCCH header signature is verified using the RSA public key stored in the accessdesc,(which follows the exheader) while CFAs NCCH header is verified with a fixed RSA public key.&lt;br /&gt;
&lt;br /&gt;
==== NCCH header example for Lego Starwars III ====&lt;br /&gt;
 Signature:              720FF8F83F2A1E998322A026D1434165&lt;br /&gt;
                         ED19642ABC1CB2722135AA202BEAD60A&lt;br /&gt;
                         80BCD21C768C597B8268FEF2C64EA710&lt;br /&gt;
                         4C9BA5E12CFFBD1D0C619F4EF7B42CA7&lt;br /&gt;
                         DD8482CB4EB26720AD66CDA57ABCBCFB&lt;br /&gt;
                         D63268A6E2896A59B3B744E39E45B88A&lt;br /&gt;
                         ABB4C0980ACC6210818DCE6DAC838A10&lt;br /&gt;
                         95D0F66B352474D4B3DA4B333F49912D&lt;br /&gt;
                         29AF7EA58BC8C890B18C70B7D540A9FB&lt;br /&gt;
                         EBE24A5312055617D3353B28C3EB1D17&lt;br /&gt;
                         61021BEFF6AD22C384835B40BD44DFAD&lt;br /&gt;
                         981F6350F9458B17BCB5F768C92ABC93&lt;br /&gt;
                         2BCE9888855A8998F4CDE40C9543514A&lt;br /&gt;
                         C57B84EB75A680E7C742632614620D1D&lt;br /&gt;
                         A253284DF3DC01091EB3800C36FD62EE&lt;br /&gt;
                         BA15340F1FD498FAB67C0302E9CDA397&lt;br /&gt;
 Magic:                  NCCH&lt;br /&gt;
 Content size:           0x1cfef400&lt;br /&gt;
 Partition id:           0004000000038c00&lt;br /&gt;
 Maker code:             3436 (&amp;quot;46&amp;quot;)&lt;br /&gt;
 Version:                0002&lt;br /&gt;
 Program id:             0004000000038c00&lt;br /&gt;
 Temp flag:              00&lt;br /&gt;
 Product code:           CTR-P-ALGP&lt;br /&gt;
 Extended header hash:   0C27E3C1DE7B2AE2D3114F32A4EEBF46&lt;br /&gt;
                         9AFD0CF352C11D4984C2A9F1D2144C63&lt;br /&gt;
 Extended header size:   00000400&lt;br /&gt;
 Flags:                  0000030100000000&lt;br /&gt;
 Plain region offset:    0x00004a00&lt;br /&gt;
 Plain region size:      0x00000200&lt;br /&gt;
 ExeFS offset:           0x00004c00&lt;br /&gt;
 ExeFS size:             0x00143800&lt;br /&gt;
 ExeFS hash region size: 0x00000200&lt;br /&gt;
 RomFS offset:           0x00148400&lt;br /&gt;
 RomFS size:             0x1ceab000&lt;br /&gt;
 RomFS hash region size: 0x00000200&lt;br /&gt;
 ExeFS Superblock Hash:  130C042615F647C4C63225EA9E67F8A2&lt;br /&gt;
                         7B15246B88FBC7A927257B84977B787B&lt;br /&gt;
 RomFS Superblock Hash:  A65BEE1060BB6A6821BBCEC600035B7E&lt;br /&gt;
                         64FB6EACA7F0960CFB1F5A37087728F7&lt;br /&gt;
 Note: Offsets and sizes in media units have been converted to byte sizes.&lt;br /&gt;
&lt;br /&gt;
==== Plain region example for Lego Starwars III ====&lt;br /&gt;
 0004a00: 5b 53 44 4b 2b 4e 49 4e 54 45 4e 44 4f 3a 43 54  [SDK+NINTENDO:CT    [SDK+NINTENDO:CTR_SDK-0_14_23_200_none]&lt;br /&gt;
 0004a10: 52 5f 53 44 4b 2d 30 5f 31 34 5f 32 33 5f 32 30  R_SDK-0_14_23_20&lt;br /&gt;
 0004a20: 30 5f 6e 6f 6e 65 5d 00 5b 53 44 4b 2b 4e 49 4e  0_none].[SDK+NIN    [SDK+NINTENDO:Firmware-02_27]&lt;br /&gt;
 0004a30: 54 45 4e 44 4f 3a 46 69 72 6d 77 61 72 65 2d 30  TENDO:Firmware-0&lt;br /&gt;
 0004a40: 32 5f 32 37 5d 00 5b 53 44 4b 2b 4d 6f 62 69 63  2_27].[SDK+Mobic    [SDK+Mobiclip:Deblocker_1_0_2]&lt;br /&gt;
 0004a50: 6c 69 70 3a 44 65 62 6c 6f 63 6b 65 72 5f 31 5f  lip:Deblocker_1_&lt;br /&gt;
 0004a60: 30 5f 32 5d 00 5b 53 44 4b 2b 4d 6f 62 69 63 6c  0_2].[SDK+Mobicl    [SDK+Mobiclip:ImaAdpcmDec_1_0_0]&lt;br /&gt;
 0004a70: 69 70 3a 49 6d 61 41 64 70 63 6d 44 65 63 5f 31  ip:ImaAdpcmDec_1&lt;br /&gt;
 0004a80: 5f 30 5f 30 5d 00 5b 53 44 4b 2b 4d 6f 62 69 63  _0_0].[SDK+Mobic    [SDK+Mobiclip:MobiclipDec_1_0_1]&lt;br /&gt;
 0004a90: 6c 69 70 3a 4d 6f 62 69 63 6c 69 70 44 65 63 5f  lip:MobiclipDec_&lt;br /&gt;
 0004aa0: 31 5f 30 5f 31 5d 00 5b 53 44 4b 2b 4d 6f 62 69  1_0_1].[SDK+Mobi    [SDK+Mobiclip:MoflexDemuxer_1_0_2]&lt;br /&gt;
 0004ab0: 63 6c 69 70 3a 4d 6f 66 6c 65 78 44 65 6d 75 78  clip:MoflexDemux&lt;br /&gt;
 0004ac0: 65 72 5f 31 5f 30 5f 32 5d 00 00 00 00 00 00 00  er_1_0_2].......&lt;br /&gt;
 0004ad0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................&lt;br /&gt;
 0004ae0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................&lt;br /&gt;
&lt;br /&gt;
==== Example dependency list from the extended header ====&lt;br /&gt;
 00850 41 50 54 3A 55 00 00 00 24 68 69 6F 46 49 4F 00 APT:U...$hioFIO.&lt;br /&gt;
 00860 24 68 6F 73 74 69 6F 30 24 68 6F 73 74 69 6F 31 $hostio0$hostio1&lt;br /&gt;
 00870 61 63 3A 75 00 00 00 00 62 6F 73 73 3A 55 00 00 ac:u....boss:U..&lt;br /&gt;
 00880 63 61 6D 3A 75 00 00 00 63 65 63 64 3A 75 00 00 cam:u...cecd:u..&lt;br /&gt;
 00890 63 66 67 3A 75 00 00 00 64 6C 70 3A 46 4B 43 4C cfg:u...dlp:FKCL&lt;br /&gt;
 008A0 64 6C 70 3A 53 52 56 52 64 73 70 3A 3A 44 53 50 dlp:SRVRdsp::DSP&lt;br /&gt;
 008B0 66 72 64 3A 75 00 00 00 66 73 3A 55 53 45 52 00 frd:u...fs:USER.&lt;br /&gt;
 008C0 67 73 70 3A 3A 47 70 75 68 69 64 3A 55 53 45 52 gsp::Gpuhid:USER&lt;br /&gt;
 008D0 68 74 74 70 3A 43 00 00 6D 69 63 3A 75 00 00 00 http:C..mic:u...&lt;br /&gt;
 008E0 6E 64 6D 3A 75 00 00 00 6E 65 77 73 3A 75 00 00 ndm:u...&amp;lt;nowiki&amp;gt;news:u..&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
 008F0 6E 77 6D 3A 3A 55 44 53 70 74 6D 3A 75 00 00 00 nwm::UDSptm:u...&lt;br /&gt;
 00900 70 78 69 3A 64 65 76 00 73 6F 63 3A 55 00 00 00 pxi:dev.soc:U...&lt;br /&gt;
 00910 73 73 6C 3A 43 00 00 00 79 32 72 3A 75 00 00 00 ssl:C...y2r:u...&lt;br /&gt;
 00920 69 72 3A 55 53 45 52 00 6C 64 72 3A 72 6F 00 00 ir:USER.ldr:ro..&lt;br /&gt;
 00930 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................&lt;br /&gt;
 00940 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................&lt;br /&gt;
 00950 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................&lt;br /&gt;
 00960 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................&lt;br /&gt;
 ... ...&lt;br /&gt;
 009D0 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF                 &lt;br /&gt;
 009E0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................&lt;br /&gt;
 009F0 00 03 00 00 00 00 00 00 00 00 00 00 00 00 00 02 . .............&lt;br /&gt;
&lt;br /&gt;
== Tools ==&lt;br /&gt;
&lt;br /&gt;
[https://github.com/profi200/Project_CTR/tree/master/ctrtool ctrtool] - (CMD)(Windows/Linux) Parsing and decrypting (debug only) NCCH files&lt;/div&gt;</summary>
		<author><name>Lynn</name></author>
	</entry>
	<entry>
		<id>https://www.3dbrew.org/w/index.php?title=Flash_Filesystem&amp;diff=18856</id>
		<title>Flash Filesystem</title>
		<link rel="alternate" type="text/html" href="https://www.3dbrew.org/w/index.php?title=Flash_Filesystem&amp;diff=18856"/>
		<updated>2016-12-11T22:58:36Z</updated>

		<summary type="html">&lt;p&gt;Lynn: /* NAND structure */ nicer colors in table&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The Nintendo 3DS has a 1GB NAND Flash chip. Due to the NCSD header, the actual used size of the Old3DS NAND is 0x3AF00000-bytes(943MiB). On New3DS, the actual NAND size and the total size used by the partitions, is 0x4D800000-bytes(1240MiB).&lt;br /&gt;
&lt;br /&gt;
===Format===&lt;br /&gt;
Reading of the flash chip is possible through pinouts on the motherboard and has been performed successfully but the data is encrypted and can&#039;t be understood without first decrypting it.&lt;br /&gt;
&lt;br /&gt;
===Region Changing===&lt;br /&gt;
See [https://gist.github.com/yellows8/f15be7a51c38cea14f2c here].&lt;br /&gt;
&lt;br /&gt;
===Redirection to SD card===&lt;br /&gt;
See [[NAND_Redirection]].&lt;br /&gt;
&lt;br /&gt;
===Encryption===&lt;br /&gt;
&lt;br /&gt;
The NAND file system is encrypted using [[AES|AES-CTR]]. The TWL regions of NAND use the TWL NAND [[AES|keyslot]], while the CTR regions use the CTR NAND [[AES|keyslots]]. The keyslot used for each partition is determined by the NCSD partition FS type and encryption type. The TWL/CTR NAND regions are specified by the NCSD header. The first 0x0B100000 bytes of NAND is encrypted with the TWL keyslot, however before 0x00012E00 only the MBR partition table is encrypted with the TWL keyslot. That region contains the TWL partitions listed below.&lt;br /&gt;
&lt;br /&gt;
The New3DS CTRNAND partition uses a [[AES|keyslot]] separate from the Old3DS one.&lt;br /&gt;
&lt;br /&gt;
Note that re-encrypting a NAND image alone from another 3DS for use on a different 3DS is not enough to use that NAND image on a different 3DS: certain files in the &amp;quot;nand&amp;quot; partition would need modified/replaced as well.&lt;br /&gt;
&lt;br /&gt;
===NAND structure===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!  Old3DS&lt;br /&gt;
!  New3DS&lt;br /&gt;
!  Partition name&lt;br /&gt;
!  Offset&lt;br /&gt;
!  Size&lt;br /&gt;
!  NCSD partition FS type&lt;br /&gt;
!  NCSD partition encryption type&lt;br /&gt;
!  NCSD partition index&lt;br /&gt;
!  [[AES_Registers|AES]] engine keyslot&lt;br /&gt;
!  Description&lt;br /&gt;
|-&lt;br /&gt;
|  style=&amp;quot;background: #ccffbb&amp;quot; | Yes&lt;br /&gt;
|  style=&amp;quot;background: #ccffbb&amp;quot; | Yes&lt;br /&gt;
|  &lt;br /&gt;
|  0x0&lt;br /&gt;
|  0x200&lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
|  [[NCSD]] header, this contains the offsets/sizes of the below CTR-NAND partitions. This block also contains the TWL-NAND MBR partition table.&lt;br /&gt;
|-&lt;br /&gt;
|  style=&amp;quot;background: #ccffbb&amp;quot; | Yes&lt;br /&gt;
|  style=&amp;quot;background: #ccffbb&amp;quot; | Yes&lt;br /&gt;
|  &lt;br /&gt;
|  0x00000000&lt;br /&gt;
|  0x0B100000&lt;br /&gt;
|  0x01&lt;br /&gt;
|  0x01&lt;br /&gt;
|  0x00&lt;br /&gt;
|  0x03&lt;br /&gt;
|  TWL NAND region&lt;br /&gt;
|-&lt;br /&gt;
|  style=&amp;quot;background: #ffccbb&amp;quot; | No&lt;br /&gt;
|  style=&amp;quot;background: #ccffbb&amp;quot; | Yes&lt;br /&gt;
| &lt;br /&gt;
| 0x00012C00&lt;br /&gt;
| 0x200&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| See below.&lt;br /&gt;
| Console-unique encrypted New3DS key-storage, see below.&lt;br /&gt;
|-&lt;br /&gt;
|  style=&amp;quot;background: #ccffbb&amp;quot; | Yes&lt;br /&gt;
|  style=&amp;quot;background: #ccffbb&amp;quot; | Yes&lt;br /&gt;
|  twln&lt;br /&gt;
|  0x00012E00&lt;br /&gt;
|  0x08FB5200&lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
| &lt;br /&gt;
|  0x03&lt;br /&gt;
|  TWL-NAND FAT16 File System. (DSi)&lt;br /&gt;
|-&lt;br /&gt;
|  style=&amp;quot;background: #ccffbb&amp;quot; | Yes&lt;br /&gt;
|  style=&amp;quot;background: #ccffbb&amp;quot; | Yes&lt;br /&gt;
|  twlp&lt;br /&gt;
|  0x09011A00&lt;br /&gt;
|  0x020B6600&lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
| &lt;br /&gt;
|  0x03&lt;br /&gt;
|  TWL-NAND PHOTO FAT12 File System. (DSi)&lt;br /&gt;
|-&lt;br /&gt;
|  style=&amp;quot;background: #ccffbb&amp;quot; | Yes&lt;br /&gt;
|  style=&amp;quot;background: #ccffbb&amp;quot; | Yes&lt;br /&gt;
|  &lt;br /&gt;
|  0x0B100000&lt;br /&gt;
|  0x00030000&lt;br /&gt;
|  0x04&lt;br /&gt;
|  0x02&lt;br /&gt;
|  0x01&lt;br /&gt;
|  0x07&lt;br /&gt;
|  By default this partition is empty(only contains 0x00/0xFF bytes since it was never written to), when AGB_FIRM was never launched. This contains the AGB_FIRM GBA savegame.&lt;br /&gt;
|-&lt;br /&gt;
|  style=&amp;quot;background: #ccffbb&amp;quot; | Yes&lt;br /&gt;
|  style=&amp;quot;background: #ccffbb&amp;quot; | Yes&lt;br /&gt;
|  firm0&lt;br /&gt;
|  0x0B130000&lt;br /&gt;
|  0x00400000&lt;br /&gt;
|  0x03&lt;br /&gt;
|  0x02&lt;br /&gt;
|  0x02&lt;br /&gt;
|  0x06&lt;br /&gt;
|  [[FIRM|Firmware]] partition.&lt;br /&gt;
|-&lt;br /&gt;
|  style=&amp;quot;background: #ccffbb&amp;quot; | Yes&lt;br /&gt;
|  style=&amp;quot;background: #ccffbb&amp;quot; | Yes&lt;br /&gt;
|  firm1&lt;br /&gt;
|  0x0B530000&lt;br /&gt;
|  0x00400000&lt;br /&gt;
|  0x03&lt;br /&gt;
|  0x02&lt;br /&gt;
|  0x03&lt;br /&gt;
|  0x06&lt;br /&gt;
|  [[FIRM|Firmware]] partition.(Backup partition, same as above)&lt;br /&gt;
|-&lt;br /&gt;
|  style=&amp;quot;background: #ccffbb&amp;quot; | Yes&lt;br /&gt;
|  style=&amp;quot;background: #ffccbb&amp;quot; | No&lt;br /&gt;
|  &lt;br /&gt;
|  0x0B930000&lt;br /&gt;
|  0x2F5D0000&lt;br /&gt;
|  0x01&lt;br /&gt;
|  0x02&lt;br /&gt;
|  0x04&lt;br /&gt;
|  0x04&lt;br /&gt;
|  CTR-NAND partition. (3DS)&lt;br /&gt;
|-&lt;br /&gt;
|  style=&amp;quot;background: #ccffbb&amp;quot; | Yes&lt;br /&gt;
|  style=&amp;quot;background: #ffccbb&amp;quot; | No&lt;br /&gt;
|  nand&lt;br /&gt;
|  0x0B95CA00&lt;br /&gt;
|  0x2F3E3600&lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
|  0x04&lt;br /&gt;
|  CTR-NAND FAT16 File System.&lt;br /&gt;
|-&lt;br /&gt;
|  style=&amp;quot;background: #ffccbb&amp;quot; | No&lt;br /&gt;
|  style=&amp;quot;background: #ccffbb&amp;quot; | Yes&lt;br /&gt;
|  &lt;br /&gt;
|  0x0B930000&lt;br /&gt;
|  0x41ED0000&lt;br /&gt;
|  0x01&lt;br /&gt;
|  0x03&lt;br /&gt;
|  0x04&lt;br /&gt;
|  0x05&lt;br /&gt;
|  CTR-NAND partition. (New3DS)&lt;br /&gt;
|-&lt;br /&gt;
|  style=&amp;quot;background: #ffccbb&amp;quot; | No&lt;br /&gt;
|  style=&amp;quot;background: #ccffbb&amp;quot; | Yes&lt;br /&gt;
|  nand&lt;br /&gt;
|  0x0B95AE00&lt;br /&gt;
|  0x41D2D200&lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
|  0x05&lt;br /&gt;
|  CTR-NAND FAT16 File System. &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
3DS TWL NAND FAT partitions has FAT volume name &amp;quot;TWL&amp;quot;, for CTR FAT partitions this is &amp;quot;CTR&amp;quot;. The offset/size for TWL partitions are stored in the MBR partition table, while the CTR partition table info is stored in the NAND NCSD header. Sector0 in the CTR-NAND partition contains a MBR partition table for the nand FAT16 filesystem, and the MBR signature at +0x1fe.&lt;br /&gt;
&lt;br /&gt;
NAND sectors which were never written to before only contain plaintext 0x00 or 0xFF bytes.&lt;br /&gt;
&lt;br /&gt;
None of the NAND partitions are normally accessible from the ARM11, except for twlp. CTR/TWL NAND FS can only be accessed when the exheader access control descriptor for those are enabled. Normally the CTR/TWL NAND descriptors are never enabled for retail ARM11 [[NCCH#CXI|CXI]] processes. The ARM11 can only access &amp;quot;nand:/rw/&amp;quot; mounted as the nandrw [[FS:OpenArchive|archive]], and &amp;quot;nand:/ro/&amp;quot; mounted as the nandro archive below.&lt;br /&gt;
&lt;br /&gt;
==== 0x4000 ====&lt;br /&gt;
On some 3DS systems(such as 3DS XL), there&#039;s a plaintext FAT16 boot record located at NAND offset 0x4000. This block does not exist for launch-day 3DS systems. This is the only plaintext block for this &amp;quot;partition&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
==== 0x12C00 ====&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;
| 0x0&lt;br /&gt;
| 0x10&lt;br /&gt;
| Normal-key for keyslot 0x11, used for generating the rest of the New3DS keyslots&#039; keyX by decrypting various data with AES-ECB. With [[9.6.0-24|9.6.0-X]] this is only used for generating the keyX for keyslots 0x15 and 0x18.&lt;br /&gt;
|-&lt;br /&gt;
| 0x10&lt;br /&gt;
| 0x10&lt;br /&gt;
| [[9.6.0-24|9.6.0-X]]: Additional normal-key for keyslot 0x11, used for generating the keyX for keyslots 0x16 and 0x19..0x1F.&lt;br /&gt;
|-&lt;br /&gt;
| 0x20&lt;br /&gt;
| 0x1E0&lt;br /&gt;
| Not yet used as of New3DS FIRM [[9.6.0-24|9.6.0-X]].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
This 0x200-byte sector contains New3DS keys, this entire sector is encrypted with a console-unique keyX+keyY. The keyX+keyY for this is generated by the New3DS [[FIRM|arm9bin-loader]]. Once the arm9bin-loader finishes decrypting this data, the keyX+keyY in the keyslot are then cleared, then the memory used for generating the keydata is disabled(after it finishes using it for TWL key init).&lt;br /&gt;
&lt;br /&gt;
This entire sector is encrypted with AES-ECB, the entire plaintext sector is identical for all retail and dev New3DS systems (differing between the two).&lt;br /&gt;
&lt;br /&gt;
=CTR partition=&lt;br /&gt;
The structure of [[nand/title]] appears to be exactly the same as [[SD Filesystem|SD]], except savegames are stored under the [[System SaveData|nand/data/&amp;lt;ID0&amp;gt;/sysdata]] directory instead.&lt;br /&gt;
The sub-directory name under [[nand/data]] is the SHA256 hash over the [[nand/private/movable.sed|movable.sed]] keyY. This nand/data/&amp;lt;ID0&amp;gt; directory is the NAND equivalent of the &amp;quot;sdmc/Nintendo 3DS/&amp;lt;ID0&amp;gt;/&amp;lt;ID1&amp;gt;&amp;quot; directory, however the data contained here is stored in cleartext. The movable.sed keyY is only used for AES MACs for nand/data/&amp;lt;ID0&amp;gt;. The nand/data/&amp;lt;ID0&amp;gt;/extdata directory contains the shared [[extdata]], and is structured exactly the same way as SD extdata.&lt;br /&gt;
&lt;br /&gt;
 nand&lt;br /&gt;
 ├── __journal.nn_&lt;br /&gt;
 ├── [[nand/data|data]]&lt;br /&gt;
 │   └── &amp;lt;ID0&amp;gt;&lt;br /&gt;
 │       ├── [[Extdata|extdata]]          &lt;br /&gt;
 │       └── [[System SaveData|sysdata]]&lt;br /&gt;
 ├── [[Title Database|dbs]]&lt;br /&gt;
 ├── [[nand/fixdata|fixdata]]&lt;br /&gt;
 │   └── [[nand/fixdata/sysdata|sysdata]]&lt;br /&gt;
 ├── private&lt;br /&gt;
 │   └── [[nand/private/movable.sed|movable.sed]]&lt;br /&gt;
 ├── [[nand/ro|ro]]&lt;br /&gt;
 ├── [[nand/rw|rw]]&lt;br /&gt;
 ├── [[nand/ticket|ticket]] (This directory is empty since tickets are stored in [[Title Database|ticket.db]])&lt;br /&gt;
 ├── [[Title Data Structure|title]]&lt;br /&gt;
 └── [[nand/tmp|tmp]] (This is usually empty, even when installation for a system update still needs [[AMNet:FinishInstallToMedia|finalized]])&lt;br /&gt;
&lt;br /&gt;
The &amp;quot;ro&amp;quot; and &amp;quot;rw&amp;quot; directories are accessible through the &amp;quot;nandrw&amp;quot; and &amp;quot;nandro&amp;quot; [[FS:OpenArchive|archives]], respectively. Their contents are as follows:&lt;br /&gt;
&lt;br /&gt;
 ro&lt;br /&gt;
 ├── [[nandro/private|private]]&lt;br /&gt;
 ├── [[nandro/shared|shared]]&lt;br /&gt;
 └── [[nandro/sys|sys]]&lt;br /&gt;
     ├── [[nandro/sys/HWCAL0.dat|HWCAL0.dat]]&lt;br /&gt;
     └── [[nandro/sys/HWCAL1.dat|HWCAL1.dat]]&lt;br /&gt;
 rw&lt;br /&gt;
 ├── [[nandrw/shared|shared]]&lt;br /&gt;
 └── [[nandrw/sys|sys]]&lt;br /&gt;
     ├── [[nandrw/sys/lgy.log|lgy.log]] (This is written to by [[FIRM|TWL_FIRM]] when errors occur, this is equivalent to native.log)&lt;br /&gt;
     ├── [[nandrw/sys/LocalFriendCodeSeed_B|LocalFriendCodeSeed_B]]&lt;br /&gt;
     ├── [[nandrw/sys/native.log|native.log]] (This is written to by [[ErrDisp]])&lt;br /&gt;
     ├── [[nandrw/sys/rand_seed|rand_seed]]&lt;br /&gt;
     ├── [[nandrw/sys/SecureInfo_A|SecureInfo_A]]&lt;br /&gt;
     └── [[nandrw/sys/updater.log|updater.log]]&lt;br /&gt;
&lt;br /&gt;
=TWL partition=&lt;br /&gt;
The structure of these TWL partitions is mostly the same as DSi, except tickets are stored in the CTR FAT FS. The twlp partition is exactly the same as DSi.&lt;br /&gt;
The structure of [[twln/title]] is exactly the same as CTR NAND/SD, except the .cmd file is a cleartext file.(This is likely a dummy file) The data directory under system titles&#039; /title directory does not exist, this likely only exists for DSiWare.&lt;br /&gt;
The directory names titleID-High used under [[twln/title]] is from DSi.&lt;br /&gt;
&lt;br /&gt;
 twln&lt;br /&gt;
 ├── [[twln/import/|import]]&lt;br /&gt;
 ├── [[twln/shared1/|shared1]]&lt;br /&gt;
 ├── [[twln/shared2/|shared2]]&lt;br /&gt;
 │   └── [[twln/shared2/0000|0000]]&lt;br /&gt;
 ├── [[twln/sys|sys]]&lt;br /&gt;
 │   ├── [[twln/sys/TWLFontTable.dat|TWLFontTable.dat]]&lt;br /&gt;
 │   └── [[twln/sys/log/|log]]&lt;br /&gt;
 │       ├── [[twln/sys/log/inspect.log|inspect.log]]&lt;br /&gt;
 │       └── [[twln/sys/log/product.log|product.log]]&lt;br /&gt;
 ├── [[twln/ticket/|ticket]]&lt;br /&gt;
 ├── [[twln/title/|title]]&lt;br /&gt;
 └── [[twln/tmp/|tmp]]&lt;br /&gt;
&lt;br /&gt;
 twlp&lt;br /&gt;
 └── [[twlp/photo/|photo]]&lt;/div&gt;</summary>
		<author><name>Lynn</name></author>
	</entry>
	<entry>
		<id>https://www.3dbrew.org/w/index.php?title=Glossary&amp;diff=18855</id>
		<title>Glossary</title>
		<link rel="alternate" type="text/html" href="https://www.3dbrew.org/w/index.php?title=Glossary&amp;diff=18855"/>
		<updated>2016-12-11T22:46:51Z</updated>

		<summary type="html">&lt;p&gt;Lynn: Fix some links&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;A miniature dictionary for terms that may be encountered on 3DSBrew.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;noautonum&amp;quot;&amp;gt;__TOC__&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== A ==&lt;br /&gt;
&lt;br /&gt;
=== AXI WRAM ===&lt;br /&gt;
&lt;br /&gt;
The name given to 512KiB of SRAM (&amp;quot;Work&amp;quot; RAM) connected to the SOC via AXI. It is where the ARM11 kernel resides. &lt;br /&gt;
&lt;br /&gt;
=== appcore ===&lt;br /&gt;
&lt;br /&gt;
appcore is the name given to one of the Old 3DS&#039;s ARM11 CPU cores. It refers to the core that is used to run games and other [[NCCH]] content. The other core is called [[#syscore|syscore]].&lt;br /&gt;
&lt;br /&gt;
== C ==&lt;br /&gt;
&lt;br /&gt;
=== C ===&lt;br /&gt;
&lt;br /&gt;
A language homebrew developers program in, also used to make everything from web browsers to timers for computers.&lt;br /&gt;
&lt;br /&gt;
=== C++ ===&lt;br /&gt;
&lt;br /&gt;
An object oriented language homebrew developers program in. Like its name suggests, C++ is essentially a step up from C.&lt;br /&gt;
&lt;br /&gt;
== D ==&lt;br /&gt;
&lt;br /&gt;
=== DSi ===&lt;br /&gt;
&lt;br /&gt;
A handheld console created by Nintendo. It is the second successor to the Nintendo DS, and the 6th generation portable Nintendo gaming system. It features two (larger) screens, two cameras, and an online shop system. The menu is also overhauled, now using similar channels as used on the Wii. It has a screen brightness that can be set to one step higher than the DS Lite.&lt;br /&gt;
&lt;br /&gt;
=== DS Lite ===&lt;br /&gt;
&lt;br /&gt;
The predecessor to the DSi. It came after the original DS PHAT and has a screen that can be set to 4x as bright as the DS PHAT.&lt;br /&gt;
&lt;br /&gt;
=== DS &amp;quot;PHAT&amp;quot; ===&lt;br /&gt;
&lt;br /&gt;
The original Nintendo DS. It ended up being the successor to the Game Boy, though Nintendo did not intend for this to happen. It added a touch screen.&lt;br /&gt;
&lt;br /&gt;
=== DSP ===&lt;br /&gt;
&lt;br /&gt;
Digital Signal Processor. The 3DS uses a DSP core to do the audio mixing instead of relaying on dedicated mixing hardware like the predecessor.&lt;br /&gt;
&lt;br /&gt;
=== DSiWare ===&lt;br /&gt;
&lt;br /&gt;
A platform started by Nintendo that allows developers to cheaply create and then sell original content at low prices (compared to the prices of brand new DSi games). All DSiWare games are available on the DSi Shop Channel on the main menu.&lt;br /&gt;
&lt;br /&gt;
=== Dump ===&lt;br /&gt;
&lt;br /&gt;
To extract the protected contents of something like a chip, NAND drive or disc which are otherwise inaccessible and/or incomprehensible under normal circumstances.&lt;br /&gt;
&lt;br /&gt;
=== DS Download Play ===&lt;br /&gt;
&lt;br /&gt;
Another application built into the Nintendo 3DS firmware. It is a place where people can download multiplayer games from another DS or 3DS. With those compatible games it is possible to use only one game card while playing with several people.&lt;br /&gt;
&lt;br /&gt;
== E ==&lt;br /&gt;
&lt;br /&gt;
=== Exploit ===&lt;br /&gt;
&lt;br /&gt;
A circumvention of security allowing a user to perform tasks that are not normally permitted. Often several exploits will be employed in a series with the user gaining increased authority over a system at each step, the goal typically being complete access and control.&lt;br /&gt;
&lt;br /&gt;
== F ==&lt;br /&gt;
&lt;br /&gt;
=== FCRAM ===&lt;br /&gt;
&lt;br /&gt;
FCRAM (Fast Cycle RAM) is a new technology developed by the Fujitsu Corporation that approaches the problem of DRAM/Processor speed in a different way. It is one of the components of 3DS hardware.&lt;br /&gt;
&lt;br /&gt;
== G ==&lt;br /&gt;
&lt;br /&gt;
=== gx ===&lt;br /&gt;
&lt;br /&gt;
The official API provided by Nintendo to access the 3DS&#039;s graphics subsystem.&lt;br /&gt;
&lt;br /&gt;
== H ==&lt;br /&gt;
&lt;br /&gt;
=== Hexadecimal (Hex) ===&lt;br /&gt;
&lt;br /&gt;
A term used to describe the base 16 number system, in which each digit represents four bits. After the digits 0-9, the letters A-F are used to represent the values 10-15. Hexadecimal is the preferred format for displaying binary data, as it is easy to mentally convert to/from binary and uses only 2 characters per byte.&lt;br /&gt;
&lt;br /&gt;
=== Home Menu ===&lt;br /&gt;
&lt;br /&gt;
The 3DS&#039;s [[Home Menu]] is the main interface which appears after the health warning screen when the system is powered on. In the 3DS this is where all of your default and downloaded channels and games are.&lt;br /&gt;
&lt;br /&gt;
== I ==&lt;br /&gt;
&lt;br /&gt;
=== IRC ===&lt;br /&gt;
&lt;br /&gt;
Internet Relay Chat is, real-time text-based chat over the Internet.&lt;br /&gt;
&lt;br /&gt;
== M ==&lt;br /&gt;
&lt;br /&gt;
=== MPO ===&lt;br /&gt;
&lt;br /&gt;
[[MPO|Multi-Picture Object]] is the open file-format used by Nintendo to make 3D images. It uses Exif tags and MP tags with JPG. MPO files can be read like two JPG files stuck together.&lt;br /&gt;
&lt;br /&gt;
== P ==&lt;br /&gt;
&lt;br /&gt;
=== PICA200 ===&lt;br /&gt;
&lt;br /&gt;
The GPU used by the 3DS. See [[Hardware#GPU]].&lt;br /&gt;
&lt;br /&gt;
== S ==&lt;br /&gt;
&lt;br /&gt;
=== SD Card ===&lt;br /&gt;
&lt;br /&gt;
Secure Digital Cards are common type of memory cards used by the 3DS, digital cameras, music players, etc. The standard SD card has a maximum capacity of 2 gigabytes (2048 megabytes); however, some 4 GB cards exist but are rare. These cards usually do not have great compatibility with non-SDHC products, even though they are not SDHC, so 2 GB is the preferable size.&lt;br /&gt;
&lt;br /&gt;
=== SDHC ===&lt;br /&gt;
&lt;br /&gt;
Secure Digital High Capacity Card are a type of SD cards with a higher storage capacity than normal ones. These are theoretically capable of holding up to 2 terabytes of space, but are politically limited by the current standards to 32 gigabytes.&lt;br /&gt;
&lt;br /&gt;
=== syscore ===&lt;br /&gt;
&lt;br /&gt;
syscore is the name given to one of the Old 3DS&#039;s ARM11 CPU cores. It refers to the core that is used to run the operating system software stack. The other core is called [[#appcore|appcore]].&lt;br /&gt;
&lt;br /&gt;
== T ==&lt;br /&gt;
&lt;br /&gt;
=== Ticket ===&lt;br /&gt;
A [[ticket]] is a file containing signature and encryption information on a particular [[Glossary#Title|title]]. Tickets may be console-unique: In particular, tickets for [[eShop]] contents are issued uniquely for each 3DS and hence cannot be transferred directly to other devices. System titles (and other content not available on eShop) are using tickets called [[Ticket#Some_facts|CommonETickets]], which are common to all devices.&lt;br /&gt;
&lt;br /&gt;
=== [[Titles]] ===&lt;br /&gt;
&lt;br /&gt;
A title is a 3DS Game on a card or in a 3DS. This includes the built-in channels and menus. A title is identified by a unique title ID, an 8 byte (4 character) long code used for title identification. All titles are encrypted for security purposes.&lt;br /&gt;
&lt;br /&gt;
Related pages: [[Title list]], [[Glossary#Title_Metadata_.28TMD.29|Title Metadata]], [[Glossary#Ticket|Ticket]], [[Title Database]]&lt;br /&gt;
&lt;br /&gt;
=== Title Metadata (TMD) ===&lt;br /&gt;
&lt;br /&gt;
[[Title metadata]] is a format used for storing metadata about a title and its installed contents, including which contents they consist of and their SHA1 hashes.&lt;br /&gt;
&lt;br /&gt;
=== TWL ===&lt;br /&gt;
&lt;br /&gt;
Codename used for the Nintendo DSi.&lt;br /&gt;
&lt;br /&gt;
Related pages: [[FIRM#TWL_FIRM|TWL FIRM]], [[ARM7 Registers]]&lt;/div&gt;</summary>
		<author><name>Lynn</name></author>
	</entry>
</feed>