hactool release by SciresM

Discussion in 'Switch - Exploits, Custom Firmwares & Soft Mods' started by Quantumcat, Feb 7, 2018.

  1. Quantumcat
    OP

    Quantumcat Dead and alive

    Moderator
    18
    GBAtemp Patron
    Quantumcat is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    Nov 23, 2014
    Australia
    Canberra, Australia
    hactool is a tool to view information about, decrypt, and extract common file formats for the Nintendo Switch, especially Nintendo Content Archives.


    Github repo: https://github.com/SciresM/hactool/releases/tag/1.2.0
     
    Last edited by Quantumcat, Jul 24, 2018
  2. zoogie

    zoogie playing around in the dsiware

    Member
    20
    Nov 30, 2014
    Micronesia, Federated States of
    I think this is basically ctrtool for switch.
     
  3. Someone

    Someone Newbie

    Newcomer
    1
    Jan 29, 2015
    United States
    "hactool is a tool to view information about, decrypt, and extract common file formats for the Nintendo Switch, especially Nintendo Content Archives."
     
    Quantumcat likes this.
  4. theMille

    theMille Member

    Newcomer
    2
    Apr 3, 2016
    United States
    Noiiiice
     
  5. BlastedGuy9905

    BlastedGuy9905 where's the updated autopsy report

    Member
    8
    Apr 13, 2017
    United States
    under your desk
    THEY FINALLY USED THE "HAC" CODE IN A HOMEBREW NAME YES!!!!
     
    damiano2712, reds, Jayro and 2 others like this.
  6. TheGreek Boy

    TheGreek Boy GBAtemp Maniac

    Member
    5
    Jan 9, 2016
    Greece
    Behind you.
    hactool isn't a homebrew is a tool
     
    NoNAND and Crimsonflare like this.
  7. AzizR

    AzizR Member

    Newcomer
    2
    Mar 7, 2017
    Saudi Arabia
    ...
    Sooo can i decrypt a XCI file ?
    and if so, can someone please provide a "howto" tutorial.
     
  8. GerbilSoft

    GerbilSoft GBAtemp Addict

    Member
    11
    Mar 8, 2012
    United States
    Looks like you can, but you need the appropriate keyset. I don't know where to get this, and it probably wouldn't be allowed to be posted here, either.
     
  9. AzizR

    AzizR Member

    Newcomer
    2
    Mar 7, 2017
    Saudi Arabia
    ...
    I do have the keyset , and a bunch of XCI files i want to decrypt ... the problem is, i could not figure out how to decrypt them using "hactool"

    The keys that i have are :
    Package1 Key, Masterkey0, XCI header key and NCA header encrypting key.

    But as far as i know , you only need Masterkey0 to decrypt games that run on Firmware 1.0.0 to 2.3.0 .
     
    Last edited by AzizR, Feb 7, 2018
  10. _n3o_

    _n3o_ Member

    Newcomer
    2
    Apr 26, 2011
    France
    External keys can be provided by the -k/--keyset argument to the a keyset filename. Keyset files are text files containing one key per line, in the form "key_name = HEXADECIMALKEY". Case shouldn't matter, nor should whitespace.

    In addition, if -k/--keyset is not set, hactool will check for the presence of a keyset file in $HOME/.switch/prod.keys (or $HOME/.switch/dev.keys if -d/--dev is set). If present, this file will automatically be loaded.
     
    hippy dave and TiMeBoMb4u2 like this.
  11. TiMeBoMb4u2

    TiMeBoMb4u2 GBAtemp Advanced Maniac

    Member
    6
    Oct 25, 2008
    United States
    Hyrule
    Forgive my ignorance, but is "hac" an acronym for something?
    I've seen someone guess that it means "Handheld and Console", but I haven't seen anything definitive from any devs.
     
    Last edited by TiMeBoMb4u2, Feb 7, 2018
  12. BlastedGuy9905

    BlastedGuy9905 where's the updated autopsy report

    Member
    8
    Apr 13, 2017
    United States
    under your desk
    You know how for DS it's NTR, DSi is TWL, 3DS is CTR? The Switch is HAC.
     
    elBenyo likes this.
  13. TiMeBoMb4u2

    TiMeBoMb4u2 GBAtemp Advanced Maniac

    Member
    6
    Oct 25, 2008
    United States
    Hyrule
    Unfortunately, that does not explain the origin of terms. WHY is it "HAC"?
     
    Last edited by TiMeBoMb4u2, Feb 7, 2018
  14. WiiUBricker

    WiiUBricker Insert Custom Title

    Member
    16
    Sep 19, 2009
    Argentina
    Espresso
    Technically speaking it is a tool that was brewed at home. B-)
     
  15. BlastedGuy9905

    BlastedGuy9905 where's the updated autopsy report

    Member
    8
    Apr 13, 2017
    United States
    under your desk
    You could ask the same for all the other consoles. I don't know.
     
    TiMeBoMb4u2 likes this.
  16. Spectral Blizzard

    Spectral Blizzard GBATemp's Only Racist Stereotypical Feminist

    Banned
    3
    Jun 17, 2017
    United States
    Everywhere
    Daaaaaaaamn, already?
     
  17. smileyhead

    smileyhead Most pettable head

    Member
    13
    Aug 31, 2015
    Hungary
    Hungary
    Let the games... BEGIN!
     
    Spectral Blizzard likes this.
  18. WiiUBricker

    WiiUBricker Insert Custom Title

    Member
    16
    Sep 19, 2009
    Argentina
    Espresso
    I tried to look it up but there doesn’t seem to be any public information about what “HAC” possibly stands for. Maybe it’s worth a giggle to ask Nintendo Customer Support about it :P
     
  19. smileyhead

    smileyhead Most pettable head

    Member
    13
    Aug 31, 2015
    Hungary
    Hungary
    Maybe they misspelled HACC. :creep:
     
  20. TheGreek Boy
    This message by TheGreek Boy has been removed from public view by porkiewpyne, Feb 9, 2018, Reason: Offtopic.
    Feb 7, 2018
  21. bennyman123abc
    This message by bennyman123abc has been removed from public view by porkiewpyne, Feb 9, 2018, Reason: Offtopic.
    Feb 7, 2018
  22. TheZander
    This message by TheZander has been removed from public view by porkiewpyne, Feb 9, 2018, Reason: Offtopic.
    Feb 7, 2018
  23. bennyman123abc

    bennyman123abc PICKLE RICK!!

    Member
    5
    Mar 21, 2013
    United States
    Some City
    The Switch is NX, not HAC iirc