<?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=Gruetzig</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=Gruetzig"/>
	<link rel="alternate" type="text/html" href="https://www.3dbrew.org/wiki/Special:Contributions/Gruetzig"/>
	<updated>2026-06-18T11:37:51Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.1</generator>
	<entry>
		<id>https://www.3dbrew.org/w/index.php?title=Home_Menu&amp;diff=23853</id>
		<title>Home Menu</title>
		<link rel="alternate" type="text/html" href="https://www.3dbrew.org/w/index.php?title=Home_Menu&amp;diff=23853"/>
		<updated>2026-06-09T21:57:13Z</updated>

		<summary type="html">&lt;p&gt;Gruetzig: meow&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The &#039;&#039;&#039;Home Menu&#039;&#039;&#039; is the heart of the Nintendo 3DS. From there one can start games, applications, and access various processes including the friends list. It is launched by [[NS]], and is always running in the background in 3DS-mode except when other programID-high 00040030 applications like Internet Browser, Friend-List, etc are running. Home Menu is still running while [[System Settings]] is running, however the System Settings application does not allow directly returning to home-menu. The system will normally re-launch Home Menu when the Home Menu process crashes/terminates. When this re-launch occurs while Home Menu is active, Home Menu displays an error message which says to manually reboot the system.&lt;br /&gt;
&lt;br /&gt;
== System Versions ==&lt;br /&gt;
Nintendo devised a system, whereby updates would be delivered via two channels: &lt;br /&gt;
*Card Updates (CUP) - The Nintendo 3DS is updated with data from an [[System Update CFA|update partition]] on retail gamecard title. &lt;br /&gt;
*Network Updates (NUP) - The Nintendo 3DS is updated by downloading data from Nintendo&#039;s [[Title list|CDN]].&lt;br /&gt;
&lt;br /&gt;
CUPs will only deliver updates to core features, such as the Home Menu, [[Download Play]] etc. CUPs will not deliver updates to Network features, such as [[System Transfer]], [[Internet Browser]], [[StreetPass Mii Plaza]] or [[EShop|eShop]].&lt;br /&gt;
&lt;br /&gt;
NUPs can deliver updates to core features as well as (updated) Network Features.&lt;br /&gt;
&lt;br /&gt;
As a result of deciding to make a distinction between what content could be updated and how, Nintendo split the system version displayed by [[System Settings]] into two parts: [[CVer]] (Console Version) and [[NVer]] (Network Update Version). Represented as: &lt;br /&gt;
 &amp;lt;CVer Major&amp;gt;.&amp;lt;CVer Minor&amp;gt;.&amp;lt;CVer Micro&amp;gt;-&amp;lt;NUP Version&amp;gt;&amp;lt;NUP Region&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The Console Version represents the version of the collectively installed core features. And the NUP Version represents the version of the collectively installed network features.&lt;br /&gt;
&lt;br /&gt;
So if a 3DS&#039; System Firmware read &#039;&#039;&#039;2.1.0-2U&#039;&#039;&#039;, it would indicate a console version of &#039;&#039;&#039;2.1.0&#039;&#039;&#039; and a NUP version of &#039;&#039;&#039;2U&#039;&#039;&#039;. &lt;br /&gt;
&lt;br /&gt;
NOTES:&lt;br /&gt;
* CUPs can only update core content, so [[NVer]] is never updated with CUPs.&lt;br /&gt;
* NUPs will not update [[NVer]] if network features are not updated. (Best seen with the USA vs JPN/EUR 6.0.0 NUP)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
CUPs are implemented by adding a [[System Update CFA]] to retail NCSD gamecard images. Nintendo generally creates CUPs after NUPs are released.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
When updating the system from 4.5.0-6 to 4.5.0-10, the following titles are updated(in the order of title download+install): [[Health and Safety Information]], [[Nintendo 3DS Camera]], [[eShop]], [[System Transfer]], [[Internet Browser]], [[Title_list|0004009B00014102]], [[Title_list|0004009B00014202]], [[Title_list|0004009B00014302]], [[NVer]], and [[FIRM|AGB_FIRM]].&lt;br /&gt;
&lt;br /&gt;
=== System Versions List ===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! System version &lt;br /&gt;
! Home Menu title version&lt;br /&gt;
! Release date &lt;br /&gt;
! Changelog &lt;br /&gt;
! System security [[3DS_System_Flaws|flaws]] fixed*&lt;br /&gt;
! Userland security [[3DS_Userland_Flaws|flaws]] fixed*&lt;br /&gt;
! 3DS-mode homebrew affected*&lt;br /&gt;
! CUP Released&lt;br /&gt;
! CDN Availability&lt;br /&gt;
! CDN Post Date&lt;br /&gt;
|-&lt;br /&gt;
| [[1.0.0-0|1.0.0-0]]&lt;br /&gt;
| 0&lt;br /&gt;
| February 26, 2011&lt;br /&gt;
| Shipped with 3DS on launch&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| Yes&lt;br /&gt;
| Available&lt;br /&gt;
| February 18, 2011&lt;br /&gt;
|-&lt;br /&gt;
| [[1.1.0-1|1.1.0-1]] &lt;br /&gt;
| 0 &lt;br /&gt;
| February ?, 2011&lt;br /&gt;
| General bug fixes&lt;br /&gt;
Added 3D Video title to menu. (&amp;quot;For a Limited Time Only&amp;quot;)&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| Yes&lt;br /&gt;
| Available&lt;br /&gt;
| March 1, 2011&lt;br /&gt;
|-&lt;br /&gt;
| [[2.0.0-2|2.0.0-2]]&lt;br /&gt;
| 1029&lt;br /&gt;
| June 6/7, 2011&lt;br /&gt;
| [[eShop]] added, web browser available, [[System Transfer]] added. Full DSiWare data management available. [[Automatic_System_Update_Download|Automatic]] downloading for system updates added. Video stubbed.&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| No&lt;br /&gt;
| Available&lt;br /&gt;
| June 6, 2011&lt;br /&gt;
|-&lt;br /&gt;
| [[2.1.0-3|2.1.0-3]]&lt;br /&gt;
| 2049&lt;br /&gt;
| June 15, 2011&lt;br /&gt;
| Fixes the Ridge Racer freeze.&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| Yes&lt;br /&gt;
| Available&lt;br /&gt;
| June 15, 2011&lt;br /&gt;
|-&lt;br /&gt;
| [[2.1.0-4|2.1.0-4]]&lt;br /&gt;
| Not updated&lt;br /&gt;
| July 25, 2011&lt;br /&gt;
| System stability improvements and other adjustments.&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| No&lt;br /&gt;
| Available&lt;br /&gt;
| July 25, 2011&lt;br /&gt;
|-&lt;br /&gt;
| [[2.2.0-X|2.2.0]]&lt;br /&gt;
| ?&lt;br /&gt;
| November 6, 2011&lt;br /&gt;
| CUP Only Release. Add &amp;quot;join game&amp;quot; feature to [[Friend List]]. Update from some game cards such as Super Mario 3D Land.&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| Yes&lt;br /&gt;
| Unavailable&lt;br /&gt;
| ?&lt;br /&gt;
|-&lt;br /&gt;
| [[3.0.0-5|3.0.0-5]]&lt;br /&gt;
| 4111&lt;br /&gt;
| December 7, 2011&lt;br /&gt;
| Added 3D video recording to the camera title, updated Mii Streetpass Plaza, [[System Transfer]] between 3DS systems available, improved eShop, home menu QR code scanning with QR codes containing URLs. [[Nintendo Zone]] is now always accessible, 3D video streaming support was added to NZone. This added support for running GBA VC titles via AGB_FIRM as well, support for GBA VC titles was also added to NATIVE_FIRM.&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| Yes&lt;br /&gt;
| Available&lt;br /&gt;
| December 7, 2011&lt;br /&gt;
|-&lt;br /&gt;
| [[3.0.0-6|3.0.0-6]]&lt;br /&gt;
| Not updated&lt;br /&gt;
| December 21, 2011&lt;br /&gt;
| Only StreetPass Mii Plaza and the [[NVer]] title were updated. From Nintendo&#039;s release notes: &amp;quot;System stability improvements and other adjustments&amp;quot;.&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| No&lt;br /&gt;
| Available&lt;br /&gt;
| December 21, 2011&lt;br /&gt;
|-&lt;br /&gt;
| [[3.1.0-6|3.1.0-6]]&lt;br /&gt;
| Not updated&lt;br /&gt;
| Unknown&lt;br /&gt;
| Unknown. Sighted preinstalled on some early European 3DS XLs.&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| ?&lt;br /&gt;
| Unknown&lt;br /&gt;
| Unknown&lt;br /&gt;
|-&lt;br /&gt;
| [[4.0.0-7|4.0.0-7]]&lt;br /&gt;
| 5131&lt;br /&gt;
| April 24, 2012&lt;br /&gt;
| Add folders to Home Menu, game patching added, buy more expensive games than 1000 yen in JPN. System titles for CHN, TWN, and KOR became available.&lt;br /&gt;
| Yes&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| Yes&lt;br /&gt;
| Available&lt;br /&gt;
| April 24, 2012&lt;br /&gt;
|-&lt;br /&gt;
| [[4.1.0-8|4.1.0-8]]&lt;br /&gt;
| Not updated&lt;br /&gt;
| May 14, 2012&lt;br /&gt;
| From changelog: &amp;quot;improvements to overall system stability and other minor adjustments&amp;quot;. Once updated to [[4.1.0-8]], the parental-controls PIN is no longer required for future system updates.&lt;br /&gt;
| Yes&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| Yes&lt;br /&gt;
| Available&lt;br /&gt;
| May 14, 2012&lt;br /&gt;
|-&lt;br /&gt;
| [[4.2.0-9|4.2.0-9]]&lt;br /&gt;
| 6146&lt;br /&gt;
| June 26, 2012&lt;br /&gt;
| Improved eShop safety for entering credit-card info, and behind the scenes improvements. Stored CC info will be deleted by this updated eShop, and can be re-entered again.&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| Yes&lt;br /&gt;
| Available&lt;br /&gt;
| June 26, 2012&lt;br /&gt;
|-&lt;br /&gt;
| [[4.3.0-10|4.3.0-10]]&lt;br /&gt;
| Not updated&lt;br /&gt;
| July 24, 2012&lt;br /&gt;
| Updated eShop, bad word list and NZone hotspot list updated.&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| Yes&lt;br /&gt;
| Available&lt;br /&gt;
| July 24, 2012&lt;br /&gt;
|-&lt;br /&gt;
| [[4.4.0-10|4.4.0-10]]&lt;br /&gt;
| Not updated&lt;br /&gt;
| September 19, 2012&lt;br /&gt;
| NZone hotspot list updated and TWL_FIRM updated for blocking flash cards.&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| Yes&lt;br /&gt;
| Available&lt;br /&gt;
| September 19, 2012&lt;br /&gt;
|-&lt;br /&gt;
| [[4.4.0-10|4.4.0-10C]]&lt;br /&gt;
| Not updated&lt;br /&gt;
| October 17, 2012&lt;br /&gt;
| China-only, the *only* updated title was [[System Settings]]. This title was updated to a version already available in TWN/KOR.&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| ?&lt;br /&gt;
| Available&lt;br /&gt;
| October 17, 2012&lt;br /&gt;
|-&lt;br /&gt;
| [[4.5.0-10|4.5.0-10]]&lt;br /&gt;
| Not updated&lt;br /&gt;
| December 4, 2012&lt;br /&gt;
| Flash-card block via updated TWL_FIRM and whitelist. NZone hotspot list updated as well.&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| Yes&lt;br /&gt;
| Available&lt;br /&gt;
| December 4, 2012&lt;br /&gt;
|-&lt;br /&gt;
| [[5.0.0-11|5.0.0-11]]&lt;br /&gt;
| 7172&lt;br /&gt;
| March 25, 2013&lt;br /&gt;
| Many system titles including NATIVE_FIRM were updated, multiple vulnerabilities were fixed as well.&lt;br /&gt;
| Yes&lt;br /&gt;
| &lt;br /&gt;
| Yes&lt;br /&gt;
| No&lt;br /&gt;
| Available&lt;br /&gt;
| March 25, 2013&lt;br /&gt;
|-&lt;br /&gt;
| [[5.1.0-11|5.1.0-11]]&lt;br /&gt;
| Not updated&lt;br /&gt;
| April 4, 2013&lt;br /&gt;
| NATIVE_FIRM and NS were updated. According to the official change-log: &amp;quot;Resolves an issue that may prevent access to the System Settings or other features.&amp;quot;&lt;br /&gt;
| No&lt;br /&gt;
| &lt;br /&gt;
| No&lt;br /&gt;
| Yes&lt;br /&gt;
| Available&lt;br /&gt;
| April 4, 2013&lt;br /&gt;
|-&lt;br /&gt;
| [[6.0.0-11|6.0.0-12 (-11U)]]&lt;br /&gt;
| 8198&lt;br /&gt;
| June 17, 2013&lt;br /&gt;
| Official change-log: &amp;quot;Users can now back up save data for downloadable versions of Nintendo 3DS software and most Virtual Console games&amp;quot;. For EUR/JPN, the [[StreetPass Mii Plaza]] application and the [[Nintendo 3DS Camera]] application were updated. Other titles for all regions were updated as well.&lt;br /&gt;
| Yes&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| No&lt;br /&gt;
| Available&lt;br /&gt;
| June 17, 2013&lt;br /&gt;
|-&lt;br /&gt;
| [[6.1.0-11|6.1.0-12 (-11U)]]&lt;br /&gt;
| Not updated&lt;br /&gt;
| June 27, 2013&lt;br /&gt;
| Official change-log: &amp;quot;Further improvements to overall system stability and other minor adjustments have been made to enhance the user experience.&amp;quot;&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| Yes&lt;br /&gt;
| Available&lt;br /&gt;
| June 27, 2013&lt;br /&gt;
|-&lt;br /&gt;
| [[6.1.0-12U]]&lt;br /&gt;
| Not updated&lt;br /&gt;
| July 11, 2013&lt;br /&gt;
| This USA-only update added the updated network features applications which were first released in JPN/EUR with the [[6.0.0-11|6.0.0-12 NUP]] update.&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| No&lt;br /&gt;
| Available&lt;br /&gt;
| July 11, 2013&lt;br /&gt;
|-&lt;br /&gt;
| [[6.2.0-12]]&lt;br /&gt;
| Not updated&lt;br /&gt;
| August 6, 2013&lt;br /&gt;
| This update added support for the StreetPass relay feature, updated TWL_FIRM, and updated the Nintendo Zone hotspots list.&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| Yes&lt;br /&gt;
| Available&lt;br /&gt;
| August 6, 2013&lt;br /&gt;
|-&lt;br /&gt;
| [[6.3.0-12]]&lt;br /&gt;
| Not updated&lt;br /&gt;
| September 13, 2013&lt;br /&gt;
| See [[6.3.0-12|this]].&lt;br /&gt;
| No&lt;br /&gt;
| &lt;br /&gt;
| No&lt;br /&gt;
| No&lt;br /&gt;
| Available&lt;br /&gt;
| September 13, 2013&lt;br /&gt;
|-&lt;br /&gt;
| [[6.4.0-12]]&lt;br /&gt;
| ?&lt;br /&gt;
| November 11, 2013&lt;br /&gt;
| See [[6.4.0-12|this]](Only for the KOR and TWN regions).&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| No&lt;br /&gt;
| Available&lt;br /&gt;
| November 11, 2013&lt;br /&gt;
|-&lt;br /&gt;
| [[7.0.0-13]]&lt;br /&gt;
| 9230&lt;br /&gt;
| December 9, 2013&lt;br /&gt;
| See [[7.0.0-13|this]].&lt;br /&gt;
| Yes&lt;br /&gt;
| Yes&lt;br /&gt;
| &lt;br /&gt;
| No&lt;br /&gt;
| Available&lt;br /&gt;
| December 9, 2013&lt;br /&gt;
|-&lt;br /&gt;
| [[7.1.0-14]]&lt;br /&gt;
| Not updated&lt;br /&gt;
| December 19, 2013&lt;br /&gt;
| See [[7.1.0-14|this]].&lt;br /&gt;
| No&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| Yes&lt;br /&gt;
| Available&lt;br /&gt;
| December 19, 2013&lt;br /&gt;
|-&lt;br /&gt;
| [[7.1.0-15]]&lt;br /&gt;
| Not updated&lt;br /&gt;
| January 22, 2014&lt;br /&gt;
| See [[7.1.0-15|this]].&lt;br /&gt;
| No&lt;br /&gt;
| &lt;br /&gt;
| No&lt;br /&gt;
| No&lt;br /&gt;
| Available&lt;br /&gt;
| January 22, 2014&lt;br /&gt;
|-&lt;br /&gt;
| [[7.1.0-16]]&lt;br /&gt;
| Not updated&lt;br /&gt;
| February 26, 2014&lt;br /&gt;
| See [[7.1.0-16|this]].&lt;br /&gt;
| No&lt;br /&gt;
| &lt;br /&gt;
| No&lt;br /&gt;
| No&lt;br /&gt;
| Available&lt;br /&gt;
| February 26, 2014&lt;br /&gt;
|-&lt;br /&gt;
| [[7.2.0-17]]&lt;br /&gt;
| Not updated&lt;br /&gt;
| May 12, 2014&lt;br /&gt;
| See [[7.2.0-17|this]].&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| No&lt;br /&gt;
| Yes&lt;br /&gt;
| Available&lt;br /&gt;
| May 12, 2014&lt;br /&gt;
|-&lt;br /&gt;
| [[8.0.0-18]]&lt;br /&gt;
| Not updated&lt;br /&gt;
| July 7, 2014&lt;br /&gt;
| See [[8.0.0-18|this]].&lt;br /&gt;
| No&lt;br /&gt;
| &lt;br /&gt;
| No&lt;br /&gt;
| Yes&lt;br /&gt;
| Available&lt;br /&gt;
| July 7, 2014&lt;br /&gt;
|-&lt;br /&gt;
| [[8.1.0-18]]&lt;br /&gt;
| Not updated&lt;br /&gt;
| July 24, 2014&lt;br /&gt;
| See [[8.1.0-18|this]].&lt;br /&gt;
| No&lt;br /&gt;
| &lt;br /&gt;
| No&lt;br /&gt;
| Yes&lt;br /&gt;
| Available&lt;br /&gt;
| July 24, 2014&lt;br /&gt;
|-&lt;br /&gt;
| [[8.1.0-19]]&lt;br /&gt;
| Not updated&lt;br /&gt;
| August 7, 2014&lt;br /&gt;
| See [[8.1.0-19|this]].&lt;br /&gt;
| No&lt;br /&gt;
| &lt;br /&gt;
| No&lt;br /&gt;
| No&lt;br /&gt;
| Available&lt;br /&gt;
| August 7, 2014&lt;br /&gt;
|-&lt;br /&gt;
| [[8.1.0-0 New3DS]]&lt;br /&gt;
| Not updated&lt;br /&gt;
| September 26, 2014&lt;br /&gt;
| See [[8.1.0-0 New3DS|this]].&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| No&lt;br /&gt;
| No&lt;br /&gt;
| Available&lt;br /&gt;
| September 26, 2014&lt;br /&gt;
|-&lt;br /&gt;
| 8.1.0-19&lt;br /&gt;
| Not updated&lt;br /&gt;
| October 2, 2014&lt;br /&gt;
| Japan-only &amp;quot;update&amp;quot;, see [http://yls8.mtheall.com/ninupdates/reports.php?date=10-02-14_02-05-03&amp;amp;sys=ctr here]. The only change was that a new title([[New_3DS]]-only system application) was added, CVer/NVer titles were not even updated. The initial version of this [[Title_list|title]] is a stub.&lt;br /&gt;
| No&lt;br /&gt;
| &lt;br /&gt;
| No&lt;br /&gt;
| No&lt;br /&gt;
| Available&lt;br /&gt;
| October 2, 2014&lt;br /&gt;
|-&lt;br /&gt;
| [[9.0.0-20]]&lt;br /&gt;
| v11272&lt;br /&gt;
| October 6, 2014&lt;br /&gt;
| See [[9.0.0-20|this]].&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| No&lt;br /&gt;
| Yes (K)&lt;br /&gt;
| Available&lt;br /&gt;
| October 6, 2014&lt;br /&gt;
|-&lt;br /&gt;
| [[9.1.0-20J]]&lt;br /&gt;
| v14336(JPN-region title)&lt;br /&gt;
| October 10, 2014&lt;br /&gt;
| Japan-only, see [[9.1.0-20J|this]].&lt;br /&gt;
| No&lt;br /&gt;
| &lt;br /&gt;
| No&lt;br /&gt;
| No&lt;br /&gt;
| Available&lt;br /&gt;
| October 10, 2014&lt;br /&gt;
|-&lt;br /&gt;
| [[9.2.0-20]]&lt;br /&gt;
| &lt;br /&gt;
| October 29, 2014&lt;br /&gt;
| See [[9.2.0-20|this]].&lt;br /&gt;
| No&lt;br /&gt;
| &lt;br /&gt;
| No&lt;br /&gt;
| Yes (U/E)&lt;br /&gt;
| Available&lt;br /&gt;
| October 29, 2014&lt;br /&gt;
|-&lt;br /&gt;
| [[9.3.0-21]]&lt;br /&gt;
| &lt;br /&gt;
| December 8, 2014&lt;br /&gt;
| See [[9.3.0-21|this]].&lt;br /&gt;
| Yes&lt;br /&gt;
| &lt;br /&gt;
| Yes&lt;br /&gt;
| No&lt;br /&gt;
| Available&lt;br /&gt;
| December 8, 2014&lt;br /&gt;
|-&lt;br /&gt;
| [[9.4.0-21]]&lt;br /&gt;
| &lt;br /&gt;
| December 11, 2014&lt;br /&gt;
| See [[9.4.0-21|this]].&lt;br /&gt;
| No&lt;br /&gt;
| &lt;br /&gt;
| No&lt;br /&gt;
| No&lt;br /&gt;
| Available&lt;br /&gt;
| December 11, 2014&lt;br /&gt;
|-&lt;br /&gt;
| [[9.5.0-22]]&lt;br /&gt;
| &lt;br /&gt;
| February 2, 2015&lt;br /&gt;
| See [[9.5.0-22|this]].&lt;br /&gt;
| Yes&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| Yes (J/U/E)&lt;br /&gt;
| Available&lt;br /&gt;
| February 2, 2015&lt;br /&gt;
|-&lt;br /&gt;
| [[9.5.0-23]]&lt;br /&gt;
| &lt;br /&gt;
| March 2, 2015&lt;br /&gt;
| See [[9.5.0-23|this]].&lt;br /&gt;
| No&lt;br /&gt;
| Yes&lt;br /&gt;
| &lt;br /&gt;
| As above&lt;br /&gt;
| Available&lt;br /&gt;
| March 2, 2015&lt;br /&gt;
|-&lt;br /&gt;
| [[9.6.0-24]]&lt;br /&gt;
| &lt;br /&gt;
| March 23, 2015&lt;br /&gt;
| See [[9.6.0-24|this]].&lt;br /&gt;
| See [[9.6.0-24|here]].&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| Yes (J/U/E)&lt;br /&gt;
| Available&lt;br /&gt;
| March 23, 2015&lt;br /&gt;
|-&lt;br /&gt;
| [[9.7.0-25]]&lt;br /&gt;
| &lt;br /&gt;
| April 20, 2015&lt;br /&gt;
| See [[9.7.0-25|this]].&lt;br /&gt;
| Probably none?&lt;br /&gt;
| &lt;br /&gt;
| No&lt;br /&gt;
| Yes (J/U/E)&lt;br /&gt;
| Available&lt;br /&gt;
| April 20, 2015&lt;br /&gt;
|-&lt;br /&gt;
| [[9.8.0-25]]&lt;br /&gt;
| &lt;br /&gt;
| June 1, 2015&lt;br /&gt;
| See [[9.8.0-25|this]].&lt;br /&gt;
| No&lt;br /&gt;
| No&lt;br /&gt;
| No&lt;br /&gt;
| Yes (J/U/E)&lt;br /&gt;
| Available&lt;br /&gt;
| June 1, 2015&lt;br /&gt;
|-&lt;br /&gt;
| [[9.9.0-26|9.9.0-26]]&lt;br /&gt;
| &lt;br /&gt;
| July 13, 2015&lt;br /&gt;
| See [[9.9.0-26|this]].&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| Yes (J/U/E/K)&lt;br /&gt;
| Available&lt;br /&gt;
| July 13, 2015&lt;br /&gt;
|-&lt;br /&gt;
| [[10.0.0-27|10.0.0-27]]&lt;br /&gt;
| &lt;br /&gt;
| September 8, 2015&lt;br /&gt;
| See [[10.0.0-27|this]].&lt;br /&gt;
| Yes&lt;br /&gt;
| No&lt;br /&gt;
| No&lt;br /&gt;
| No&lt;br /&gt;
| Available&lt;br /&gt;
| September 8, 2015&lt;br /&gt;
|-&lt;br /&gt;
| [[10.1.0-27|10.1.0-27]]&lt;br /&gt;
| &lt;br /&gt;
| September 14, 2015&lt;br /&gt;
| See [[10.1.0-27|this]].&lt;br /&gt;
| No&lt;br /&gt;
| No&lt;br /&gt;
| No&lt;br /&gt;
| Yes (J/U/E/K)&lt;br /&gt;
| Available&lt;br /&gt;
| September 14, 2015&lt;br /&gt;
|-&lt;br /&gt;
| [[10.2.0-28|10.2.0-28]]&lt;br /&gt;
| &lt;br /&gt;
| October 19, 2015&lt;br /&gt;
| See [[10.2.0-28|this]].&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| Yes (J/U/E)&lt;br /&gt;
| Available&lt;br /&gt;
| October 19, 2015&lt;br /&gt;
|-&lt;br /&gt;
| [[10.3.0-28|10.3.0-28]]&lt;br /&gt;
| &lt;br /&gt;
| November 9, 2015&lt;br /&gt;
| See [[10.3.0-28|this]].&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| Yes (J/U/E)&lt;br /&gt;
| Available&lt;br /&gt;
| November 9, 2015&lt;br /&gt;
|-&lt;br /&gt;
| [[10.4.0-29|10.4.0-29]]&lt;br /&gt;
| &lt;br /&gt;
| January 18, 2016&lt;br /&gt;
| See [[10.4.0-29|this]].&lt;br /&gt;
| Yes&lt;br /&gt;
| Launching old Ironfall was blocked.&lt;br /&gt;
| Yes&lt;br /&gt;
| No&lt;br /&gt;
| Available&lt;br /&gt;
| January 18, 2016&lt;br /&gt;
|-&lt;br /&gt;
| [[10.5.0-30|10.5.0-30]]&lt;br /&gt;
| &lt;br /&gt;
| January 25, 2016&lt;br /&gt;
| See [[10.5.0-30|this]].&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| Yes (J/U/E)&lt;br /&gt;
| Available&lt;br /&gt;
| January 25, 2016&lt;br /&gt;
|-&lt;br /&gt;
| [[10.6.0-31|10.6.0-31]]&lt;br /&gt;
| &lt;br /&gt;
| February 22, 2016&lt;br /&gt;
| See [[10.6.0-31|this]].&lt;br /&gt;
| Yes&lt;br /&gt;
| Yes&lt;br /&gt;
| Yes&lt;br /&gt;
| Yes (J/U)&lt;br /&gt;
| Available&lt;br /&gt;
| February 22, 2016&lt;br /&gt;
|-&lt;br /&gt;
| [[10.7.0-32|10.7.0-32]]&lt;br /&gt;
| &lt;br /&gt;
| March 14, 2016&lt;br /&gt;
| See [[10.7.0-32|this]].&lt;br /&gt;
| No&lt;br /&gt;
| Yes&lt;br /&gt;
| Yes&lt;br /&gt;
| Yes (J/U/E)&lt;br /&gt;
| Available&lt;br /&gt;
| March 14, 2016&lt;br /&gt;
|-&lt;br /&gt;
| [[11.0.0-33|11.0.0-33]]&lt;br /&gt;
| &lt;br /&gt;
| May 9, 2016&lt;br /&gt;
| See [[11.0.0-33|this]].&lt;br /&gt;
| Yes&lt;br /&gt;
| No&lt;br /&gt;
| Yes&lt;br /&gt;
| Yes (J/U/E)&lt;br /&gt;
| Available&lt;br /&gt;
| May 9, 2016&lt;br /&gt;
|-&lt;br /&gt;
| [[11.1.0-34|11.1.0-34]]&lt;br /&gt;
| &lt;br /&gt;
| September 13, 2016&lt;br /&gt;
| See [[11.1.0-34|this]].&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| Yes (J/U/E)&lt;br /&gt;
| Available&lt;br /&gt;
| September 13, 2016&lt;br /&gt;
|-&lt;br /&gt;
| [[11.2.0-35|11.2.0-35]]&lt;br /&gt;
| &lt;br /&gt;
| October 24, 2016&lt;br /&gt;
| See [[11.2.0-35|this]].&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| No&lt;br /&gt;
| Available&lt;br /&gt;
| October 24, 2016&lt;br /&gt;
|-&lt;br /&gt;
| [[11.3.0-36|11.3.0-36]]&lt;br /&gt;
| &lt;br /&gt;
| February 6, 2017&lt;br /&gt;
| See [[11.3.0-36|this]].&lt;br /&gt;
| Yes&lt;br /&gt;
| Yes&lt;br /&gt;
| Yes&lt;br /&gt;
| No&lt;br /&gt;
| Available&lt;br /&gt;
| February 6, 2017&lt;br /&gt;
|-&lt;br /&gt;
| [[11.4.0-37|11.4.0-37]]&lt;br /&gt;
| &lt;br /&gt;
| April 10, 2017&lt;br /&gt;
| See [[11.4.0-37|this]].&lt;br /&gt;
| Yes&lt;br /&gt;
| Yes&lt;br /&gt;
| Yes&lt;br /&gt;
| No&lt;br /&gt;
| Available&lt;br /&gt;
| April 10, 2017&lt;br /&gt;
|-&lt;br /&gt;
| [[11.5.0-38|11.5.0-38]]&lt;br /&gt;
| &lt;br /&gt;
| July 10, 2017&lt;br /&gt;
| See [[11.5.0-38|this]].&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| No&lt;br /&gt;
| Available&lt;br /&gt;
| July 10, 2017&lt;br /&gt;
|-&lt;br /&gt;
| [[11.6.0-39|11.6.0-39]]&lt;br /&gt;
| &lt;br /&gt;
| September 18, 2017&lt;br /&gt;
| See [[11.6.0-39|this]].&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| No&lt;br /&gt;
| Available&lt;br /&gt;
| September 18, 2017&lt;br /&gt;
|-&lt;br /&gt;
| [[11.7.0-40|11.7.0-40]]&lt;br /&gt;
| &lt;br /&gt;
| June 18, 2018&lt;br /&gt;
| See [[11.7.0-40|this]].&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| No&lt;br /&gt;
| Available&lt;br /&gt;
| June 18, 2018&lt;br /&gt;
|-&lt;br /&gt;
| [[11.8.0-41|11.8.0-41]]&lt;br /&gt;
| &lt;br /&gt;
| July 30, 2018&lt;br /&gt;
| See [[11.8.0-41|this]].&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| No&lt;br /&gt;
| Available&lt;br /&gt;
| July 30, 2018&lt;br /&gt;
|-&lt;br /&gt;
| [[11.9.0-42|11.9.0-42]]&lt;br /&gt;
| &lt;br /&gt;
| December 3, 2018&lt;br /&gt;
| See [[11.9.0-42|this]].&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| No&lt;br /&gt;
| Available&lt;br /&gt;
| December 3, 2018&lt;br /&gt;
|-&lt;br /&gt;
| [[11.10.0-43|11.10.0-43]]&lt;br /&gt;
| &lt;br /&gt;
| May 27, 2019&lt;br /&gt;
| See [[11.10.0-43|this]].&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| No&lt;br /&gt;
| Available&lt;br /&gt;
| May 27, 2019&lt;br /&gt;
|-&lt;br /&gt;
| [[11.11.0-43E|11.11.0-43E]]&lt;br /&gt;
| &lt;br /&gt;
| August 26, 2019&lt;br /&gt;
| See [[11.11.0-43E|this]].&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| No&lt;br /&gt;
| Available&lt;br /&gt;
| August 26, 2019&lt;br /&gt;
|-&lt;br /&gt;
| [[11.12.0-44|11.12.0-44]]&lt;br /&gt;
| &lt;br /&gt;
| November 4, 2019&lt;br /&gt;
| See [[11.12.0-44|this]].&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| No&lt;br /&gt;
| Available&lt;br /&gt;
| November 4, 2019&lt;br /&gt;
|-&lt;br /&gt;
| [[11.13.0-45|11.13.0-45]]&lt;br /&gt;
| &lt;br /&gt;
| December 2, 2019&lt;br /&gt;
| See [[11.13.0-45|this]].&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| No&lt;br /&gt;
| Available&lt;br /&gt;
| December 2, 2019&lt;br /&gt;
|-&lt;br /&gt;
| [[11.14.0-46|11.14.0-46]]&lt;br /&gt;
| &lt;br /&gt;
| November 17, 2020&lt;br /&gt;
| See [[11.14.0-46|this]].&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| No&lt;br /&gt;
| Available&lt;br /&gt;
| November 17, 2020&lt;br /&gt;
|-&lt;br /&gt;
| [[11.15.0-47|11.15.0-47]]&lt;br /&gt;
| &lt;br /&gt;
| July 27, 2021&lt;br /&gt;
| See [[11.15.0-47|this]].&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| No&lt;br /&gt;
| Available&lt;br /&gt;
| July 27, 2021&lt;br /&gt;
|-&lt;br /&gt;
| [[11.16.0-48|11.16.0-48]]&lt;br /&gt;
| &lt;br /&gt;
| August 30, 2022&lt;br /&gt;
| See [[11.16.0-48|this]].&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| No&lt;br /&gt;
| Available&lt;br /&gt;
| August 30, 2022&lt;br /&gt;
|-&lt;br /&gt;
| [[11.16.0-49|11.16.0-49]]&lt;br /&gt;
| &lt;br /&gt;
| September 13, 2022&lt;br /&gt;
| See [[11.16.0-49|this]].&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| No&lt;br /&gt;
| Available&lt;br /&gt;
| September 13, 2022&lt;br /&gt;
|-&lt;br /&gt;
| [[11.17.0-50|11.17.0-50]]&lt;br /&gt;
| &lt;br /&gt;
| May 23, 2023&lt;br /&gt;
| See [[11.17.0-50|this]].&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| No&lt;br /&gt;
| Available&lt;br /&gt;
| May 23, 2023&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;quot;[[3DS_System_Flaws|System]]/[[3DS_Userland_Flaws|Userland]] security flaws fixed*&amp;quot;: This includes known flaws, and any fixed flaws discovered via code bin-diff.&lt;br /&gt;
&lt;br /&gt;
&amp;quot;[[3DS_System_Flaws|System]]/[[3DS_Userland_Flaws|Userland]] security flaws fixed*&amp;quot; and &amp;quot;3DS-mode homebrew affected&amp;quot; only apply to the changes done with that specific system-update(&amp;quot;affected&amp;quot; does not include hax codebases breaking *just* due to updated codebins).&lt;br /&gt;
&lt;br /&gt;
[[Category:Nintendo Software]]&lt;br /&gt;
&lt;br /&gt;
== Auto-Boot Function ==&lt;br /&gt;
When the Home Menu is initially loaded by [[NS]], it checks the gamecard ExeFS:/[[SMDH|icon]] for the auto-boot flag. If the auto-boot flag is set, it will load the application on the cartridge and the home menu will not remain running in the background, or at least not in an operational state. Using software cues to return to the home menu, or sleep menu while in this state, causes a shutdown.&lt;br /&gt;
&lt;br /&gt;
Notable features of demo titles:&lt;br /&gt;
*Auto-boot demos generally disable the functionality of the home button.&lt;br /&gt;
*The &#039;&#039;New Super Mario Bros 2&#039;&#039; demo, retained the functionality of the home button, and had an timer which triggered the demo to quit after a period of inactivity.&lt;br /&gt;
&lt;br /&gt;
Auto-boot cartridges, can bypass some of the functions of the Home Menu. Auto Booted software:&lt;br /&gt;
* Doesn&#039;t show usage history in the [[Activity Log]]&lt;br /&gt;
* Bypasses Parental controls&lt;br /&gt;
* Bypasses Forced Game Card Updates&lt;br /&gt;
* Bypasses Initial 3DS Setup&lt;br /&gt;
* The console does not have a friends list presence.&lt;br /&gt;
* Is still subject to region lock(see below).&lt;br /&gt;
&lt;br /&gt;
Region lock is still active, so the home menu will refuse to launch demos with incorrect region lock will not load, displaying &amp;quot;An Error has Occurred&amp;quot;. However, game card update partition checks are not done, which allows launching demos that have region free encoding, but have an alternate(or even invalid) region update partition.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The following auto-boot paths can be used by Home Menu, checked in the same order listed below(the above gamecard auto-boot is checked before this):&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Key-combo / requirements for this path&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
| R, L, and X&lt;br /&gt;
| This launches [[System Settings]] for touchscreen calibration.&lt;br /&gt;
|-&lt;br /&gt;
| R, L, and Y&lt;br /&gt;
| This launches [[System Settings]] for circlepad calibration.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The following is only checked when the low u16 from [[Config_Savegame|config]] block 0x00110000 is value zero(normally this is non-zero). Thus, the below is only handled when a system setup is required.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Key-combo / requirements for this path&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
| R, X, Y, A, and B, a 3DS gamecard must be inserted as well.&lt;br /&gt;
| This launches the gamecard application. Note that pressing the HOME button in the gamecard application launched this way will only result in the system shutting down.&lt;br /&gt;
|-&lt;br /&gt;
| This is used when the above path isn&#039;t used.&lt;br /&gt;
| This launches System Settings for the system setup.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Region Lockout ==&lt;br /&gt;
&lt;br /&gt;
One of the Home Menu&#039;s functions, is to regulate region lockout. The region lockout data for any given title is held in the [[SMDH#BNR Region|ICN data]]. There are 6 regions of which have their own region lockout, Japan, USA, Europe(including Nintendo Australia), China, Taiwan and Korea. There is also a value which makes a title exempt from region lockout, and consequently accessible from any region of 3DS.&lt;br /&gt;
&lt;br /&gt;
The region-field stored in the [[SMDH|ICN-data]] is only checked when Home Menu itself launches a title, not when other titles use NS to have Home Menu launch titles. This isn&#039;t actually useful for gamecard region-free however, due to the gamecard system-updates, see below.&lt;br /&gt;
&lt;br /&gt;
Also note that while some gamecard games are mostly region-free(main CXI is identical for all regions of the gamecard), those gamecards can&#039;t actually be launched with all 3DS regions due to the gamecard system-update, see below. Note that the main CXI being identical for all regions of a gamecard also means the savedata keyY is identical for all regions of that gamecard too(except for old system-version &amp;lt;v2.2 games, in some cases, due to different cardIDs).&lt;br /&gt;
&lt;br /&gt;
=== Effects of Region Lockout  ===&lt;br /&gt;
Every 3DS title regardless of location (NAND/SD Card/Game Card) is subject to region lockout scrutiny by the Home Menu. And the home menu treats &#039;out-of-region&#039; titles by simply refusing to show them on the home menu. No messages are shown on the home menu to notify the user, the title is simply ignored. However out-of-region SD Card titles, will appear and quickly disappear, while all the SD Titles are being processed. In cases where access to the home menu GUI is not needed to launch the title (like in the case of kiosk demos), the home menu states an error has occurred, and launching of the title is stopped.&lt;br /&gt;
&lt;br /&gt;
=== Game Card Updates ===&lt;br /&gt;
Either intentionally a region lock mechanism or not, the function which checks the game card update partition returns an error when it is detected the update is for a region other than the 3DS&#039;s region (Most likely triggered by the absence of the correct CVer title). And errors returned from checking the update partition, will result in the home menu displaying &amp;quot;This Game Card cannnot be used&amp;quot;, when the user attempts to launch the title.&lt;br /&gt;
&lt;br /&gt;
== Home-menu [[SpotPass]] usage ==&lt;br /&gt;
&lt;br /&gt;
Home-menu originally used two domains with HTTPS for SpotPass. SpotPass stores this content in Home-menu&#039;s NAND shared extdata.&lt;br /&gt;
&lt;br /&gt;
* The system notifications are downloaded from: &amp;lt;nowiki&amp;gt;https://a248.e.akamai.net/f/248/103046/10m/npdl.c.app.nintendowifi.net/p01/nsa/&amp;lt;regionID&amp;gt;/&amp;lt;filename&amp;gt;/&amp;lt;langcode&amp;gt;/&amp;lt;filename&amp;gt;&amp;lt;/nowiki&amp;gt; Where langcode is the two-character language codes from [[Config Savegame#Languages|config]], and regionID is from the below table. &amp;lt;filename&amp;gt; is bashoX/sysmsgX where X is 0-3.&lt;br /&gt;
* https://pls.c.shop.nintendowifi.net/pl/upload This URL is used for uploading data from the home menu NAND shared extdata, it&#039;s unknown what this is used for. This data is uploaded every 24 hours.&lt;br /&gt;
* &amp;lt;nowiki&amp;gt;https://npul.c.app.nintendowifi.net/p01/recv/&amp;lt;regionID&amp;gt;/&amp;lt;filename&amp;gt;&amp;lt;/nowiki&amp;gt; This is used for uploading unknown data from extdata. &amp;lt;filename&amp;gt; can be one of the following:&lt;br /&gt;
** &amp;quot;phu&amp;quot;&lt;br /&gt;
** &amp;quot;tiu&amp;quot; The POST data contains a list of [[BOSS_Services|BOSS]] taskIDs etc. This seems to be only for Nintendo titles?(system+eShop apps)&lt;br /&gt;
** &amp;quot;splu&amp;quot;&lt;br /&gt;
** &amp;quot;sendmgn&amp;quot; For this it appears SpotPass does a HTTP POST with data originally from Launcher.dat?&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Region&lt;br /&gt;
! ID&lt;br /&gt;
|-&lt;br /&gt;
| JPN&lt;br /&gt;
| gWr4JXxb2mKTG3lq&lt;br /&gt;
|-&lt;br /&gt;
| NA&lt;br /&gt;
| uuI82221UKkqmtbp&lt;br /&gt;
|-&lt;br /&gt;
| EUR / Others&lt;br /&gt;
| UrXSeurnxhPrq7AS&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The SpotPass content payload for notifications begin with a header, followed by an [[SMDH|icon]] and the UTF-16 text, and various metadata.&lt;br /&gt;
&lt;br /&gt;
=== VersionList ===&lt;br /&gt;
During startup, Home Menu loads &amp;quot;/versionList.dat&amp;quot; from NAND extdata 0xf000000e. This is downloaded via SpotPass, the file-data downloaded via HTTPS here is raw (no SpotPass container):&lt;br /&gt;
* Retail: [https://tagaya-ctr.cdn.nintendo.net/tagaya/versionlist]&lt;br /&gt;
* Dev-unit: [https://tagaya-dev-ctr.cdn.nintendo.net/tagaya/versionlist] The titles listed in this are not available on the [[Title list|normal]] CDN.&lt;br /&gt;
&lt;br /&gt;
This is a list of title-updates available on the eShop, for regular app titles and update-titles. This is what Home Menu checks to determine whether the currently selected application needs to be updated or not. When an Internet connection is not available or wifi is disabled, Home Menu will skip VersionList handling/messages when you launch applications.&lt;br /&gt;
&lt;br /&gt;
File structure:&lt;br /&gt;
{| class=&amp;quot;wikitable&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;
| The first u32 is normally 0x1, the rest is normally all-zero.&lt;br /&gt;
|-&lt;br /&gt;
| 0x10&lt;br /&gt;
| &amp;lt;Filesize-0x10&amp;gt;&lt;br /&gt;
| Title entries, 0x10-bytes each.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Title entry structure:&lt;br /&gt;
{| class=&amp;quot;wikitable&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;
| 0x8&lt;br /&gt;
| u64 TitleID&lt;br /&gt;
|-&lt;br /&gt;
| 0x8&lt;br /&gt;
| 0x4&lt;br /&gt;
| u32 titleversion&lt;br /&gt;
|-&lt;br /&gt;
| 0xC&lt;br /&gt;
| 0x4&lt;br /&gt;
| Unknown u32, usually zero?&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== [[BOSS_Services|BOSS]] usage notes ===&lt;br /&gt;
Home Menu uses 4 hard-coded NsDataIds: 0x1, 0x2, 0x3, and 0x4, under a loop in the same function for writing to &amp;quot;bashotorya.dat&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
== Automatic System Update Download ==&lt;br /&gt;
See [[Automatic System Update Download]].&lt;br /&gt;
&lt;br /&gt;
== Home Menu Error Messages ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Dialog Text&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;quot;An error has occured. Please save your data ... then restart the system&amp;quot;&lt;br /&gt;
| This dialog is displayed when a system applet(including Home Menu) crashes/terminates. This dialog is also displayed for system errors as well.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Home Menu Themes ==&lt;br /&gt;
See [[Home_Menu/Themes|here]].&lt;br /&gt;
&lt;br /&gt;
As of [[11.0.0-33]] Home Menu themes are only supported with USA, EUR, and JPN. CHN Home Menu was last updated with v7.0, and TWN doesn&#039;t even have a Home Menu settings menu(just the old screen brightness config menu + an [[amiibo Settings]] icon on the right side of the browser icon).&lt;br /&gt;
&lt;br /&gt;
KOR Home Menu doesn&#039;t have the theme-settings menu button. While this does have the theme handling code, it isn&#039;t actually usable since extdataID 0x0 is used for theme-extdata for non-&amp;lt;JPN/USA/EUR&amp;gt; regions(which is invalid).&lt;br /&gt;
&lt;br /&gt;
== Home Menu [[System_SaveData|NAND]] savedata ==&lt;br /&gt;
=== Launcher.dat ===&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;
| 0x1&lt;br /&gt;
| Launcher.dat format version.&lt;br /&gt;
|-&lt;br /&gt;
| 0x1&lt;br /&gt;
| 0x1&lt;br /&gt;
| Padding?&lt;br /&gt;
|-&lt;br /&gt;
| 0x2&lt;br /&gt;
| 0x2&lt;br /&gt;
| u16, cart launcher position on the home menu&lt;br /&gt;
|-&lt;br /&gt;
| 0x4&lt;br /&gt;
| 0x4&lt;br /&gt;
| Unknown, normally 0x0.&lt;br /&gt;
|-&lt;br /&gt;
| 0x8&lt;br /&gt;
| 0xB40&lt;br /&gt;
| 360 u64s, list of NAND titleIDs. For an unused entry, the u64 value is ~0(in that case, the corresponding entries at 0xD9A/0x106A for this titleID are not used either). This is used for the icons displayed on the main Home Menu screen.&lt;br /&gt;
|-&lt;br /&gt;
| 0xB51&lt;br /&gt;
| 0x1&lt;br /&gt;
| u8, numbers of rows on the home menu, minus 1 (range 0..5) (with the enlarge/reduce option)&lt;br /&gt;
|-&lt;br /&gt;
| 0xB5C&lt;br /&gt;
| 0x2&lt;br /&gt;
| u16, position of the cursor on the home menu&lt;br /&gt;
|-&lt;br /&gt;
| 0xB5E&lt;br /&gt;
| 0x2&lt;br /&gt;
| u16, horizontal scrolling level (divided by the number of rows to get the actual number of columns hidden) on the home menu&lt;br /&gt;
|-&lt;br /&gt;
| 0xD80&lt;br /&gt;
| 0x2 or 0x4&lt;br /&gt;
| u16 or u32, number the next created folder will have (starts at 1)&lt;br /&gt;
|-&lt;br /&gt;
| 0xD9A&lt;br /&gt;
| 0x2D0&lt;br /&gt;
| Array of 360 s16 fields, each one corresponds to the titleIDs at the array located at offset 0x8. This is used for icon position, 0x0 for the very first icon, 0x1 for the next one and so on. This is completely linear, no X/Y coordinates. Implemented with the format-version for [[4.0.0-7|4.0.0-X]].&lt;br /&gt;
|-&lt;br /&gt;
| 0x106A&lt;br /&gt;
| 0x168&lt;br /&gt;
| Array of 360 s8 fields, each one corresponds to the titleIDs at the array located at offset 0x8. This is used for icon position. When an s8 here is -1(which is the normal value), the icon is located with the first chunk of icons(outbuf+0), otherwise the base address is outbuf+0xB40+&amp;lt;s8val*0x1E0&amp;gt;(which is equivalent to 60 icons * s8val). Implemented with the format-version for [[4.0.0-7|4.0.0-X]]. Corresponds to the id of the folder the icon is in, range -1..59, with -1 meaning not in a folder&lt;br /&gt;
|-&lt;br /&gt;
| 0x11DC&lt;br /&gt;
| 0x78&lt;br /&gt;
| Array of 60 s16 fields, corresponding to folders position (with -1 meaning the folder is deleted/not yet created)&lt;br /&gt;
|-&lt;br /&gt;
| 0x1434&lt;br /&gt;
| 0x3C&lt;br /&gt;
| Array of 60 u8 fields, the number of rows in each corresponding folder (defaults to 2)&lt;br /&gt;
|-&lt;br /&gt;
| 0x1470&lt;br /&gt;
| 0x78&lt;br /&gt;
| Array of 60 u16 fields, the position of the cursor in each corresponding folder (defaults to 0)&lt;br /&gt;
|-&lt;br /&gt;
| 0x14E8&lt;br /&gt;
| 0x78&lt;br /&gt;
| Array of 60 u16 fields, the horizontal scroll level in each corresponding folder (divided by the number of rows to get the actual number of columns hidden) (defaults to 0)&lt;br /&gt;
|-&lt;br /&gt;
| 0x1560&lt;br /&gt;
| 0x7F8&lt;br /&gt;
| Array of 60 utf-16 strings of length 0x22 (in bytes, so only 0x11 utf-16 characters) (not NULL-terminated), the name of each corresponding folder&lt;br /&gt;
|-&lt;br /&gt;
| 0x1D58&lt;br /&gt;
| 0xF0&lt;br /&gt;
| Array of 60 u32, the number of each corresponding folder&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== SD ExtData ==&lt;br /&gt;
The SD ExtData [[Extdata#Filesystem|File System]] for Home Menu introduced with [[2.0.0-2|2.0.0-X]] is as follows:&lt;br /&gt;
&lt;br /&gt;
 root&lt;br /&gt;
 ├── icon&lt;br /&gt;
 ├── boss&lt;br /&gt;
 └── user&lt;br /&gt;
     ├── SaveData.dat&lt;br /&gt;
     ├── Cache.dat&lt;br /&gt;
     └── CacheD.dat&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!  File&lt;br /&gt;
!  Details&lt;br /&gt;
!  Size&lt;br /&gt;
!  FW Introduced&lt;br /&gt;
!  Plaintext&lt;br /&gt;
|-&lt;br /&gt;
|  icon&lt;br /&gt;
|  Stubbed. Always image 00000002.&lt;br /&gt;
|  0x4 Bytes&lt;br /&gt;
|  n/a&lt;br /&gt;
|  &lt;br /&gt;
|-&lt;br /&gt;
|  SaveData.dat&lt;br /&gt;
|  Always image 00000003.&lt;br /&gt;
|  0x2cb0 Bytes (0x2da0 starting with [[4.0.0-7]])&lt;br /&gt;
|  [[2.0.0-2]]&lt;br /&gt;
|  [https://dl.dropboxusercontent.com/u/60710927/CTR/Sample/HomeMenuExtdata/SaveData.dat Download]&lt;br /&gt;
|-&lt;br /&gt;
|  Cache.dat&lt;br /&gt;
|  Indexes and records details for the cached icon data. Always image 00000004.&lt;br /&gt;
|  0x1688 Bytes&lt;br /&gt;
|  [[2.0.0-2]]&lt;br /&gt;
|  [https://dl.dropboxusercontent.com/u/60710927/CTR/Sample/HomeMenuExtdata/Cache.dat Download]&lt;br /&gt;
|-&lt;br /&gt;
|  CacheD.dat&lt;br /&gt;
|  Cached icon data for Home Menu. Always image 00000005.&lt;br /&gt;
|  0x4cfe00 Bytes&lt;br /&gt;
|  [[2.0.0-2]]&lt;br /&gt;
|  [https://dl.dropboxusercontent.com/u/60710927/CTR/Sample/HomeMenuExtdata/CacheD.dat Download]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Cache.dat &amp;amp; CacheD.dat ===&lt;br /&gt;
These two files work in tandem to allow the home menu to cache icon data for applications which are presented on the Home Menu. The size of both files suggests a maximum cache size of 360 icons. Cache.dat stores details about the cache icon data, and CacheD.dat stores the icon data. The icon cache stores icon data for *all* applications shown on the Home Menu, this includes DSi NAND Titles, and DS(i) cartridges. The format of cached DS(i) icon data is not understood, but they are the same size as 3DS icon data (0x36c0).&lt;br /&gt;
&lt;br /&gt;
In Cache.dat the first 8 bytes are a header where the first byte is the format-version, then follows each icon slots&#039;s entry in the format:&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;
|  8&lt;br /&gt;
|  Title ID in Little Endian&lt;br /&gt;
|-&lt;br /&gt;
|  0x8&lt;br /&gt;
|  4&lt;br /&gt;
|  Title Version&lt;br /&gt;
|-&lt;br /&gt;
|  0xc&lt;br /&gt;
|  4&lt;br /&gt;
|  Unknown&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
All unused entries have the Title IDs filled with &amp;quot;0xff&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
In CacheD.dat, the icon data is concatenated together, with the first icon at offset 0x0.&lt;br /&gt;
&lt;br /&gt;
=== SaveData.dat ===&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;
| 0x1&lt;br /&gt;
| SaveData.dat format version.&lt;br /&gt;
|-&lt;br /&gt;
| 0x8&lt;br /&gt;
| 0xB40&lt;br /&gt;
| 360 u64s, list of titleIDs(used with icons). Equivalent to the same array in Launcher.dat, but for SD titles.&lt;br /&gt;
|-&lt;br /&gt;
| 0xB48&lt;br /&gt;
| 0x168&lt;br /&gt;
| s8 bool array with 360 entries. Some SD-only icon array. Probably an array for each icon present status? Each entry is only known to be set to 0x00 or 0x01, with the former being the default.&lt;br /&gt;
|-&lt;br /&gt;
| 0xCB0&lt;br /&gt;
| 0x2D0&lt;br /&gt;
| s16 array with 360 entries, used with icons. Equivalent to the same array in Launcher.dat. Implemented with format-version 2.&lt;br /&gt;
|-&lt;br /&gt;
| 0xF80&lt;br /&gt;
| 0x168&lt;br /&gt;
| s8 array with 360 entries, used with icons. Equivalent to the same array in Launcher.dat. Implemented with format-version 2.&lt;br /&gt;
|-&lt;br /&gt;
| 0x13b8&lt;br /&gt;
| 0x8&lt;br /&gt;
| Theme entry structure for the regular theme.&lt;br /&gt;
|-&lt;br /&gt;
| 0x13c0&lt;br /&gt;
| 0x8*10(0x50)&lt;br /&gt;
| Array of theme entry structures for theme [[9.3.0-21|shuffling]].&lt;br /&gt;
|-&lt;br /&gt;
| 0x141b&lt;br /&gt;
| 0x1&lt;br /&gt;
| 0 = one regular theme, 1 = multiple themes for theme [[9.3.0-21|shuffle]].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The icon arrays above are handled exactly the same way as Launcher.dat.&lt;br /&gt;
&lt;br /&gt;
When the theme cache is enabled via the above fields, Home Menu loads the cache at startup(if the used theme structure is valid).&lt;br /&gt;
&lt;br /&gt;
Theme entry structure:&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;
| 0x4&lt;br /&gt;
| Theme index: for DLC this is the content-index, for built-in themes this is an index for an array selecting the built-in theme.&lt;br /&gt;
|-&lt;br /&gt;
| 0x4&lt;br /&gt;
| 0x1&lt;br /&gt;
| Normally zero. This is the low 8-bits in the DLC titleID that this theme was originally loaded from.&lt;br /&gt;
|-&lt;br /&gt;
| 0x5&lt;br /&gt;
| 0x1&lt;br /&gt;
| Theme type, the valid range is 0..5. 0 = none, 1 = built-in theme from Home Menu RomFS, 2 = theme data loaded from SD cache / content archive. 3 = ?, 4 = ?, 5 = ?&lt;br /&gt;
|-&lt;br /&gt;
| 0x6&lt;br /&gt;
| 0x1&lt;br /&gt;
| Normally zero?&lt;br /&gt;
|-&lt;br /&gt;
| 0x7&lt;br /&gt;
| 0x1&lt;br /&gt;
| Normally zero?&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
When the theme-type is value1 the themeindex must be &amp;lt;9. When the theme-type is value2 the themeindex has to be non-zero, and the u8 at offset 0x4 must not be &amp;gt;=10.&lt;br /&gt;
&lt;br /&gt;
The theme-loader code (besides the AM &amp;lt;is-current-themeindex-DLC-installed&amp;gt; code) handles all theme-types &amp;gt;=2 the same way. However, it seems all DLC AM code involving checking the currently-used theme DLC only gets executed when the theme-type is value2. The code in the theme-loader for that also checks that a certain Home Menu state flag is non-zero, before running the AM DLC code(it&#039;s unknown where this flag value comes from).&lt;br /&gt;
&lt;br /&gt;
==== SaveData.dat format versions ====&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!  Version value&lt;br /&gt;
!  Filesize&lt;br /&gt;
!  Implemented with Home Menu system-version&lt;br /&gt;
|-&lt;br /&gt;
| 0&lt;br /&gt;
| 0x2CB0&lt;br /&gt;
| [[2.0.0-2|2.0.0-X]]&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| 0x2DA0&lt;br /&gt;
| [[4.0.0-7|4.0.0-X]]&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| 0x2DA0&lt;br /&gt;
| [[9.0.0-20|9.0.0-X]]&lt;br /&gt;
|-&lt;br /&gt;
| 4 (Latest version as of v10.6-v11.0 Home Menu)&lt;br /&gt;
| 0x2DA0&lt;br /&gt;
| [[9.3.0-21|9.3.0-X]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The Home Menu code for writing the updated SaveData.dat to FS is broken when the filesize is smaller than expected due to being from an older format-version originally. When writing to the file, Home Menu checks the filesize then attempts to use [[FSFile:SetSize]] on mismatch, but [[FSFile:SetSize]] can&#039;t be used with extdata(error from [[FSFile:SetSize]] appears to be ignored). When writing to SaveData.dat the write-size is the one for the current format-version, but since extdata files are fixed-size this will only result in the first {original filesize} bytes being written(result-code = 0xE0E046C1).&lt;br /&gt;
&lt;br /&gt;
Basically, unless the extdata is deleted from the SD card FS manually, the SaveData.dat filesize will never be successfully updated from an old filesize to the current-format filesize by Home Menu.&lt;br /&gt;
&lt;br /&gt;
== Home Menu [[Home_Menu/Themes|Theme]] SD [[Extdata|ExtData]] ==&lt;br /&gt;
The filesystem for this extdata is as follows:&lt;br /&gt;
&lt;br /&gt;
 root&lt;br /&gt;
 ├── icon&lt;br /&gt;
 ├── boss&lt;br /&gt;
 └── user&lt;br /&gt;
     ├── ThemeManage.bin&lt;br /&gt;
     ├── BodyCache.bin&lt;br /&gt;
     ├── BgmCache.bin&lt;br /&gt;
     └── nsalist&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!  File&lt;br /&gt;
!  Details&lt;br /&gt;
!  Size&lt;br /&gt;
!  Extdata image ID&lt;br /&gt;
!  FW Introduced&lt;br /&gt;
!  Plaintext&lt;br /&gt;
|-&lt;br /&gt;
| ThemeManage.bin&lt;br /&gt;
| Theme management info. The filesize must match 0x800, otherwise the Home Menu code returns an error.&lt;br /&gt;
| 0x800&lt;br /&gt;
| 00000003&lt;br /&gt;
| [[9.0.0-20]]&lt;br /&gt;
|-&lt;br /&gt;
| BodyCache.bin&lt;br /&gt;
| Contains cached data from the last loaded [[Home_Menu/Themes|theme]] RomFS body_LZ.bin file. The filesize must match 0x150000, otherwise the Home Menu code returns an error.&lt;br /&gt;
| 0x150000&lt;br /&gt;
| 00000004&lt;br /&gt;
| [[9.0.0-20]]&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| BgmCache.bin&lt;br /&gt;
| Contains cached data from the last loaded [[Home_Menu/Themes|theme]] RomFS bgm.bcstm file. The filesize must match 0x337000, otherwise the Home Menu code returns an error.&lt;br /&gt;
| 0x337000&lt;br /&gt;
| 00000005&lt;br /&gt;
| [[9.0.0-20]]&lt;br /&gt;
|-&lt;br /&gt;
| nsalist&lt;br /&gt;
| Contains the list of DLC themes(IDs+prices), downloaded via [[SpotPass]].&lt;br /&gt;
| &lt;br /&gt;
| 00000007&lt;br /&gt;
| [[9.0.0-20]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
BodyCache.bin and BgmCache.bin contain cached theme data for the currently used DLC theme. ThemeManage.bin is loaded by Home Menu during startup. The cached theme data is loaded at startup when a DLC theme is selected. This also contains theme-shop [[SpotPass]] data.&lt;br /&gt;
&lt;br /&gt;
BodyCache.bin and BgmCache.bin are all-zero when no theme is selected.&lt;br /&gt;
&lt;br /&gt;
Starting with [[9.3.0-21|9.3.0-X]] Home Menu can use more files in this extdata, for theme shuffling. &amp;quot;theme:/ThemeManage.bin&amp;quot; &amp;quot;theme:/BgmCache_%02d.bin&amp;quot; &amp;quot;theme:/BodyCache_rd.bin&amp;quot;&lt;br /&gt;
&lt;br /&gt;
=== ThemeManage.bin ===&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;
| 0x4&lt;br /&gt;
| Unknown, normally value 0x1?&lt;br /&gt;
|-&lt;br /&gt;
| 0x4&lt;br /&gt;
| 0x4&lt;br /&gt;
| Unknown, normally zero?&lt;br /&gt;
|-&lt;br /&gt;
| 0x8&lt;br /&gt;
| 0x4&lt;br /&gt;
| Actual size of the cached body_LZ.bin data.&lt;br /&gt;
|-&lt;br /&gt;
| 0xC&lt;br /&gt;
| 0x4&lt;br /&gt;
| Actual size of the cached bgm.bcstm data.&lt;br /&gt;
|-&lt;br /&gt;
| 0x10&lt;br /&gt;
| 0x4&lt;br /&gt;
| Unknown&lt;br /&gt;
|-&lt;br /&gt;
| 0x14&lt;br /&gt;
| 0x4&lt;br /&gt;
| Unknown&lt;br /&gt;
|-&lt;br /&gt;
| 0x18&lt;br /&gt;
| 0x4&lt;br /&gt;
| When a DLC theme is selected, this is the content-index of the DLC theme.&lt;br /&gt;
|-&lt;br /&gt;
| 0x1C&lt;br /&gt;
| 0x4&lt;br /&gt;
| Unknown, usually value 0x200 when the data in theme-cache is actually used?&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The total filesize is 0x800-bytes, normally the data starting at offset 0x1C is all-zero.&lt;br /&gt;
&lt;br /&gt;
When no theme is actually used,  the only non-zero fields are the following: the u32 stored at offset 0x0 in ThemeManage.bin is value 0x1, with offset 0x10 u32 set to value 0x1.&lt;br /&gt;
&lt;br /&gt;
== Home Menu badge SD [[Extdata|ExtData]] ==&lt;br /&gt;
The filesystem for this extdata(when it actually exists) is as follows:&lt;br /&gt;
&lt;br /&gt;
 root&lt;br /&gt;
 ├── icon&lt;br /&gt;
 ├── boss&lt;br /&gt;
 └── user&lt;br /&gt;
     ├── BadgeData.dat&lt;br /&gt;
     └── BadgeMngFile.dat&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!  File&lt;br /&gt;
!  Details&lt;br /&gt;
!  Size&lt;br /&gt;
!  Extdata image ID&lt;br /&gt;
!  FW Introduced&lt;br /&gt;
|-&lt;br /&gt;
| BadgeData.dat&lt;br /&gt;
| [[Home_Menu#BadgeData.dat|See below.]]&lt;br /&gt;
| 0xF4DF80&lt;br /&gt;
| &lt;br /&gt;
| [[9.0.0-20]]&lt;br /&gt;
|-&lt;br /&gt;
| BadgeMngFile.dat&lt;br /&gt;
| [[Home_Menu#BadgeMngFile.dat|See below.]]&lt;br /&gt;
| 0xD4A8&lt;br /&gt;
| &lt;br /&gt;
| [[9.0.0-20]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== BadgeData.dat ===&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;
| 100 * 16 * 0x8A&lt;br /&gt;
| UTF-16 Badge Set Titles (16 per set for different languages)&lt;br /&gt;
|-&lt;br /&gt;
| 0x35E80&lt;br /&gt;
| 1000 * 16 * 0x8A&lt;br /&gt;
| UTF-16 Badge Titles (16 per set for different languages)&lt;br /&gt;
|-&lt;br /&gt;
| 0x250F80&lt;br /&gt;
| 100 * 0x2000&lt;br /&gt;
| [http://en.wikipedia.org/wiki/Z-order_curve Tiled] RGB565 64x64 Badge Set Icons&lt;br /&gt;
|-&lt;br /&gt;
| 0x318F80&lt;br /&gt;
| 1000 * 0x2800&lt;br /&gt;
| [http://en.wikipedia.org/wiki/Z-order_curve Tiled] RGB565 64x64 + Tiled A4 64x64 Badge Icons&lt;br /&gt;
|-&lt;br /&gt;
| 0xCDCF80&lt;br /&gt;
| 1000 * 0xA00&lt;br /&gt;
| [http://en.wikipedia.org/wiki/Z-order_curve Tiled] RGB565 32x32 + Tiled A4 32x32 Badge Icons&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== BadgeMngFile.dat ===&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;
| 0x4&lt;br /&gt;
| u32, Must Be Zero&lt;br /&gt;
|-&lt;br /&gt;
| 0x4&lt;br /&gt;
| 0x4&lt;br /&gt;
| u32, Number of Badge Sets&lt;br /&gt;
|-&lt;br /&gt;
| 0x8&lt;br /&gt;
| 0x4&lt;br /&gt;
| u32, Number of Unique Badges&lt;br /&gt;
|-&lt;br /&gt;
| 0xC&lt;br /&gt;
| 0x4&lt;br /&gt;
| u32, Number of Placed Badges&lt;br /&gt;
|-&lt;br /&gt;
| 0x10&lt;br /&gt;
| 0x4&lt;br /&gt;
| u32, Selected Badge Set in Home Menu (0xFFFFFFFF = All Badges)&lt;br /&gt;
|-&lt;br /&gt;
| 0x14&lt;br /&gt;
| 0x4&lt;br /&gt;
| u32, Selected Badge Column in All Badges&lt;br /&gt;
|-&lt;br /&gt;
| 0x18&lt;br /&gt;
| 0x4&lt;br /&gt;
| u32, Number of Total Badges&lt;br /&gt;
|-&lt;br /&gt;
| 0x1C&lt;br /&gt;
| 0x4&lt;br /&gt;
| u32, Nintendo Network ID Number&lt;br /&gt;
|-&lt;br /&gt;
| 0x20&lt;br /&gt;
| 0x338&lt;br /&gt;
| Unknown (always zeros? unused?)&lt;br /&gt;
|-&lt;br /&gt;
| 0x358&lt;br /&gt;
| 0x80&lt;br /&gt;
| Used Badge Slots (each bit = 1 slot)&lt;br /&gt;
|-&lt;br /&gt;
| 0x3D8&lt;br /&gt;
| 0x10&lt;br /&gt;
| Used Badge Set Slots (each bit = 1 slot)&lt;br /&gt;
|-&lt;br /&gt;
| 0x3E8&lt;br /&gt;
| 1000 * 0x28&lt;br /&gt;
| [[Home_Menu#BadgeInfo|BadgeInfo]] Entries&lt;br /&gt;
|-&lt;br /&gt;
| 0xA028&lt;br /&gt;
| 100 * 0x30&lt;br /&gt;
| [[Home_Menu#BadgeSetInfo|BadgeSetInfo]] Entries&lt;br /&gt;
|-&lt;br /&gt;
| 0xB2E8&lt;br /&gt;
| 360 * 0x18&lt;br /&gt;
| [[Home_Menu#BadgeLayoutSlot|BadgeLayoutSlot]] Entries&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== BadgeIdentifier ====&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;
| 0x4&lt;br /&gt;
| u32, Unknown&lt;br /&gt;
|-&lt;br /&gt;
| 0x4&lt;br /&gt;
| 0x4&lt;br /&gt;
| u32, Badge ID&lt;br /&gt;
|-&lt;br /&gt;
| 0x8&lt;br /&gt;
| 0x4&lt;br /&gt;
| u32, Badge Set ID&lt;br /&gt;
|-&lt;br /&gt;
| 0xC&lt;br /&gt;
| 0x2&lt;br /&gt;
| u16, Badge Index&lt;br /&gt;
|-&lt;br /&gt;
| 0xE&lt;br /&gt;
| 0x2&lt;br /&gt;
| u16, Badge Sub ID (used for multi-part badges)&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Value&lt;br /&gt;
! Meaning&lt;br /&gt;
|-&lt;br /&gt;
| 0x0&lt;br /&gt;
| Badge is a standalone badge&lt;br /&gt;
|-&lt;br /&gt;
| 0x0100&lt;br /&gt;
| Badge is the left piece of a horizontal 2x1 badge&lt;br /&gt;
|-&lt;br /&gt;
| 0x0101&lt;br /&gt;
| Badge is the right piece of a horizontal 2x1 badge&lt;br /&gt;
|-&lt;br /&gt;
| 0x1000&lt;br /&gt;
| Badge is the top piece of a vertical 1x2 badge&lt;br /&gt;
|-&lt;br /&gt;
| 0x1010&lt;br /&gt;
| Badge is the bottom piece of a vertical 1x2 badge&lt;br /&gt;
|-&lt;br /&gt;
| 0x1100&lt;br /&gt;
| Badge is the top left piece of a 2x2 badge&lt;br /&gt;
|-&lt;br /&gt;
| 0x1101&lt;br /&gt;
| Badge is the top right piece of a 2x2 badge&lt;br /&gt;
|-&lt;br /&gt;
| 0x1110&lt;br /&gt;
| Badge is the bottom left piece of a 2x2 badge&lt;br /&gt;
|-&lt;br /&gt;
| 0x1111&lt;br /&gt;
| Badge is the bottom right piece of a 2x2 badge&lt;br /&gt;
|}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== BadgeSetIdentifier ====&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;
| 0x4&lt;br /&gt;
| u32, Unknown (Usually 0xFFFFFFFF)&lt;br /&gt;
|-&lt;br /&gt;
| 0x4&lt;br /&gt;
| 0x4&lt;br /&gt;
| u32, Unknown (Usually 0xFFFFFFFF)&lt;br /&gt;
|-&lt;br /&gt;
| 0x8&lt;br /&gt;
| 0x4&lt;br /&gt;
| u32, Unknown (Usually 0x0)&lt;br /&gt;
|-&lt;br /&gt;
| 0xC&lt;br /&gt;
| 0x4&lt;br /&gt;
| u32, Unknown (Usually 0x2710)&lt;br /&gt;
|-&lt;br /&gt;
| 0x10&lt;br /&gt;
| 0x4&lt;br /&gt;
| u32, Badge Set ID&lt;br /&gt;
|-&lt;br /&gt;
| 0x14&lt;br /&gt;
| 0x4&lt;br /&gt;
| u32, Badge Set Index&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== BadgeInfo ====&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;
| [[Home_Menu#BadgeIdentifier|BadgeIdentifier]]&lt;br /&gt;
|-&lt;br /&gt;
| 0x10&lt;br /&gt;
| 0x2&lt;br /&gt;
| u16, Number Placed&lt;br /&gt;
|-&lt;br /&gt;
| 0x12&lt;br /&gt;
| 0x2&lt;br /&gt;
| u16, Quantity&lt;br /&gt;
|-&lt;br /&gt;
| 0x14&lt;br /&gt;
| 0x4&lt;br /&gt;
| u32, Unknown (packed data?)&lt;br /&gt;
|-&lt;br /&gt;
| 0x18&lt;br /&gt;
| 0x10&lt;br /&gt;
| u64[2], Shortcut Title ID (twice, once per u64)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== BadgeSetInfo ====&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;
| 0x18&lt;br /&gt;
| [[Home_Menu#BadgeSetIdentifier|BadgeSetIdentifier]]&lt;br /&gt;
|-&lt;br /&gt;
| 0x18&lt;br /&gt;
| 0x4&lt;br /&gt;
| u32, Unknown (usually 0xFFFFFFFF)&lt;br /&gt;
|-&lt;br /&gt;
| 0x1C&lt;br /&gt;
| 0x4&lt;br /&gt;
| u32, Number of Unique Badges&lt;br /&gt;
|-&lt;br /&gt;
| 0x20&lt;br /&gt;
| 0x4&lt;br /&gt;
| u32, Number of Total Badges&lt;br /&gt;
|-&lt;br /&gt;
| 0x24&lt;br /&gt;
| 0x4&lt;br /&gt;
| u32, Start Badge Index&lt;br /&gt;
|-&lt;br /&gt;
| 0x28&lt;br /&gt;
| 0x4&lt;br /&gt;
| u32, Unknown (usually 0x0)&lt;br /&gt;
|-&lt;br /&gt;
| 0x2C&lt;br /&gt;
| 0x4&lt;br /&gt;
| u32, Unknown (usually 0x0)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== BadgeLayoutSlot ====&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;
| [[Home_Menu#BadgeIdentifier|BadgeIdentifier]]&lt;br /&gt;
|-&lt;br /&gt;
| 0x10&lt;br /&gt;
| 0x4&lt;br /&gt;
| u32, Position&lt;br /&gt;
|-&lt;br /&gt;
| 0x14&lt;br /&gt;
| 0x4&lt;br /&gt;
| u32, Folder (0xF0FF = Icon of a folder, 0xFFFFFFFF = No folder)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The file size must match 0xD4A8, otherwise the Home Menu code returns an error.&lt;br /&gt;
&lt;br /&gt;
== Home Menu theme layout SD [[Extdata|ExtData]] ==&lt;br /&gt;
The filesystem for this extdata(when it actually exists) is as follows:&lt;br /&gt;
&lt;br /&gt;
 root&lt;br /&gt;
 ├── icon&lt;br /&gt;
 ├── boss&lt;br /&gt;
 └── user&lt;br /&gt;
     └── MngFile.dat&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!  File&lt;br /&gt;
!  Details&lt;br /&gt;
!  Size&lt;br /&gt;
!  Extdata image ID&lt;br /&gt;
!  FW Introduced&lt;br /&gt;
!  Plaintext&lt;br /&gt;
|-&lt;br /&gt;
| MngFile.dat&lt;br /&gt;
| See below.&lt;br /&gt;
| 0x004D1280&lt;br /&gt;
| 00000003&lt;br /&gt;
| [[9.6.0-24]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== MngFile.dat ===&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;
| 0x4&lt;br /&gt;
| u32, must be zero.&lt;br /&gt;
|-&lt;br /&gt;
| 0x4&lt;br /&gt;
| 0xC&lt;br /&gt;
| array of 8 u8, 0 if the corresponding layout slot is not set, 1 if it is&lt;br /&gt;
|-&lt;br /&gt;
| 0xC&lt;br /&gt;
| 0x3000 * 8&lt;br /&gt;
| Start of the layout entries.&lt;br /&gt;
|-&lt;br /&gt;
| 0x1800C&lt;br /&gt;
| 0xC&lt;br /&gt;
| Padding&lt;br /&gt;
|-&lt;br /&gt;
| 0x18010&lt;br /&gt;
| 0x2DA0 * 8&lt;br /&gt;
| Start of the [[Home_Menu#SaveData.dat|SaveData.dat]] entries.&lt;br /&gt;
|-&lt;br /&gt;
| 0x2ED10&lt;br /&gt;
| 0xD4A8 * 8&lt;br /&gt;
| Start of the [[Home_Menu#BadgeMngFile.dat|BadgeMngFile.dat]] entries.&lt;br /&gt;
|-&lt;br /&gt;
| 0x99250&lt;br /&gt;
| 0x30&lt;br /&gt;
| Padding&lt;br /&gt;
|-&lt;br /&gt;
| 0x99280&lt;br /&gt;
| 256*3*8 * 400/8 * 8&lt;br /&gt;
| Start of the top screen (400x240) screenshots, in BGR8 tiled format, rotated 90 degrees and with 8 rows per &amp;quot;chunk&amp;quot;, and actually 256 pixels wide instead of 240, with the last 16 being all black&lt;br /&gt;
|-&lt;br /&gt;
| 0x2F1280&lt;br /&gt;
| 256*3*8 * 320/8 * 8&lt;br /&gt;
| Start of the bottom screen (320x240) screenshots, in BGR8 tiled format, rotated 90 degrees and with 8 rows per &amp;quot;chunk&amp;quot;, and actually 256 pixels wide instead of 240, with the last 16 being all black&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Layout entries structure:&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;
| 0x2558&lt;br /&gt;
| Exact copy of the entire Home Menu [[System_SaveData]] [[Home_Menu#Launcher.dat|Launcher.dat]], this is the actual layout data.&lt;br /&gt;
|-&lt;br /&gt;
| 0x2558&lt;br /&gt;
| 0xAA8&lt;br /&gt;
| Padding&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The filesize must match 0x004D1280, otherwise the Home Menu code returns an error. The saved Home Menu layouts are stored here.&lt;br /&gt;
&lt;br /&gt;
When saving a layout, the total layout field is increased, then a new layout entry is created with the contents of the current Home Menu [[System_SaveData]](NAND savedata) Launcher.dat + a screenshot of the main Home Menu screen is written. When loading a layout, Launcher.dat in savedata is written with the current Launcher.dat data already stored in memory(unknown if any data gets changed for it here), then data from the layout entry is copied into the Home Menu [[System_SaveData]] Launcher.dat.&lt;br /&gt;
&lt;br /&gt;
Home Menu *only* accesses this file with the Home Menu layout-settings menu / when entering that menu.&lt;br /&gt;
&lt;br /&gt;
== Home Menu Jump Parameters ==&lt;br /&gt;
&lt;br /&gt;
Parameters can be provided to [[APT:JumpToHomeMenu]] to perform certain actions when jumping to the home menu.&lt;br /&gt;
&lt;br /&gt;
=== Command 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;
| 0x0&lt;br /&gt;
| 0x4&lt;br /&gt;
| Magic Value &amp;quot;ASHP&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| 0x4&lt;br /&gt;
| 0x1&lt;br /&gt;
| Command ID&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
If the command requires extra arguments, this header will be padded and the arguments will start at offset 0x8. Otherwise it is just 0x5 bytes large as presented here.&lt;br /&gt;
&lt;br /&gt;
=== Command IDs ===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!  ID&lt;br /&gt;
!  Description&lt;br /&gt;
!  Extra Arguments&lt;br /&gt;
|-&lt;br /&gt;
| 0x0&lt;br /&gt;
| Does Nothing&lt;br /&gt;
| None&lt;br /&gt;
|-&lt;br /&gt;
| 0x1&lt;br /&gt;
| Open Instruction Manual&lt;br /&gt;
| None&lt;br /&gt;
|-&lt;br /&gt;
| 0x2&lt;br /&gt;
| Download Theme from Theme Shop&lt;br /&gt;
| 4-byte ID of the theme (total command size 0xC bytes). This is divided by 1000000 to determine the [[Titles#Title_IDs|title ID variation]], and the remainder corresponds to the theme&#039;s DLC content index. If the value is 0 the theme shop will not open correctly, and if the ID isn&#039;t valid the theme shop will just return to the home screen after initializing the DLC title.&lt;br /&gt;
|-&lt;br /&gt;
| 0x3&lt;br /&gt;
| Open Badge Picker&lt;br /&gt;
| None&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Home Menu startup ==&lt;br /&gt;
The following is what Home Menu does at startup(converted from cmd-logs), from [[9.4.0-21]], in the same order Home Menu does it.&lt;br /&gt;
&lt;br /&gt;
Originally Home Menu mounted sdmc in main(), starting(?) with [[6.0.0-11]] Home Menu only has sdmc mounted while handling [[SD_Savedata_Backups]].&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!  Archive&lt;br /&gt;
!  Filename&lt;br /&gt;
!  Read size&lt;br /&gt;
!  Notes&lt;br /&gt;
|-&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| srv_init(), then srv_GetServiceHandle is used to initialize the service handles for the following services: [[NS_and_APT_Services|ns:s]], [[PTM_Services|ptm:sysm]], and [[Config_Services|cfg:s]].&lt;br /&gt;
|-&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| [[CfgS:SecureInfoGetByte101]] and [[CfgS:GetLocalFriendCodeSeed]] are used, the output data from these are not used. If either of these return an error, Home Menu uses [[ERR:Throw]].&lt;br /&gt;
|-&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| [[Cfg:GetSystemModel]] is then used to initialize a Home Menu state field.&lt;br /&gt;
|-&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| Home Menu then loads the system language via [[CfgS:GetConfigInfoBlk2]], and uses [[Cfg:SecureInfoGetRegion]], to initialize Home Menu region/language state. Home Menu then uses [[Cfg:SecureInfoGetRegion]] again, then loads the [[Config_Savegame|CountryInfo]] via [[CfgS:GetConfigInfoBlk2]].&lt;br /&gt;
|-&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| Home Menu initializes [[Filesystem_services|fs:USER]] here. Home Menu then mounts the Home Menu CXI RomFS. Then Home Menu uses [[Filesystem_services|FSUSER:GetPriority]].&lt;br /&gt;
|-&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| Home Menu starts APT initialization / using APT service commands here. Eventually Home Menu then [[NSS:LaunchTitle|launches]] various system-modules.&lt;br /&gt;
|-&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| Here Home Menu attempts to open NAND shared-[[extdata]] 0xe0000000, which will normally fail since it doesn&#039;t exist.&lt;br /&gt;
|-&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| Here Home Menu uses [[Application_Manager_Services|AM]] command 0x00130040, with input u8 = value 0x0. Home Menu continues using APT commands after this.&lt;br /&gt;
|-&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| [[HID_Services|hid:SPVR]] service initialization is done here.&lt;br /&gt;
|-&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| [[PTM_Services|PTMSYSM:GetShellStatus]] is used here.&lt;br /&gt;
|-&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| [[Filesystem_services|FSUSER:GetCardType]] is used here. AM commands are then used to get the inserted gamecard programID, when successful the gamecard ExeFS:/icon is then read to check the auto-boot flag(see the auto-boot section on this page). The system-setup-required flag is then read here if needed, as mentioned under the auto-boot section of this page.&lt;br /&gt;
|-&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| Home Menu then uses cfg commands to load system language, region, and CountryInfo.&lt;br /&gt;
|-&lt;br /&gt;
| Home Menu CXI RomFS&lt;br /&gt;
| &amp;quot;/message/&amp;lt;Region&amp;gt;_&amp;lt;Language&amp;gt;/menu_msbt_LZ.bin&amp;quot;&lt;br /&gt;
| Presumably loaded from the filesize.&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| Home Menu CXI RomFS&lt;br /&gt;
| &amp;quot;/message/&amp;lt;Region&amp;gt;_&amp;lt;Language&amp;gt;/RI_mstl_LZ.bin&amp;quot;&lt;br /&gt;
| Presumably loaded from the filesize.&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| Home Menu CXI RomFS&lt;br /&gt;
| &amp;quot;/message_hud/&amp;lt;Region&amp;gt;_&amp;lt;Language&amp;gt;/hud_msbt_LZ.bin&amp;quot;&lt;br /&gt;
| Presumably loaded from the filesize.&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| Home Menu CXI RomFS&lt;br /&gt;
| &amp;quot;/message_hud/&amp;lt;Region&amp;gt;_&amp;lt;Language&amp;gt;/RI_mstl_LZ.bin&amp;quot;&lt;br /&gt;
| Presumably loaded from the filesize.&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| [[NS_and_APT_Services|APT:GetSharedFont]] is used here.&lt;br /&gt;
|-&lt;br /&gt;
| Home Menu CXI RomFS&lt;br /&gt;
| &amp;quot;/font/Hud_JP.bcfnt&amp;quot;&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
|&lt;br /&gt;
| Here Home Menu loads the [[Config_Savegame|cfg]] state for blkID 0x50005.&lt;br /&gt;
|-&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| Here Home Menu loads the GPU shaders from RomFS.&lt;br /&gt;
|-&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| Here Home Menu does DSP initialization then starts using DSP commands etc + loads sound data from RomFS.&lt;br /&gt;
|-&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| Here Home Menu does GSP initialization.&lt;br /&gt;
|-&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| [[APT:GetCaptureInfo]] is used here.&lt;br /&gt;
|-&lt;br /&gt;
| Home Menu CXI RomFS&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| Here Home Menu uses [[PTM_Services|PTMSYSM:GetShellStatus]], [[PTMSYSM:GetSoftwareClosedFlag]], and [[PTMSYSM:ClearSoftwareClosedFlag]]. Home Menu then uses [[PTM_Services|PTMSYSM:GetShellStatus]] 3 times in a row. Starting from here, Home Menu uses [[PTM_Services|PTMSYSM:GetShellStatus]] frequently(presumably from a separate thread).&lt;br /&gt;
|-&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| Home Menu opens the archive for the Home Menu [[System_SaveData]] here. Then Home Menu attempts to open &amp;quot;/Launcher.dat&amp;quot; for reading, when successful Home Menu just closes the file.&lt;br /&gt;
|-&lt;br /&gt;
| Home Menu [[System_SaveData]]&lt;br /&gt;
| &amp;quot;/Launcher.dat&amp;quot;&lt;br /&gt;
| 0x2490&lt;br /&gt;
| Prior to doing the read, Home Menu uses [[FSFile:GetSize]].&lt;br /&gt;
|-&lt;br /&gt;
| System CFA, titleID for USA: 0004009B00013302&lt;br /&gt;
| &amp;quot;/country.bin&amp;quot;&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| [[NS CFA]]&lt;br /&gt;
| &amp;quot;/ctr_backup_black_list&amp;quot;&lt;br /&gt;
| &lt;br /&gt;
| Home Menu first reads 0x10-bytes from offset 0x0, then after that it reads the rest of the file.&lt;br /&gt;
|-&lt;br /&gt;
| Home Menu CXI RomFS&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| Home Menu reads various RomFS files here.&lt;br /&gt;
|-&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| Home Menu [[NSS:LaunchTitle|launches]] the camera system-module here.&lt;br /&gt;
|-&lt;br /&gt;
| Home Menu CXI RomFS&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| Home Menu reads various RomFS files here.&lt;br /&gt;
|-&lt;br /&gt;
| NGWord bad word list CFA&lt;br /&gt;
| &amp;quot;/version.dat&amp;quot;&lt;br /&gt;
| 0x4&lt;br /&gt;
| Home Menu mounts the ngword archive here, then reads version.dat. Home Menu then loads the [[Config_Savegame|cfg]] data for blkID 0x000A0000.&lt;br /&gt;
|-&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| Home Menu [[NSS:LaunchTitle|launches]] various system-modules here(from a separate thread?).&lt;br /&gt;
|-&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| Home Menu opens the following NAND shared extdata archives here: 0xf0000001, 0xf0000002, 0xf0000009, 0xf000000b, 0xf000000c, 0xf000000d, and 0xf000000b again.&lt;br /&gt;
|-&lt;br /&gt;
| NAND [[extdata]] 0xf000000b&lt;br /&gt;
| &amp;quot;/ubll.lst&amp;quot;&lt;br /&gt;
| 0x2ee0&lt;br /&gt;
| Prior to doing the read, Home Menu uses [[FSFile:GetSize]].&lt;br /&gt;
|-&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| Home Menu opens NAND shared extdata archive 0xf000000b again.&lt;br /&gt;
|-&lt;br /&gt;
| NAND extdata 0xf000000b&lt;br /&gt;
| &amp;quot;/CFL_DB.dat&amp;quot;&lt;br /&gt;
| 0xe4c0&lt;br /&gt;
| Home Menu only does one read with size 0xe4c0 for this, even though the value it loads from [[FSFile:GetSize]] is larger than that.&lt;br /&gt;
|-&lt;br /&gt;
| NAND extdata 0xf000000b&lt;br /&gt;
| &amp;quot;/CFL_OldDB.dat&amp;quot;&lt;br /&gt;
| &lt;br /&gt;
| Home Menu just closes this file immediately after opening it, when opening it was successful at least.&lt;br /&gt;
|-&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| Home Menu loads the [[Config_Savegame|cfg]] data for blkID 0x000C0000 here.&lt;br /&gt;
|-&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| Home Menu opens NAND shared extdata archive 0xf000000b again.&lt;br /&gt;
|-&lt;br /&gt;
| NAND extdata 0xf000000b&lt;br /&gt;
| [[Extdata|&amp;quot;/gamecoin.dat&amp;quot;]]&lt;br /&gt;
| 0x14&lt;br /&gt;
| Home Menu first tries to use [[FS:CreateFile]] with this, which will fail when the file already exists. This file is then opened with openflags=RW. After reading this file, Home Menu then uses [[PTM:GetTotalStepCount]], then uses [[FSFile:GetSize]]. Then the service handle for [[NDM_Services|&amp;quot;ndm:u&amp;quot;]] is initialized with srv_GetServiceHandle(done from a separate thread perhaps?). Then Home Menu writes to the already opened gamecoin.dat file.&lt;br /&gt;
|-&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| [[Filesystem_services|FSUSER:CardSlotIsInserted]] and [[Filesystem_services|FSUSER:GetCardType]] is used here. AM commands are then used to get the inserted gamecard programID, when successful the gamecard ExeFS:/icon is then read.&lt;br /&gt;
|-&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| [[BOSS_Services|&amp;quot;boss:P&amp;quot;]] service handle initialization with srv_GetServiceHandle is done here. Then [[Services|srv_Subscribe]] is used with various noticationIDs. Home Menu then uses [[FS:IsSdmcDetected]] and [[FS:IsSdmcWritable]]. Home Menu then loads the [[Config_Savegame|cfg]] data for blkID 0x000D0000. Home Menu uses boss:P command 0x4010082, then uses srv_GetServiceHandle for initializing service handles with the following services: [[News_Services|&amp;quot;news:s&amp;quot;]] and &amp;quot;cecd:s&amp;quot;.&lt;br /&gt;
|-&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| srv_GetServiceHandle is used to initialize the service handle for service [[Friend_Services|&amp;quot;frd:a&amp;quot;]], then various service commands are used for that.&lt;br /&gt;
|-&lt;br /&gt;
| NAND [[extdata]] 0xf000000c&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| Home Menu first attempts to use [[FS:CreateFile]] with &amp;quot;/bashotorya.dat&amp;quot;, which normally fails since that file already exists. Home Menu then repeats this with &amp;quot;/bashotorya2.dat&amp;quot;.&lt;br /&gt;
|-&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| Here, Home Menu opens the following SD extdata archives: Home Menu badge SD extdata, Home Menu SD extdata, and the theme-cache SD extdata.&lt;br /&gt;
|-&lt;br /&gt;
| Home Menu SD extdata&lt;br /&gt;
| &amp;quot;/SaveData.dat&amp;quot;&lt;br /&gt;
| 0x2da0&lt;br /&gt;
| Prior to doing the read, Home Menu uses [[FSFile:GetSize]].&lt;br /&gt;
|-&lt;br /&gt;
| Home Menu SD extdata&lt;br /&gt;
| &amp;quot;/Cache.dat&amp;quot;&lt;br /&gt;
| 0x1688&lt;br /&gt;
| Prior to doing the read, Home Menu uses [[FSFile:GetSize]].&lt;br /&gt;
|-&lt;br /&gt;
| Home Menu SD extdata&lt;br /&gt;
| &amp;quot;/CacheD.dat&amp;quot;&lt;br /&gt;
| 0x36c0&lt;br /&gt;
| This is used to read the cached icon data for the currently inserted gamecard, if any. Prior to doing the read, Home Menu uses [[FSFile:GetSize]]. After opening the file and before [[FSFile:GetSize]] is used, Home Menu uses AM commands 0x10070102(for theme DLC) and 0x30084(gamecard &amp;quot;title-listing&amp;quot;).&lt;br /&gt;
|-&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| Home Menu uses the following AM commands for theme DLC here: 0x10050084 and 0x10020104.&lt;br /&gt;
|-&lt;br /&gt;
| Home Menu Theme SD extdata&lt;br /&gt;
| &amp;quot;/BodyCache.bin&amp;quot;&lt;br /&gt;
| 0x150000&lt;br /&gt;
| Before opening the file, Home Menu firsts opens this archive under a new archive-handle again, then closes it. Prior to doing the read, Home Menu uses [[FSFile:GetSize]].&lt;br /&gt;
|-&lt;br /&gt;
| Home Menu Theme SD extdata&lt;br /&gt;
| &amp;quot;/ThemeManage.bin&amp;quot;&lt;br /&gt;
| 0x8&lt;br /&gt;
| Prior to doing the read, Home Menu uses [[FSFile:GetSize]](the result is filesize 0x800).&lt;br /&gt;
|-&lt;br /&gt;
| Home Menu Theme SD extdata&lt;br /&gt;
| &amp;quot;/BgmCache.bin&amp;quot;&lt;br /&gt;
| &lt;br /&gt;
| The data is read from here as needed. After opening the file, Home Menu uses [[FSFile:GetSize]].&lt;br /&gt;
|-&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| boss:P commands 0x00040000 and 0x04040080 are used here. Home Menu opens NAND shared-extdata 0xf000000e, then closes it when the archive was opened successfully. Then Home Menu uses boss:P command 0x04500102 with the theme extdata, with string &amp;quot;thmtop&amp;quot;.&lt;br /&gt;
|-&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| boss:P command 0x04040080 is used, with the input programID set to the gamecard one. Then boss:P commands 0x000E0000 and 0x00160082 are used.&lt;br /&gt;
|-&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| [[AMNet:GetTitleIDList|AM:GetTitleIDList]] is used with mediatype=SD and maxTIDs = 0x1c00.&lt;br /&gt;
|-&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| boss:P command 0x00160082 is used.&lt;br /&gt;
|-&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| [[PTM_Services|PTM:GetStepHistory]] is used.&lt;br /&gt;
|-&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| srv_GetServiceHandle is used to initialize the service handle for [[AC_Services|&amp;quot;ac:u&amp;quot;]], then [[AC_Services|ACU:SetClientVersion]] is used. [[Services|srv_Subscribe]] is used, then ACU command 0x002F0004 is used.&lt;br /&gt;
|-&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| [[AMNet:GetTitleIDList|AM:GetTitleIDList]] is used with mediatype=NAND and maxTIDs = 0x1c00.&lt;br /&gt;
|-&lt;br /&gt;
| NAND extdata 0xf000000b&lt;br /&gt;
| &amp;quot;/gamecoin.dat&amp;quot;&lt;br /&gt;
| 0x14&lt;br /&gt;
| Home Menu first tries to use FS:CreateFile with this, which will fail when the file already exists. This file is then opened with openflags=RW. After reading this file, Home Menu then uses [[PTM_Services|PTM:GetTotalStepCount]], then uses FSFile:GetSize. Then Home Menu writes to the already opened gamecoin.dat file. &lt;br /&gt;
&lt;br /&gt;
At the same time as doing the above, Home Menu also uses(probably from a different thread) [[AMNet:GetTitleIDList3|AM:GetTitleIDList3]] with mediatype=NAND and maxTIDs=0x2000. Then Home Menu uses [[AMNet:ListTitles|AM:ListTitles]] with the NAND promotional-video titleID. Then Home Menu attempts to open the ExeFS:/icon in the NAND promotional-video title.&lt;br /&gt;
|-&lt;br /&gt;
| Home Menu [[System_SaveData]]&lt;br /&gt;
| &amp;quot;/Launcher.dat&amp;quot;&lt;br /&gt;
| &lt;br /&gt;
| Prior to doing the write, Home Menu uses [[FSFile:GetSize]]. Home Menu writes 0x2490-bytes to the file here. From a separate thread(?) at the same time, Home Menu also uses [[AM:ReloadDBS]] and AM command 0x00130040 with input=0x1.&lt;br /&gt;
|-&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| Home Menu loads the u8 value from [[Config_Savegame|cfg]] blkID 0x000E0000 here.&lt;br /&gt;
|-&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| [[AM:ReloadDBS]], AM command 0x10070102(for theme DLC), AM command 0x00130040, and AM command 0x10050084(for theme DLC) are used here.&lt;br /&gt;
At the same time(from a different thread?), the &amp;quot;act:u&amp;quot; service handle is initialized with srv_GetServiceHandle. Then ACTU commands 0x00010084 and 0x000600C2 are used.&lt;br /&gt;
|-&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| The [[NIM_Services|&amp;quot;nim:u&amp;quot;]] service handle is initialized with srv_GetServiceHandle. Then NIMU commands 0x000F0042, 0x00170042, 0x00150000, and 0x00050000 are used.&lt;br /&gt;
|-&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| AM command 0x10020104(theme DLC) is used here. Then Home Menu CXI RomFS data is read.&lt;br /&gt;
|-&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| Home Menu CXI RomFS data is read. [[Filesystem_services|FS:GetSpecialContentIndex]] for the gamecard is used, then MICU initialization is done here(separate thread maybe?).&lt;br /&gt;
|-&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| [[ACU:GetWifiStatus]] is used, the NAND shared-extdata 0xf000000b archive is then opened here.&lt;br /&gt;
|-&lt;br /&gt;
| NAND extdata 0xf000000b&lt;br /&gt;
| &amp;quot;/idb.dat&amp;quot;&lt;br /&gt;
| 0x2008&lt;br /&gt;
| This first opens the file for writing, then uses [[FSFile:GetSize]](output filesize is 0x6d4000). Then it writes to the file using size 0, then closes the file. Then [[PTM_Services|PTM:GetStepHistory]] is used. Then Home Menu opens &amp;quot;/idbt.dat&amp;quot;, then reads 0x2008-bytes.&lt;br /&gt;
|-&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| Home Menu starts using [[News_Services|&amp;quot;news:s&amp;quot;]] commands here. While Home Menu is doing this, it also uses(from another thread?) [[NS_and_APT_Services|APT:PrepareToStartNewestHomeMenu]], [[NIM_Services|NIMU:GetState]], and [[NDM_Services|NDMU:OverrideDefaultDaemons]] with input value 0xF.&lt;br /&gt;
Later with that news-command code still running, Home Menu also uses the following commands: [[ACU:GetWifiStatus]], [[NDM_Services|NDMU:QueryExclusiveMode]], and CECDS command 0x000E0000. Then [[Config_Savegame|cfg]] blkID 0x000D0000 is loaded.&lt;br /&gt;
|-&lt;br /&gt;
| NAND extdata 0xf000000b&lt;br /&gt;
| &amp;quot;/idbt.dat&amp;quot;&lt;br /&gt;
| &lt;br /&gt;
| Home Menu writes 0x2008-bytes to this file.&lt;br /&gt;
|-&lt;br /&gt;
| NAND extdata 0xf000000e&lt;br /&gt;
| &amp;quot;/versionList.dat&amp;quot;&lt;br /&gt;
| Loaded from the filesize.&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| boss:P command 0x00200082 is used with string &amp;quot;mmVerDl&amp;quot;.&lt;br /&gt;
|-&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| ...&lt;br /&gt;
|-&lt;br /&gt;
| Home Menu [[System_SaveData]]&lt;br /&gt;
| &amp;quot;/Launcher.dat&amp;quot;&lt;br /&gt;
| &lt;br /&gt;
| When Home Menu is terminating(?), Home Menu writes 0x2490-bytes to the file here. After doing this, Home Menu opens, writes, and closes the file again.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Hardware reboot ===&lt;br /&gt;
During Home Menu start-up it uses [[APT:PrepareToStartNewestHomeMenu]]. If that doesn&#039;t return an error(normally NS returns 0xC8A0CFFC for that), Home Menu starts a hardware reboot with [[APT:StartNewestHomeMenu]] etc.&lt;br /&gt;
&lt;br /&gt;
On retail this essentially means a hardware-reboot will automatically trigger if [[Configuration_Memory|configmem]] SYSCOREVER doesn&#039;t match FIRM_SYSCOREVER, or when the current APPMEMTYPE doesn&#039;t match the default APPMEMTYPE for this Old3DS/New3ds model. The latter can happen with running New3DS NATIVE_FIRM with Old3DS system-titles, for example.&lt;br /&gt;
&lt;br /&gt;
== Returning to Home Menu from a crashed application ==&lt;br /&gt;
When returning to Home Menu from an application that didn&#039;t properly shutdown(like with an exception), PTM module writes data to the PTM system savedata. Then the system terminates Home Menu, and starts Home Menu again.&lt;br /&gt;
&lt;br /&gt;
== See Also ==&lt;br /&gt;
* http://www.nintendo.com/consumer/systems/3ds/en_na/menu_update.jsp&lt;br /&gt;
* http://www.nintendo.co.jp/netinfo/3ds/JPN/ja.html&lt;br /&gt;
* https://yls8.mtheall.com/ninupdates/reports.php&lt;/div&gt;</summary>
		<author><name>Gruetzig</name></author>
	</entry>
	<entry>
		<id>https://www.3dbrew.org/w/index.php?title=DARC&amp;diff=23769</id>
		<title>DARC</title>
		<link rel="alternate" type="text/html" href="https://www.3dbrew.org/w/index.php?title=DARC&amp;diff=23769"/>
		<updated>2026-05-06T10:23:18Z</updated>

		<summary type="html">&lt;p&gt;Gruetzig: might be worth mentioning&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:File formats]]&lt;br /&gt;
This page documents the format of DARC.&lt;br /&gt;
&lt;br /&gt;
== Overview ==&lt;br /&gt;
&lt;br /&gt;
DARC files are archives. Containers of files.&lt;br /&gt;
&lt;br /&gt;
This is very similiar to NARC (the DS archives).&lt;br /&gt;
&lt;br /&gt;
== ARC header ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
!  Offset !!  Size !! Type !!  Description&lt;br /&gt;
|-&lt;br /&gt;
|  0x000 || 4 || char[4] || Magic Number &#039;darc&#039;&lt;br /&gt;
|-&lt;br /&gt;
|  0x004 || 2 || uint16 || Endianess (=0xFEFF [FF FE]: Little)&lt;br /&gt;
|-&lt;br /&gt;
|  0x006 || 2 || uint16 || Header&#039;s length&lt;br /&gt;
|-&lt;br /&gt;
|  0x008 || 4 || uint32 || Version&lt;br /&gt;
|-&lt;br /&gt;
|  0x00C || 4 || uint32 || File&#039;s length&lt;br /&gt;
|-&lt;br /&gt;
|  0x010 || 4 || uint32 || [[DARC#File_table|File table]] offset (from the beginning of the file)&lt;br /&gt;
|-&lt;br /&gt;
|  0x014 || 4 || uint32 || [[DARC#File_table|File table]] length (includes the names that come after the file structs)&lt;br /&gt;
|-&lt;br /&gt;
|  0x018 || 4 || uint32 || [[DARC#Files_data|Files data]] offset&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== File table ===&lt;br /&gt;
&lt;br /&gt;
The file table starts at 0x01C.&lt;br /&gt;
&lt;br /&gt;
Each file struct consists of 3 uint32:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
!  Offset !!  Size !! Type !!  Description&lt;br /&gt;
|-&lt;br /&gt;
|  0x000 || 4 || uint32 || File name offset (from the end of the table) &lt;br /&gt;
&lt;br /&gt;
if (offset &amp;amp; 0x01000000) then this is a folder (i.e. first two nodes &#039;null&#039; &amp;amp; &#039;.&#039;)&lt;br /&gt;
|-&lt;br /&gt;
|  0x004 || 4 || uint32 || File offset&lt;br /&gt;
|-&lt;br /&gt;
|  0x008 || 4 || uint32 || File length&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
* Folder&#039;s length is end-index of the folder in the table.&lt;br /&gt;
&lt;br /&gt;
=Tools=&lt;br /&gt;
* [https://github.com/yellows8/darctool]&lt;/div&gt;</summary>
		<author><name>Gruetzig</name></author>
	</entry>
	<entry>
		<id>https://www.3dbrew.org/w/index.php?title=Filesystem_services&amp;diff=23724</id>
		<title>Filesystem services</title>
		<link rel="alternate" type="text/html" href="https://www.3dbrew.org/w/index.php?title=Filesystem_services&amp;diff=23724"/>
		<updated>2026-01-02T19:53:10Z</updated>

		<summary type="html">&lt;p&gt;Gruetzig: grgre&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Services =&lt;br /&gt;
{{Anchor|FS}}{{Anchor|FSUSER}}{{Anchor|fs:USER}}&lt;br /&gt;
== Filesystem service &amp;quot;fs:USER&amp;quot; ==&lt;br /&gt;
You can at most have 32 FS archive handles.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!  Command Header&lt;br /&gt;
!  Available since system version &lt;br /&gt;
!  Description&lt;br /&gt;
!   scope=&amp;quot;col&amp;quot; width=&amp;quot;400&amp;quot; | Required [[NCCH/Extended_Header|exheader]] access info bitmask&lt;br /&gt;
|-&lt;br /&gt;
| 0x000100C6&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:Dummy1|Dummy1]]&lt;br /&gt;
| None&lt;br /&gt;
|-&lt;br /&gt;
| 0x040100C4&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:Control|Control]]&lt;br /&gt;
| None&lt;br /&gt;
|-&lt;br /&gt;
| 0x08010002&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:Initialize|Initialize]]&lt;br /&gt;
| None&lt;br /&gt;
|-&lt;br /&gt;
| 0x080201C2&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:OpenFile|OpenFile]]&lt;br /&gt;
| None&lt;br /&gt;
|-&lt;br /&gt;
| 0x08030204&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:OpenFileDirectly|OpenFileDirectly]]&lt;br /&gt;
| None&lt;br /&gt;
|-&lt;br /&gt;
| 0x08040142&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:DeleteFile|DeleteFile]]&lt;br /&gt;
| None&lt;br /&gt;
|-&lt;br /&gt;
| 0x08050244&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:RenameFile|RenameFile]]&lt;br /&gt;
| None&lt;br /&gt;
|-&lt;br /&gt;
| 0x08060142&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:DeleteDirectory|DeleteDirectory]]&lt;br /&gt;
| None&lt;br /&gt;
|-&lt;br /&gt;
| 0x08070142&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:DeleteDirectoryRecursively|DeleteDirectoryRecursively]]&lt;br /&gt;
| None&lt;br /&gt;
|-&lt;br /&gt;
| 0x08080202&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:CreateFile|CreateFile]]&lt;br /&gt;
| None&lt;br /&gt;
|-&lt;br /&gt;
| 0x08090182&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:CreateDirectory|CreateDirectory]]&lt;br /&gt;
| None&lt;br /&gt;
|-&lt;br /&gt;
| 0x080A0244&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:RenameDirectory|RenameDirectory]]&lt;br /&gt;
| None&lt;br /&gt;
|-&lt;br /&gt;
| 0x080B0102&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:OpenDirectory|OpenDirectory]]&lt;br /&gt;
| None&lt;br /&gt;
|-&lt;br /&gt;
| 0x080C00C2&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:OpenArchive|OpenArchive]]&lt;br /&gt;
| Each archive ID code has separate access info bitmasks, if it has any&lt;br /&gt;
|-&lt;br /&gt;
| 0x080D0144&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:ControlArchive|ControlArchive]]&lt;br /&gt;
| None&lt;br /&gt;
|-&lt;br /&gt;
| 0x080E0080&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:CloseArchive|CloseArchive]]&lt;br /&gt;
| None&lt;br /&gt;
|-&lt;br /&gt;
| 0x080F0180&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:Obsoleted_2_0_FormatThisUserSaveData|Obsoleted_2_0_FormatThisUserSaveData]]&lt;br /&gt;
| None&lt;br /&gt;
|-&lt;br /&gt;
| 0x08100200&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:Obsoleted_3_0_CreateSystemSaveData|Obsoleted_3_0_CreateSystemSaveData]]&lt;br /&gt;
| 0x4, for when the input saveID doesn&#039;t match the exheader saveID&lt;br /&gt;
|-&lt;br /&gt;
| 0x08110040&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:Obsoleted_3_0_DeleteSystemSaveData|Obsoleted_3_0_DeleteSystemSaveData]]&lt;br /&gt;
| 0x1004, for when the input saveID doesn&#039;t match the exheader saveID&lt;br /&gt;
|-&lt;br /&gt;
| 0x08120080&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:GetFreeBytes|GetFreeBytes]]&lt;br /&gt;
| None&lt;br /&gt;
|-&lt;br /&gt;
| 0x08130000&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:GetCardType|GetCardType]]&lt;br /&gt;
| 0x1017&lt;br /&gt;
|-&lt;br /&gt;
| 0x08140000&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:GetSdmcArchiveResource|GetSdmcArchiveResource]]&lt;br /&gt;
| None&lt;br /&gt;
|-&lt;br /&gt;
| 0x08150000&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:GetNandArchiveResource|GetNandArchiveResource]]&lt;br /&gt;
| 0x1007&lt;br /&gt;
|-&lt;br /&gt;
| 0x08160000&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:GetSdmcFatfsError|GetSdmcFatfsError]]&lt;br /&gt;
| 0x2&lt;br /&gt;
|-&lt;br /&gt;
| 0x08170000&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:IsSdmcDetected|IsSdmcDetected]]&lt;br /&gt;
| None&lt;br /&gt;
|-&lt;br /&gt;
| 0x08180000&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:IsSdmcWritable|IsSdmcWritable]]&lt;br /&gt;
| None&lt;br /&gt;
|-&lt;br /&gt;
| 0x08190042&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:GetSdmcCid|GetSdmcCid]]&lt;br /&gt;
| 0x2&lt;br /&gt;
|-&lt;br /&gt;
| 0x081A0042&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:GetNandCid|GetNandCid]]&lt;br /&gt;
| 0x2&lt;br /&gt;
|-&lt;br /&gt;
| 0x081B0000&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:GetSdmcSpeedInfo|GetSdmcSpeedInfo]]&lt;br /&gt;
| 0x2&lt;br /&gt;
|-&lt;br /&gt;
| 0x081C0000&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:GetNandSpeedInfo|GetNandSpeedInfo]]&lt;br /&gt;
| 0x2&lt;br /&gt;
|-&lt;br /&gt;
| 0x081D0042&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:GetSdmcLog|GetSdmcLog]]&lt;br /&gt;
| 0x2&lt;br /&gt;
|-&lt;br /&gt;
| 0x081E0042&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:GetNandLog|GetNandLog]]&lt;br /&gt;
| 0x2&lt;br /&gt;
|-&lt;br /&gt;
| 0x081F0000&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:ClearSdmcLog|ClearSdmcLog]]&lt;br /&gt;
| 0x2&lt;br /&gt;
|-&lt;br /&gt;
| 0x08200000&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:ClearNandLog|ClearNandLog]]&lt;br /&gt;
| 0x2&lt;br /&gt;
|-&lt;br /&gt;
| 0x08210000&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:CardSlotIsInserted|CardSlotIsInserted]]&lt;br /&gt;
| 0x1017&lt;br /&gt;
|-&lt;br /&gt;
| 0x08220000&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:CardSlotPowerOn|CardSlotPowerOn]]&lt;br /&gt;
| 0x2&lt;br /&gt;
|-&lt;br /&gt;
| 0x08230000&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:CardSlotPowerOff|CardSlotPowerOff]]&lt;br /&gt;
| 0x2&lt;br /&gt;
|-&lt;br /&gt;
| 0x08240000&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:CardSlotGetCardIFPowerStatus|CardSlotGetCardIFPowerStatus]]&lt;br /&gt;
| 0x2&lt;br /&gt;
|-&lt;br /&gt;
| 0x08250040&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:CardNorDirectCommand|CardNorDirectCommand]]&lt;br /&gt;
| 0x2&lt;br /&gt;
|-&lt;br /&gt;
| 0x08260080&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:CardNorDirectCommandWithAddress|CardNorDirectCommandWithAddress]]&lt;br /&gt;
| 0x2&lt;br /&gt;
|-&lt;br /&gt;
| 0x08270082&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:CardNorDirectRead|CardNorDirectRead]]&lt;br /&gt;
| 0x2&lt;br /&gt;
|-&lt;br /&gt;
| 0x082800C2&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:CardNorDirectReadWithAddress|CardNorDirectReadWithAddress]]&lt;br /&gt;
| 0x2&lt;br /&gt;
|-&lt;br /&gt;
| 0x08290082&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:CardNorDirectWrite|CardNorDirectWrite]]&lt;br /&gt;
| 0x2&lt;br /&gt;
|-&lt;br /&gt;
| 0x082A00C2&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:CardNorDirectWriteWithAddress|CardNorDirectWriteWithAddress]]&lt;br /&gt;
| 0x2&lt;br /&gt;
|-&lt;br /&gt;
| 0x082B00C2&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:CardNorDirectRead_4xIO|CardNorDirectRead_4xIO]]&lt;br /&gt;
| 0x2&lt;br /&gt;
|-&lt;br /&gt;
| 0x082C0082&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:CardNorDirectCpuWriteWithoutVerify|CardNorDirectCpuWriteWithoutVerify]]&lt;br /&gt;
| 0x2&lt;br /&gt;
|-&lt;br /&gt;
| 0x082D0040&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:CardNorDirectSectorEraseWithoutVerify|CardNorDirectSectorEraseWithoutVerify]]&lt;br /&gt;
| 0x2&lt;br /&gt;
|-&lt;br /&gt;
| 0x082E0040&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:GetProductInfo|GetProductInfo]]&lt;br /&gt;
| 0x1005&lt;br /&gt;
|-&lt;br /&gt;
| 0x082F0040&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:GetProgramLaunchInfo|GetProgramLaunchInfo]]&lt;br /&gt;
| 0x1005&lt;br /&gt;
|-&lt;br /&gt;
| 0x08300182&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:Obsoleted_3_0_CreateExtSaveData|Obsoleted_3_0_CreateExtSaveData]]&lt;br /&gt;
| 0xC, for when the input extdataID doesn&#039;t match the exheader extdataID&lt;br /&gt;
|-&lt;br /&gt;
| 0x08310180&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:Obsoleted_3_0_CreateSharedExtSaveData|Obsoleted_3_0_CreateSharedExtSaveData]]&lt;br /&gt;
| 0x1005&lt;br /&gt;
|-&lt;br /&gt;
| 0x08320102&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:Obsoleted_3_0_ReadExtSaveDataIcon|Obsoleted_3_0_ReadExtSaveDataIcon]]&lt;br /&gt;
| 0x100D, for when the input extdataID doesn&#039;t match the exheader extdataID&lt;br /&gt;
|-&lt;br /&gt;
| 0x08330082&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:Obsoleted_3_0_EnumerateExtSaveData|Obsoleted_3_0_EnumerateExtSaveData]]&lt;br /&gt;
| 0x1005&lt;br /&gt;
|-&lt;br /&gt;
| 0x08340082&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:Obsoleted_3_0_EnumerateSharedExtSaveData|Obsoleted_3_0_EnumerateSharedExtSaveData]]&lt;br /&gt;
| 0x1005&lt;br /&gt;
|-&lt;br /&gt;
| 0x08350080&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:Obsoleted_3_0_DeleteExtSaveData|Obsoleted_3_0_DeleteExtSaveData]]&lt;br /&gt;
| 0x100D, for when the input extdataID doesn&#039;t match the exheader extdataID&lt;br /&gt;
|-&lt;br /&gt;
| 0x08360080&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:Obsoleted_3_0_DeleteSharedExtSaveData|Obsoleted_3_0_DeleteSharedExtSaveData]]&lt;br /&gt;
| 0x1005&lt;br /&gt;
|-&lt;br /&gt;
| 0x08370040&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:SetCardSpiBaudRate|SetCardSpiBaudRate]]&lt;br /&gt;
| 0x2&lt;br /&gt;
|-&lt;br /&gt;
| 0x08380040&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:SetCardSpiBusMode|SetCardSpiBusMode]]&lt;br /&gt;
| 0x2&lt;br /&gt;
|-&lt;br /&gt;
| 0x08390000&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:SendInitializeInfoTo9|SendInitializeInfoTo9]]&lt;br /&gt;
| None&lt;br /&gt;
|-&lt;br /&gt;
| 0x083A0100&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:GetSpecialContentIndex|GetSpecialContentIndex]]&lt;br /&gt;
| 0x1005&lt;br /&gt;
|-&lt;br /&gt;
| 0x083B00C2&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:GetLegacyRomHeader|GetLegacyRomHeader]]&lt;br /&gt;
| 0x1015&lt;br /&gt;
|-&lt;br /&gt;
| 0x083C00C2&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:GetLegacyBannerData|GetLegacyBannerData]]&lt;br /&gt;
| 0x1015&lt;br /&gt;
|-&lt;br /&gt;
| 0x083D0100&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:CheckAuthorityToAccessExtSaveData|CheckAuthorityToAccessExtSaveData]]&lt;br /&gt;
| 0x44&lt;br /&gt;
|-&lt;br /&gt;
| 0x083E00C2&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:QueryTotalQuotaSize|QueryTotalQuotaSize]]&lt;br /&gt;
| None&lt;br /&gt;
|-&lt;br /&gt;
| 0x083F00C0&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:Obsoleted_3_0_GetExtDataBlockSize|Obsoleted_3_0_GetExtDataBlockSize]]&lt;br /&gt;
| None&lt;br /&gt;
|-&lt;br /&gt;
| 0x08400040&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:AbnegateAccessRight|AbnegateAccessRight]]&lt;br /&gt;
|?&lt;br /&gt;
|-&lt;br /&gt;
| 0x08410000&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:DeleteSdmcRoot|DeleteSdmcRoot]]&lt;br /&gt;
| 0x1005&lt;br /&gt;
|-&lt;br /&gt;
| 0x08420040&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:DeleteAllExtSaveDataOnNand|DeleteAllExtSaveDataOnNand]]&lt;br /&gt;
| 0x1005&lt;br /&gt;
|-&lt;br /&gt;
| 0x08430000&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:InitializeCtrFileSystem|InitializeCtrFileSystem]]&lt;br /&gt;
| None&lt;br /&gt;
|-&lt;br /&gt;
| 0x08440000&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:CreateSeed|CreateSeed]]&lt;br /&gt;
| 0x2&lt;br /&gt;
|-&lt;br /&gt;
| 0x084500C2&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:GetFormatInfo|GetFormatInfo]]&lt;br /&gt;
|?&lt;br /&gt;
|-&lt;br /&gt;
| 0x08460102&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:GetLegacyRomHeader2|GetLegacyRomHeader2]]&lt;br /&gt;
| 0x1015&lt;br /&gt;
|-&lt;br /&gt;
| 0x08470180&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:Obsoleted_2_0_FormatCtrCardUserSaveData|Obsoleted_2_0_FormatCtrCardUserSaveData]]&lt;br /&gt;
| 0x6&lt;br /&gt;
|-&lt;br /&gt;
| 0x08480042&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:GetSdmcCtrRootPath|GetSdmcCtrRootPath]]&lt;br /&gt;
| 0x100D&lt;br /&gt;
|-&lt;br /&gt;
| 0x08490040&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:GetArchiveResource|GetArchiveResource]]&lt;br /&gt;
|?&lt;br /&gt;
|-&lt;br /&gt;
| 0x084A0002&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:ExportIntegrityVerificationSeed|ExportIntegrityVerificationSeed]]&lt;br /&gt;
| 0x4000&lt;br /&gt;
|-&lt;br /&gt;
| 0x084B0002&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:ImportIntegrityVerificationSeed|ImportIntegrityVerificationSeed]]&lt;br /&gt;
| 0x4000&lt;br /&gt;
|-&lt;br /&gt;
| 0x084C0242&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:FormatSaveData|FormatSaveData]]&lt;br /&gt;
| 0x6, in some cases this write isn&#039;t needed however&lt;br /&gt;
|-&lt;br /&gt;
| 0x084D0102&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:GetLegacySubBannerData|GetLegacySubBannerData]]&lt;br /&gt;
| 0x1015&lt;br /&gt;
|-&lt;br /&gt;
| 0x084E0342&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:UpdateSha256Context|UpdateSha256Context]]&lt;br /&gt;
| 0x5&lt;br /&gt;
|-&lt;br /&gt;
| 0x084F0102&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:ReadSpecialFile|ReadSpecialFile]]&lt;br /&gt;
| None&lt;br /&gt;
|-&lt;br /&gt;
| 0x08500040&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:GetSpecialFileSize|GetSpecialFileSize]]&lt;br /&gt;
| None&lt;br /&gt;
|-&lt;br /&gt;
| 0x08510242&lt;br /&gt;
| [[3.0.0-5]]&lt;br /&gt;
| [[FS:CreateExtSaveData|CreateExtSaveData]]&lt;br /&gt;
| Shared extdata: 0x101005. Regular extdata in certain cases: 0xC&lt;br /&gt;
|-&lt;br /&gt;
| 0x08520100&lt;br /&gt;
| [[3.0.0-5]]&lt;br /&gt;
| [[FS:DeleteExtSaveData|DeleteExtSaveData]]&lt;br /&gt;
| Shared extdata: 0x101005. Regular extdata in certain cases: 0x10100D&lt;br /&gt;
|-&lt;br /&gt;
| 0x08530142&lt;br /&gt;
| [[3.0.0-5]]&lt;br /&gt;
| [[FS:ReadExtSaveDataIcon|ReadExtSaveDataIcon]]&lt;br /&gt;
| 0x10100D (this doesn&#039;t apply in certain cases, however)&lt;br /&gt;
|-&lt;br /&gt;
| 0x08540100&lt;br /&gt;
| [[3.0.0-5]]&lt;br /&gt;
| [[FS:GetExtDataBlockSize|GetExtDataBlockSize]]&lt;br /&gt;
| 0x10100D (this doesn&#039;t apply in certain cases, however)&lt;br /&gt;
|-&lt;br /&gt;
| 0x08550102&lt;br /&gt;
| [[3.0.0-5]]&lt;br /&gt;
| [[FS:EnumerateExtSaveData|EnumerateExtSaveData]]&lt;br /&gt;
| 0x101005&lt;br /&gt;
|-&lt;br /&gt;
| 0x08560240&lt;br /&gt;
| [[3.0.0-5]]&lt;br /&gt;
| [[FS:CreateSystemSaveData|CreateSystemSaveData]]&lt;br /&gt;
| 0x4 (this doesn&#039;t apply in certain cases, however)&lt;br /&gt;
|-&lt;br /&gt;
| 0x08570080&lt;br /&gt;
| [[3.0.0-5]]&lt;br /&gt;
| [[FS:DeleteSystemSaveData|DeleteSystemSaveData]]&lt;br /&gt;
| 0x1004 (this doesn&#039;t apply in certain cases, however)&lt;br /&gt;
|-&lt;br /&gt;
| 0x08580000&lt;br /&gt;
| [[3.0.0-5]]&lt;br /&gt;
| [[FS:StartDeviceMoveAsSource|StartDeviceMoveAsSource]]&lt;br /&gt;
| 0x2004&lt;br /&gt;
|-&lt;br /&gt;
| 0x08590200&lt;br /&gt;
| [[3.0.0-5]]&lt;br /&gt;
| [[FS:StartDeviceMoveAsDestination|StartDeviceMoveAsDestination]]&lt;br /&gt;
| 0x2004&lt;br /&gt;
|-&lt;br /&gt;
| 0x085A00C0&lt;br /&gt;
| [[3.0.0-5]]&lt;br /&gt;
| [[FS:SetArchivePriority|SetArchivePriority]]&lt;br /&gt;
| None&lt;br /&gt;
|-&lt;br /&gt;
| 0x085B0080&lt;br /&gt;
| [[3.0.0-5]]&lt;br /&gt;
| [[FS:GetArchivePriority|GetArchivePriority]]&lt;br /&gt;
| None&lt;br /&gt;
|-&lt;br /&gt;
| 0x085C00C0&lt;br /&gt;
| [[3.0.0-5]]&lt;br /&gt;
| [[FS:SetCtrCardLatencyParameter|SetCtrCardLatencyParameter]]&lt;br /&gt;
| 0xE&lt;br /&gt;
|-&lt;br /&gt;
| 0x085D01C0&lt;br /&gt;
| [[3.0.0-5]]&lt;br /&gt;
| [[FS:SetFsCompatibilityInfo|SetFsCompatibilityInfo]]&lt;br /&gt;
| 0x100001&lt;br /&gt;
|-&lt;br /&gt;
| 0x085E0040&lt;br /&gt;
| [[3.0.0-5]]&lt;br /&gt;
| [[FS:ResetCardCompatibilityParameter|ResetCardCompatibilityParameter]]&lt;br /&gt;
| 0xE&lt;br /&gt;
|-&lt;br /&gt;
| 0x085F0040&lt;br /&gt;
| [[3.0.0-5]]&lt;br /&gt;
| [[FS:SwitchCleanupInvalidSaveData|SwitchCleanupInvalidSaveData]]&lt;br /&gt;
| 0x12004&lt;br /&gt;
|-&lt;br /&gt;
| 0x08600042&lt;br /&gt;
| [[3.0.0-5]]&lt;br /&gt;
| [[FS:EnumerateSystemSaveData|EnumerateSystemSaveData]]&lt;br /&gt;
| 0x2004&lt;br /&gt;
|-&lt;br /&gt;
| 0x08610042&lt;br /&gt;
| [[3.0.0-5]]&lt;br /&gt;
| [[FS:InitializeWithSdkVersion|InitializeWithSdkVersion]]&lt;br /&gt;
| None&lt;br /&gt;
|-&lt;br /&gt;
| 0x08620040&lt;br /&gt;
| [[3.0.0-5]]&lt;br /&gt;
| [[FS:SetPriority|SetPriority]]&lt;br /&gt;
| None&lt;br /&gt;
|-&lt;br /&gt;
| 0x08630000&lt;br /&gt;
| [[3.0.0-5]]&lt;br /&gt;
| [[FS:GetPriority|GetPriority]]&lt;br /&gt;
| None&lt;br /&gt;
|-&lt;br /&gt;
| 0x08640000&lt;br /&gt;
| [[3.0.0-5]]&lt;br /&gt;
| [[FS:Obsoleted_4_0_GetNandInfo|Obsoleted_4_0_GetNandInfo]]&lt;br /&gt;
| Stubbed, this returns an error&lt;br /&gt;
|-&lt;br /&gt;
| 0x08650140&lt;br /&gt;
| [[4.0.0-7]]&lt;br /&gt;
| [[FS:SetSaveDataSecureValue|SetSaveDataSecureValue]]&lt;br /&gt;
| 0x121004 (in certain cases this doesn&#039;t apply, however)&lt;br /&gt;
|-&lt;br /&gt;
| 0x086600C0&lt;br /&gt;
| [[4.0.0-7]]&lt;br /&gt;
| [[FS:GetSaveDataSecureValue|GetSaveDataSecureValue]]&lt;br /&gt;
| 0x121004 (in certain cases this doesn&#039;t apply, however)&lt;br /&gt;
|-&lt;br /&gt;
| 0x086700C4&lt;br /&gt;
| [[4.0.0-7]]&lt;br /&gt;
| [[FS:ControlSecureSave|ControlSecureSave]]&lt;br /&gt;
| 0x121004&lt;br /&gt;
|-&lt;br /&gt;
| 0x08680000&lt;br /&gt;
| [[4.0.0-7]]&lt;br /&gt;
| [[FS:GetMediaType|GetMediaType]]&lt;br /&gt;
| None&lt;br /&gt;
|-&lt;br /&gt;
| 0x08690000&lt;br /&gt;
| [[4.0.0-7]]&lt;br /&gt;
| [[FS:Obsoleted_4_0_GetNandEraseCount|Obsoleted_4_0_GetNandEraseCount]]&lt;br /&gt;
| Stubbed, this returns an error.&lt;br /&gt;
|-&lt;br /&gt;
| 0x086A0082&lt;br /&gt;
| [[4.0.0-7]]&lt;br /&gt;
| [[FS:ReadNandReport|ReadNandReport]]&lt;br /&gt;
| None&lt;br /&gt;
|-&lt;br /&gt;
| 0x086B00C2&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:SetOtherSaveDataSecureValue|SetOtherSaveDataSecureValue]]&lt;br /&gt;
| 0x121004&lt;br /&gt;
|-&lt;br /&gt;
| 0x086C00C2&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:GetOtherSaveDataSecureValue|GetOtherSaveDataSecureValue]]&lt;br /&gt;
| 0x121004&lt;br /&gt;
|-&lt;br /&gt;
| 0x086D0080&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:BeginSaveDataMove|BeginSaveDataMove]]&lt;br /&gt;
| 0x20004&lt;br /&gt;
|-&lt;br /&gt;
| 0x086E00C0&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:SetThisSaveDataSecureValue|SetThisSaveDataSecureValue]]&lt;br /&gt;
|None&lt;br /&gt;
|-&lt;br /&gt;
| 0x086F0040&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:GetThisSaveDataSecureValue|GetThisSaveDataSecureValue]]&lt;br /&gt;
| None&lt;br /&gt;
|-&lt;br /&gt;
| 0x087000C2&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:CheckArchive|CheckArchive]]&lt;br /&gt;
|None&lt;br /&gt;
|-&lt;br /&gt;
| 0x08710140&lt;br /&gt;
| ?&lt;br /&gt;
| [[FS:TransferSaveDataCMAC|TransferSaveDataCMAC]]&lt;br /&gt;
| 0x20004&lt;br /&gt;
|-&lt;br /&gt;
| 0x08720200&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:RegisterTitleContentOverlay|RegisterTitleContentOverlay]]&lt;br /&gt;
| 0x80004&lt;br /&gt;
|-&lt;br /&gt;
| 0x08730100&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:UnregisterTitleContentOverlay|UnregisterTitleContentOverlay]]&lt;br /&gt;
| 0x80004&lt;br /&gt;
|-&lt;br /&gt;
| 0x08740000&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:UnregisterAllTitleContentOverlays|UnregisterAllTitleContentOverlays]]&lt;br /&gt;
| 0x80004&lt;br /&gt;
|-&lt;br /&gt;
| 0x08750140&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:SetSaveArchiveSecureValue|SetSaveArchiveSecureValue]]&lt;br /&gt;
|None&lt;br /&gt;
|-&lt;br /&gt;
| 0x087600C0&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:GetSaveArchiveSecureValue|GetSaveArchiveSecureValue]]&lt;br /&gt;
|None&lt;br /&gt;
|-&lt;br /&gt;
| 0x08770140&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:RegisterSpecialTitleContent|RegisterSpecialTitleContent]]&lt;br /&gt;
| 0x80004&lt;br /&gt;
|-&lt;br /&gt;
| 0x08780100&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:UnregisterSpecialTitleContent|UnregisterSpecialTitleContent]]&lt;br /&gt;
| 0x80004&lt;br /&gt;
|-&lt;br /&gt;
| 0x087900C2&lt;br /&gt;
| ?&lt;br /&gt;
| Same as [[FS:GetLegacyBannerData|GetLegacyBannerData]], except for the last parameter this internally passes u8 value 0x1 instead of 0x0, for the FSPXI command.&lt;br /&gt;
| 0x101015&lt;br /&gt;
|-&lt;br /&gt;
| 0x087A0180&lt;br /&gt;
| [[9.6.0-24|9.6.0-X]]&lt;br /&gt;
| [[FS:AddSeed|AddSeed]]&lt;br /&gt;
| 0x200000&lt;br /&gt;
|-&lt;br /&gt;
| 0x087B0080&lt;br /&gt;
| [[9.6.0-24|9.6.0-X]]&lt;br /&gt;
| [[FS:GetSeed|GetSeed]]&lt;br /&gt;
| 0x200000&lt;br /&gt;
|-&lt;br /&gt;
| 0x087C0080&lt;br /&gt;
| [[9.6.0-24|9.6.0-X]]&lt;br /&gt;
| [[FS:DeleteSeed|DeleteSeed]]&lt;br /&gt;
| 0x200000&lt;br /&gt;
|-&lt;br /&gt;
| 0x087D0000&lt;br /&gt;
| [[9.6.0-24|9.6.0-X]]&lt;br /&gt;
| [[FS:GetNumSeeds|GetNumSeeds]]&lt;br /&gt;
| 0x200000&lt;br /&gt;
|-&lt;br /&gt;
| 0x087E0042&lt;br /&gt;
| [[9.6.0-24|9.6.0-X]]&lt;br /&gt;
| [[FS:ListSeeds|ListSeeds]]&lt;br /&gt;
| 0x200000&lt;br /&gt;
|-&lt;br /&gt;
| 0x087F0100&lt;br /&gt;
| [[9.6.0-24|9.6.0-X]]&lt;br /&gt;
| [[FS:TitleContentHasSeed|TitleContentHasSeed]]&lt;br /&gt;
| 0x200000&lt;br /&gt;
|-&lt;br /&gt;
| 0x08800880&lt;br /&gt;
| [[9.6.0-24|9.6.0-X]]&lt;br /&gt;
| [[FS:AddTitleTag|AddTitleTag]]&lt;br /&gt;
| 0x200000&lt;br /&gt;
|-&lt;br /&gt;
| 0x08810080&lt;br /&gt;
| [[9.6.0-24|9.6.0-X]]&lt;br /&gt;
| [[FS:GetTitleTag|GetTitleTag]]&lt;br /&gt;
| 0x200000&lt;br /&gt;
|-&lt;br /&gt;
| 0x08820080&lt;br /&gt;
| [[9.6.0-24|9.6.0-X]]&lt;br /&gt;
| [[FS:DeleteTitleTag|DeleteTitleTag]]&lt;br /&gt;
| 0x200000&lt;br /&gt;
|-&lt;br /&gt;
| 0x08830000&lt;br /&gt;
| [[9.6.0-24|9.6.0-X]]&lt;br /&gt;
| [[FS:GetNumTitleTags|GetNumTitleTags]]&lt;br /&gt;
| 0x200000&lt;br /&gt;
|-&lt;br /&gt;
| 0x08840042&lt;br /&gt;
| [[9.6.0-24|9.6.0-X]]&lt;br /&gt;
| [[FS:ListTitleTags|ListTitleTags]]&lt;br /&gt;
| 0x200000&lt;br /&gt;
|-&lt;br /&gt;
| 0x088500C0&lt;br /&gt;
| [[9.6.0-24|9.6.0-X]]&lt;br /&gt;
| [[FS:CheckTitleSeed|CheckTitleSeed]]&lt;br /&gt;
| 0x200000&lt;br /&gt;
|-&lt;br /&gt;
| 0x088600C0&lt;br /&gt;
| [[11.1.0-34|11.1.0-X]]&lt;br /&gt;
| [[FS:CheckUpdatedDat|CheckUpdatedDat]]&lt;br /&gt;
| 0x80000&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Note: The question marks from Dummy1 to GetSpecialFileSize on the &amp;quot;available since system version&amp;quot; field are mainly there because I think that most of these are necessary for the main system to function, so theoretically that would mean that since the creation of the 3DS these were available, or since launch if that makes more sense. But because of the peculiar nature of some of the functions, they will remain question marks until they can be confirmed 100%.&lt;br /&gt;
&lt;br /&gt;
When access rights are required for a command, at least one of the bits in the process access info specified in the above table for the command must be set. Error 0xD9004676 is returned when a process attempts to use a command which it doesn&#039;t have access rights for the command. The exheader access info field is all zero&#039;s for most applications. Note that the permissions listed in the above table is for system-version v2.x, therefore permission bit(s) added with newer FIRM may be missing from this.&lt;br /&gt;
&lt;br /&gt;
Each session for fs:USER has separate permissions, initially these are set to all zero&#039;s for new fs:USER sessions. The permissions/etc for fs:USER sessions are initialized via [[FS:Initialize]](loaded from the user process exheader).&lt;br /&gt;
&lt;br /&gt;
{{Anchor|FSLDR}}{{Anchor|fs:LDR}}&lt;br /&gt;
&lt;br /&gt;
== Filesystem service &amp;quot;fs:LDR&amp;quot; ==&lt;br /&gt;
This service is identical to fs:USER, except [[FS:OpenArchive]] archive 0x2345678E can only be accessed with fs:LDR.&lt;br /&gt;
&lt;br /&gt;
{{Anchor|FSReg}}{{Anchor|FSREG}}{{Anchor|fs:REG}}&lt;br /&gt;
== ProgramRegistry service &amp;quot;fs:REG&amp;quot; ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!  Command Header&lt;br /&gt;
!  Description&lt;br /&gt;
|-&lt;br /&gt;
| 0x000100C6&lt;br /&gt;
| [[FSReg:Dummy1|Dummy1]]&lt;br /&gt;
|-&lt;br /&gt;
| 0x040103C0&lt;br /&gt;
| [[FSReg:Register|Register]]&lt;br /&gt;
|-&lt;br /&gt;
| 0x04020040&lt;br /&gt;
| [[FSReg:Unregister|Unregister]]&lt;br /&gt;
|-&lt;br /&gt;
| 0x040300C0&lt;br /&gt;
| [[FSReg:GetProgramInfo|GetProgramInfo]]&lt;br /&gt;
|-&lt;br /&gt;
| 0x04040100&lt;br /&gt;
| [[FSReg:LoadProgram|LoadProgram]]&lt;br /&gt;
|-&lt;br /&gt;
| 0x04050080&lt;br /&gt;
| [[FSReg:UnloadProgram|UnloadProgram]]&lt;br /&gt;
|-&lt;br /&gt;
| 0x04060080&lt;br /&gt;
| [[FSReg:CheckHostLoadId|CheckHostLoadId]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Only two sessions can be opened for this service at a time, hence no other processes can use this due to [[Process_Manager_Services|pm-module]] and [[Loader_Services|loader]] using this.&lt;br /&gt;
&lt;br /&gt;
=File and directory access=&lt;br /&gt;
==Files==&lt;br /&gt;
File session handles obtained via [[FS:OpenFile]] and [[FS:OpenFileDirectly]] can be used to access files through a service-like interface, despite not being an actual service registered using [[SRV:RegisterService]]. To use this service-like interface, simply call the SendSyncRequest SVC with a file session handle, using the IPC buffer in thread-local storage for parameters and responses, just like you would with a proper service.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!  Command Header&lt;br /&gt;
!  Description&lt;br /&gt;
|-&lt;br /&gt;
| 0x000100C6&lt;br /&gt;
| [[FSFile:Dummy1|Dummy1]]&lt;br /&gt;
|-&lt;br /&gt;
| 0x040100C4&lt;br /&gt;
| [[FSFile:Control|Control]]&lt;br /&gt;
|-&lt;br /&gt;
| 0x08010100&lt;br /&gt;
| [[FSFile:OpenSubFile|OpenSubFile]]&lt;br /&gt;
|-&lt;br /&gt;
| 0x080200C2&lt;br /&gt;
| [[FSFile:Read|Read]]&lt;br /&gt;
|-&lt;br /&gt;
| 0x08030102&lt;br /&gt;
| [[FSFile:Write|Write]]&lt;br /&gt;
|-&lt;br /&gt;
| 0x08040000&lt;br /&gt;
| [[FSFile:GetSize|GetSize]]&lt;br /&gt;
|-&lt;br /&gt;
| 0x08050080&lt;br /&gt;
| [[FSFile:SetSize|SetSize]]&lt;br /&gt;
|-&lt;br /&gt;
| 0x08060000&lt;br /&gt;
| [[FSFile:GetAttributes|GetAttributes]]&lt;br /&gt;
|-&lt;br /&gt;
| 0x08070040&lt;br /&gt;
| [[FSFile:SetAttributes|SetAttributes]]&lt;br /&gt;
|-&lt;br /&gt;
| 0x08080000&lt;br /&gt;
| [[FSFile:Close|Close]]&lt;br /&gt;
|-&lt;br /&gt;
| 0x08090000&lt;br /&gt;
| [[FSFile:Flush|Flush]]&lt;br /&gt;
|-&lt;br /&gt;
| 0x080A0040&lt;br /&gt;
| [[FSFile:SetPriority|SetPriority]]&lt;br /&gt;
|-&lt;br /&gt;
| 0x080B0000&lt;br /&gt;
| [[FSFile:GetPriority|GetPriority]]&lt;br /&gt;
|-&lt;br /&gt;
| 0x080C0000&lt;br /&gt;
| [[FSFile:OpenLinkFile|OpenLinkFile]]&lt;br /&gt;
|-&lt;br /&gt;
| 0x0C010100&lt;br /&gt;
| [[FSFile:GetAvailable|GetAvailable]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Directories==&lt;br /&gt;
Directory session handles obtained via [[FS:OpenDirectory]] are usable via a service-like interface, following the exact same procedure described above for file sessions.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!  Command Header&lt;br /&gt;
!  Available since system version&lt;br /&gt;
!  Description&lt;br /&gt;
|-&lt;br /&gt;
| 0x000100C6&lt;br /&gt;
| [[1.0.0-0]]&lt;br /&gt;
| [[FSDir:Dummy1|Dummy1]]&lt;br /&gt;
|-&lt;br /&gt;
| 0x040100C4&lt;br /&gt;
| [[1.0.0-0]]&lt;br /&gt;
| [[FSDir:Control|Control]]&lt;br /&gt;
|-&lt;br /&gt;
| 0x08010042&lt;br /&gt;
| [[1.0.0-0]]&lt;br /&gt;
| [[FSDir:Read|Read]]&lt;br /&gt;
|-&lt;br /&gt;
| 0x08020000&lt;br /&gt;
| [[1.0.0-0]]&lt;br /&gt;
| [[FSDir:Close|Close]]&lt;br /&gt;
|-&lt;br /&gt;
| 0x08030040&lt;br /&gt;
| ?&lt;br /&gt;
| [[FSDir:SetPriority|SetPriority]]&lt;br /&gt;
|-&lt;br /&gt;
| 0x08040000&lt;br /&gt;
| ?&lt;br /&gt;
| [[FSDir:GetPriority|GetPriority]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
= Archives =&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!  ArchiveId&lt;br /&gt;
!  Description&lt;br /&gt;
!  Accessible via [[Filesystem_services|FS]]&lt;br /&gt;
!  Accessible via [[Filesystem_services_PXI|FSPXI]]&lt;br /&gt;
!  Only accessible by Process9 internally&lt;br /&gt;
!  Requires binary [[FS:OpenFile|Lowpath]]&lt;br /&gt;
!  Required exheader FS access info bitmask&lt;br /&gt;
|-&lt;br /&gt;
| 0x00000003&lt;br /&gt;
| SelfNCCH (including [[#RomFS|RomFS]])&lt;br /&gt;
| Yes&lt;br /&gt;
| No&lt;br /&gt;
| No&lt;br /&gt;
| No&lt;br /&gt;
| None&lt;br /&gt;
|-&lt;br /&gt;
| 0x00000004&lt;br /&gt;
| SaveData (the saveID/mediatype for this is loaded from data originally from the user process&#039; exheader)&lt;br /&gt;
| Yes&lt;br /&gt;
| No&lt;br /&gt;
| No&lt;br /&gt;
| No&lt;br /&gt;
| None&lt;br /&gt;
|-&lt;br /&gt;
| 0x00000006&lt;br /&gt;
| ExtSaveData&lt;br /&gt;
| Yes&lt;br /&gt;
| No&lt;br /&gt;
| No&lt;br /&gt;
| Yes&lt;br /&gt;
| 0x100D, when the input extdataID isn&#039;t listed in the exheader.&lt;br /&gt;
|-&lt;br /&gt;
| 0x00000007&lt;br /&gt;
| Shared ExtSaveData&lt;br /&gt;
| Yes&lt;br /&gt;
| No&lt;br /&gt;
| No&lt;br /&gt;
| Yes&lt;br /&gt;
| None&lt;br /&gt;
|-&lt;br /&gt;
| 0x00000008&lt;br /&gt;
| SystemSaveData&lt;br /&gt;
| Yes&lt;br /&gt;
| No&lt;br /&gt;
| No&lt;br /&gt;
| Yes&lt;br /&gt;
| 0x4, when the input saveID doesn&#039;t match the exheader system-saveID.&lt;br /&gt;
|-&lt;br /&gt;
| 0x00000009&lt;br /&gt;
| SDMC&lt;br /&gt;
| Yes&lt;br /&gt;
| Yes&lt;br /&gt;
| No&lt;br /&gt;
| No&lt;br /&gt;
| 0x8E&lt;br /&gt;
|-&lt;br /&gt;
| 0x0000000A&lt;br /&gt;
| SDMC Write-Only&lt;br /&gt;
| Yes&lt;br /&gt;
| No&lt;br /&gt;
| No&lt;br /&gt;
| No&lt;br /&gt;
| 0x808E&lt;br /&gt;
|-&lt;br /&gt;
| 0x12345678&lt;br /&gt;
| ExtSaveData for BOSS&lt;br /&gt;
| Yes&lt;br /&gt;
| No&lt;br /&gt;
| No&lt;br /&gt;
| Yes&lt;br /&gt;
| 0x44&lt;br /&gt;
|-&lt;br /&gt;
| 0x12345679&lt;br /&gt;
| CARD SPI FS&lt;br /&gt;
| Yes&lt;br /&gt;
| Yes&lt;br /&gt;
| No&lt;br /&gt;
| No&lt;br /&gt;
| 0x16&lt;br /&gt;
|-&lt;br /&gt;
| 0x1234567B&lt;br /&gt;
| ExtSaveData, and ExtSaveData for BOSS&lt;br /&gt;
| No&lt;br /&gt;
| Yes&lt;br /&gt;
| No&lt;br /&gt;
| Yes&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| 0x1234567C&lt;br /&gt;
| SystemSaveData&lt;br /&gt;
| No&lt;br /&gt;
| Yes&lt;br /&gt;
| No&lt;br /&gt;
| Yes&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| 0x1234567D&lt;br /&gt;
| NAND RW&lt;br /&gt;
| Yes&lt;br /&gt;
| Yes&lt;br /&gt;
| No&lt;br /&gt;
| No&lt;br /&gt;
| 0x800&lt;br /&gt;
|-&lt;br /&gt;
| 0x1234567E&lt;br /&gt;
| NAND RO&lt;br /&gt;
| Yes&lt;br /&gt;
| Yes&lt;br /&gt;
| No&lt;br /&gt;
| No&lt;br /&gt;
| 0x200&lt;br /&gt;
|-&lt;br /&gt;
| 0x1234567F&lt;br /&gt;
| NAND RO Write FS&lt;br /&gt;
| No&lt;br /&gt;
| Yes&lt;br /&gt;
| No&lt;br /&gt;
| No&lt;br /&gt;
| ?&lt;br /&gt;
|-&lt;br /&gt;
| 0x12345680&lt;br /&gt;
| Extdata transfer. Used for transferring [[Extdata#NAND_Shared_Extdata|NAND Shared Extdata]] during [[System_Transfer#System_Save_Data_/_Shared_Extdata_Transfer|system tranfers]].&lt;br /&gt;
| Yes&lt;br /&gt;
| Yes&lt;br /&gt;
| No&lt;br /&gt;
| Yes&lt;br /&gt;
| ?&lt;br /&gt;
|-&lt;br /&gt;
| 0x12345681&lt;br /&gt;
| System Savedata transfer. Used for transferring [[System_SaveData|System Save Data]] during [[System_Transfer#System_Save_Data_/_Shared_Extdata_Transfer|system tranfers]].&lt;br /&gt;
| Yes&lt;br /&gt;
| Yes&lt;br /&gt;
| No&lt;br /&gt;
| Yes&lt;br /&gt;
| ?&lt;br /&gt;
|-&lt;br /&gt;
| 0x12345682&lt;br /&gt;
| Unknown. There&#039;s code for this in spider v9.9, but that code isn&#039;t actually used.&lt;br /&gt;
| Yes&lt;br /&gt;
| No&lt;br /&gt;
| No&lt;br /&gt;
| Yes&lt;br /&gt;
| ?&lt;br /&gt;
|-&lt;br /&gt;
| 0x2345678A&lt;br /&gt;
| Title access. With FS, this allows accessing NCCH/NCSD contents (ExeFS, RomFS, checking if a content uses a seed, checking the validity of the installed seed). FSPXI, additionally, allows opening raw NCCH/NCSD NCCH contents and DSiWare contents for reading, along with encrypted save data.&lt;br /&gt;
| Yes&lt;br /&gt;
| Yes&lt;br /&gt;
| No&lt;br /&gt;
| Yes&lt;br /&gt;
| 0x1005&lt;br /&gt;
|-&lt;br /&gt;
| 0x2345678B&lt;br /&gt;
| Used internally by Process9 as the lowest level title access archive. Allows for opening various sections of a title (TMD, CMD, raw contents, DLC contents, raw save data (including public/private/banner saves for DSiWare), title and/or content import context files and /data directories for save data.&lt;br /&gt;
| No&lt;br /&gt;
| No&lt;br /&gt;
| Yes&lt;br /&gt;
| Yes&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| 0x2345678C&lt;br /&gt;
| Used internally to access [[Title_Database|Title Database (/dbs)]] files. For SD, &amp;lt;code&amp;gt;title.db&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;import.db&amp;lt;/code&amp;gt;. For NAND, &amp;lt;code&amp;gt;title.db&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;import.db&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;tmp_t.db&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;tmp_i.db&amp;lt;/code&amp;gt;, and &amp;lt;code&amp;gt;jumpid.db&amp;lt;/code&amp;gt;.&lt;br /&gt;
| No&lt;br /&gt;
| No&lt;br /&gt;
| Yes&lt;br /&gt;
| Yes&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| 0x2345678D&lt;br /&gt;
| Used internally to access non-title /dbs files on the NAND: &amp;lt;code&amp;gt;certs.db&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;ticket.db&amp;lt;/code&amp;gt;.&lt;br /&gt;
| No&lt;br /&gt;
| No&lt;br /&gt;
| Yes&lt;br /&gt;
| No&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| 0x2345678E&lt;br /&gt;
| FSPXI: Program Access (limited subset of merged main title + update/patch title access). For fs:LDR(used by the &amp;quot;loader&amp;quot; FIRM ARM11-process), only &amp;lt;code&amp;gt;exefs:/.code&amp;lt;/code&amp;gt;. Not accessible with fs:USER.&lt;br /&gt;
| Yes&lt;br /&gt;
| Yes&lt;br /&gt;
| No&lt;br /&gt;
| Yes&lt;br /&gt;
| None, see description.&lt;br /&gt;
|-&lt;br /&gt;
| 0x567890AB&lt;br /&gt;
| NAND CTR FS&lt;br /&gt;
| No&lt;br /&gt;
| Yes&lt;br /&gt;
| No&lt;br /&gt;
| No&lt;br /&gt;
| ?&lt;br /&gt;
|-&lt;br /&gt;
| 0x567890AC&lt;br /&gt;
| TWL PHOTO&lt;br /&gt;
| Yes&lt;br /&gt;
| Yes&lt;br /&gt;
| No&lt;br /&gt;
| No&lt;br /&gt;
| ?&lt;br /&gt;
|-&lt;br /&gt;
| 0x567890AD&lt;br /&gt;
| TWLS (DSi Sound stores recordings here). This is mapped to the FAT12 image stored in the file at [[Twln/shared2/0000]].&lt;br /&gt;
| No&lt;br /&gt;
| Yes&lt;br /&gt;
| No&lt;br /&gt;
| No&lt;br /&gt;
| ?&lt;br /&gt;
|-&lt;br /&gt;
| 0x567890AE&lt;br /&gt;
| NAND TWL FS&lt;br /&gt;
| Yes&lt;br /&gt;
| Yes&lt;br /&gt;
| No&lt;br /&gt;
| No&lt;br /&gt;
| 0x100&lt;br /&gt;
|-&lt;br /&gt;
| 0x567890AF&lt;br /&gt;
| NAND W FS&lt;br /&gt;
| Yes&lt;br /&gt;
| Yes&lt;br /&gt;
| No&lt;br /&gt;
| No&lt;br /&gt;
| 0x100&lt;br /&gt;
|-&lt;br /&gt;
| 0x567890B0&lt;br /&gt;
| Internally creates the same &amp;quot;ID Storage&amp;quot; wrapper over the NAND that is used for SystemSaveData and Shared ExtData, but all operations are stubbed and return 0xE0C046F8.&lt;br /&gt;
| No&lt;br /&gt;
| Yes&lt;br /&gt;
| No&lt;br /&gt;
| No&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| 0x567890B1&lt;br /&gt;
| Gamecard SaveData (for check). This is a wrapper for UserSaveDataForCheck: the OpenArchive code for that is called with archive-lowpath TID=0/mediatype=2(gamecard).&lt;br /&gt;
| Yes&lt;br /&gt;
| No&lt;br /&gt;
| No&lt;br /&gt;
| No&lt;br /&gt;
| 0x6&lt;br /&gt;
|-&lt;br /&gt;
| 0x567890B2&lt;br /&gt;
| UserSaveData (for check). This is the same as the regular SaveData archive, except with this the savedata ID and mediatype is loaded from the input archive lowpath.&lt;br /&gt;
| Yes&lt;br /&gt;
| No&lt;br /&gt;
| No&lt;br /&gt;
| Yes&lt;br /&gt;
| 0x6&lt;br /&gt;
|-&lt;br /&gt;
| 0x567890B3&lt;br /&gt;
| [[3DS_Virtual_Console#NAND_Savegame|AGB Save Data]]&lt;br /&gt;
| No&lt;br /&gt;
| No&lt;br /&gt;
| Yes&lt;br /&gt;
| No&lt;br /&gt;
| -&lt;br /&gt;
|-&lt;br /&gt;
| 0x567890B4&lt;br /&gt;
| Similar to 0x567890B2 but can only access Accessible Save specified in [[NCCH/Extended_Header#Storage_Info|exheader]]?&lt;br /&gt;
| Yes&lt;br /&gt;
| No&lt;br /&gt;
| No&lt;br /&gt;
| Yes&lt;br /&gt;
| ?&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Archives listed as not requiring a binary lowpath, use lowpath type [[FS:OpenFile|empty]].&lt;br /&gt;
&lt;br /&gt;
The above permission bitmasks are from v2.x, see the above Services section for how these are handled.&lt;br /&gt;
&lt;br /&gt;
Archives CTR NAND, NAND RO Write FS, TWL NAND, NAND W FS, and CARD SPI FS require the corresponding process exheader access control mount flag to be set, in the exheader for any of the currently running ARM11 processes, for [[Filesystem_services_PXI|FSPXI]]. The access rights checked by [[Filesystem services|FS]] module for archive mounting with fs:USER, are stored in the process&#039; exheader accessinfo.&lt;br /&gt;
&lt;br /&gt;
The CARDSPI archive allows access to the gamecard CARD1 raw savedata flash(aka &amp;quot;cardspi:/&amp;quot; in [[FIRM|Process9]]), the file lowpath must be WCHAR &amp;quot;/&amp;quot;. The &amp;quot;NAND W FS&amp;quot; archive allows access to the raw NAND image(aka &amp;quot;wnand:/&amp;quot; in Process9), the file lowpath must be WCHAR &amp;quot;/&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
= Filenames and Paths =&lt;br /&gt;
{{Anchor|PathType}}&lt;br /&gt;
==PathType==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!  Value&lt;br /&gt;
!  Description&lt;br /&gt;
|-&lt;br /&gt;
| -1&lt;br /&gt;
| Returned internally by Process9, when errors occur it seems(in particular when no nul-terminator was found in the input path). The data ptr is set to NULL.&lt;br /&gt;
|-&lt;br /&gt;
| 0x0&lt;br /&gt;
| INVALID - Specifies an invalid path&lt;br /&gt;
|-&lt;br /&gt;
| 0x1&lt;br /&gt;
| EMPTY - Specifies an empty path&lt;br /&gt;
|-&lt;br /&gt;
| 0x2&lt;br /&gt;
| BINARY - Non-text based path. Meaning is per-archive&lt;br /&gt;
|-&lt;br /&gt;
| 0x3&lt;br /&gt;
| ASCII - Text-based path with 7-bit ASCII characters padded to 8-bits each (signed char)&lt;br /&gt;
|-&lt;br /&gt;
| 0x4&lt;br /&gt;
| UTF16 - Text-based path with UTF-16 characters&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
In IPC requests, sizes of ASCII and UTF16 paths must include space for the null-terminator. &lt;br /&gt;
&lt;br /&gt;
== Binary LowPath ==&lt;br /&gt;
The format of the data that a binary LowPath points to is custom per archive.&lt;br /&gt;
&lt;br /&gt;
=== SystemSaveData / Extdata / Shared Extdata Archive Path Data Format ===&lt;br /&gt;
&lt;br /&gt;
==== DataAccessPath ====&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 !! Size !! Description&lt;br /&gt;
|-&lt;br /&gt;
| 0x0 || 0x1 || u8 [[Mediatypes|Mediatype]]&lt;br /&gt;
|-&lt;br /&gt;
| 0x1 || 0x1 || only for NAND data (System Savedata / Shared Extdata), otherwise left 0:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Value !! Description&lt;br /&gt;
|-&lt;br /&gt;
| 0 || Accesses from/to &amp;lt;code&amp;gt;nand:/data/&amp;lt;ID0 of current system&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| 1 || Accesses from/to &amp;lt;code&amp;gt;nand:/fixdata&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| 2 || Accesses from/to &amp;lt;code&amp;gt;nand:/data/&amp;lt;ID0 from [[Filesystem_services#DeviceMoveContext|Device Move Context]]&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
|-&lt;br /&gt;
| 0x2 || 0x2 || padding&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== SystemSaveData ====&lt;br /&gt;
&lt;br /&gt;
===== FS =====&lt;br /&gt;
&lt;br /&gt;
====== Archive Path ======&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!  Index word&lt;br /&gt;
!  Description&lt;br /&gt;
|-&lt;br /&gt;
| 0 &lt;br /&gt;
| [[Filesystem_services#DataAccessPath|DataAccessPath]]&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| save ID low (save ID high is 0)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
====== File Path ======&lt;br /&gt;
The file path is a cleartext ASCII or UTF16 file path (&amp;lt;code&amp;gt;&amp;lt;file path&amp;gt;&amp;lt;/code&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
The file path would access the file at &amp;lt;code&amp;gt;&amp;lt;base path&amp;gt;/sysdata/&amp;lt;save ID low&amp;gt;/&amp;lt;save ID high&amp;gt;/&amp;lt;file path&amp;gt;&amp;lt;/code&amp;gt;.&lt;br /&gt;
Note that &amp;lt;code&amp;gt;/&amp;lt;file path&amp;gt;&amp;lt;/code&amp;gt; refers to the virtual file system inside the &amp;lt;/code&amp;gt;&amp;lt;save ID high&amp;gt;&amp;lt;/code&amp;gt; file.&lt;br /&gt;
&lt;br /&gt;
===== FSPXI / FS System Savedata Transfer / FSPXI System Savedata Transfer =====&lt;br /&gt;
&lt;br /&gt;
====== Archive Path ======&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!  Index word&lt;br /&gt;
!  Description&lt;br /&gt;
|-&lt;br /&gt;
| 0 &lt;br /&gt;
| [[Filesystem_services#DataAccessPath|DataAccessPath]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
====== File Path ======&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Index word !! Description&lt;br /&gt;
|-&lt;br /&gt;
| 0 || save ID low&lt;br /&gt;
|-&lt;br /&gt;
| 1 || save ID high&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The file path would access the file at &amp;lt;code&amp;gt;&amp;lt;base path&amp;gt;/sysdata/&amp;lt;save ID low&amp;gt;/&amp;lt;save ID high&amp;gt;&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==== Extdata / Shared Extdata ====&lt;br /&gt;
&lt;br /&gt;
===== FS / FS Extdata Transfer / FSPXI Extdata Transfer =====&lt;br /&gt;
&lt;br /&gt;
====== Archive Path ======&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!  Index word&lt;br /&gt;
!  Description&lt;br /&gt;
|-&lt;br /&gt;
| 0 &lt;br /&gt;
| [[Filesystem_services#DataAccessPath|DataAccessPath]]&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| ext save ID low&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| ext save ID high&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
This refers to the extdata filesystem structure&#039;s base directory at &amp;lt;code&amp;gt;&amp;lt;base path&amp;gt;/extdata/&amp;lt;ext save ID low&amp;gt;/&amp;lt;ext save ID high&amp;gt;&amp;lt;/code&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
====== File Path ======&lt;br /&gt;
The file path is a cleartext ASCII or UTF16 file path (&amp;lt;code&amp;gt;&amp;lt;file path&amp;gt;&amp;lt;/code&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
For FS Extdata, this would acccess &amp;lt;code&amp;gt;&amp;lt;base path&amp;gt;/extdata/&amp;lt;save ID low&amp;gt;/&amp;lt;save ID high&amp;gt;/&amp;lt;directory ID&amp;gt;/&amp;lt;file ID&amp;gt;/&amp;lt;file path&amp;gt;&amp;lt;/code&amp;gt;, and &amp;lt;code&amp;gt;/&amp;lt;file path&amp;gt;&amp;lt;/code&amp;gt; refers to the virtual file system inside the &amp;lt;/code&amp;gt;&amp;lt;file ID&amp;gt;&amp;lt;/code&amp;gt; file.&lt;br /&gt;
&lt;br /&gt;
For FS / FSPXI Extdata Transfer, this accesses &amp;lt;code&amp;gt;&amp;lt;base path&amp;gt;/extdata/&amp;lt;save ID low&amp;gt;/&amp;lt;save ID high&amp;gt;/&amp;lt;file path&amp;gt;&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== UserSaveDataForCheck Archive Path Data Format ===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!  Index word&lt;br /&gt;
!  Description&lt;br /&gt;
|-&lt;br /&gt;
| 0 &lt;br /&gt;
| [[Mediatypes|Mediatype]] (must be non-zero)&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| Lower word saveid&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| Upper word saveid&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The file/directory lowpath for this FS archive is a text path in the [[Savegames|savegame]] filesystem.&lt;br /&gt;
&lt;br /&gt;
=== 0x567890B4 Archive Path Data Format ===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!  Index word&lt;br /&gt;
!  Description&lt;br /&gt;
|-&lt;br /&gt;
| 0 &lt;br /&gt;
| [[Mediatypes|Mediatype]]&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;Lower_word_saveid &amp;gt;&amp;gt; 8&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; ?&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| Unknown. Game calculate this using formula &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;0xFFFFFF00 | unknown_b&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Title Access Archive Path Data Format ===&lt;br /&gt;
==== Title Access Type ====&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Value !! Description&lt;br /&gt;
|-&lt;br /&gt;
| 0 || High-level NCCH content access&lt;br /&gt;
|-&lt;br /&gt;
| 1 || Save data access (high-level, decrypted)&lt;br /&gt;
|-&lt;br /&gt;
| 2 || Raw content (low-level NCCH/SRL) access&lt;br /&gt;
|-&lt;br /&gt;
| 3 || Banner save data access (for DSiWare titles)&lt;br /&gt;
|-&lt;br /&gt;
| 4 || FS only: Save data transfer (internally uses generated data from [[FS:BeginSaveDataMove]] as the IV for &amp;quot;Save data access (low-level, encrypted)&amp;quot;)&lt;br /&gt;
|-&lt;br /&gt;
| 5 || Save data access (low-level, encrypted)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== NCCH Access Type ====&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Value !! Description&lt;br /&gt;
|-&lt;br /&gt;
| 0 || RomFS&lt;br /&gt;
|-&lt;br /&gt;
| 1 || &amp;lt;code&amp;gt;exefs:/.code&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| 2 || System Menu Data (&amp;lt;code&amp;gt;exefs:/icon&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;exefs:/banner&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;exefs:/logo&amp;lt;/code&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| 3 || NCCH Header(s)&lt;br /&gt;
|-&lt;br /&gt;
| 4 || &amp;quot;is seeded&amp;quot; check&lt;br /&gt;
|-&lt;br /&gt;
| 5 || Seed verify/validate&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== NCCH Header Access Type ====&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Value !! Description&lt;br /&gt;
|-&lt;br /&gt;
| 0 || [[NCCH/Extended_Header|Extheader]] (0x0-0x400)&lt;br /&gt;
|-&lt;br /&gt;
| 1 || [[NCCH/Extended_Header|Extheader]] AccessDesc (0x400-0x800)&lt;br /&gt;
|-&lt;br /&gt;
| 2 || Raw [[NCCH#NCCH_Header|NCCH Header]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== Archive Path ====&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 !! Size !! Description&lt;br /&gt;
|-&lt;br /&gt;
| 0x0 || 0x8 || Program ID (Title ID)&lt;br /&gt;
|-&lt;br /&gt;
| 0x9 || 0x1 || [[Mediatypes|Media Type]]&lt;br /&gt;
|-&lt;br /&gt;
| 0xA || 0x7 || padding&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== File Path ====&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 !! Size !! Description&lt;br /&gt;
|-&lt;br /&gt;
| 0x0 || 0x4 || [[Filesystem_services#Title_Access_Type|Title Access Type]]&lt;br /&gt;
|-&lt;br /&gt;
| 0x4 || 0x10 || Dynamic data depending on [[Filesystem_services#Title_Access_Type|Title Access Type]]:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! High Level NCCH Access !! Save Data Access (high level) !! Raw Content !! FS only: Save Data Transfer&lt;br /&gt;
|-&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 !! Size !! Description&lt;br /&gt;
|-&lt;br /&gt;
| 0x0 || 0x4 || Content index from TMD for NAND/SD titles&lt;br /&gt;
NCSD partition index for gamecards&lt;br /&gt;
|-&lt;br /&gt;
| 0x4 || 0x4 || [[Filesystem_services#NCCH_Access_Type|NCCH Access Type]]&lt;br /&gt;
|-&lt;br /&gt;
| 0x8 || 0x8 || Dynamic data depending on [[Filesystem_services#NCCH_Access_Type|NCCH Access Type]]:&lt;br /&gt;
For ExeFS, (System Menu Data / &amp;lt;code&amp;gt;exefs:/.code&amp;lt;/code&amp;gt;),&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
| 8-byte ExeFS file name&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
For Header Access,&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
| [[Filesystem_services#NCCH_Header_Access_Type|u64, NCCH Header Access Type]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
For RomFS,&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
| [[NCCH#Content_Types|u64, Allowed content types flag]]&lt;br /&gt;
(&amp;lt;code&amp;gt;(1 &amp;lt;&amp;lt; allowed_type_a) |&lt;br /&gt;
&lt;br /&gt;
(1 &amp;lt;&amp;lt; allowed_type_b)...&amp;lt;/code&amp;gt;)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
|}&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 !! Size !! Description&lt;br /&gt;
|-&lt;br /&gt;
| 0x0 || 0x10 || 16-byte IV for save data crypto&lt;br /&gt;
|}&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 !! Size !! Description&lt;br /&gt;
|-&lt;br /&gt;
| 0x0 || 0x4 || Content index from TMD for NAND/SD titles&lt;br /&gt;
NCSD partition index for gamecards&lt;br /&gt;
|-&lt;br /&gt;
| 0x4 || 0xC || padding&lt;br /&gt;
|}&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 !! Size !! Description&lt;br /&gt;
|-&lt;br /&gt;
| 0x0 || 0x4 || Save data transfer key from [[FS:BeginSaveDataMove]]&lt;br /&gt;
|-&lt;br /&gt;
| 0x4 || 0xC || padding&lt;br /&gt;
|}&lt;br /&gt;
|}&lt;br /&gt;
|-&lt;br /&gt;
| 0x14 || 0x10 || 16-byte seed for titles that require one, or for validating a seed against the check value in the [[NCCH#NCCH_Header|NCCH Header]]&#039;s check value.&lt;br /&gt;
If the title does not use a seed, this should not be included and size 0x14 should be used instead of 0x24.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
For encrypted save data access and banner save data access, the entire 0x10 portion of the dynamic data is left blank.&lt;br /&gt;
&lt;br /&gt;
The &amp;quot;is seeded check&amp;quot; NCCH access type opens a virtual 1-byte file that reads either 0 or 1; this value is generated on-the-fly and will be 1 if ncchflags[7] has bit5 set (content uses seed), and 0 otherwise.&lt;br /&gt;
&lt;br /&gt;
For NCCH sections that require a seed (e.g. &amp;lt;code&amp;gt;.code&amp;lt;/code&amp;gt;, RomFS, etc.), the additional seed portion of the low path must be populated with the correct seed. &lt;br /&gt;
&lt;br /&gt;
The &amp;quot;Seed Verify/Validate&amp;quot; NCCH access type also requires the seed portion of the lowpath. The target NCCH content is opened (with the opened file interface being stubbed, meaning no real reads/writes can be performed on it), and the given seed is used to calculate the seed check hash, and part of it is compared to the check value in the NCCH header. If it matches, opening the &amp;quot;file&amp;quot; succeeds, otherwise 0xD900458C is returned. If attempt is made to use the seed validation type on a content that does not use a seed, error 0xC92044E6 is returned.&lt;br /&gt;
&lt;br /&gt;
==== FS Limitations ====&lt;br /&gt;
&lt;br /&gt;
For FS, this archive functions the same, except for the following limitations:&lt;br /&gt;
&lt;br /&gt;
- Only the title access types &amp;quot;High Level NCCH Access&amp;quot; and &amp;quot;High Level Save Data Access&amp;quot;, and &amp;quot;Save Data Transfer&amp;quot; are allowed.&lt;br /&gt;
&lt;br /&gt;
- For high level NCCH access, the types &amp;quot;RomFS&amp;quot;, &amp;quot;System Menu Data&amp;quot;, &amp;quot;Seeded check&amp;quot;, and &amp;quot;Seed Check/Verify&amp;quot; are allowed.&lt;br /&gt;
&lt;br /&gt;
- For &amp;quot;Seed Check/Verify&amp;quot;, rather than providing the title seed in the file path (as is the case for FSPXI), the seed is retrieved from the seed database (meaning the file lowpath size is always 0x14 for FS).&lt;br /&gt;
&lt;br /&gt;
=== Program Access / SelfNCCH access ===&lt;br /&gt;
&lt;br /&gt;
Provides access to a &amp;quot;merged&amp;quot; archive of a base title and, optionally, a separate update (patch) title.&lt;br /&gt;
&lt;br /&gt;
If no patch title exists, the base title is considered to be the patch title, i.e. turning all &amp;quot;patch&amp;quot; accesses into accesses to the base title.&lt;br /&gt;
&lt;br /&gt;
==== Program Access Type ====&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Value !! Description !! Accesses&lt;br /&gt;
|-&lt;br /&gt;
| 0 || RomFS (&amp;quot;unspecified&amp;quot; [[NCCH#Content_Type|content type]], the default) || Base title&lt;br /&gt;
|-&lt;br /&gt;
| 1 || &amp;lt;code&amp;gt;exefs:/.code&amp;lt;/code&amp;gt; || Patch title&lt;br /&gt;
|-&lt;br /&gt;
| 2 || System Menu Data (&amp;lt;code&amp;gt;exefs:/icon&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;exefs:/banner&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;exefs:/logo&amp;lt;/code&amp;gt;) || Base title&lt;br /&gt;
|-&lt;br /&gt;
| 3 || Save Data (high level, decrypted) || -&lt;br /&gt;
|-&lt;br /&gt;
| 4 || RomFS (all [[NCCH#Content_Type|content types]]) || Base title&lt;br /&gt;
|-&lt;br /&gt;
| 5 || RomFS (&amp;quot;unspecified&amp;quot; [[NCCH#Content_Type|content type]], the default) || Patch title&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== Archive Path ====&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Offset !! Size !! Description&lt;br /&gt;
|-&lt;br /&gt;
| 0x0 || 0x8 || u64, Program Handle from [[PXIPM:RegisterProgram]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== File Path ====&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Offset !! Size !! Description&lt;br /&gt;
|-&lt;br /&gt;
| 0x0 || 0x4 || [[Filesystem_services#Program_Access_Type|Program Access Type]]&lt;br /&gt;
|-&lt;br /&gt;
| 0x4 || 0x8 || Dynamic data depending on [[Filesystem_services#Program_Access_Type|Program Access Type]]:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! ExeFS files (System Menu Data, etc.) !! RomFS of base title (all [[NCCH#Content_Type|content types]])&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
| 8-character ExeFS filename&lt;br /&gt;
|}&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 !! Size !! Description&lt;br /&gt;
|-&lt;br /&gt;
| 0x0 || 0x4 || u32, content index of target content&lt;br /&gt;
|-&lt;br /&gt;
| 0x4 || 0x4 || padding&lt;br /&gt;
|}&lt;br /&gt;
|}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== FS Limitations ====&lt;br /&gt;
&lt;br /&gt;
- FSPXI allows all access types.&lt;br /&gt;
&lt;br /&gt;
- When used through fs:LDR by loader, FS only provides access to &amp;lt;code&amp;gt;exefs:/.code&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
- For SelfNCCH access, the only allowed access types are &amp;quot;RomFS (&amp;quot;unspecified&amp;quot; [[NCCH#Content_Type|content type]], the default)&amp;quot; of the Base or Patch title, and &amp;quot;System Menu Data&amp;quot;. Attempting to access &amp;quot;Save Data&amp;quot; results in error 0xE0E046BE, &amp;quot;RomFS (all [[NCCH#Content_Type|content types]])&amp;quot; in 0xF9604784, and &amp;quot;&amp;lt;code&amp;gt;exefs:/.code&amp;lt;/code&amp;gt;&amp;quot; in 0xD9004676.&lt;br /&gt;
&lt;br /&gt;
=== [[RomFS]] ===&lt;br /&gt;
&lt;br /&gt;
Archives 0x3 and 0x2345678E both allow for accessing the [[RomFS#Level_3_Format|level-3 IVFC images]] for RomFS access. The main CXI RomFS is accessible via an all-zero 0xc-byte binary file-lowpath. The update RomFS can be accessed with the first u32 in the binary file-lowpath being set to 0x5. The user must handle parsing the filesystem used in the exposed image itself.&lt;br /&gt;
&lt;br /&gt;
With FSPXI the returned data for RomFS is the entire RomFS section from the NCCH, starting at the IVFC header.&lt;br /&gt;
&lt;br /&gt;
The 0x3 archive is an interface for the 0x2345678E archive with the current process programID+mediatype. The file lowpath is 3-words. These words are written to 0x2345678E-archive file_lowpath+0, with the rest of that lowpath set to all-zero(lowpath is different from archive 0x2345678A). File lowpath:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!  Index word&lt;br /&gt;
!  Description&lt;br /&gt;
|-&lt;br /&gt;
| 0&lt;br /&gt;
| See above. The only values which FS-module doesn&#039;t allow to be used here are:&lt;br /&gt;
* 0x1: Error 0xE0E046BE.&lt;br /&gt;
* 0x3: Error 0xE0E046BE.&lt;br /&gt;
* 0x4: FS-module executes svcBreak when using this.&lt;br /&gt;
|-&lt;br /&gt;
| 1-2&lt;br /&gt;
| See above. Not validated by FS-module.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=Anti Savegame Restore=&lt;br /&gt;
Anti Savegame Restore, internally referred to as &#039;&#039;Save Data Rollback Prevention&#039;&#039;, is a feature originally implemented in the FS module with [[4.0.0-7]], which prevents the user from restoring previous versions of a savegame image. This feature is not used (in practice) for gamecard games. When an old version of the save is detected, the application will display an error regarding old savegame version, then delete and recreate the save data (similar to when it is corrupted).&lt;br /&gt;
&lt;br /&gt;
==Implementation==&lt;br /&gt;
When creating the savedata, the application generates a secure value (a 64 bit unsigned integer), then stores it in either the [[DISA_and_DIFF#DISA_header|DISA save image header]] or the [[Filesystem_services#Anti_Savegame_Restore_Save_Data|Anti Savegame Restore Save Data]]. The application then uses the anti-savegame-restore commands ([[FS:SetSaveDataSecureValue]], [[FS:GetSaveDataSecureValue]], [[FS:SetOtherSaveDataSecureValue]], [[FS:GetOtherSaveDataSecureValue]], [[FS:SetThisSaveDataSecureValue]], [[FS:GetThisSaveDataSecureValue]], [[FS:SetSaveArchiveSecureValue]] and [[FS:GetSaveArchiveSecureValue]]) to verify the value known to the game for comparison with the value returned by FS, and to update the value in the corresponding storage location.&lt;br /&gt;
&lt;br /&gt;
Each time the application writes to the savegame, the value should be updated by both the application and through FS. Usually, applications update this value by incrementing it. However, generating a new random-number or other methods of updating it can be used as well.&lt;br /&gt;
&lt;br /&gt;
==Anti Savegame Restore Save Data==&lt;br /&gt;
The save data used for this feature is stored in [[System_SaveData|System Save Data]] ID 0x00010011 and contains only one file, named &amp;lt;code&amp;gt;DB&amp;lt;/code&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
===Main Structure===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Offset !! Size !! Description&lt;br /&gt;
|-&lt;br /&gt;
| 0x0 || 0x1000 || Header&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Offset !! Size !! Description&lt;br /&gt;
|-&lt;br /&gt;
| 0x0 || 0x1 || u8, version (usually 0)&lt;br /&gt;
|-&lt;br /&gt;
| 0x1 || 0x3 || padding&lt;br /&gt;
|-&lt;br /&gt;
| 0x4 || 0x4 || u32, number of secure value entries&lt;br /&gt;
|-&lt;br /&gt;
| 0x8 || 0xFF8 || completely unused, padding&lt;br /&gt;
|}&lt;br /&gt;
|-&lt;br /&gt;
| 0x1000 || 0x1C000 (8 * 14336) || [[Filesystem_services#SecureValueKey|Secure value keys]]&lt;br /&gt;
|-&lt;br /&gt;
| 0x1D000 || 0x1C000 (8 * 14336) || u64s, Secure values&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===SecureValueKey===&lt;br /&gt;
Depending on which command is used, secure value keys can be interpreted as:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Offset !! Size !! Description&lt;br /&gt;
|-&lt;br /&gt;
| 0x0 || 0x8 || u64, Title ID&lt;br /&gt;
|}&lt;br /&gt;
or:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Offset !! Size !! Description&lt;br /&gt;
|-&lt;br /&gt;
| 0x0 || 0x4 || u32, [[Filesystem_services#SecureValueSlot|Secure Value Slot]]&lt;br /&gt;
|-&lt;br /&gt;
| 0x4 || 0x4 || u32, Unique ID&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Applications using this feature==&lt;br /&gt;
* Animal Crossing: New Leaf&lt;br /&gt;
* Pokemon X &amp;amp; Y&lt;br /&gt;
* Pokemon Omega Ruby &amp;amp; Alpha Sapphire&lt;br /&gt;
* Pokemon Omega Ruby &amp;amp; Alpha Sapphire Demo &lt;br /&gt;
* Pokemon Shuffle&lt;br /&gt;
* Super Smash Bros&lt;br /&gt;
* Pokemon Red,Blue and Yellow (GB(C) VC)&lt;br /&gt;
* Rusty&#039;s Real Deal Baseball&lt;br /&gt;
* Megami Meguri&lt;br /&gt;
&lt;br /&gt;
=SEEDDB and TITLETAG=&lt;br /&gt;
With [[9.6.0-24|9.6.0-X]] new [[System_SaveData]] with save ID 0x0001000F was added. This save data contains both the NCCH seed database (SEEDDB) and the title tag database (TITLETAG).&lt;br /&gt;
&lt;br /&gt;
These databases are managed by the commands [[FS:AddSeed]], [[FS:GetSeed]], [[FS:DeleteSeed]], [[FS:GetNumSeeds]] and [[FS:ListSeeds]] for SEEDDB, and [[FS:AddTitleTag]], [[FS:GetTitleTag]], [[FS:DeleteTitleTag]], [[FS:GetNumTitleTags]], and [[FS:ListTitleTags]] for TITLETAG respectively.&lt;br /&gt;
&lt;br /&gt;
Both the [[Home_Menu|HOME Menu]] and the [[NIM_Services|NIM]] module have access to these commands.&lt;br /&gt;
&lt;br /&gt;
==SEEDDB==&lt;br /&gt;
&lt;br /&gt;
Stored in the system savedata archive 0x0001000F as a file named &amp;lt;code&amp;gt;SEEDDB&amp;lt;/code&amp;gt;, it contains the title-unique seed-data used for the new [[NCCH]] keyY generation added with FIRM [[9.6.0-24|9.6.0-X]].&lt;br /&gt;
&lt;br /&gt;
The file follows a simple key-value format allowing the storage of seed data for up to 2000 unique title 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;
! Offset !! Size !! Description&lt;br /&gt;
|-&lt;br /&gt;
| 0x0 || 0x1000 || Header&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Offset !! Size !! Description&lt;br /&gt;
|-&lt;br /&gt;
| 0x0 || 0x1 || u8, version (usually 0)&lt;br /&gt;
|-&lt;br /&gt;
| 0x1 || 0x3 || padding&lt;br /&gt;
|-&lt;br /&gt;
| 0x4 || 0x4 || u32, number of seed entries&lt;br /&gt;
|-&lt;br /&gt;
| 0x8 || 0xFF8 || completely unused, padding&lt;br /&gt;
|}&lt;br /&gt;
|-&lt;br /&gt;
| 0x1000 || 0x3E80 (8 * 2000) || u64s, Title IDs&lt;br /&gt;
|-&lt;br /&gt;
| 0x4E80 || 0x7D00 (16 * 2000) || Seed data, 16 bytes per seed&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==TITLETAG Database==&lt;br /&gt;
&lt;br /&gt;
Stored in the system savedata archive 0x0001000F as a file named &amp;lt;code&amp;gt;TITLETAG&amp;lt;/code&amp;gt;, it contains information used by the [[Home_Menu|HOME Menu]] to handle cases when a to-be-released title has been purchased already, that is, to properly install the seed required for [[NCCH]] keyY generation added with FIRM [[9.6.0-24|9.6.0-X]].&lt;br /&gt;
&lt;br /&gt;
When a to-be-released title is purchased, the [[NIM_Services|NIM]] module installs a [[Filesystem_services#TitleTag|title tag]] with enough information about the title for the [[Home_Menu|HOME Menu]] to be able to initiate a seed import once the title has been released (and thus, the title&#039;s NCCH content lock seed). Until the title&#039;s seed is released, and while the title tag remains in the database, the HOME Menu will prevent the user from launching the software as it would not run without the seed. Once released, information from the title tag is used to download the seed, and, if successful, the title tag is removed from the database, making the software playable.&lt;br /&gt;
&lt;br /&gt;
The file follows a simple key-value format allowing the storage of title tag data for up to 2000 unique title 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;
! Offset !! Size !! Description&lt;br /&gt;
|-&lt;br /&gt;
| 0x0 || 0x1000 || Header&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Offset !! Size !! Description&lt;br /&gt;
|-&lt;br /&gt;
| 0x0 || 0x1 || u8, version (usually 0)&lt;br /&gt;
|-&lt;br /&gt;
| 0x1 || 0x3 || padding&lt;br /&gt;
|-&lt;br /&gt;
| 0x4 || 0x4 || u32, number of entries&lt;br /&gt;
|-&lt;br /&gt;
| 0x8 || 0xFF8 || completely unused, padding&lt;br /&gt;
|}&lt;br /&gt;
|-&lt;br /&gt;
| 0x1000 || 0x3E80 (8 * 2000) || u64s, Title IDs&lt;br /&gt;
|-&lt;br /&gt;
| 0x4E80 || 0x3E800 (0x80 * 2000) || [[Filesystem_services#TitleTag|Title Tag]] data, 0x80 bytes per entry&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
= Common Types =&lt;br /&gt;
== MediaType ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!  Value&lt;br /&gt;
!  Description&lt;br /&gt;
|-&lt;br /&gt;
| 0&lt;br /&gt;
| NAND&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| SD&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| Game Card&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== SystemMediaType ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!  Value&lt;br /&gt;
!  Description&lt;br /&gt;
|-&lt;br /&gt;
| 0&lt;br /&gt;
| CTR NAND&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| TWL NAND&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| SD&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| TWL Photo&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== OpenFlags ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!  Bit&lt;br /&gt;
!  Description&lt;br /&gt;
|-&lt;br /&gt;
| 0&lt;br /&gt;
| Read&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| Write&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| Create&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Attributes ==&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;
| 0x1&lt;br /&gt;
| Is Directory&lt;br /&gt;
|-&lt;br /&gt;
| 0x1&lt;br /&gt;
| 0x1&lt;br /&gt;
| Is Hidden&lt;br /&gt;
|-&lt;br /&gt;
| 0x2&lt;br /&gt;
| 0x1&lt;br /&gt;
| Is Archive&lt;br /&gt;
|-&lt;br /&gt;
| 0x3&lt;br /&gt;
| 0x1&lt;br /&gt;
| Is Read-Only&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== WriteOption ==&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;
| 0x1&lt;br /&gt;
| Flush&lt;br /&gt;
|-&lt;br /&gt;
| 0x1&lt;br /&gt;
| 0x1&lt;br /&gt;
| Update Time Stamp&lt;br /&gt;
|-&lt;br /&gt;
| 0x2&lt;br /&gt;
| 0x1&lt;br /&gt;
| Reserved&lt;br /&gt;
|-&lt;br /&gt;
| 0x3&lt;br /&gt;
| 0x1&lt;br /&gt;
| Reserved&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== DirectoryEntry ==&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;
| 0x20C&lt;br /&gt;
| UTF-16 Entry Name&lt;br /&gt;
|-&lt;br /&gt;
| 0x20C&lt;br /&gt;
| 0xA&lt;br /&gt;
| 8.3 short filename name&lt;br /&gt;
|-&lt;br /&gt;
| 0x216&lt;br /&gt;
| 0x4&lt;br /&gt;
| 8.3 short filename extension&lt;br /&gt;
|-&lt;br /&gt;
| 0x21A&lt;br /&gt;
| 0x1&lt;br /&gt;
| Always 1&lt;br /&gt;
|-&lt;br /&gt;
| 0x21B&lt;br /&gt;
| 0x1&lt;br /&gt;
| Reserved&lt;br /&gt;
|-&lt;br /&gt;
| 0x21C&lt;br /&gt;
| 0x4&lt;br /&gt;
| [[Filesystem_services#Attributes|Attributes]]&lt;br /&gt;
|-&lt;br /&gt;
| 0x220&lt;br /&gt;
| 0x8&lt;br /&gt;
| Entry Size&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== ArchiveResource ==&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;
| 0x4&lt;br /&gt;
| Sector byte-size&lt;br /&gt;
|-&lt;br /&gt;
| 0x4&lt;br /&gt;
| 0x4&lt;br /&gt;
| Cluster byte-size&lt;br /&gt;
|-&lt;br /&gt;
| 0x8&lt;br /&gt;
| 0x4&lt;br /&gt;
| Partition capacity in clusters&lt;br /&gt;
|-&lt;br /&gt;
| 0xC&lt;br /&gt;
| 0x4&lt;br /&gt;
| Available free space in clusters&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== ProgramInfo ==&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;
| 0x8&lt;br /&gt;
| Program ID&lt;br /&gt;
|-&lt;br /&gt;
| 0x8&lt;br /&gt;
| 0x1&lt;br /&gt;
| [[Filesystem_services#MediaType|Media Type]]&lt;br /&gt;
|-&lt;br /&gt;
| 0x9&lt;br /&gt;
| 0x7&lt;br /&gt;
| Padding&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== ProductInfo ==&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;
| Product Code&lt;br /&gt;
|-&lt;br /&gt;
| 0x10&lt;br /&gt;
| 0x2&lt;br /&gt;
| Company Code&lt;br /&gt;
|-&lt;br /&gt;
| 0x12&lt;br /&gt;
| 0x2&lt;br /&gt;
| Remaster Version&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== IntegrityVerificationSeed ==&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;
|  AES-CBC MAC over a SHA256 hash, which hashes the first 0x110-bytes of the cleartext SEED.&lt;br /&gt;
|-&lt;br /&gt;
|  0x10&lt;br /&gt;
|  0x120&lt;br /&gt;
|  The [[nand/private/movable.sed]], encrypted with AES-CBC using the above MAC for the counter.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== ExtSaveDataInfo ==&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;
| 0x4&lt;br /&gt;
| [[Filesystem_services#DataAccessPath|DataAccessPath]]&lt;br /&gt;
|-&lt;br /&gt;
| 0x4&lt;br /&gt;
| 0x8&lt;br /&gt;
| Save ID&lt;br /&gt;
|-&lt;br /&gt;
| 0xC&lt;br /&gt;
| 0x4&lt;br /&gt;
| Reserved&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== SystemSaveDataInfo ==&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;
| 0x4&lt;br /&gt;
| [[Filesystem_services#DataAccessPath|DataAccessPath]]&lt;br /&gt;
|-&lt;br /&gt;
| 0x4&lt;br /&gt;
| 0x4&lt;br /&gt;
| Save ID&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== SecureValueSlot ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!  Value&lt;br /&gt;
!  Description&lt;br /&gt;
|-&lt;br /&gt;
| 0x1000&lt;br /&gt;
| SD Application&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== SecureValueEntry ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Offset !! Size !! Description&lt;br /&gt;
|-&lt;br /&gt;
| 0x0 || 0x4 || u32, [[Filesystem_services#SecureValueSlot|Secure Value Slot]]&lt;br /&gt;
|-&lt;br /&gt;
| 0x4 || 0x1 || When used as an input entry:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Value !! Description&lt;br /&gt;
|-&lt;br /&gt;
| 0 || This entry should be removed.&lt;br /&gt;
|-&lt;br /&gt;
| 1 || This entry should be updated with the given value.&lt;br /&gt;
|}&lt;br /&gt;
When returned from a command:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Value !! Description&lt;br /&gt;
|-&lt;br /&gt;
| 0 || No entry with the given slot and title ID was found, or: this entry is unused.&lt;br /&gt;
|-&lt;br /&gt;
| 1 || The entry with the given slot and title ID was found, or: this entry is used.&lt;br /&gt;
|}&lt;br /&gt;
|-&lt;br /&gt;
| 0x5 || 0x3 || padding&lt;br /&gt;
|-&lt;br /&gt;
| 0x8 || 0x8 || u64, Secure Value&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== TitleTag ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Offset !! Size !! Description&lt;br /&gt;
|-&lt;br /&gt;
| 0x0 || 0x4 || Magic, &amp;lt;code&amp;gt;PREP&amp;lt;/code&amp;gt; (PREPurchase install)&lt;br /&gt;
|-&lt;br /&gt;
| 0x4 || 0x4 || s32, Release date year&lt;br /&gt;
|-&lt;br /&gt;
| 0x8 || 0x1 || u8, Release date month&lt;br /&gt;
|-&lt;br /&gt;
| 0x9 || 0x1 || u8, Release date day&lt;br /&gt;
|-&lt;br /&gt;
| 0xA || 0x2 || u16, Country code&lt;br /&gt;
|-&lt;br /&gt;
| 0xC || 0x4 || u32, Seed status (0: not downloaded yet, 1: last download attempt failed, 2: seed installed successfully)&lt;br /&gt;
|-&lt;br /&gt;
| 0x10 || 0x4 || Result code from last seed installation attempt &lt;br /&gt;
|-&lt;br /&gt;
| 0x14 || 0x4 || Support error code from last seed installation attempt&lt;br /&gt;
|-&lt;br /&gt;
| 0x18 || 0x68 || reserved padding (unused)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== CardSpiBaudRate ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!  Value&lt;br /&gt;
!  Description&lt;br /&gt;
|-&lt;br /&gt;
| 0x0&lt;br /&gt;
| 512KHz&lt;br /&gt;
|-&lt;br /&gt;
| 0x1&lt;br /&gt;
| 1MHz&lt;br /&gt;
|-&lt;br /&gt;
| 0x2&lt;br /&gt;
| 2MHz&lt;br /&gt;
|-&lt;br /&gt;
| 0x3&lt;br /&gt;
| 4MHz&lt;br /&gt;
|-&lt;br /&gt;
| 0x4&lt;br /&gt;
| 8MHz&lt;br /&gt;
|-&lt;br /&gt;
| 0x5&lt;br /&gt;
| 16MHz&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== CardSpiBusMode ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!  Value&lt;br /&gt;
!  Description&lt;br /&gt;
|-&lt;br /&gt;
| 0x0&lt;br /&gt;
| 1-bit&lt;br /&gt;
|-&lt;br /&gt;
| 0x1&lt;br /&gt;
| 4-bit&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== SpecialContentType ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!  Value&lt;br /&gt;
!  Description&lt;br /&gt;
!  Found in&lt;br /&gt;
|-&lt;br /&gt;
| 0x1&lt;br /&gt;
| CTR (Old3DS) Update Partition&lt;br /&gt;
| Gamecards&lt;br /&gt;
|-&lt;br /&gt;
| 0x2&lt;br /&gt;
| Manual&lt;br /&gt;
| Gamecards, Digital titles&lt;br /&gt;
|-&lt;br /&gt;
| 0x3&lt;br /&gt;
| DLP Child&lt;br /&gt;
| Gamecards, Digital titles&lt;br /&gt;
|-&lt;br /&gt;
| 0x4&lt;br /&gt;
| KTR (New3DS) Update Partition&lt;br /&gt;
| Gamecards&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== DeviceMoveContext ==&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;
|  IVs (ID0 of source console)&lt;br /&gt;
|-&lt;br /&gt;
|  0x10&lt;br /&gt;
|  0x10&lt;br /&gt;
|  Encrypt Parameter (used to calculate the IV for encryption)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=Errors=&lt;br /&gt;
See [[Filesystem_services_PXI]].&lt;br /&gt;
&lt;br /&gt;
[[Category:Services]]&lt;/div&gt;</summary>
		<author><name>Gruetzig</name></author>
	</entry>
	<entry>
		<id>https://www.3dbrew.org/w/index.php?title=APT:StoreSysMenuArg&amp;diff=23709</id>
		<title>APT:StoreSysMenuArg</title>
		<link rel="alternate" type="text/html" href="https://www.3dbrew.org/w/index.php?title=APT:StoreSysMenuArg&amp;diff=23709"/>
		<updated>2025-12-24T13:53:50Z</updated>

		<summary type="html">&lt;p&gt;Gruetzig: meow&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Request=&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!  Index Word&lt;br /&gt;
!  Description&lt;br /&gt;
|-&lt;br /&gt;
| 0&lt;br /&gt;
| Header code [0x00370042]&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| Size (capped to 0x40)&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| &amp;lt;nowiki&amp;gt;(Size &amp;lt;&amp;lt; 14) | 2&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| void*, Input Buffer&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=Response=&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!  Index Word&lt;br /&gt;
!  Description&lt;br /&gt;
|-&lt;br /&gt;
| 0&lt;br /&gt;
| Header code&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| Result code&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=Structure=&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;
| 0x4&lt;br /&gt;
| Type?&lt;br /&gt;
|-&lt;br /&gt;
| 0x4&lt;br /&gt;
| 0x4&lt;br /&gt;
| Title Unique ID of the applet which set this SysMenuArg structure&lt;br /&gt;
|-&lt;br /&gt;
| 0x8&lt;br /&gt;
| 0x8&lt;br /&gt;
| u64, Program ID of the title to launch&lt;br /&gt;
|-&lt;br /&gt;
| 0x10&lt;br /&gt;
| 0x4&lt;br /&gt;
| Media Type&lt;br /&gt;
|-&lt;br /&gt;
| 0x14&lt;br /&gt;
| 0x4&lt;br /&gt;
| 1 + &amp;lt;bit value loaded from [[Config_Savegame|Cfg]] block 0xC0000&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The above is the structure of the 0x18-byte buffer used with Home Menu for StoreSysMenuArg/LoadSysMenuArg. The uniqueID is for a NAND title with tid-high 000400030, this title must be installed in NAND. Only certain uniqueIDs can be used here.&lt;br /&gt;
&lt;br /&gt;
=Description=&lt;br /&gt;
This copies the input buffer to [[FIRM|FIRM-launch params]]+0x500, in NS state.&lt;/div&gt;</summary>
		<author><name>Gruetzig</name></author>
	</entry>
	<entry>
		<id>https://www.3dbrew.org/w/index.php?title=Filesystem_services&amp;diff=23689</id>
		<title>Filesystem services</title>
		<link rel="alternate" type="text/html" href="https://www.3dbrew.org/w/index.php?title=Filesystem_services&amp;diff=23689"/>
		<updated>2025-08-28T00:01:25Z</updated>

		<summary type="html">&lt;p&gt;Gruetzig: this doesnt match observations nor the header in the page for the command&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Services =&lt;br /&gt;
{{Anchor|FS}}{{Anchor|FSUSER}}{{Anchor|fs:USER}}&lt;br /&gt;
== Filesystem service &amp;quot;fs:USER&amp;quot; ==&lt;br /&gt;
You can at most have 32 FS archive handles.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!  Command Header&lt;br /&gt;
!  Available since system version &lt;br /&gt;
!  Description&lt;br /&gt;
!   scope=&amp;quot;col&amp;quot; width=&amp;quot;400&amp;quot; | Required [[NCCH/Extended_Header|exheader]] access info bitmask&lt;br /&gt;
|-&lt;br /&gt;
| 0x000100C6&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:Dummy1|Dummy1]]&lt;br /&gt;
| None&lt;br /&gt;
|-&lt;br /&gt;
| 0x040100C4&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:Control|Control]]&lt;br /&gt;
| None&lt;br /&gt;
|-&lt;br /&gt;
| 0x08010002&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:Initialize|Initialize]]&lt;br /&gt;
| None&lt;br /&gt;
|-&lt;br /&gt;
| 0x080201C2&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:OpenFile|OpenFile]]&lt;br /&gt;
| None&lt;br /&gt;
|-&lt;br /&gt;
| 0x08030204&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:OpenFileDirectly|OpenFileDirectly]]&lt;br /&gt;
| None&lt;br /&gt;
|-&lt;br /&gt;
| 0x08040142&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:DeleteFile|DeleteFile]]&lt;br /&gt;
| None&lt;br /&gt;
|-&lt;br /&gt;
| 0x08050244&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:RenameFile|RenameFile]]&lt;br /&gt;
| None&lt;br /&gt;
|-&lt;br /&gt;
| 0x08060142&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:DeleteDirectory|DeleteDirectory]]&lt;br /&gt;
| None&lt;br /&gt;
|-&lt;br /&gt;
| 0x08070142&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:DeleteDirectoryRecursively|DeleteDirectoryRecursively]]&lt;br /&gt;
| None&lt;br /&gt;
|-&lt;br /&gt;
| 0x08080202&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:CreateFile|CreateFile]]&lt;br /&gt;
| None&lt;br /&gt;
|-&lt;br /&gt;
| 0x08090182&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:CreateDirectory|CreateDirectory]]&lt;br /&gt;
| None&lt;br /&gt;
|-&lt;br /&gt;
| 0x080A0244&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:RenameDirectory|RenameDirectory]]&lt;br /&gt;
| None&lt;br /&gt;
|-&lt;br /&gt;
| 0x080B0102&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:OpenDirectory|OpenDirectory]]&lt;br /&gt;
| None&lt;br /&gt;
|-&lt;br /&gt;
| 0x080C00C2&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:OpenArchive|OpenArchive]]&lt;br /&gt;
| Each archive ID code has separate access info bitmasks, if it has any&lt;br /&gt;
|-&lt;br /&gt;
| 0x080D0144&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:ControlArchive|ControlArchive]]&lt;br /&gt;
| None&lt;br /&gt;
|-&lt;br /&gt;
| 0x080E0080&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:CloseArchive|CloseArchive]]&lt;br /&gt;
| None&lt;br /&gt;
|-&lt;br /&gt;
| 0x080F0180&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:Obsoleted_2_0_FormatThisUserSaveData|Obsoleted_2_0_FormatThisUserSaveData]]&lt;br /&gt;
| None&lt;br /&gt;
|-&lt;br /&gt;
| 0x08100200&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:Obsoleted_3_0_CreateSystemSaveData|Obsoleted_3_0_CreateSystemSaveData]]&lt;br /&gt;
| 0x4, for when the input saveID doesn&#039;t match the exheader saveID&lt;br /&gt;
|-&lt;br /&gt;
| 0x08110040&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:Obsoleted_3_0_DeleteSystemSaveData|Obsoleted_3_0_DeleteSystemSaveData]]&lt;br /&gt;
| 0x1004, for when the input saveID doesn&#039;t match the exheader saveID&lt;br /&gt;
|-&lt;br /&gt;
| 0x08120080&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:GetFreeBytes|GetFreeBytes]]&lt;br /&gt;
| None&lt;br /&gt;
|-&lt;br /&gt;
| 0x08130000&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:GetCardType|GetCardType]]&lt;br /&gt;
| 0x1017&lt;br /&gt;
|-&lt;br /&gt;
| 0x08140000&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:GetSdmcArchiveResource|GetSdmcArchiveResource]]&lt;br /&gt;
| None&lt;br /&gt;
|-&lt;br /&gt;
| 0x08150000&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:GetNandArchiveResource|GetNandArchiveResource]]&lt;br /&gt;
| 0x1007&lt;br /&gt;
|-&lt;br /&gt;
| 0x08160000&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:GetSdmcFatfsError|GetSdmcFatfsError]]&lt;br /&gt;
| 0x2&lt;br /&gt;
|-&lt;br /&gt;
| 0x08170000&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:IsSdmcDetected|IsSdmcDetected]]&lt;br /&gt;
| None&lt;br /&gt;
|-&lt;br /&gt;
| 0x08180000&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:IsSdmcWritable|IsSdmcWritable]]&lt;br /&gt;
| None&lt;br /&gt;
|-&lt;br /&gt;
| 0x08190042&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:GetSdmcCid|GetSdmcCid]]&lt;br /&gt;
| 0x2&lt;br /&gt;
|-&lt;br /&gt;
| 0x081A0042&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:GetNandCid|GetNandCid]]&lt;br /&gt;
| 0x2&lt;br /&gt;
|-&lt;br /&gt;
| 0x081B0000&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:GetSdmcSpeedInfo|GetSdmcSpeedInfo]]&lt;br /&gt;
| 0x2&lt;br /&gt;
|-&lt;br /&gt;
| 0x081C0000&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:GetNandSpeedInfo|GetNandSpeedInfo]]&lt;br /&gt;
| 0x2&lt;br /&gt;
|-&lt;br /&gt;
| 0x081D0042&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:GetSdmcLog|GetSdmcLog]]&lt;br /&gt;
| 0x2&lt;br /&gt;
|-&lt;br /&gt;
| 0x081E0042&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:GetNandLog|GetNandLog]]&lt;br /&gt;
| 0x2&lt;br /&gt;
|-&lt;br /&gt;
| 0x081F0000&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:ClearSdmcLog|ClearSdmcLog]]&lt;br /&gt;
| 0x2&lt;br /&gt;
|-&lt;br /&gt;
| 0x08200000&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:ClearNandLog|ClearNandLog]]&lt;br /&gt;
| 0x2&lt;br /&gt;
|-&lt;br /&gt;
| 0x08210000&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:CardSlotIsInserted|CardSlotIsInserted]]&lt;br /&gt;
| 0x1017&lt;br /&gt;
|-&lt;br /&gt;
| 0x08220000&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:CardSlotPowerOn|CardSlotPowerOn]]&lt;br /&gt;
| 0x2&lt;br /&gt;
|-&lt;br /&gt;
| 0x08230000&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:CardSlotPowerOff|CardSlotPowerOff]]&lt;br /&gt;
| 0x2&lt;br /&gt;
|-&lt;br /&gt;
| 0x08240000&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:CardSlotGetCardIFPowerStatus|CardSlotGetCardIFPowerStatus]]&lt;br /&gt;
| 0x2&lt;br /&gt;
|-&lt;br /&gt;
| 0x08250040&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:CardNorDirectCommand|CardNorDirectCommand]]&lt;br /&gt;
| 0x2&lt;br /&gt;
|-&lt;br /&gt;
| 0x08260080&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:CardNorDirectCommandWithAddress|CardNorDirectCommandWithAddress]]&lt;br /&gt;
| 0x2&lt;br /&gt;
|-&lt;br /&gt;
| 0x08270082&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:CardNorDirectRead|CardNorDirectRead]]&lt;br /&gt;
| 0x2&lt;br /&gt;
|-&lt;br /&gt;
| 0x082800C2&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:CardNorDirectReadWithAddress|CardNorDirectReadWithAddress]]&lt;br /&gt;
| 0x2&lt;br /&gt;
|-&lt;br /&gt;
| 0x08290082&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:CardNorDirectWrite|CardNorDirectWrite]]&lt;br /&gt;
| 0x2&lt;br /&gt;
|-&lt;br /&gt;
| 0x082A00C2&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:CardNorDirectWriteWithAddress|CardNorDirectWriteWithAddress]]&lt;br /&gt;
| 0x2&lt;br /&gt;
|-&lt;br /&gt;
| 0x082B00C2&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:CardNorDirectRead_4xIO|CardNorDirectRead_4xIO]]&lt;br /&gt;
| 0x2&lt;br /&gt;
|-&lt;br /&gt;
| 0x082C0082&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:CardNorDirectCpuWriteWithoutVerify|CardNorDirectCpuWriteWithoutVerify]]&lt;br /&gt;
| 0x2&lt;br /&gt;
|-&lt;br /&gt;
| 0x082D0040&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:CardNorDirectSectorEraseWithoutVerify|CardNorDirectSectorEraseWithoutVerify]]&lt;br /&gt;
| 0x2&lt;br /&gt;
|-&lt;br /&gt;
| 0x082E0040&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:GetProductInfo|GetProductInfo]]&lt;br /&gt;
| 0x1005&lt;br /&gt;
|-&lt;br /&gt;
| 0x082F0040&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:GetProgramLaunchInfo|GetProgramLaunchInfo]]&lt;br /&gt;
| 0x1005&lt;br /&gt;
|-&lt;br /&gt;
| 0x08300182&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:Obsoleted_3_0_CreateExtSaveData|Obsoleted_3_0_CreateExtSaveData]]&lt;br /&gt;
| 0xC, for when the input extdataID doesn&#039;t match the exheader extdataID&lt;br /&gt;
|-&lt;br /&gt;
| 0x08310180&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:Obsoleted_3_0_CreateSharedExtSaveData|Obsoleted_3_0_CreateSharedExtSaveData]]&lt;br /&gt;
| 0x1005&lt;br /&gt;
|-&lt;br /&gt;
| 0x08320102&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:Obsoleted_3_0_ReadExtSaveDataIcon|Obsoleted_3_0_ReadExtSaveDataIcon]]&lt;br /&gt;
| 0x100D, for when the input extdataID doesn&#039;t match the exheader extdataID&lt;br /&gt;
|-&lt;br /&gt;
| 0x08330082&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:Obsoleted_3_0_EnumerateExtSaveData|Obsoleted_3_0_EnumerateExtSaveData]]&lt;br /&gt;
| 0x1005&lt;br /&gt;
|-&lt;br /&gt;
| 0x08340082&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:Obsoleted_3_0_EnumerateSharedExtSaveData|Obsoleted_3_0_EnumerateSharedExtSaveData]]&lt;br /&gt;
| 0x1005&lt;br /&gt;
|-&lt;br /&gt;
| 0x08350080&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:Obsoleted_3_0_DeleteExtSaveData|Obsoleted_3_0_DeleteExtSaveData]]&lt;br /&gt;
| 0x100D, for when the input extdataID doesn&#039;t match the exheader extdataID&lt;br /&gt;
|-&lt;br /&gt;
| 0x08360080&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:Obsoleted_3_0_DeleteSharedExtSaveData|Obsoleted_3_0_DeleteSharedExtSaveData]]&lt;br /&gt;
| 0x1005&lt;br /&gt;
|-&lt;br /&gt;
| 0x08370040&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:SetCardSpiBaudRate|SetCardSpiBaudRate]]&lt;br /&gt;
| 0x2&lt;br /&gt;
|-&lt;br /&gt;
| 0x08380040&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:SetCardSpiBusMode|SetCardSpiBusMode]]&lt;br /&gt;
| 0x2&lt;br /&gt;
|-&lt;br /&gt;
| 0x08390000&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:SendInitializeInfoTo9|SendInitializeInfoTo9]]&lt;br /&gt;
| None&lt;br /&gt;
|-&lt;br /&gt;
| 0x083A0100&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:GetSpecialContentIndex|GetSpecialContentIndex]]&lt;br /&gt;
| 0x1005&lt;br /&gt;
|-&lt;br /&gt;
| 0x083B00C2&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:GetLegacyRomHeader|GetLegacyRomHeader]]&lt;br /&gt;
| 0x1015&lt;br /&gt;
|-&lt;br /&gt;
| 0x083C00C2&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:GetLegacyBannerData|GetLegacyBannerData]]&lt;br /&gt;
| 0x1015&lt;br /&gt;
|-&lt;br /&gt;
| 0x083D0100&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:CheckAuthorityToAccessExtSaveData|CheckAuthorityToAccessExtSaveData]]&lt;br /&gt;
| 0x44&lt;br /&gt;
|-&lt;br /&gt;
| 0x083E00C2&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:QueryTotalQuotaSize|QueryTotalQuotaSize]]&lt;br /&gt;
| None&lt;br /&gt;
|-&lt;br /&gt;
| 0x083F00C0&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:Obsoleted_3_0_GetExtDataBlockSize|Obsoleted_3_0_GetExtDataBlockSize]]&lt;br /&gt;
| None&lt;br /&gt;
|-&lt;br /&gt;
| 0x08400040&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:AbnegateAccessRight|AbnegateAccessRight]]&lt;br /&gt;
|?&lt;br /&gt;
|-&lt;br /&gt;
| 0x08410000&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:DeleteSdmcRoot|DeleteSdmcRoot]]&lt;br /&gt;
| 0x1005&lt;br /&gt;
|-&lt;br /&gt;
| 0x08420040&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:DeleteAllExtSaveDataOnNand|DeleteAllExtSaveDataOnNand]]&lt;br /&gt;
| 0x1005&lt;br /&gt;
|-&lt;br /&gt;
| 0x08430000&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:InitializeCtrFileSystem|InitializeCtrFileSystem]]&lt;br /&gt;
| None&lt;br /&gt;
|-&lt;br /&gt;
| 0x08440000&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:CreateSeed|CreateSeed]]&lt;br /&gt;
| 0x2&lt;br /&gt;
|-&lt;br /&gt;
| 0x084500C2&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:GetFormatInfo|GetFormatInfo]]&lt;br /&gt;
|?&lt;br /&gt;
|-&lt;br /&gt;
| 0x08460102&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:GetLegacyRomHeader2|GetLegacyRomHeader2]]&lt;br /&gt;
| 0x1015&lt;br /&gt;
|-&lt;br /&gt;
| 0x08470180&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:Obsoleted_2_0_FormatCtrCardUserSaveData|Obsoleted_2_0_FormatCtrCardUserSaveData]]&lt;br /&gt;
| 0x6&lt;br /&gt;
|-&lt;br /&gt;
| 0x08480042&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:GetSdmcCtrRootPath|GetSdmcCtrRootPath]]&lt;br /&gt;
| 0x100D&lt;br /&gt;
|-&lt;br /&gt;
| 0x08490040&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:GetArchiveResource|GetArchiveResource]]&lt;br /&gt;
|?&lt;br /&gt;
|-&lt;br /&gt;
| 0x084A0002&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:ExportIntegrityVerificationSeed|ExportIntegrityVerificationSeed]]&lt;br /&gt;
| 0x4000&lt;br /&gt;
|-&lt;br /&gt;
| 0x084B0002&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:ImportIntegrityVerificationSeed|ImportIntegrityVerificationSeed]]&lt;br /&gt;
| 0x4000&lt;br /&gt;
|-&lt;br /&gt;
| 0x084C0242&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:FormatSaveData|FormatSaveData]]&lt;br /&gt;
| 0x6, in some cases this write isn&#039;t needed however&lt;br /&gt;
|-&lt;br /&gt;
| 0x084D0102&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:GetLegacySubBannerData|GetLegacySubBannerData]]&lt;br /&gt;
| 0x1015&lt;br /&gt;
|-&lt;br /&gt;
| 0x084E0342&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:UpdateSha256Context|UpdateSha256Context]]&lt;br /&gt;
| 0x5&lt;br /&gt;
|-&lt;br /&gt;
| 0x084F0102&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:ReadSpecialFile|ReadSpecialFile]]&lt;br /&gt;
| None&lt;br /&gt;
|-&lt;br /&gt;
| 0x08500040&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:GetSpecialFileSize|GetSpecialFileSize]]&lt;br /&gt;
| None&lt;br /&gt;
|-&lt;br /&gt;
| 0x08510242&lt;br /&gt;
| [[3.0.0-5]]&lt;br /&gt;
| [[FS:CreateExtSaveData|CreateExtSaveData]]&lt;br /&gt;
| Shared extdata: 0x101005. Regular extdata in certain cases: 0xC&lt;br /&gt;
|-&lt;br /&gt;
| 0x08520100&lt;br /&gt;
| [[3.0.0-5]]&lt;br /&gt;
| [[FS:DeleteExtSaveData|DeleteExtSaveData]]&lt;br /&gt;
| Shared extdata: 0x101005. Regular extdata in certain cases: 0x10100D&lt;br /&gt;
|-&lt;br /&gt;
| 0x08530142&lt;br /&gt;
| [[3.0.0-5]]&lt;br /&gt;
| [[FS:ReadExtSaveDataIcon|ReadExtSaveDataIcon]]&lt;br /&gt;
| 0x10100D (this doesn&#039;t apply in certain cases, however)&lt;br /&gt;
|-&lt;br /&gt;
| 0x08540010&lt;br /&gt;
| [[3.0.0-5]]&lt;br /&gt;
| [[FS:GetExtDataBlockSize|GetExtDataBlockSize]]&lt;br /&gt;
| 0x10100D (this doesn&#039;t apply in certain cases, however)&lt;br /&gt;
|-&lt;br /&gt;
| 0x08550102&lt;br /&gt;
| [[3.0.0-5]]&lt;br /&gt;
| [[FS:EnumerateExtSaveData|EnumerateExtSaveData]]&lt;br /&gt;
| 0x101005&lt;br /&gt;
|-&lt;br /&gt;
| 0x08560240&lt;br /&gt;
| [[3.0.0-5]]&lt;br /&gt;
| [[FS:CreateSystemSaveData|CreateSystemSaveData]]&lt;br /&gt;
| 0x4 (this doesn&#039;t apply in certain cases, however)&lt;br /&gt;
|-&lt;br /&gt;
| 0x08570080&lt;br /&gt;
| [[3.0.0-5]]&lt;br /&gt;
| [[FS:DeleteSystemSaveData|DeleteSystemSaveData]]&lt;br /&gt;
| 0x1004 (this doesn&#039;t apply in certain cases, however)&lt;br /&gt;
|-&lt;br /&gt;
| 0x08580000&lt;br /&gt;
| [[3.0.0-5]]&lt;br /&gt;
| [[FS:StartDeviceMoveAsSource|StartDeviceMoveAsSource]]&lt;br /&gt;
| 0x2004&lt;br /&gt;
|-&lt;br /&gt;
| 0x08590200&lt;br /&gt;
| [[3.0.0-5]]&lt;br /&gt;
| [[FS:StartDeviceMoveAsDestination|StartDeviceMoveAsDestination]]&lt;br /&gt;
| 0x2004&lt;br /&gt;
|-&lt;br /&gt;
| 0x085A00C0&lt;br /&gt;
| [[3.0.0-5]]&lt;br /&gt;
| [[FS:SetArchivePriority|SetArchivePriority]]&lt;br /&gt;
| None&lt;br /&gt;
|-&lt;br /&gt;
| 0x085B0080&lt;br /&gt;
| [[3.0.0-5]]&lt;br /&gt;
| [[FS:GetArchivePriority|GetArchivePriority]]&lt;br /&gt;
| None&lt;br /&gt;
|-&lt;br /&gt;
| 0x085C00C0&lt;br /&gt;
| [[3.0.0-5]]&lt;br /&gt;
| [[FS:SetCtrCardLatencyParameter|SetCtrCardLatencyParameter]]&lt;br /&gt;
| 0xE&lt;br /&gt;
|-&lt;br /&gt;
| 0x085D01C0&lt;br /&gt;
| [[3.0.0-5]]&lt;br /&gt;
| [[FS:SetFsCompatibilityInfo|SetFsCompatibilityInfo]]&lt;br /&gt;
| 0x100001&lt;br /&gt;
|-&lt;br /&gt;
| 0x085E0040&lt;br /&gt;
| [[3.0.0-5]]&lt;br /&gt;
| [[FS:ResetCardCompatibilityParameter|ResetCardCompatibilityParameter]]&lt;br /&gt;
| 0xE&lt;br /&gt;
|-&lt;br /&gt;
| 0x085F0040&lt;br /&gt;
| [[3.0.0-5]]&lt;br /&gt;
| [[FS:SwitchCleanupInvalidSaveData|SwitchCleanupInvalidSaveData]]&lt;br /&gt;
| 0x12004&lt;br /&gt;
|-&lt;br /&gt;
| 0x08600042&lt;br /&gt;
| [[3.0.0-5]]&lt;br /&gt;
| [[FS:EnumerateSystemSaveData|EnumerateSystemSaveData]]&lt;br /&gt;
| 0x2004&lt;br /&gt;
|-&lt;br /&gt;
| 0x08610042&lt;br /&gt;
| [[3.0.0-5]]&lt;br /&gt;
| [[FS:InitializeWithSdkVersion|InitializeWithSdkVersion]]&lt;br /&gt;
| None&lt;br /&gt;
|-&lt;br /&gt;
| 0x08620040&lt;br /&gt;
| [[3.0.0-5]]&lt;br /&gt;
| [[FS:SetPriority|SetPriority]]&lt;br /&gt;
| None&lt;br /&gt;
|-&lt;br /&gt;
| 0x08630000&lt;br /&gt;
| [[3.0.0-5]]&lt;br /&gt;
| [[FS:GetPriority|GetPriority]]&lt;br /&gt;
| None&lt;br /&gt;
|-&lt;br /&gt;
| 0x08640000&lt;br /&gt;
| [[3.0.0-5]]&lt;br /&gt;
| [[FS:Obsoleted_4_0_GetNandInfo|Obsoleted_4_0_GetNandInfo]]&lt;br /&gt;
| Stubbed, this returns an error&lt;br /&gt;
|-&lt;br /&gt;
| 0x08650140&lt;br /&gt;
| [[4.0.0-7]]&lt;br /&gt;
| [[FS:SetSaveDataSecureValue|SetSaveDataSecureValue]]&lt;br /&gt;
| 0x121004 (in certain cases this doesn&#039;t apply, however)&lt;br /&gt;
|-&lt;br /&gt;
| 0x086600C0&lt;br /&gt;
| [[4.0.0-7]]&lt;br /&gt;
| [[FS:GetSaveDataSecureValue|GetSaveDataSecureValue]]&lt;br /&gt;
| 0x121004 (in certain cases this doesn&#039;t apply, however)&lt;br /&gt;
|-&lt;br /&gt;
| 0x086700C4&lt;br /&gt;
| [[4.0.0-7]]&lt;br /&gt;
| [[FS:ControlSecureSave|ControlSecureSave]]&lt;br /&gt;
| 0x121004&lt;br /&gt;
|-&lt;br /&gt;
| 0x08680000&lt;br /&gt;
| [[4.0.0-7]]&lt;br /&gt;
| [[FS:GetMediaType|GetMediaType]]&lt;br /&gt;
| None&lt;br /&gt;
|-&lt;br /&gt;
| 0x08690000&lt;br /&gt;
| [[4.0.0-7]]&lt;br /&gt;
| [[FS:Obsoleted_4_0_GetNandEraseCount|Obsoleted_4_0_GetNandEraseCount]]&lt;br /&gt;
| Stubbed, this returns an error.&lt;br /&gt;
|-&lt;br /&gt;
| 0x086A0082&lt;br /&gt;
| [[4.0.0-7]]&lt;br /&gt;
| [[FS:ReadNandReport|ReadNandReport]]&lt;br /&gt;
| None&lt;br /&gt;
|-&lt;br /&gt;
| 0x086B00C2&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:SetOtherSaveDataSecureValue|SetOtherSaveDataSecureValue]]&lt;br /&gt;
| 0x121004&lt;br /&gt;
|-&lt;br /&gt;
| 0x086C00C2&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:GetOtherSaveDataSecureValue|GetOtherSaveDataSecureValue]]&lt;br /&gt;
| 0x121004&lt;br /&gt;
|-&lt;br /&gt;
| 0x086D0080&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:BeginSaveDataMove|BeginSaveDataMove]]&lt;br /&gt;
| 0x20004&lt;br /&gt;
|-&lt;br /&gt;
| 0x086E00C0&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:SetThisSaveDataSecureValue|SetThisSaveDataSecureValue]]&lt;br /&gt;
|None&lt;br /&gt;
|-&lt;br /&gt;
| 0x086F0040&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:GetThisSaveDataSecureValue|GetThisSaveDataSecureValue]]&lt;br /&gt;
| None&lt;br /&gt;
|-&lt;br /&gt;
| 0x087000C2&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:CheckArchive|CheckArchive]]&lt;br /&gt;
|None&lt;br /&gt;
|-&lt;br /&gt;
| 0x08710140&lt;br /&gt;
| ?&lt;br /&gt;
| [[FS:TransferSaveDataCMAC|TransferSaveDataCMAC]]&lt;br /&gt;
| 0x20004&lt;br /&gt;
|-&lt;br /&gt;
| 0x08720200&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:RegisterTitleContentOverlay|RegisterTitleContentOverlay]]&lt;br /&gt;
| 0x80004&lt;br /&gt;
|-&lt;br /&gt;
| 0x08730100&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:UnregisterTitleContentOverlay|UnregisterTitleContentOverlay]]&lt;br /&gt;
| 0x80004&lt;br /&gt;
|-&lt;br /&gt;
| 0x08740000&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:UnregisterAllTitleContentOverlays|UnregisterAllTitleContentOverlays]]&lt;br /&gt;
| 0x80004&lt;br /&gt;
|-&lt;br /&gt;
| 0x08750140&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:SetSaveArchiveSecureValue|SetSaveArchiveSecureValue]]&lt;br /&gt;
|None&lt;br /&gt;
|-&lt;br /&gt;
| 0x087600C0&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:GetSaveArchiveSecureValue|GetSaveArchiveSecureValue]]&lt;br /&gt;
|None&lt;br /&gt;
|-&lt;br /&gt;
| 0x08770140&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:RegisterSpecialTitleContent|RegisterSpecialTitleContent]]&lt;br /&gt;
| 0x80004&lt;br /&gt;
|-&lt;br /&gt;
| 0x08780100&lt;br /&gt;
|?&lt;br /&gt;
| [[FS:UnregisterSpecialTitleContent|UnregisterSpecialTitleContent]]&lt;br /&gt;
| 0x80004&lt;br /&gt;
|-&lt;br /&gt;
| 0x087900C2&lt;br /&gt;
| ?&lt;br /&gt;
| Same as [[FS:GetLegacyBannerData|GetLegacyBannerData]], except for the last parameter this internally passes u8 value 0x1 instead of 0x0, for the FSPXI command.&lt;br /&gt;
| 0x101015&lt;br /&gt;
|-&lt;br /&gt;
| 0x087A0180&lt;br /&gt;
| [[9.6.0-24|9.6.0-X]]&lt;br /&gt;
| [[FS:AddSeed|AddSeed]]&lt;br /&gt;
| 0x200000&lt;br /&gt;
|-&lt;br /&gt;
| 0x087B0080&lt;br /&gt;
| [[9.6.0-24|9.6.0-X]]&lt;br /&gt;
| [[FS:GetSeed|GetSeed]]&lt;br /&gt;
| 0x200000&lt;br /&gt;
|-&lt;br /&gt;
| 0x087C0080&lt;br /&gt;
| [[9.6.0-24|9.6.0-X]]&lt;br /&gt;
| [[FS:DeleteSeed|DeleteSeed]]&lt;br /&gt;
| 0x200000&lt;br /&gt;
|-&lt;br /&gt;
| 0x087D0000&lt;br /&gt;
| [[9.6.0-24|9.6.0-X]]&lt;br /&gt;
| [[FS:GetNumSeeds|GetNumSeeds]]&lt;br /&gt;
| 0x200000&lt;br /&gt;
|-&lt;br /&gt;
| 0x087E0042&lt;br /&gt;
| [[9.6.0-24|9.6.0-X]]&lt;br /&gt;
| [[FS:ListSeeds|ListSeeds]]&lt;br /&gt;
| 0x200000&lt;br /&gt;
|-&lt;br /&gt;
| 0x087F0100&lt;br /&gt;
| [[9.6.0-24|9.6.0-X]]&lt;br /&gt;
| [[FS:TitleContentHasSeed|TitleContentHasSeed]]&lt;br /&gt;
| 0x200000&lt;br /&gt;
|-&lt;br /&gt;
| 0x08800880&lt;br /&gt;
| [[9.6.0-24|9.6.0-X]]&lt;br /&gt;
| [[FS:AddTitleTag|AddTitleTag]]&lt;br /&gt;
| 0x200000&lt;br /&gt;
|-&lt;br /&gt;
| 0x08810080&lt;br /&gt;
| [[9.6.0-24|9.6.0-X]]&lt;br /&gt;
| [[FS:GetTitleTag|GetTitleTag]]&lt;br /&gt;
| 0x200000&lt;br /&gt;
|-&lt;br /&gt;
| 0x08820080&lt;br /&gt;
| [[9.6.0-24|9.6.0-X]]&lt;br /&gt;
| [[FS:DeleteTitleTag|DeleteTitleTag]]&lt;br /&gt;
| 0x200000&lt;br /&gt;
|-&lt;br /&gt;
| 0x08830000&lt;br /&gt;
| [[9.6.0-24|9.6.0-X]]&lt;br /&gt;
| [[FS:GetNumTitleTags|GetNumTitleTags]]&lt;br /&gt;
| 0x200000&lt;br /&gt;
|-&lt;br /&gt;
| 0x08840042&lt;br /&gt;
| [[9.6.0-24|9.6.0-X]]&lt;br /&gt;
| [[FS:ListTitleTags|ListTitleTags]]&lt;br /&gt;
| 0x200000&lt;br /&gt;
|-&lt;br /&gt;
| 0x088500C0&lt;br /&gt;
| [[9.6.0-24|9.6.0-X]]&lt;br /&gt;
| [[FS:CheckTitleSeed|CheckTitleSeed]]&lt;br /&gt;
| 0x200000&lt;br /&gt;
|-&lt;br /&gt;
| 0x088600C0&lt;br /&gt;
| [[11.1.0-34|11.1.0-X]]&lt;br /&gt;
| [[FS:CheckUpdatedDat|CheckUpdatedDat]]&lt;br /&gt;
| 0x80000&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Note: The question marks from Dummy1 to GetSpecialFileSize on the &amp;quot;available since system version&amp;quot; field are mainly there because I think that most of these are necessary for the main system to function, so theoretically that would mean that since the creation of the 3DS these were available, or since launch if that makes more sense. But because of the peculiar nature of some of the functions, they will remain question marks until they can be confirmed 100%.&lt;br /&gt;
&lt;br /&gt;
When access rights are required for a command, at least one of the bits in the process access info specified in the above table for the command must be set. Error 0xD9004676 is returned when a process attempts to use a command which it doesn&#039;t have access rights for the command. The exheader access info field is all zero&#039;s for most applications. Note that the permissions listed in the above table is for system-version v2.x, therefore permission bit(s) added with newer FIRM may be missing from this.&lt;br /&gt;
&lt;br /&gt;
Each session for fs:USER has separate permissions, initially these are set to all zero&#039;s for new fs:USER sessions. The permissions/etc for fs:USER sessions are initialized via [[FS:Initialize]](loaded from the user process exheader).&lt;br /&gt;
&lt;br /&gt;
{{Anchor|FSLDR}}{{Anchor|fs:LDR}}&lt;br /&gt;
&lt;br /&gt;
== Filesystem service &amp;quot;fs:LDR&amp;quot; ==&lt;br /&gt;
This service is identical to fs:USER, except [[FS:OpenArchive]] archive 0x2345678E can only be accessed with fs:LDR.&lt;br /&gt;
&lt;br /&gt;
{{Anchor|FSReg}}{{Anchor|FSREG}}{{Anchor|fs:REG}}&lt;br /&gt;
== ProgramRegistry service &amp;quot;fs:REG&amp;quot; ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!  Command Header&lt;br /&gt;
!  Description&lt;br /&gt;
|-&lt;br /&gt;
| 0x000100C6&lt;br /&gt;
| [[FSReg:Dummy1|Dummy1]]&lt;br /&gt;
|-&lt;br /&gt;
| 0x040103C0&lt;br /&gt;
| [[FSReg:Register|Register]]&lt;br /&gt;
|-&lt;br /&gt;
| 0x04020040&lt;br /&gt;
| [[FSReg:Unregister|Unregister]]&lt;br /&gt;
|-&lt;br /&gt;
| 0x040300C0&lt;br /&gt;
| [[FSReg:GetProgramInfo|GetProgramInfo]]&lt;br /&gt;
|-&lt;br /&gt;
| 0x04040100&lt;br /&gt;
| [[FSReg:LoadProgram|LoadProgram]]&lt;br /&gt;
|-&lt;br /&gt;
| 0x04050080&lt;br /&gt;
| [[FSReg:UnloadProgram|UnloadProgram]]&lt;br /&gt;
|-&lt;br /&gt;
| 0x04060080&lt;br /&gt;
| [[FSReg:CheckHostLoadId|CheckHostLoadId]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Only two sessions can be opened for this service at a time, hence no other processes can use this due to [[Process_Manager_Services|pm-module]] and [[Loader_Services|loader]] using this.&lt;br /&gt;
&lt;br /&gt;
=File and directory access=&lt;br /&gt;
==Files==&lt;br /&gt;
File session handles obtained via [[FS:OpenFile]] and [[FS:OpenFileDirectly]] can be used to access files through a service-like interface, despite not being an actual service registered using [[SRV:RegisterService]]. To use this service-like interface, simply call the SendSyncRequest SVC with a file session handle, using the IPC buffer in thread-local storage for parameters and responses, just like you would with a proper service.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!  Command Header&lt;br /&gt;
!  Description&lt;br /&gt;
|-&lt;br /&gt;
| 0x000100C6&lt;br /&gt;
| [[FSFile:Dummy1|Dummy1]]&lt;br /&gt;
|-&lt;br /&gt;
| 0x040100C4&lt;br /&gt;
| [[FSFile:Control|Control]]&lt;br /&gt;
|-&lt;br /&gt;
| 0x08010100&lt;br /&gt;
| [[FSFile:OpenSubFile|OpenSubFile]]&lt;br /&gt;
|-&lt;br /&gt;
| 0x080200C2&lt;br /&gt;
| [[FSFile:Read|Read]]&lt;br /&gt;
|-&lt;br /&gt;
| 0x08030102&lt;br /&gt;
| [[FSFile:Write|Write]]&lt;br /&gt;
|-&lt;br /&gt;
| 0x08040000&lt;br /&gt;
| [[FSFile:GetSize|GetSize]]&lt;br /&gt;
|-&lt;br /&gt;
| 0x08050080&lt;br /&gt;
| [[FSFile:SetSize|SetSize]]&lt;br /&gt;
|-&lt;br /&gt;
| 0x08060000&lt;br /&gt;
| [[FSFile:GetAttributes|GetAttributes]]&lt;br /&gt;
|-&lt;br /&gt;
| 0x08070040&lt;br /&gt;
| [[FSFile:SetAttributes|SetAttributes]]&lt;br /&gt;
|-&lt;br /&gt;
| 0x08080000&lt;br /&gt;
| [[FSFile:Close|Close]]&lt;br /&gt;
|-&lt;br /&gt;
| 0x08090000&lt;br /&gt;
| [[FSFile:Flush|Flush]]&lt;br /&gt;
|-&lt;br /&gt;
| 0x080A0040&lt;br /&gt;
| [[FSFile:SetPriority|SetPriority]]&lt;br /&gt;
|-&lt;br /&gt;
| 0x080B0000&lt;br /&gt;
| [[FSFile:GetPriority|GetPriority]]&lt;br /&gt;
|-&lt;br /&gt;
| 0x080C0000&lt;br /&gt;
| [[FSFile:OpenLinkFile|OpenLinkFile]]&lt;br /&gt;
|-&lt;br /&gt;
| 0x0C010100&lt;br /&gt;
| [[FSFile:GetAvailable|GetAvailable]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Directories==&lt;br /&gt;
Directory session handles obtained via [[FS:OpenDirectory]] are usable via a service-like interface, following the exact same procedure described above for file sessions.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!  Command Header&lt;br /&gt;
!  Available since system version&lt;br /&gt;
!  Description&lt;br /&gt;
|-&lt;br /&gt;
| 0x000100C6&lt;br /&gt;
| [[1.0.0-0]]&lt;br /&gt;
| [[FSDir:Dummy1|Dummy1]]&lt;br /&gt;
|-&lt;br /&gt;
| 0x040100C4&lt;br /&gt;
| [[1.0.0-0]]&lt;br /&gt;
| [[FSDir:Control|Control]]&lt;br /&gt;
|-&lt;br /&gt;
| 0x08010042&lt;br /&gt;
| [[1.0.0-0]]&lt;br /&gt;
| [[FSDir:Read|Read]]&lt;br /&gt;
|-&lt;br /&gt;
| 0x08020000&lt;br /&gt;
| [[1.0.0-0]]&lt;br /&gt;
| [[FSDir:Close|Close]]&lt;br /&gt;
|-&lt;br /&gt;
| 0x08030040&lt;br /&gt;
| ?&lt;br /&gt;
| [[FSDir:SetPriority|SetPriority]]&lt;br /&gt;
|-&lt;br /&gt;
| 0x08040000&lt;br /&gt;
| ?&lt;br /&gt;
| [[FSDir:GetPriority|GetPriority]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
= Archives =&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!  ArchiveId&lt;br /&gt;
!  Description&lt;br /&gt;
!  Accessible via [[Filesystem_services|FS]]&lt;br /&gt;
!  Accessible via [[Filesystem_services_PXI|FSPXI]]&lt;br /&gt;
!  Only accessible by Process9 internally&lt;br /&gt;
!  Requires binary [[FS:OpenFile|Lowpath]]&lt;br /&gt;
!  Required exheader FS access info bitmask&lt;br /&gt;
|-&lt;br /&gt;
| 0x00000003&lt;br /&gt;
| SelfNCCH (including [[#RomFS|RomFS]])&lt;br /&gt;
| Yes&lt;br /&gt;
| No&lt;br /&gt;
| No&lt;br /&gt;
| No&lt;br /&gt;
| None&lt;br /&gt;
|-&lt;br /&gt;
| 0x00000004&lt;br /&gt;
| SaveData (the saveID/mediatype for this is loaded from data originally from the user process&#039; exheader)&lt;br /&gt;
| Yes&lt;br /&gt;
| No&lt;br /&gt;
| No&lt;br /&gt;
| No&lt;br /&gt;
| None&lt;br /&gt;
|-&lt;br /&gt;
| 0x00000006&lt;br /&gt;
| ExtSaveData&lt;br /&gt;
| Yes&lt;br /&gt;
| No&lt;br /&gt;
| No&lt;br /&gt;
| Yes&lt;br /&gt;
| 0x100D, when the input extdataID isn&#039;t listed in the exheader.&lt;br /&gt;
|-&lt;br /&gt;
| 0x00000007&lt;br /&gt;
| Shared ExtSaveData&lt;br /&gt;
| Yes&lt;br /&gt;
| No&lt;br /&gt;
| No&lt;br /&gt;
| Yes&lt;br /&gt;
| None&lt;br /&gt;
|-&lt;br /&gt;
| 0x00000008&lt;br /&gt;
| SystemSaveData&lt;br /&gt;
| Yes&lt;br /&gt;
| No&lt;br /&gt;
| No&lt;br /&gt;
| Yes&lt;br /&gt;
| 0x4, when the input saveID doesn&#039;t match the exheader system-saveID.&lt;br /&gt;
|-&lt;br /&gt;
| 0x00000009&lt;br /&gt;
| SDMC&lt;br /&gt;
| Yes&lt;br /&gt;
| Yes&lt;br /&gt;
| No&lt;br /&gt;
| No&lt;br /&gt;
| 0x8E&lt;br /&gt;
|-&lt;br /&gt;
| 0x0000000A&lt;br /&gt;
| SDMC Write-Only&lt;br /&gt;
| Yes&lt;br /&gt;
| No&lt;br /&gt;
| No&lt;br /&gt;
| No&lt;br /&gt;
| 0x808E&lt;br /&gt;
|-&lt;br /&gt;
| 0x12345678&lt;br /&gt;
| ExtSaveData for BOSS&lt;br /&gt;
| Yes&lt;br /&gt;
| No&lt;br /&gt;
| No&lt;br /&gt;
| Yes&lt;br /&gt;
| 0x44&lt;br /&gt;
|-&lt;br /&gt;
| 0x12345679&lt;br /&gt;
| CARD SPI FS&lt;br /&gt;
| Yes&lt;br /&gt;
| Yes&lt;br /&gt;
| No&lt;br /&gt;
| No&lt;br /&gt;
| 0x16&lt;br /&gt;
|-&lt;br /&gt;
| 0x1234567B&lt;br /&gt;
| ExtSaveData, and ExtSaveData for BOSS&lt;br /&gt;
| No&lt;br /&gt;
| Yes&lt;br /&gt;
| No&lt;br /&gt;
| Yes&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| 0x1234567C&lt;br /&gt;
| SystemSaveData&lt;br /&gt;
| No&lt;br /&gt;
| Yes&lt;br /&gt;
| No&lt;br /&gt;
| Yes&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| 0x1234567D&lt;br /&gt;
| NAND RW&lt;br /&gt;
| Yes&lt;br /&gt;
| Yes&lt;br /&gt;
| No&lt;br /&gt;
| No&lt;br /&gt;
| 0x800&lt;br /&gt;
|-&lt;br /&gt;
| 0x1234567E&lt;br /&gt;
| NAND RO&lt;br /&gt;
| Yes&lt;br /&gt;
| Yes&lt;br /&gt;
| No&lt;br /&gt;
| No&lt;br /&gt;
| 0x200&lt;br /&gt;
|-&lt;br /&gt;
| 0x1234567F&lt;br /&gt;
| NAND RO Write FS&lt;br /&gt;
| No&lt;br /&gt;
| Yes&lt;br /&gt;
| No&lt;br /&gt;
| No&lt;br /&gt;
| ?&lt;br /&gt;
|-&lt;br /&gt;
| 0x12345680&lt;br /&gt;
| Extdata transfer. Used for transferring [[Extdata#NAND_Shared_Extdata|NAND Shared Extdata]] during [[System_Transfer#System_Save_Data_/_Shared_Extdata_Transfer|system tranfers]].&lt;br /&gt;
| Yes&lt;br /&gt;
| Yes&lt;br /&gt;
| No&lt;br /&gt;
| Yes&lt;br /&gt;
| ?&lt;br /&gt;
|-&lt;br /&gt;
| 0x12345681&lt;br /&gt;
| System Savedata transfer. Used for transferring [[System_SaveData|System Save Data]] during [[System_Transfer#System_Save_Data_/_Shared_Extdata_Transfer|system tranfers]].&lt;br /&gt;
| Yes&lt;br /&gt;
| Yes&lt;br /&gt;
| No&lt;br /&gt;
| Yes&lt;br /&gt;
| ?&lt;br /&gt;
|-&lt;br /&gt;
| 0x12345682&lt;br /&gt;
| Unknown. There&#039;s code for this in spider v9.9, but that code isn&#039;t actually used.&lt;br /&gt;
| Yes&lt;br /&gt;
| No&lt;br /&gt;
| No&lt;br /&gt;
| Yes&lt;br /&gt;
| ?&lt;br /&gt;
|-&lt;br /&gt;
| 0x2345678A&lt;br /&gt;
| Title access. With FS, this allows accessing NCCH/NCSD contents (ExeFS, RomFS, checking if a content uses a seed, checking the validity of the installed seed). FSPXI, additionally, allows opening raw NCCH/NCSD NCCH contents and DSiWare contents for reading, along with encrypted save data.&lt;br /&gt;
| Yes&lt;br /&gt;
| Yes&lt;br /&gt;
| No&lt;br /&gt;
| Yes&lt;br /&gt;
| 0x1005&lt;br /&gt;
|-&lt;br /&gt;
| 0x2345678B&lt;br /&gt;
| Used internally by Process9 as the lowest level title access archive. Allows for opening various sections of a title (TMD, CMD, raw contents, DLC contents, raw save data (including public/private/banner saves for DSiWare), title and/or content import context files and /data directories for save data.&lt;br /&gt;
| No&lt;br /&gt;
| No&lt;br /&gt;
| Yes&lt;br /&gt;
| Yes&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| 0x2345678C&lt;br /&gt;
| Used internally to access [[Title_Database|Title Database (/dbs)]] files. For SD, &amp;lt;code&amp;gt;title.db&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;import.db&amp;lt;/code&amp;gt;. For NAND, &amp;lt;code&amp;gt;title.db&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;import.db&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;tmp_t.db&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;tmp_i.db&amp;lt;/code&amp;gt;, and &amp;lt;code&amp;gt;jumpid.db&amp;lt;/code&amp;gt;.&lt;br /&gt;
| No&lt;br /&gt;
| No&lt;br /&gt;
| Yes&lt;br /&gt;
| Yes&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| 0x2345678D&lt;br /&gt;
| Used internally to access non-title /dbs files on the NAND: &amp;lt;code&amp;gt;certs.db&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;ticket.db&amp;lt;/code&amp;gt;.&lt;br /&gt;
| No&lt;br /&gt;
| No&lt;br /&gt;
| Yes&lt;br /&gt;
| No&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| 0x2345678E&lt;br /&gt;
| FSPXI: Program Access (limited subset of merged main title + update/patch title access). For fs:LDR(used by the &amp;quot;loader&amp;quot; FIRM ARM11-process), only &amp;lt;code&amp;gt;exefs:/.code&amp;lt;/code&amp;gt;. Not accessible with fs:USER.&lt;br /&gt;
| Yes&lt;br /&gt;
| Yes&lt;br /&gt;
| No&lt;br /&gt;
| Yes&lt;br /&gt;
| None, see description.&lt;br /&gt;
|-&lt;br /&gt;
| 0x567890AB&lt;br /&gt;
| NAND CTR FS&lt;br /&gt;
| No&lt;br /&gt;
| Yes&lt;br /&gt;
| No&lt;br /&gt;
| No&lt;br /&gt;
| ?&lt;br /&gt;
|-&lt;br /&gt;
| 0x567890AC&lt;br /&gt;
| TWL PHOTO&lt;br /&gt;
| Yes&lt;br /&gt;
| Yes&lt;br /&gt;
| No&lt;br /&gt;
| No&lt;br /&gt;
| ?&lt;br /&gt;
|-&lt;br /&gt;
| 0x567890AD&lt;br /&gt;
| TWLS (DSi Sound stores recordings here). This is mapped to the FAT12 image stored in the file at [[Twln/shared2/0000]].&lt;br /&gt;
| No&lt;br /&gt;
| Yes&lt;br /&gt;
| No&lt;br /&gt;
| No&lt;br /&gt;
| ?&lt;br /&gt;
|-&lt;br /&gt;
| 0x567890AE&lt;br /&gt;
| NAND TWL FS&lt;br /&gt;
| Yes&lt;br /&gt;
| Yes&lt;br /&gt;
| No&lt;br /&gt;
| No&lt;br /&gt;
| 0x100&lt;br /&gt;
|-&lt;br /&gt;
| 0x567890AF&lt;br /&gt;
| NAND W FS&lt;br /&gt;
| Yes&lt;br /&gt;
| Yes&lt;br /&gt;
| No&lt;br /&gt;
| No&lt;br /&gt;
| 0x100&lt;br /&gt;
|-&lt;br /&gt;
| 0x567890B0&lt;br /&gt;
| Internally creates the same &amp;quot;ID Storage&amp;quot; wrapper over the NAND that is used for SystemSaveData and Shared ExtData, but all operations are stubbed and return 0xE0C046F8.&lt;br /&gt;
| No&lt;br /&gt;
| Yes&lt;br /&gt;
| No&lt;br /&gt;
| No&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| 0x567890B1&lt;br /&gt;
| Gamecard SaveData (for check). This is a wrapper for UserSaveDataForCheck: the OpenArchive code for that is called with archive-lowpath TID=0/mediatype=2(gamecard).&lt;br /&gt;
| Yes&lt;br /&gt;
| No&lt;br /&gt;
| No&lt;br /&gt;
| No&lt;br /&gt;
| 0x6&lt;br /&gt;
|-&lt;br /&gt;
| 0x567890B2&lt;br /&gt;
| UserSaveData (for check). This is the same as the regular SaveData archive, except with this the savedata ID and mediatype is loaded from the input archive lowpath.&lt;br /&gt;
| Yes&lt;br /&gt;
| No&lt;br /&gt;
| No&lt;br /&gt;
| Yes&lt;br /&gt;
| 0x6&lt;br /&gt;
|-&lt;br /&gt;
| 0x567890B3&lt;br /&gt;
| [[3DS_Virtual_Console#NAND_Savegame|AGB Save Data]]&lt;br /&gt;
| No&lt;br /&gt;
| No&lt;br /&gt;
| Yes&lt;br /&gt;
| No&lt;br /&gt;
| -&lt;br /&gt;
|-&lt;br /&gt;
| 0x567890B4&lt;br /&gt;
| Similar to 0x567890B2 but can only access Accessible Save specified in [[NCCH/Extended_Header#Storage_Info|exheader]]?&lt;br /&gt;
| Yes&lt;br /&gt;
| No&lt;br /&gt;
| No&lt;br /&gt;
| Yes&lt;br /&gt;
| ?&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Archives listed as not requiring a binary lowpath, use lowpath type [[FS:OpenFile|empty]].&lt;br /&gt;
&lt;br /&gt;
The above permission bitmasks are from v2.x, see the above Services section for how these are handled.&lt;br /&gt;
&lt;br /&gt;
Archives CTR NAND, NAND RO Write FS, TWL NAND, NAND W FS, and CARD SPI FS require the corresponding process exheader access control mount flag to be set, in the exheader for any of the currently running ARM11 processes, for [[Filesystem_services_PXI|FSPXI]]. The access rights checked by [[Filesystem services|FS]] module for archive mounting with fs:USER, are stored in the process&#039; exheader accessinfo.&lt;br /&gt;
&lt;br /&gt;
The CARDSPI archive allows access to the gamecard CARD1 raw savedata flash(aka &amp;quot;cardspi:/&amp;quot; in [[FIRM|Process9]]), the file lowpath must be WCHAR &amp;quot;/&amp;quot;. The &amp;quot;NAND W FS&amp;quot; archive allows access to the raw NAND image(aka &amp;quot;wnand:/&amp;quot; in Process9), the file lowpath must be WCHAR &amp;quot;/&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
= Filenames and Paths =&lt;br /&gt;
{{Anchor|PathType}}&lt;br /&gt;
==PathType==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!  Value&lt;br /&gt;
!  Description&lt;br /&gt;
|-&lt;br /&gt;
| -1&lt;br /&gt;
| Returned internally by Process9, when errors occur it seems(in particular when no nul-terminator was found in the input path). The data ptr is set to NULL.&lt;br /&gt;
|-&lt;br /&gt;
| 0x0&lt;br /&gt;
| INVALID - Specifies an invalid path&lt;br /&gt;
|-&lt;br /&gt;
| 0x1&lt;br /&gt;
| EMPTY - Specifies an empty path&lt;br /&gt;
|-&lt;br /&gt;
| 0x2&lt;br /&gt;
| BINARY - Non-text based path. Meaning is per-archive&lt;br /&gt;
|-&lt;br /&gt;
| 0x3&lt;br /&gt;
| ASCII - Text-based path with 7-bit ASCII characters padded to 8-bits each (signed char)&lt;br /&gt;
|-&lt;br /&gt;
| 0x4&lt;br /&gt;
| UTF16 - Text-based path with UTF-16 characters&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
In IPC requests, sizes of ASCII and UTF16 paths must include space for the null-terminator. &lt;br /&gt;
&lt;br /&gt;
== Binary LowPath ==&lt;br /&gt;
The format of the data that a binary LowPath points to is custom per archive.&lt;br /&gt;
&lt;br /&gt;
=== SystemSaveData / Extdata / Shared Extdata Archive Path Data Format ===&lt;br /&gt;
&lt;br /&gt;
==== DataAccessPath ====&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 !! Size !! Description&lt;br /&gt;
|-&lt;br /&gt;
| 0x0 || 0x1 || u8 [[Mediatypes|Mediatype]]&lt;br /&gt;
|-&lt;br /&gt;
| 0x1 || 0x1 || only for NAND data (System Savedata / Shared Extdata), otherwise left 0:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Value !! Description&lt;br /&gt;
|-&lt;br /&gt;
| 0 || Accesses from/to &amp;lt;code&amp;gt;nand:/data/&amp;lt;ID0 of current system&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| 1 || Accesses from/to &amp;lt;code&amp;gt;nand:/fixdata&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| 2 || Accesses from/to &amp;lt;code&amp;gt;nand:/data/&amp;lt;ID0 from [[Filesystem_services#DeviceMoveContext|Device Move Context]]&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
|-&lt;br /&gt;
| 0x2 || 0x2 || padding&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== SystemSaveData ====&lt;br /&gt;
&lt;br /&gt;
===== FS =====&lt;br /&gt;
&lt;br /&gt;
====== Archive Path ======&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!  Index word&lt;br /&gt;
!  Description&lt;br /&gt;
|-&lt;br /&gt;
| 0 &lt;br /&gt;
| [[Filesystem_services#DataAccessPath|DataAccessPath]]&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| save ID low (save ID high is 0)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
====== File Path ======&lt;br /&gt;
The file path is a cleartext ASCII or UTF16 file path (&amp;lt;code&amp;gt;&amp;lt;file path&amp;gt;&amp;lt;/code&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
The file path would access the file at &amp;lt;code&amp;gt;&amp;lt;base path&amp;gt;/sysdata/&amp;lt;save ID low&amp;gt;/&amp;lt;save ID high&amp;gt;/&amp;lt;file path&amp;gt;&amp;lt;/code&amp;gt;.&lt;br /&gt;
Note that &amp;lt;code&amp;gt;/&amp;lt;file path&amp;gt;&amp;lt;/code&amp;gt; refers to the virtual file system inside the &amp;lt;/code&amp;gt;&amp;lt;save ID high&amp;gt;&amp;lt;/code&amp;gt; file.&lt;br /&gt;
&lt;br /&gt;
===== FSPXI / FS System Savedata Transfer / FSPXI System Savedata Transfer =====&lt;br /&gt;
&lt;br /&gt;
====== Archive Path ======&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!  Index word&lt;br /&gt;
!  Description&lt;br /&gt;
|-&lt;br /&gt;
| 0 &lt;br /&gt;
| [[Filesystem_services#DataAccessPath|DataAccessPath]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
====== File Path ======&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Index word !! Description&lt;br /&gt;
|-&lt;br /&gt;
| 0 || save ID low&lt;br /&gt;
|-&lt;br /&gt;
| 1 || save ID high&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The file path would access the file at &amp;lt;code&amp;gt;&amp;lt;base path&amp;gt;/sysdata/&amp;lt;save ID low&amp;gt;/&amp;lt;save ID high&amp;gt;&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==== Extdata / Shared Extdata ====&lt;br /&gt;
&lt;br /&gt;
===== FS / FS Extdata Transfer / FSPXI Extdata Transfer =====&lt;br /&gt;
&lt;br /&gt;
====== Archive Path ======&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!  Index word&lt;br /&gt;
!  Description&lt;br /&gt;
|-&lt;br /&gt;
| 0 &lt;br /&gt;
| [[Filesystem_services#DataAccessPath|DataAccessPath]]&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| ext save ID low&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| ext save ID high&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
This refers to the extdata filesystem structure&#039;s base directory at &amp;lt;code&amp;gt;&amp;lt;base path&amp;gt;/extdata/&amp;lt;ext save ID low&amp;gt;/&amp;lt;ext save ID high&amp;gt;&amp;lt;/code&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
====== File Path ======&lt;br /&gt;
The file path is a cleartext ASCII or UTF16 file path (&amp;lt;code&amp;gt;&amp;lt;file path&amp;gt;&amp;lt;/code&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
For FS Extdata, this would acccess &amp;lt;code&amp;gt;&amp;lt;base path&amp;gt;/extdata/&amp;lt;save ID low&amp;gt;/&amp;lt;save ID high&amp;gt;/&amp;lt;directory ID&amp;gt;/&amp;lt;file ID&amp;gt;/&amp;lt;file path&amp;gt;&amp;lt;/code&amp;gt;, and &amp;lt;code&amp;gt;/&amp;lt;file path&amp;gt;&amp;lt;/code&amp;gt; refers to the virtual file system inside the &amp;lt;/code&amp;gt;&amp;lt;file ID&amp;gt;&amp;lt;/code&amp;gt; file.&lt;br /&gt;
&lt;br /&gt;
For FS / FSPXI Extdata Transfer, this accesses &amp;lt;code&amp;gt;&amp;lt;base path&amp;gt;/extdata/&amp;lt;save ID low&amp;gt;/&amp;lt;save ID high&amp;gt;/&amp;lt;file path&amp;gt;&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== UserSaveDataForCheck Archive Path Data Format ===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!  Index word&lt;br /&gt;
!  Description&lt;br /&gt;
|-&lt;br /&gt;
| 0 &lt;br /&gt;
| [[Mediatypes|Mediatype]] (must be non-zero)&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| Lower word saveid&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| Upper word saveid&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The file/directory lowpath for this FS archive is a text path in the [[Savegames|savegame]] filesystem.&lt;br /&gt;
&lt;br /&gt;
=== 0x567890B4 Archive Path Data Format ===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!  Index word&lt;br /&gt;
!  Description&lt;br /&gt;
|-&lt;br /&gt;
| 0 &lt;br /&gt;
| [[Mediatypes|Mediatype]]&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;Lower_word_saveid &amp;gt;&amp;gt; 8&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; ?&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| Unknown. Game calculate this using formula &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;0xFFFFFF00 | unknown_b&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Title Access Archive Path Data Format ===&lt;br /&gt;
==== Title Access Type ====&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Value !! Description&lt;br /&gt;
|-&lt;br /&gt;
| 0 || High-level NCCH content access&lt;br /&gt;
|-&lt;br /&gt;
| 1 || Save data access (high-level, decrypted)&lt;br /&gt;
|-&lt;br /&gt;
| 2 || Raw content (low-level NCCH/SRL) access&lt;br /&gt;
|-&lt;br /&gt;
| 3 || Banner save data access (for DSiWare titles)&lt;br /&gt;
|-&lt;br /&gt;
| 4 || FS only: Save data transfer (internally uses generated data from [[FS:BeginSaveDataMove]] as the IV for &amp;quot;Save data access (low-level, encrypted)&amp;quot;)&lt;br /&gt;
|-&lt;br /&gt;
| 5 || Save data access (low-level, encrypted)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== NCCH Access Type ====&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Value !! Description&lt;br /&gt;
|-&lt;br /&gt;
| 0 || RomFS&lt;br /&gt;
|-&lt;br /&gt;
| 1 || &amp;lt;code&amp;gt;exefs:/.code&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| 2 || System Menu Data (&amp;lt;code&amp;gt;exefs:/icon&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;exefs:/banner&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;exefs:/logo&amp;lt;/code&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| 3 || NCCH Header(s)&lt;br /&gt;
|-&lt;br /&gt;
| 4 || &amp;quot;is seeded&amp;quot; check&lt;br /&gt;
|-&lt;br /&gt;
| 5 || Seed verify/validate&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== NCCH Header Access Type ====&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Value !! Description&lt;br /&gt;
|-&lt;br /&gt;
| 0 || [[NCCH/Extended_Header|Extheader]] (0x0-0x400)&lt;br /&gt;
|-&lt;br /&gt;
| 1 || [[NCCH/Extended_Header|Extheader]] AccessDesc (0x400-0x800)&lt;br /&gt;
|-&lt;br /&gt;
| 2 || Raw [[NCCH#NCCH_Header|NCCH Header]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== Archive Path ====&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 !! Size !! Description&lt;br /&gt;
|-&lt;br /&gt;
| 0x0 || 0x8 || Program ID (Title ID)&lt;br /&gt;
|-&lt;br /&gt;
| 0x9 || 0x1 || [[Mediatypes|Media Type]]&lt;br /&gt;
|-&lt;br /&gt;
| 0xA || 0x7 || padding&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== File Path ====&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 !! Size !! Description&lt;br /&gt;
|-&lt;br /&gt;
| 0x0 || 0x4 || [[Filesystem_services#Title_Access_Type|Title Access Type]]&lt;br /&gt;
|-&lt;br /&gt;
| 0x4 || 0x10 || Dynamic data depending on [[Filesystem_services#Title_Access_Type|Title Access Type]]:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! High Level NCCH Access !! Save Data Access (high level) !! Raw Content !! FS only: Save Data Transfer&lt;br /&gt;
|-&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 !! Size !! Description&lt;br /&gt;
|-&lt;br /&gt;
| 0x0 || 0x4 || Content index from TMD for NAND/SD titles&lt;br /&gt;
NCSD partition index for gamecards&lt;br /&gt;
|-&lt;br /&gt;
| 0x4 || 0x4 || [[Filesystem_services#NCCH_Access_Type|NCCH Access Type]]&lt;br /&gt;
|-&lt;br /&gt;
| 0x8 || 0x8 || Dynamic data depending on [[Filesystem_services#NCCH_Access_Type|NCCH Access Type]]:&lt;br /&gt;
For ExeFS, (System Menu Data / &amp;lt;code&amp;gt;exefs:/.code&amp;lt;/code&amp;gt;),&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
| 8-byte ExeFS file name&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
For Header Access,&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
| [[Filesystem_services#NCCH_Header_Access_Type|u64, NCCH Header Access Type]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
For RomFS,&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
| [[NCCH#Content_Types|u64, Allowed content types flag]]&lt;br /&gt;
(&amp;lt;code&amp;gt;(1 &amp;lt;&amp;lt; allowed_type_a) |&lt;br /&gt;
&lt;br /&gt;
(1 &amp;lt;&amp;lt; allowed_type_b)...&amp;lt;/code&amp;gt;)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
|}&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 !! Size !! Description&lt;br /&gt;
|-&lt;br /&gt;
| 0x0 || 0x10 || 16-byte IV for save data crypto&lt;br /&gt;
|}&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 !! Size !! Description&lt;br /&gt;
|-&lt;br /&gt;
| 0x0 || 0x4 || Content index from TMD for NAND/SD titles&lt;br /&gt;
NCSD partition index for gamecards&lt;br /&gt;
|-&lt;br /&gt;
| 0x4 || 0xC || padding&lt;br /&gt;
|}&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 !! Size !! Description&lt;br /&gt;
|-&lt;br /&gt;
| 0x0 || 0x4 || Save data transfer key from [[FS:BeginSaveDataMove]]&lt;br /&gt;
|-&lt;br /&gt;
| 0x4 || 0xC || padding&lt;br /&gt;
|}&lt;br /&gt;
|}&lt;br /&gt;
|-&lt;br /&gt;
| 0x14 || 0x10 || 16-byte seed for titles that require one, or for validating a seed against the check value in the [[NCCH#NCCH_Header|NCCH Header]]&#039;s check value.&lt;br /&gt;
If the title does not use a seed, this should not be included and size 0x14 should be used instead of 0x24.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
For encrypted save data access and banner save data access, the entire 0x10 portion of the dynamic data is left blank.&lt;br /&gt;
&lt;br /&gt;
The &amp;quot;is seeded check&amp;quot; NCCH access type opens a virtual 1-byte file that reads either 0 or 1; this value is generated on-the-fly and will be 1 if ncchflags[7] has bit5 set (content uses seed), and 0 otherwise.&lt;br /&gt;
&lt;br /&gt;
For NCCH sections that require a seed (e.g. &amp;lt;code&amp;gt;.code&amp;lt;/code&amp;gt;, RomFS, etc.), the additional seed portion of the low path must be populated with the correct seed. &lt;br /&gt;
&lt;br /&gt;
The &amp;quot;Seed Verify/Validate&amp;quot; NCCH access type also requires the seed portion of the lowpath. The target NCCH content is opened (with the opened file interface being stubbed, meaning no real reads/writes can be performed on it), and the given seed is used to calculate the seed check hash, and part of it is compared to the check value in the NCCH header. If it matches, opening the &amp;quot;file&amp;quot; succeeds, otherwise 0xD900458C is returned. If attempt is made to use the seed validation type on a content that does not use a seed, error 0xC92044E6 is returned.&lt;br /&gt;
&lt;br /&gt;
==== FS Limitations ====&lt;br /&gt;
&lt;br /&gt;
For FS, this archive functions the same, except for the following limitations:&lt;br /&gt;
&lt;br /&gt;
- Only the title access types &amp;quot;High Level NCCH Access&amp;quot; and &amp;quot;High Level Save Data Access&amp;quot;, and &amp;quot;Save Data Transfer&amp;quot; are allowed.&lt;br /&gt;
&lt;br /&gt;
- For high level NCCH access, the types &amp;quot;RomFS&amp;quot;, &amp;quot;System Menu Data&amp;quot;, &amp;quot;Seeded check&amp;quot;, and &amp;quot;Seed Check/Verify&amp;quot; are allowed.&lt;br /&gt;
&lt;br /&gt;
- For &amp;quot;Seed Check/Verify&amp;quot;, rather than providing the title seed in the file path (as is the case for FSPXI), the seed is retrieved from the seed database (meaning the file lowpath size is always 0x14 for FS).&lt;br /&gt;
&lt;br /&gt;
=== Program Access / SelfNCCH access ===&lt;br /&gt;
&lt;br /&gt;
Provides access to a &amp;quot;merged&amp;quot; archive of a base title and, optionally, a separate update (patch) title.&lt;br /&gt;
&lt;br /&gt;
If no patch title exists, the base title is considered to be the patch title, i.e. turning all &amp;quot;patch&amp;quot; accesses into accesses to the base title.&lt;br /&gt;
&lt;br /&gt;
==== Program Access Type ====&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Value !! Description !! Accesses&lt;br /&gt;
|-&lt;br /&gt;
| 0 || RomFS (&amp;quot;unspecified&amp;quot; [[NCCH#Content_Type|content type]], the default) || Base title&lt;br /&gt;
|-&lt;br /&gt;
| 1 || &amp;lt;code&amp;gt;exefs:/.code&amp;lt;/code&amp;gt; || Patch title&lt;br /&gt;
|-&lt;br /&gt;
| 2 || System Menu Data (&amp;lt;code&amp;gt;exefs:/icon&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;exefs:/banner&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;exefs:/logo&amp;lt;/code&amp;gt;) || Base title&lt;br /&gt;
|-&lt;br /&gt;
| 3 || Save Data (high level, decrypted) || -&lt;br /&gt;
|-&lt;br /&gt;
| 4 || RomFS (all [[NCCH#Content_Type|content types]]) || Base title&lt;br /&gt;
|-&lt;br /&gt;
| 5 || RomFS (&amp;quot;unspecified&amp;quot; [[NCCH#Content_Type|content type]], the default) || Patch title&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== Archive Path ====&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Offset !! Size !! Description&lt;br /&gt;
|-&lt;br /&gt;
| 0x0 || 0x8 || u64, Program Handle from [[PXIPM:RegisterProgram]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== File Path ====&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Offset !! Size !! Description&lt;br /&gt;
|-&lt;br /&gt;
| 0x0 || 0x4 || [[Filesystem_services#Program_Access_Type|Program Access Type]]&lt;br /&gt;
|-&lt;br /&gt;
| 0x4 || 0x8 || Dynamic data depending on [[Filesystem_services#Program_Access_Type|Program Access Type]]:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! ExeFS files (System Menu Data, etc.) !! RomFS of base title (all [[NCCH#Content_Type|content types]])&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
| 8-character ExeFS filename&lt;br /&gt;
|}&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 !! Size !! Description&lt;br /&gt;
|-&lt;br /&gt;
| 0x0 || 0x4 || u32, content index of target content&lt;br /&gt;
|-&lt;br /&gt;
| 0x4 || 0x4 || padding&lt;br /&gt;
|}&lt;br /&gt;
|}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== FS Limitations ====&lt;br /&gt;
&lt;br /&gt;
- FSPXI allows all access types.&lt;br /&gt;
&lt;br /&gt;
- When used through fs:LDR by loader, FS only provides access to &amp;lt;code&amp;gt;exefs:/.code&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
- For SelfNCCH access, the only allowed access types are &amp;quot;RomFS (&amp;quot;unspecified&amp;quot; [[NCCH#Content_Type|content type]], the default)&amp;quot; of the Base or Patch title, and &amp;quot;System Menu Data&amp;quot;. Attempting to access &amp;quot;Save Data&amp;quot; results in error 0xE0E046BE, &amp;quot;RomFS (all [[NCCH#Content_Type|content types]])&amp;quot; in 0xF9604784, and &amp;quot;&amp;lt;code&amp;gt;exefs:/.code&amp;lt;/code&amp;gt;&amp;quot; in 0xD9004676.&lt;br /&gt;
&lt;br /&gt;
=== [[RomFS]] ===&lt;br /&gt;
&lt;br /&gt;
Archives 0x3 and 0x2345678E both allow for accessing the [[RomFS#Level_3_Format|level-3 IVFC images]] for RomFS access. The main CXI RomFS is accessible via an all-zero 0xc-byte binary file-lowpath. The update RomFS can be accessed with the first u32 in the binary file-lowpath being set to 0x5. The user must handle parsing the filesystem used in the exposed image itself.&lt;br /&gt;
&lt;br /&gt;
With FSPXI the returned data for RomFS is the entire RomFS section from the NCCH, starting at the IVFC header.&lt;br /&gt;
&lt;br /&gt;
The 0x3 archive is an interface for the 0x2345678E archive with the current process programID+mediatype. The file lowpath is 3-words. These words are written to 0x2345678E-archive file_lowpath+0, with the rest of that lowpath set to all-zero(lowpath is different from archive 0x2345678A). File lowpath:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!  Index word&lt;br /&gt;
!  Description&lt;br /&gt;
|-&lt;br /&gt;
| 0&lt;br /&gt;
| See above. The only values which FS-module doesn&#039;t allow to be used here are:&lt;br /&gt;
* 0x1: Error 0xE0E046BE.&lt;br /&gt;
* 0x3: Error 0xE0E046BE.&lt;br /&gt;
* 0x4: FS-module executes svcBreak when using this.&lt;br /&gt;
|-&lt;br /&gt;
| 1-2&lt;br /&gt;
| See above. Not validated by FS-module.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=Anti Savegame Restore=&lt;br /&gt;
Anti Savegame Restore, internally referred to as &#039;&#039;Save Data Rollback Prevention&#039;&#039;, is a feature originally implemented in the FS module with [[4.0.0-7]], which prevents the user from restoring previous versions of a savegame image. This feature is not used (in practice) for gamecard games. When an old version of the save is detected, the application will display an error regarding old savegame version, then delete and recreate the save data (similar to when it is corrupted).&lt;br /&gt;
&lt;br /&gt;
==Implementation==&lt;br /&gt;
When creating the savedata, the application generates a secure value (a 64 bit unsigned integer), then stores it in either the [[DISA_and_DIFF#DISA_header|DISA save image header]] or the [[Filesystem_services#Anti_Savegame_Restore_Save_Data|Anti Savegame Restore Save Data]]. The application then uses the anti-savegame-restore commands ([[FS:SetSaveDataSecureValue]], [[FS:GetSaveDataSecureValue]], [[FS:SetOtherSaveDataSecureValue]], [[FS:GetOtherSaveDataSecureValue]], [[FS:SetThisSaveDataSecureValue]], [[FS:GetThisSaveDataSecureValue]], [[FS:SetSaveArchiveSecureValue]] and [[FS:GetSaveArchiveSecureValue]]) to verify the value known to the game for comparison with the value returned by FS, and to update the value in the corresponding storage location.&lt;br /&gt;
&lt;br /&gt;
Each time the application writes to the savegame, the value should be updated by both the application and through FS. Usually, applications update this value by incrementing it. However, generating a new random-number or other methods of updating it can be used as well.&lt;br /&gt;
&lt;br /&gt;
==Anti Savegame Restore Save Data==&lt;br /&gt;
The save data used for this feature is stored in [[System_SaveData|System Save Data]] ID 0x00010011 and contains only one file, named &amp;lt;code&amp;gt;DB&amp;lt;/code&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
===Main Structure===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Offset !! Size !! Description&lt;br /&gt;
|-&lt;br /&gt;
| 0x0 || 0x1000 || Header&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Offset !! Size !! Description&lt;br /&gt;
|-&lt;br /&gt;
| 0x0 || 0x1 || u8, version (usually 0)&lt;br /&gt;
|-&lt;br /&gt;
| 0x1 || 0x3 || padding&lt;br /&gt;
|-&lt;br /&gt;
| 0x4 || 0x4 || u32, number of secure value entries&lt;br /&gt;
|-&lt;br /&gt;
| 0x8 || 0xFF8 || completely unused, padding&lt;br /&gt;
|}&lt;br /&gt;
|-&lt;br /&gt;
| 0x1000 || 0x1C000 (8 * 14336) || [[Filesystem_services#SecureValueKey|Secure value keys]]&lt;br /&gt;
|-&lt;br /&gt;
| 0x1D000 || 0x1C000 (8 * 14336) || u64s, Secure values&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===SecureValueKey===&lt;br /&gt;
Depending on which command is used, secure value keys can be interpreted as:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Offset !! Size !! Description&lt;br /&gt;
|-&lt;br /&gt;
| 0x0 || 0x8 || u64, Title ID&lt;br /&gt;
|}&lt;br /&gt;
or:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Offset !! Size !! Description&lt;br /&gt;
|-&lt;br /&gt;
| 0x0 || 0x4 || u32, [[Filesystem_services#SecureValueSlot|Secure Value Slot]]&lt;br /&gt;
|-&lt;br /&gt;
| 0x4 || 0x4 || u32, Unique ID&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Applications using this feature==&lt;br /&gt;
* Animal Crossing: New Leaf&lt;br /&gt;
* Pokemon X &amp;amp; Y&lt;br /&gt;
* Pokemon Omega Ruby &amp;amp; Alpha Sapphire&lt;br /&gt;
* Pokemon Omega Ruby &amp;amp; Alpha Sapphire Demo &lt;br /&gt;
* Pokemon Shuffle&lt;br /&gt;
* Super Smash Bros&lt;br /&gt;
* Pokemon Red,Blue and Yellow (GB(C) VC)&lt;br /&gt;
* Rusty&#039;s Real Deal Baseball&lt;br /&gt;
* Megami Meguri&lt;br /&gt;
&lt;br /&gt;
=SEEDDB and TITLETAG=&lt;br /&gt;
With [[9.6.0-24|9.6.0-X]] new [[System_SaveData]] with save ID 0x0001000F was added. This save data contains both the NCCH seed database (SEEDDB) and the title tag database (TITLETAG).&lt;br /&gt;
&lt;br /&gt;
These databases are managed by the commands [[FS:AddSeed]], [[FS:GetSeed]], [[FS:DeleteSeed]], [[FS:GetNumSeeds]] and [[FS:ListSeeds]] for SEEDDB, and [[FS:AddTitleTag]], [[FS:GetTitleTag]], [[FS:DeleteTitleTag]], [[FS:GetNumTitleTags]], and [[FS:ListTitleTags]] for TITLETAG respectively.&lt;br /&gt;
&lt;br /&gt;
Both the [[Home_Menu|HOME Menu]] and the [[NIM_Services|NIM]] module have access to these commands.&lt;br /&gt;
&lt;br /&gt;
==SEEDDB==&lt;br /&gt;
&lt;br /&gt;
Stored in the system savedata archive 0x0001000F as a file named &amp;lt;code&amp;gt;SEEDDB&amp;lt;/code&amp;gt;, it contains the title-unique seed-data used for the new [[NCCH]] keyY generation added with FIRM [[9.6.0-24|9.6.0-X]].&lt;br /&gt;
&lt;br /&gt;
The file follows a simple key-value format allowing the storage of seed data for up to 2000 unique title 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;
! Offset !! Size !! Description&lt;br /&gt;
|-&lt;br /&gt;
| 0x0 || 0x1000 || Header&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Offset !! Size !! Description&lt;br /&gt;
|-&lt;br /&gt;
| 0x0 || 0x1 || u8, version (usually 0)&lt;br /&gt;
|-&lt;br /&gt;
| 0x1 || 0x3 || padding&lt;br /&gt;
|-&lt;br /&gt;
| 0x4 || 0x4 || u32, number of seed entries&lt;br /&gt;
|-&lt;br /&gt;
| 0x8 || 0xFF8 || completely unused, padding&lt;br /&gt;
|}&lt;br /&gt;
|-&lt;br /&gt;
| 0x1000 || 0x3E80 (8 * 2000) || u64s, Title IDs&lt;br /&gt;
|-&lt;br /&gt;
| 0x4E80 || 0x7D00 (16 * 2000) || Seed data, 16 bytes per seed&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==TITLETAG Database==&lt;br /&gt;
&lt;br /&gt;
Stored in the system savedata archive 0x0001000F as a file named &amp;lt;code&amp;gt;TITLETAG&amp;lt;/code&amp;gt;, it contains information used by the [[Home_Menu|HOME Menu]] to handle cases when a to-be-released title has been purchased already, that is, to properly install the seed required for [[NCCH]] keyY generation added with FIRM [[9.6.0-24|9.6.0-X]].&lt;br /&gt;
&lt;br /&gt;
When a to-be-released title is purchased, the [[NIM_Services|NIM]] module installs a [[Filesystem_services#TitleTag|title tag]] with enough information about the title for the [[Home_Menu|HOME Menu]] to be able to initiate a seed import once the title has been released (and thus, the title&#039;s NCCH content lock seed). Until the title&#039;s seed is released, and while the title tag remains in the database, the HOME Menu will prevent the user from launching the software as it would not run without the seed. Once released, information from the title tag is used to download the seed, and, if successful, the title tag is removed from the database, making the software playable.&lt;br /&gt;
&lt;br /&gt;
The file follows a simple key-value format allowing the storage of title tag data for up to 2000 unique title 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;
! Offset !! Size !! Description&lt;br /&gt;
|-&lt;br /&gt;
| 0x0 || 0x1000 || Header&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Offset !! Size !! Description&lt;br /&gt;
|-&lt;br /&gt;
| 0x0 || 0x1 || u8, version (usually 0)&lt;br /&gt;
|-&lt;br /&gt;
| 0x1 || 0x3 || padding&lt;br /&gt;
|-&lt;br /&gt;
| 0x4 || 0x4 || u32, number of entries&lt;br /&gt;
|-&lt;br /&gt;
| 0x8 || 0xFF8 || completely unused, padding&lt;br /&gt;
|}&lt;br /&gt;
|-&lt;br /&gt;
| 0x1000 || 0x3E80 (8 * 2000) || u64s, Title IDs&lt;br /&gt;
|-&lt;br /&gt;
| 0x4E80 || 0x3E800 (0x80 * 2000) || [[Filesystem_services#TitleTag|Title Tag]] data, 0x80 bytes per entry&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
= Common Types =&lt;br /&gt;
== MediaType ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!  Value&lt;br /&gt;
!  Description&lt;br /&gt;
|-&lt;br /&gt;
| 0&lt;br /&gt;
| NAND&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| SD&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| Game Card&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== SystemMediaType ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!  Value&lt;br /&gt;
!  Description&lt;br /&gt;
|-&lt;br /&gt;
| 0&lt;br /&gt;
| CTR NAND&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| TWL NAND&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| SD&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| TWL Photo&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== OpenFlags ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!  Bit&lt;br /&gt;
!  Description&lt;br /&gt;
|-&lt;br /&gt;
| 0&lt;br /&gt;
| Read&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| Write&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| Create&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Attributes ==&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;
| 0x1&lt;br /&gt;
| Is Directory&lt;br /&gt;
|-&lt;br /&gt;
| 0x1&lt;br /&gt;
| 0x1&lt;br /&gt;
| Is Hidden&lt;br /&gt;
|-&lt;br /&gt;
| 0x2&lt;br /&gt;
| 0x1&lt;br /&gt;
| Is Archive&lt;br /&gt;
|-&lt;br /&gt;
| 0x3&lt;br /&gt;
| 0x1&lt;br /&gt;
| Is Read-Only&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== WriteOption ==&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;
| 0x1&lt;br /&gt;
| Flush&lt;br /&gt;
|-&lt;br /&gt;
| 0x1&lt;br /&gt;
| 0x1&lt;br /&gt;
| Update Time Stamp&lt;br /&gt;
|-&lt;br /&gt;
| 0x2&lt;br /&gt;
| 0x1&lt;br /&gt;
| Reserved&lt;br /&gt;
|-&lt;br /&gt;
| 0x3&lt;br /&gt;
| 0x1&lt;br /&gt;
| Reserved&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== DirectoryEntry ==&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;
| 0x20C&lt;br /&gt;
| UTF-16 Entry Name&lt;br /&gt;
|-&lt;br /&gt;
| 0x20C&lt;br /&gt;
| 0xA&lt;br /&gt;
| 8.3 short filename name&lt;br /&gt;
|-&lt;br /&gt;
| 0x216&lt;br /&gt;
| 0x4&lt;br /&gt;
| 8.3 short filename extension&lt;br /&gt;
|-&lt;br /&gt;
| 0x21A&lt;br /&gt;
| 0x1&lt;br /&gt;
| Always 1&lt;br /&gt;
|-&lt;br /&gt;
| 0x21B&lt;br /&gt;
| 0x1&lt;br /&gt;
| Reserved&lt;br /&gt;
|-&lt;br /&gt;
| 0x21C&lt;br /&gt;
| 0x4&lt;br /&gt;
| [[Filesystem_services#Attributes|Attributes]]&lt;br /&gt;
|-&lt;br /&gt;
| 0x220&lt;br /&gt;
| 0x8&lt;br /&gt;
| Entry Size&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== ArchiveResource ==&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;
| 0x4&lt;br /&gt;
| Sector byte-size&lt;br /&gt;
|-&lt;br /&gt;
| 0x4&lt;br /&gt;
| 0x4&lt;br /&gt;
| Cluster byte-size&lt;br /&gt;
|-&lt;br /&gt;
| 0x8&lt;br /&gt;
| 0x4&lt;br /&gt;
| Partition capacity in clusters&lt;br /&gt;
|-&lt;br /&gt;
| 0xC&lt;br /&gt;
| 0x4&lt;br /&gt;
| Available free space in clusters&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== ProgramInfo ==&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;
| 0x8&lt;br /&gt;
| Program ID&lt;br /&gt;
|-&lt;br /&gt;
| 0x8&lt;br /&gt;
| 0x1&lt;br /&gt;
| [[Filesystem_services#MediaType|Media Type]]&lt;br /&gt;
|-&lt;br /&gt;
| 0x9&lt;br /&gt;
| 0x7&lt;br /&gt;
| Padding&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== ProductInfo ==&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;
| Product Code&lt;br /&gt;
|-&lt;br /&gt;
| 0x10&lt;br /&gt;
| 0x2&lt;br /&gt;
| Company Code&lt;br /&gt;
|-&lt;br /&gt;
| 0x12&lt;br /&gt;
| 0x2&lt;br /&gt;
| Remaster Version&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== IntegrityVerificationSeed ==&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;
|  AES-CBC MAC over a SHA256 hash, which hashes the first 0x110-bytes of the cleartext SEED.&lt;br /&gt;
|-&lt;br /&gt;
|  0x10&lt;br /&gt;
|  0x120&lt;br /&gt;
|  The [[nand/private/movable.sed]], encrypted with AES-CBC using the above MAC for the counter.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== ExtSaveDataInfo ==&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;
| 0x4&lt;br /&gt;
| [[Filesystem_services#DataAccessPath|DataAccessPath]]&lt;br /&gt;
|-&lt;br /&gt;
| 0x4&lt;br /&gt;
| 0x8&lt;br /&gt;
| Save ID&lt;br /&gt;
|-&lt;br /&gt;
| 0xC&lt;br /&gt;
| 0x4&lt;br /&gt;
| Reserved&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== SystemSaveDataInfo ==&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;
| 0x4&lt;br /&gt;
| [[Filesystem_services#DataAccessPath|DataAccessPath]]&lt;br /&gt;
|-&lt;br /&gt;
| 0x4&lt;br /&gt;
| 0x4&lt;br /&gt;
| Save ID&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== SecureValueSlot ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!  Value&lt;br /&gt;
!  Description&lt;br /&gt;
|-&lt;br /&gt;
| 0x1000&lt;br /&gt;
| SD Application&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== SecureValueEntry ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Offset !! Size !! Description&lt;br /&gt;
|-&lt;br /&gt;
| 0x0 || 0x4 || u32, [[Filesystem_services#SecureValueSlot|Secure Value Slot]]&lt;br /&gt;
|-&lt;br /&gt;
| 0x4 || 0x1 || When used as an input entry:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Value !! Description&lt;br /&gt;
|-&lt;br /&gt;
| 0 || This entry should be removed.&lt;br /&gt;
|-&lt;br /&gt;
| 1 || This entry should be updated with the given value.&lt;br /&gt;
|}&lt;br /&gt;
When returned from a command:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Value !! Description&lt;br /&gt;
|-&lt;br /&gt;
| 0 || No entry with the given slot and title ID was found, or: this entry is unused.&lt;br /&gt;
|-&lt;br /&gt;
| 1 || The entry with the given slot and title ID was found, or: this entry is used.&lt;br /&gt;
|}&lt;br /&gt;
|-&lt;br /&gt;
| 0x5 || 0x3 || padding&lt;br /&gt;
|-&lt;br /&gt;
| 0x8 || 0x8 || u64, Secure Value&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== TitleTag ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Offset !! Size !! Description&lt;br /&gt;
|-&lt;br /&gt;
| 0x0 || 0x4 || Magic, &amp;lt;code&amp;gt;PREP&amp;lt;/code&amp;gt; (PREPurchase install)&lt;br /&gt;
|-&lt;br /&gt;
| 0x4 || 0x4 || s32, Release date year&lt;br /&gt;
|-&lt;br /&gt;
| 0x8 || 0x1 || u8, Release date month&lt;br /&gt;
|-&lt;br /&gt;
| 0x9 || 0x1 || u8, Release date day&lt;br /&gt;
|-&lt;br /&gt;
| 0xA || 0x2 || u16, Country code&lt;br /&gt;
|-&lt;br /&gt;
| 0xC || 0x4 || u32, Seed status (0: not downloaded yet, 1: last download attempt failed, 2: seed installed successfully)&lt;br /&gt;
|-&lt;br /&gt;
| 0x10 || 0x4 || Result code from last seed installation attempt &lt;br /&gt;
|-&lt;br /&gt;
| 0x14 || 0x4 || Support error code from last seed installation attempt&lt;br /&gt;
|-&lt;br /&gt;
| 0x18 || 0x68 || reserved padding (unused)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== CardSpiBaudRate ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!  Value&lt;br /&gt;
!  Description&lt;br /&gt;
|-&lt;br /&gt;
| 0x0&lt;br /&gt;
| 512KHz&lt;br /&gt;
|-&lt;br /&gt;
| 0x1&lt;br /&gt;
| 1MHz&lt;br /&gt;
|-&lt;br /&gt;
| 0x2&lt;br /&gt;
| 2MHz&lt;br /&gt;
|-&lt;br /&gt;
| 0x3&lt;br /&gt;
| 4MHz&lt;br /&gt;
|-&lt;br /&gt;
| 0x4&lt;br /&gt;
| 8MHz&lt;br /&gt;
|-&lt;br /&gt;
| 0x5&lt;br /&gt;
| 16MHz&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== CardSpiBusMode ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!  Value&lt;br /&gt;
!  Description&lt;br /&gt;
|-&lt;br /&gt;
| 0x0&lt;br /&gt;
| 1-bit&lt;br /&gt;
|-&lt;br /&gt;
| 0x1&lt;br /&gt;
| 4-bit&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== SpecialContentType ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!  Value&lt;br /&gt;
!  Description&lt;br /&gt;
!  Found in&lt;br /&gt;
|-&lt;br /&gt;
| 0x1&lt;br /&gt;
| CTR (Old3DS) Update Partition&lt;br /&gt;
| Gamecards&lt;br /&gt;
|-&lt;br /&gt;
| 0x2&lt;br /&gt;
| Manual&lt;br /&gt;
| Gamecards, Digital titles&lt;br /&gt;
|-&lt;br /&gt;
| 0x3&lt;br /&gt;
| DLP Child&lt;br /&gt;
| Gamecards, Digital titles&lt;br /&gt;
|-&lt;br /&gt;
| 0x4&lt;br /&gt;
| KTR (New3DS) Update Partition&lt;br /&gt;
| Gamecards&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== DeviceMoveContext ==&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;
|  IVs (ID0 of source console)&lt;br /&gt;
|-&lt;br /&gt;
|  0x10&lt;br /&gt;
|  0x10&lt;br /&gt;
|  Encrypt Parameter (used to calculate the IV for encryption)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=Errors=&lt;br /&gt;
See [[Filesystem_services_PXI]].&lt;br /&gt;
&lt;br /&gt;
[[Category:Services]]&lt;/div&gt;</summary>
		<author><name>Gruetzig</name></author>
	</entry>
	<entry>
		<id>https://www.3dbrew.org/w/index.php?title=APT:StartNewestHomeMenu&amp;diff=23584</id>
		<title>APT:StartNewestHomeMenu</title>
		<link rel="alternate" type="text/html" href="https://www.3dbrew.org/w/index.php?title=APT:StartNewestHomeMenu&amp;diff=23584"/>
		<updated>2025-06-14T22:17:56Z</updated>

		<summary type="html">&lt;p&gt;Gruetzig: fix numbering&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Request=&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!  Index Word&lt;br /&gt;
!  Description&lt;br /&gt;
|-&lt;br /&gt;
| 0&lt;br /&gt;
| Header code [0x00200044]&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| Parameters Size&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| 0x0&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| Handle Parameter&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| (Parameters Size &amp;lt;&amp;lt; 14) &amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt; 2&lt;br /&gt;
|-&lt;br /&gt;
| 5&lt;br /&gt;
| void*, Parameters&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=Response=&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!  Index Word&lt;br /&gt;
!  Description&lt;br /&gt;
|-&lt;br /&gt;
| 0&lt;br /&gt;
| Header code&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| Result code&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=Description=&lt;br /&gt;
None of the input parameters are used by NS. [[APT:PrepareToStartNewestHomeMenu]] must be used prior to using this command. After initializing [[FIRM]] params and [[PMApp:SetFIRMLaunchParams|setting]] the FIRM params, this uses command [[PTMSYSM:LaunchFIRMRebootSystem]] with timeout 1000000000*4.&lt;/div&gt;</summary>
		<author><name>Gruetzig</name></author>
	</entry>
</feed>