Project_CTR icon indicating copy to clipboard operation
Project_CTR copied to clipboard

makerom AccessDesc Privk implementation

Open shijimasoft opened this issue 2 years ago β€’ 5 comments

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 😁

shijimasoft avatar Aug 30 '22 10:08 shijimasoft

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?

jakcron avatar Aug 30 '22 14:08 jakcron

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 πŸ˜”

shijimasoft avatar Aug 30 '22 14:08 shijimasoft

Well when you do find ones that trigger this error please let me know so we can figure out what’s causing the issue

jakcron avatar Aug 31 '22 05:08 jakcron

Okk! Thank you 😁

shijimasoft avatar Aug 31 '22 07:08 shijimasoft

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.

mpslanker avatar Nov 15 '22 23:11 mpslanker

Cannot reproduce the error anymore, thank you for your support! :)

shijimasoft avatar Jun 05 '24 15:06 shijimasoft