Hello. I'm sorry if this is obvious, but can anyone tell me, or point me to a tutorial for, how to get the title key for a given game?
I've dumped Cave Story+ using gcdumptool and I'm trying to unpack the game data. I compiled hactool and then ran through PRAGMA's tutorial to extract the keys from my switch; verified I have all that working as best I can (given I'm still new to this). I'm able to unpack the XCI into nca files, but I can't proceed any further. As I understand it, the nca files are encrypted, and I need the title key to decrypt them.
Is this something I'm supposed to be able to determine on my own, given I have the original cart and XCI dump? or is this one of those things I have to "find"? If the former, can anyone please give me a hint on how to do this? Heck, even if the latter a hint would be appreciated.
Thanks!
Oh, and I should mention that I'm actually not using the NCA-NSP-XCI_TO_LayeredFS.bat file for this as I'm running Linux. However, I've been jumping through the source code and using the commands in there as an example. That's been really helpful - I was struggling with the right syntax unpacking the XCI with hactool before I found this. Posting here because I'm at least using your same methodology if not the exact script. Thanks again.