Extracting the SECURE partition of a XCI file (no need for keys):
Code:
[path to hactool exe] -t xci --securedir=[path to a directory]
Example:
Code:
C:\Users\[...]\Desktop\Switch\Tools\hactool-1.1.0.windows\hactool.exe -t xci C:\Users\[...]\Downloads\SMO.xci --securedir=C:\Users[...]\Downloads\SMO
Decrypting NCA files the wanted way (keys needed):
Code:
[path to hactool exe] [path to your NCA] -k [path to your keyset file] --romfs=[path to a romfs.bin file] --exefsdir=[path to a exefs directory]
Example:
Code:
C:\Users\[...]\Desktop\Switch\Tools\hactool-1.1.0.windows\hactool.exe C:\Users\[...]\Downloads\SMO\08c1d23a902a841b497f7be217c8ad6d.nca --romfs=C:\Users\[...]\Downloads\SMO\romfs.bin --exefsdir=C:\Users\[...]\Downloads\SMO\exefs
(I don't need to specify a path to my keyset file since I have mine in C:\Users\[...]\.switch\prod.keys, hactool will automatically look for this specific location)
There are a lot of other things you can do with hactool, I really recommend testing things out. Note that it can't create more than one directory, though.