NS CFA

NS CFA

This pages describes the content of the CFA(titleID 0004001B00010702) RomFS used by NS.

key.bin and value.bin #

Originally the filesize for key.bin was 12-bytes, with the 6.0.0-11 title-version this is now 48-bytes.

Originally the filesize for value.bin was 8-bytes, with the 6.0.0-11 title-version this is now 32-bytes.

The two files form a KV-store of compatibility parameters, as follows:

TitleIdNameFlags
0004000000032800Ridge Racer 3D (JPN)Card latency parameter 0x47E000, override level 0
0004000000033400Zelda no Densetsu: Toki no Ocarina 3D (JPN)Use only 4KB pages
0004000000033500The Legend of Zelda: Ocarina of Time 3D (USA)Use only 4KB pages
0004000000033600The Legend of Zelda: Ocarina of Time 3D (EUR)Use only 4KB pages
0004000000033B00Ridge Racer 3D (EUR)Card latency parameter 0x47E000, override level 0
0004000000035800Ridge Racer 3D (USA)Card latency parameter 0x47E000, override level 0
000400000008F800The Legend of Zelda: Ocarina of Time 3D (KOR)Use only 4KB pages
000400000008F900The 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 #

This file added with 6.0.0-11 contains the uniqueID blacklist for SD Savedata Backups.

OffsetSizeDescription
0x00x4Total entries, this is value 93 for the 6.0.0-11 title-version.
0x40xCAll-zero
0x10Totalentries*4Entries, each entry is a word in the following format: 0x100000 | title_UniqueID

qtm_black_list #

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:

UIDFlags
0xF8087QTM disabled, camera mode 0 [stubbed]
0xF8088Camera mode 1 [stubbed]
0xF8089QTM disabled (2), camera mode 1 [stubbed]
0xF8090Camera mode 0 [stubbed], report app mode as O3DS

Refer to 🔗 https://gist.github.com/TuxSH/11da5baae53e80f466829bbab6be6373#file-parse_qtm_blacklist-py for more details