2021-05-18 08:32:43 -04:00
todo:
2022-07-04 21:04:28 -04:00
2022-06-26 22:58:03 -04:00
title: always retrieve names from unpacked nacps? (e.g. if an update changes the name of a title, like deltarune)
title: use dlc index as part of the output dump filename?
2021-05-18 08:32:43 -04:00
title: more functions for title lookup? (filters, patches / aoc, etc.)
title: more functions for content lookup? (based on id)
title: parse the update partition from gamecards (if available) to generate ncmcontentinfo data for all update titles
2022-07-04 21:04:28 -04:00
2021-07-21 11:04:18 -04:00
usb: change buffer size?
usb: change chunk size?
usb: improve abi (make it rest-like?)
usb: improve cancel mechanism
2022-07-04 21:04:28 -04:00
2021-08-07 04:42:03 -04:00
others: check todo with grep
2024-05-02 09:38:39 -04:00
others: dump verification via no-intro
2021-05-18 08:32:43 -04:00
2020-10-13 21:15:21 -03:00
reminder:
list of top level functions designed to alter nca data in order of (possible) usage:
2022-07-04 21:04:28 -04:00
2020-10-22 01:38:14 -03:00
out of dump loop:
2020-10-13 21:15:21 -03:00
* ncaSetDownloadDistributionType (instead of always using it like legacy, offer it as an option)
2022-07-04 21:04:28 -04:00
2020-10-13 21:15:21 -03:00
* ncaRemoveTitlekeyCrypto (can be used with digital titles + game updates in gamecards)
2022-07-04 21:04:28 -04:00
2020-10-13 21:15:21 -03:00
* nacpGenerateNcaPatch (Control)
* calls romfsGenerateFileEntryPatch
* calls ncaGenerateHierarchicalSha256Patch / ncaGenerateHierarchicalIntegrityPatch
2022-07-04 21:04:28 -04:00
2020-10-13 21:15:21 -03:00
* ncaEncryptHeader (doesn't modify anything per se, but it's used to generate new encrypted header data if needed)
2022-07-04 21:04:28 -04:00
2020-10-22 01:38:14 -03:00
inside dump loop:
2020-10-28 19:48:46 -03:00
* cnmtGenerateNcaPatch (Meta)
* calls pfsGenerateEntryPatch
* calls ncaGenerateHierarchicalSha256Patch
* returns true if cnmt needs no patching
* demands an immediate ncaEncryptHeader call
2022-07-04 21:04:28 -04:00
2020-10-22 01:38:14 -03:00
* ncaIsHeaderDirty (doesn't modify anything per se, but it's used to check if any of the functions above has been used, basically - and by extension, if the functions below need to be used)
2022-07-04 21:04:28 -04:00
2020-10-22 01:38:14 -03:00
* ncaWriteEncryptedHeaderDataToMemoryBuffer (write encrypted nca header data)
2022-07-04 21:04:28 -04:00
2020-10-22 01:38:14 -03:00
* cnmtWriteNcaPatch (writes cnmt patch)
* calls pfsWriteEntryPatchToMemoryBuffer
* calls ncaWriteHierarchicalSha256PatchToMemoryBuffer
2022-07-04 21:04:28 -04:00
2020-10-28 19:48:46 -03:00
* nacpWriteNcaPatch (writes nacp patch)
* calls romfsWriteFileEntryPatchToMemoryBuffer
* calls ncaWriteHierarchicalSha256PatchToMemoryBuffer / ncaWriteHierarchicalIntegrityPatchToMemoryBuffer
2022-07-04 21:04:28 -04:00
2020-10-28 19:48:46 -03:00
* cnmtUpdateContentInfo (used to update content entry info in the raw cnmt copy after dumping each one - ignores the current content if its a meta nca)