Line 1:
Line 1:
This pages describes the content of the [[NCCH#CFA|CFA]](titleID 0004001B00010702) RomFS used by NS.
This pages describes the content of the [[NCCH#CFA|CFA]](titleID 0004001B00010702) RomFS used by NS.
−
==key.bin==
+
==key.bin and value.bin==
−
Unknown, originally the filesize for this was 12-bytes, with the [[6.0.0-11]] title-version this is now 48-bytes. This is used when launching applications.
+
Originally the filesize for key.bin was 12-bytes, with the [[6.0.0-11]] title-version this is now 48-bytes.
−
==value.bin==
+
Originally the filesize for value.bin was 8-bytes, with the [[6.0.0-11]] title-version this is now 32-bytes.
−
Unknown, originally the filesize for this was 8-bytes, with the [[6.0.0-11]] title-version this is now 32-bytes. This is used when launching applications.
+
+
The two files form a KV-store of compatibility parameters, as follows:
+
+
{| class="wikitable"
+
! TitleId !! Name !! Flags
+
|-
+
| 0004000000032800 || Ridge Racer 3D (JPN) || Card latency parameter 0x47E000, override level 0
+
|-
+
| 0004000000033400 || Zelda no Densetsu: Toki no Ocarina 3D (JPN) || Use only 4KB pages
+
|-
+
| 0004000000033500 || The Legend of Zelda: Ocarina of Time 3D (USA) || Use only 4KB pages
+
|-
+
| 0004000000033600 || The Legend of Zelda: Ocarina of Time 3D (EUR) || Use only 4KB pages
+
|-
+
| 0004000000033B00 || Ridge Racer 3D (EUR) || Card latency parameter 0x47E000, override level 0
+
|-
+
| 0004000000035800 || Ridge Racer 3D (USA) || Card latency parameter 0x47E000, override level 0
+
|-
+
| 000400000008F800 || The Legend of Zelda: Ocarina of Time 3D (KOR) || Use only 4KB pages
+
|-
+
| 000400000008F900 || The Legend of Zelda: Ocarina of Time 3D (CHN) || Use only 4KB pages
+
|}
+
+
Refer to https://gist.github.com/TuxSH/11da5baae53e80f466829bbab6be6373#file-parse_kv-py for more details.
==ctr_backup_black_list==
==ctr_backup_black_list==
Line 30:
Line 53:
==qtm_black_list==
==qtm_black_list==
−
This file was added with title version v4096, for [[9.0.0-20]]/[[8.1.0-0_New3DS]]. Going by the filename, this is probably used for disabling [[QTM_Services|QTM]](New3DS head-tracking) for certain titles. This is used when launching applications, on New3DS.
+
This file was added with title version v4096, for [[9.0.0-20]]/[[8.1.0-0_New3DS]]. This is used when launching applications, on New3DS.
+
+
The applications in the "blacklist" seem to only be Nintendo-internal (?) test applications, going from the unique IDs (unique ID is (tid >> 8) & 0xFFFFF). Camera mode (unsure) corresponds to stubbed cam command id 0x00410040:
+
+
{| class="wikitable"
+
! UID !! Flags
+
|-
+
| 0xF8087 || QTM disabled, camera mode 0 [stubbed]
+
|-
+
| 0xF8088 || Camera mode 1 [stubbed]
+
|-
+
| 0xF8089 || QTM disabled (2), camera mode 1 [stubbed]
+
|-
+
| 0xF8090 || Camera mode 0 [stubbed], [[APT:GetApplicationRunningMode|report app mode as O3DS]]
+
|}
+
+
Refer to https://gist.github.com/TuxSH/11da5baae53e80f466829bbab6be6373#file-parse_qtm_blacklist-py for more details