2021-05-18 13:32:43 +01:00
todo:
2022-03-18 16:48:16 +00:00
nca: support for sparse sections
nca: support for compressed fs sections
2021-05-18 13:32:43 +01:00
log: verbosity levels
log: nxlink output for advanced users
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
gamecard: functions to display filelist
pfs0: functions to display filelist
romfs: functions to display filelist
bktr: functions to display filelist (wrappers for romfs functions tbh)
2021-07-21 16:04:18 +01:00
usb: change buffer size?
usb: change chunk size?
usb: improve abi (make it rest-like?)
usb: improve cancel mechanism
2021-08-07 09:42:03 +01:00
others: check todo with grep
2021-05-18 13:32:43 +01:00
others: dump verification via nswdb / no-intro
others: fatfs browser for emmc partitions
2020-10-14 01:15:21 +01:00
reminder:
list of top level functions designed to alter nca data in order of (possible) usage:
2020-10-22 05:38:14 +01:00
out of dump loop:
2020-10-14 01:15:21 +01:00
* ncaSetDownloadDistributionType (instead of always using it like legacy, offer it as an option)
* ncaRemoveTitlekeyCrypto (can be used with digital titles + game updates in gamecards)
2020-10-22 05:38:14 +01:00
* programInfoGenerateNcaPatch (Program)
2020-10-28 22:48:46 +00:00
* calls npdmGenerateNcaPatch
2020-10-21 05:27:48 +01:00
* calls pfsGenerateEntryPatch
* calls ncaGenerateHierarchicalSha256Patch
2020-10-14 01:15:21 +01:00
* nacpGenerateNcaPatch (Control)
* calls romfsGenerateFileEntryPatch
* calls ncaGenerateHierarchicalSha256Patch / ncaGenerateHierarchicalIntegrityPatch
* ncaEncryptHeader (doesn't modify anything per se, but it's used to generate new encrypted header data if needed)
2020-10-22 05:38:14 +01:00
inside dump loop:
2020-10-28 22:48:46 +00:00
* cnmtGenerateNcaPatch (Meta)
* calls pfsGenerateEntryPatch
* calls ncaGenerateHierarchicalSha256Patch
* returns true if cnmt needs no patching
* demands an immediate ncaEncryptHeader call
2020-10-22 05:38:14 +01: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)
* ncaWriteEncryptedHeaderDataToMemoryBuffer (write encrypted nca header data)
* cnmtWriteNcaPatch (writes cnmt patch)
* calls pfsWriteEntryPatchToMemoryBuffer
* calls ncaWriteHierarchicalSha256PatchToMemoryBuffer
* programInfoWriteNcaPatch (writes ndpm patch)
* calls npdmWriteNcaPatch
* calls pfsWriteEntryPatchToMemoryBuffer
* calls ncaWriteHierarchicalSha256PatchToMemoryBuffer
2020-10-14 01:15:21 +01:00
2020-10-28 22:48:46 +00:00
* nacpWriteNcaPatch (writes nacp patch)
* calls romfsWriteFileEntryPatchToMemoryBuffer
* calls ncaWriteHierarchicalSha256PatchToMemoryBuffer / ncaWriteHierarchicalIntegrityPatchToMemoryBuffer
2020-10-14 01:15:21 +01:00
2020-10-28 22:48:46 +00: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)
2020-10-14 01:15:21 +01:00
minor steps to take into account:
* check if rights_id_available == true and titlekey_retrieved == false (preload handling)
2020-10-28 22:48:46 +00:00
* actually, just inform the user about it - this is being handled