From 24cec26980bcc581719fedd584d0d657a09612f7 Mon Sep 17 00:00:00 2001 From: Pablo Curiel Date: Tue, 7 Jul 2020 09:01:17 -0400 Subject: [PATCH] Move to-do list out of the readme. --- README.md | 53 +---------------------------------------------------- todo.txt | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 47 insertions(+), 52 deletions(-) create mode 100644 todo.txt diff --git a/README.md b/README.md index f67ae5f..eb4d979 100644 --- a/README.md +++ b/README.md @@ -1,55 +1,4 @@ -``` -todo: - - hfs0: filelist generation methods - - tik: automatically dump tickets to the SD card? - tik: use dumped tickets when the original ones can't be found in the ES savefile? - - nca: function to write encrypted nca headers / nca fs headers (don't forget nca0 please) - - pfs0: filelist generation methods - pfs0: full header aligned to 0x20 (nsp) - pfs0: function to write patches - - romfs: filelist generation methods - romfs: function to write patches - - bktr: filelist generation methods (wrappers for romfs functions) - - - - - - char content_info_path[FS_MAX_PATH] = {0}; - sprintf(content_info_path, "sdmc:/%016lX.bin", xml_program_info.title_id); - - FILE *content_info = fopen(content_info_path, "wb"); - if (content_info) - { - fwrite(titleContentInfos, 1, titleContentInfoCnt * sizeof(NcmContentInfo), content_info); - fclose(content_info); - } - - - - - - Result txIsFat32(bool *mode) { - Result rc = serviceDispatch(&g_tx, 137); - if (rc == 0xa08) { - *mode = false; - return 0; - } else if (rc == 0) { - *mode = true; - } - return rc; - } -``` - - - -# nxdumptool +# nxdumptool Nintendo Switch Dump Tool diff --git a/todo.txt b/todo.txt new file mode 100644 index 0000000..6cb86c6 --- /dev/null +++ b/todo.txt @@ -0,0 +1,46 @@ +todo: + + hfs0: filelist generation methods + + tik: automatically dump tickets to the SD card? + tik: use dumped tickets when the original ones can't be found in the ES savefile? + + nca: function to write encrypted nca headers / nca fs headers (don't forget nca0 please) + + pfs0: filelist generation methods + pfs0: full header aligned to 0x20 (nsp) + pfs0: function to write patches + + romfs: filelist generation methods + romfs: function to write patches + + bktr: filelist generation methods (wrappers for romfs functions) + + + + + + char content_info_path[FS_MAX_PATH] = {0}; + sprintf(content_info_path, "sdmc:/%016lX.bin", xml_program_info.title_id); + + FILE *content_info = fopen(content_info_path, "wb"); + if (content_info) + { + fwrite(titleContentInfos, 1, titleContentInfoCnt * sizeof(NcmContentInfo), content_info); + fclose(content_info); + } + + + + + + Result txIsFat32(bool *mode) { + Result rc = serviceDispatch(&g_tx, 137); + if (rc == 0xa08) { + *mode = false; + return 0; + } else if (rc == 0) { + *mode = true; + } + return rc; + } \ No newline at end of file