SciresM / hactool

hactool is a tool to view information about, decrypt, and extract common file formats for the Nintendo Switch, especially Nintendo Content Archives.
ISC License
982 stars 151 forks source link

Implement savefile reading, output, file listing, and verification #82

Closed shchmue closed 4 years ago

shchmue commented 4 years ago

Includes CLI options --outdir and --listfiles, supports existing switch -y

Added save_mac_key derivation from newly-recognized key per_console_key_source

Tested on system and gamesaves, both < and >= version 5 saves

Todo next: save writes

hexkyz commented 4 years ago

On a cursory inspection, these changes seem solid both in interoperability and code style. I've also tested them successfully on multiple save files.

hexkyz commented 4 years ago

All changes have been approved.