RELEASE HACDN v3 - Safely download your Switch eShop purchases on your PC

Discussion in 'Switch - Exploits, Custom Firmwares & Soft Mods' started by SimonMKWii, May 16, 2018.

?
  1. Super Mario Odyssey

    27.0%
  2. The Legend Of Zelda: Breath of the Wild

    73.0%
  1. TiMeBoMb4u2

    TiMeBoMb4u2 GBAtemp Maniac

    Member
    5
    Oct 25, 2008
    United States
    Thank you for making this more simple.
    However, out of curiosity, was the answer to my question Yes, or No?
     
  2. BurningDesire

    BurningDesire GBAtemp Psycho!

    Member
    13
    Jan 27, 2015
    United States
    Behind a screen reading news
    How do I format keys.txt? Is it the same as in the readme for hactool?
     
    SimonMKWii likes this.
  3. SimonMKWii
    OP

    SimonMKWii GBAtemp Fan

    Member
    7
    Nov 18, 2017
    Australia
    Melbourne, Victoria
    Correct! It's exactly the same, if you already have one, you can just copy it from the hactool directory into the HACDN one.
     
    BurningDesire likes this.
  4. BurningDesire

    BurningDesire GBAtemp Psycho!

    Member
    13
    Jan 27, 2015
    United States
    Behind a screen reading news
    Okay, i am trying to download a game now and it's stuck on not responding (is that still normal based on your old threads you seemed to say it was)
     
  5. SimonMKWii
    OP

    SimonMKWii GBAtemp Fan

    Member
    7
    Nov 18, 2017
    Australia
    Melbourne, Victoria
    Yeah, that sometimes happens, try closing and reopening the program, then download the game again.
    It's something I need to solve.
     
  6. BurningDesire

    BurningDesire GBAtemp Psycho!

    Member
    13
    Jan 27, 2015
    United States
    Behind a screen reading news
    I have tried that a few times and I alwawys get stuck with a 4kb file with the name of 0

    — Posts automatically merged - Please don't double post! —

    Also just to be clear the keys for the key file with the ## a are the 00 keys correct?
     
  7. SimonMKWii
    OP

    SimonMKWii GBAtemp Fan

    Member
    7
    Nov 18, 2017
    Australia
    Melbourne, Victoria
    You need either these keys:
    key_area_key_application_00 = EF97...
    key_area_key_application_01 = CDED...
    key_area_key_application_02 = 7571...
    key_area_key_application_03 = F428...
    key_area_key_application_04 = 7988...
    header_key = AEAA...

    Or these keys:
    header_key = AEAA...
    master_key_00 = C2CA...
    master_key_01 = 54E1...
    master_key_02 = 4F6B...
    master_key_03 = 84E0...
    master_key_04 = CFA2...
    aes_kek_generation_source = 4D87...
    aes_key_generation_source = 8961...
    key_area_key_application_source = 7F59...

    So yeah, either the KAEKs + header key, or the master keys + header key + AES & KAEK seeds/sources.
    It doesn't matter which, as hactool will automatically derive them, but I personally recommend option 1, as it's smaller, and should technically be a bit faster.
     
    Last edited by SimonMKWii, May 17, 2018
    TiMeBoMb4u2 and BurningDesire like this.
  8. BurningDesire

    BurningDesire GBAtemp Psycho!

    Member
    13
    Jan 27, 2015
    United States
    Behind a screen reading news
    It's working thanks so much!
     
    SimonMKWii likes this.
  9. SimonMKWii
    OP

    SimonMKWii GBAtemp Fan

    Member
    7
    Nov 18, 2017
    Australia
    Melbourne, Victoria
    You're very welcome!
    S̶u̶c̶k̶ ̶o̶n̶ ̶t̶h̶a̶t̶,̶ ̶h̶a̶t̶e̶r̶s̶!̶
     
    guily6669 and BurningDesire like this.
  10. Ghost92

    Ghost92 GBAtemp Regular

    Member
    2
    Jun 29, 2017
    Colombia
    error libmbedcrypto.dll not found
     
  11. Miqote

    Miqote Advanced Member

    Newcomer
    2
    May 2, 2018
    Macedonia, The Former Yugoslav Republic of
    People trying to give you sound advice because you're wrong =/= haters
     
    TAUSENN, dimmidice and woofmute like this.
  12. SimonMKWii
    OP

    SimonMKWii GBAtemp Fan

    Member
    7
    Nov 18, 2017
    Australia
    Melbourne, Victoria
    As per the instructions in my OP, you need to download the latest release of hactool, and add it into the same directory, all files that are in the latest release.

    — Posts automatically merged - Please don't double post! —

    Which specific piece of advice are you referring to?
     
  13. Miqote

    Miqote Advanced Member

    Newcomer
    2
    May 2, 2018
    Macedonia, The Former Yugoslav Republic of
    The people who are recommending against using this tool because of the high chance that it will get you banned, assuming that you're still doing something that doesn't make it look like a 1:1 copy of the request that the switch would send. If that's not the case, then my apologies.

    You can call the people who rag on you for using VB haters, though.
     
  14. SimonMKWii
    OP

    SimonMKWii GBAtemp Fan

    Member
    7
    Nov 18, 2017
    Australia
    Melbourne, Victoria
    By the way, after doing loads of research and testing, I confirmed that this is the correct request order for anyone interested:
    (This application simulates redownloading a title from the home menu)

    GET http://aqua.hac.lp1.d4c.nintendo.net/required_system_update_meta?device_id=(device ID) (Checks system update)
    GET http://superfly.hac.lp1.d4c.nintendo.net/v1/a/(title ID)/dv (Checks latest title and update version)
    HEAD http://atum.hac.lp1.d4c.nintendo.net/t/a/(title ID)/(version) (Gets the meta NCA ID)
    GET http://atum.hac.lp1.d4c.nintendo.net/c/a/(NCA ID returned from the "x-nintendo-content-id" header) (Gets the CNMT/meta NCA)
    GET http://atum.hac.lp1.d4c.nintendo.net/c/c/(NCA ID returned from the CNMT) (Gets the game, manual, legals, etc. NCA)

    The user-agent headers appear to be shared for these URLs, although other webapplets use libcurl UA headers, some with add-ons, some without.

    For example, a request to "http://bcat-topics-lp1.cdn.nintendo.net/" (news) requires this UA header: "libcurl (nnNews; XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX; SDK 5.3.0.0)".

    Or a request to "http://accounts.nintendo.com/" requires this UA header: "libcurl (nnAccount; XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX; SDK 5.3.0.0; Add-on 5.3.0.0)"

    While a request to "http://atum.hac.lp1.d4c.nintendo.net/" (CDN) requires this UA header: "NintendoSDK Firmware/5.0.2-0 (platform:NX; did:XXXXXXXXXXXXXXXX; eid:lp1)"
     
    Tilde88, Miqote and TR_mahmutpek like this.
  15. TR_mahmutpek

    TR_mahmutpek medic

    Member
    3
    Jul 28, 2015
    Turkey
    @SimonMKWii I am asking here too, can we download dlc' s?
     
  16. SimonMKWii
    OP

    SimonMKWii GBAtemp Fan

    Member
    7
    Nov 18, 2017
    Australia
    Melbourne, Victoria
    Yes! If you input a DLC title ID, you can download them too.
     
  17. TR_mahmutpek

    TR_mahmutpek medic

    Member
    3
    Jul 28, 2015
    Turkey
    Thx, its very helpful for me:creep:

    — Posts automatically merged - Please don't double post! —

    And you should change topic title v3 to v4 I think.
     
  18. Slade.AU

    Slade.AU GBAtemp Regular

    Member
    3
    May 23, 2006
    Two things:

    1/ No source code ?
    2/ Add in a new start up screen that requires you to input a random 3 digit code that is shown on screen and click OK to confirm that the user understands that the program may result in a ban of their console by using the program. Then hide that window and bring up the main user interface. This isn't going to stop people using it, nor being banned, and not likely absolve you from responsibility, however the user is at least 100% aware that every time they run the program they risk their console being banned.

    It's a suggestion, one which shouldn't take you long to add in (if this is C#, it's 10 minutes work at best).
     
  19. SimonMKWii
    OP

    SimonMKWii GBAtemp Fan

    Member
    7
    Nov 18, 2017
    Australia
    Melbourne, Victoria
    1. The source code is available on GitHub.
    2. No. That's extremely egregious, I may as well ask every user to send me a stool sample to verify they're shitting correctly after using such a dangerous utility.
     
    Tilde88 and TheExpertNoob like this.
  20. MatMaf

    MatMaf Advanced Member

    Newcomer
    2
    Jun 5, 2016
    United Kingdom
    Since Rei uploaded her own iteration, this is pretty much dead.
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice