Changes

1,855 bytes added ,  10:31, 21 September 2013
no edit summary
Line 246: Line 246:  
| This dialog is displayed when a system process(including Home Menu) crashes/terminates. This dialog is also displayed for system errors as well.
 
| This dialog is displayed when a system process(including Home Menu) crashes/terminates. This dialog is also displayed for system errors as well.
 
|}
 
|}
 +
 +
== SD ExtData ==
 +
The SD ExtData File System for Home Menu is as follows:
 +
 +
root
 +
├── icon
 +
├── boss
 +
└── user
 +
    ├── SaveData.dat
 +
    ├── Cache.dat
 +
    └── CacheD.dat
 +
 +
{| class="wikitable" border="1"
 +
|-
 +
!  File
 +
!  Details
 +
!  Size
 +
!  FW Introduced
 +
!  Plaintext
 +
|-
 +
|  icon
 +
|  Stubbed. Always image 00000002.
 +
|  0x4 Bytes
 +
|  n/a
 +
 +
|-
 +
|  SaveData.dat
 +
|  Always image 00000003.
 +
|  0x2cb0 Bytes
 +
|  [[1.0.0-0]]
 +
 +
|-
 +
|  Cache.dat
 +
|  Indexes and records details for the cached icon data. Always image 00000004.
 +
|  0x1688 Bytes
 +
|  [[1.0.0-0]]
 +
|  [https://dl.dropboxusercontent.com/u/60710927/CTR/Sample/HomeMenuExtdata/Cache.dat Download]
 +
|-
 +
|  CacheD.dat
 +
|  Cached icon data for Home Menu. Always image 00000005.
 +
|  0x4cfe00 Bytes
 +
|  [[1.0.0-0]]
 +
|  [https://dl.dropboxusercontent.com/u/60710927/CTR/Sample/HomeMenuExtdata/CacheD.dat Download]
 +
|}
 +
 +
=== Cache.dat & CacheD.dat ===
 +
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).
 +
 +
In Cache.dat the first 8 bytes are reserved, then follows each icon slots's entry in the format:
 +
{| class="wikitable" border="1"
 +
|-
 +
!  OFFSET
 +
!  SIZE
 +
!  DESCRIPTION
 +
|-
 +
|  0x0
 +
|  8
 +
|  Title ID in Little Endian
 +
|-
 +
|  0x8
 +
|  4
 +
|  Unknown
 +
|-
 +
|  0xc
 +
|  4
 +
|  Unknown
 +
|}
 +
 +
All unused entries have the Title IDs filled with "0xff".
 +
 +
In CacheD.dat, the icon data is concatenated together, with the first icon at offset 0x0.
    
== See Also ==
 
== See Also ==
 
* http://www.nintendo.com/consumer/systems/3ds/en_na/menu_update.jsp
 
* http://www.nintendo.com/consumer/systems/3ds/en_na/menu_update.jsp
 
* http://www.nintendo.co.jp/netinfo/3ds/JPN/ja.html
 
* http://www.nintendo.co.jp/netinfo/3ds/JPN/ja.html
839

edits