hactool --keyset=/home/username/Downloads/keys/prod.keys game.nca
A comment in the source code, written by a developer five years ago: // removed output to top level dir to avoid clutter, throw error if path not explicit . hactool prodkeys does not exist top