Project_CTR
Project_CTR copied to clipboard
makerom AccessDesc Privk implementation
Hello! I am using makerom in one of my projects, and sometimes makerom ends with this error:
[NCCH ERROR] CXI's ID cannot be modified without the ability to resign the AccessDesc
Here the code reference: https://github.com/3DSGuy/Project_CTR/blob/319c4c6a24747a6def3c012312ed13a2f76bb369/makerom/ncch.c#L939-L942
Do you plan to implement this function? It would be really helpful π
Probably won't be implementing that because it is quite complicated. But also shouldn't be required at all.
Something isn't happening correctly because that function ModifyNcchIds()
should only be used on CFAs that accompany the CXI, never the CXI itself.
Can you give me some examples of where this error occurs for you?
It happens while re-packing decrypted CIA partitions into a new CCI file.
I'm still not sure if it's a makerom issue or a decryption problem (so a cia-unix decryption module issue) It only happens with specific roms but I still haven't figured out which ones trigger the error and which ones do not π
Well when you do find ones that trigger this error please let me know so we can figure out whatβs causing the issue
Okk! Thank you π
Were you able to find a rom that exhibits this behavior? I have bumped into a couple. How can I get them to you? I don't know if it is acceptable to use use erista's hshop but you could use this title /t/2044.
Cannot reproduce the error anymore, thank you for your support! :)