Hacking COMPLETED CDNSP - Download & repack your games, updates, and DLC's to NSP!

  • Thread starter Deleted-451877
  • Start date
  • Views 530,472
  • Replies 760
  • Likes 119

Robman2122

Well-Known Member
Newcomer
Joined
Oct 14, 2015
Messages
84
Trophies
0
Age
34
XP
274
Country
United States
its not working i keep getting this
File "C:\Users\-----\Downloads\CDNSP\CDNSP.py", line 6, in <module>
import requests
ImportError: No module named requests

When you run the command "pip install requests" what does it say?

Sent from my XT1710-02 using Tapatalk
 

jakkal

Well-Known Member
Member
Joined
Apr 27, 2018
Messages
2,303
Trophies
1
Age
44
XP
3,982
Country
United States
When you run the command "pip install requests" what does it say?

Sent from my XT1710-02 using Tapatalk
Uninstall and reinstall Python and make sure you click "Include python in PATH"

image.png.a8d8595376855e217fab67e7fcc119c1.png
 
  • Like
Reactions: datahoarder

datahoarder

Organized.
Member
Joined
Jul 7, 2007
Messages
567
Trophies
1
XP
749
Country
United States
Good idea, I just gave it a try, it didn't work unfortunately. I uninstalled the NSPs and installed them again after I changed the region, with the same result. I'll try to download the NSPs from another source, maybe I did something wrong after all.

You either didn't install the requests modules with cmd admin privs or your Python installation is botched and you need to reinstall it with path.
 

NSWKUFU

Member
Newcomer
Joined
Jul 5, 2018
Messages
18
Trophies
0
Age
34
XP
80
Country
France
its not working i keep getting this
File "C:\Users\-----\Downloads\CDNSP\CDNSP.py", line 6, in <module>
import requests
ImportError: No module named requests

You have to look where the file named "easy_install.exe" is on your computer. Then you type the following command in the CMD "CD 'the entire path to the easy_install.exe' " and then you type enter. After that you type "easy_install.exe requests".
 

Type_O_Dev

Developer
Developer
Joined
Dec 12, 2017
Messages
683
Trophies
0
XP
1,469
Country
United States
[EDIT]
  • I have changed the way my script generates tiks and certs. It seems more games will install, but some reportedly won't launch. Attached files have been updated.
  • It seems Nintendo is monitoring the situation. See later in the thread for more details

NOTE: Using this script to download unowned content (and most probably owned too) will lead to a ban. Don't hold me responsible for decisions YOU decided to take.

CDNSP is a Python3 CDN downloader. It needs the requests library (pip install request). tqdm (pip install tqdm) is optional and will make your progress bars look better. Maybe some more, I'm not sure.

What it can do:
  • Print useful info about a titleid (name, available updates)
  • Download games, updates, DLC's and even system update, in their entirety (that means all the available content, logo, legal info, ...) is downloaded
  • Batch download everything explicited further up
  • Resume downloads right were you left them at
  • Repack games, DLC's, updates as ready-for-install NSP's
What it does:
  • Download and extract the CNMT (content metadata) NCA, and parse it to find the other content to download
  • If you want to repack your download as NSP, it will generate a CNMT.XML file
  • Generate the TIK and CERT:
  • for private content the CERT (non console nor game-unique) will be copied and renamed appropriately. The TIK will be generated using a blanked out file taken from BBB's Yooka-Laylee dump, and plug in the titlekey and titleid. To generate the TIK for private content, the titlekey is REQUIRED
  • for public content, it will directly download the CETK from Nintendo's servers, and extract the TIK and CERT.
  • Download everything else
  • And finally, repack everything to an NSP

To get started, you need:
  • hactool, and its keys
  • A console-unique certificate, in PEM format (I have included a PFX to PEM converter script, simply drag your PFX over it)
  • The ShopN certificate, in PEM format (this one is included in the zip)
  • Edit your config in the CDNSPconfig.json
Use the command prompt to download your titles. Example are provided below, and a help message is included

Examples:

Cheers! To get you started, I have also included a small list of 859 TitleID's.
Here is my instructions for CDNSP-GUI new version has dialog that shows output
no need to change directory just copy this file in you CDNSP directory
 

Attachments

  • CDNSP-GUI.zip
    9.4 KB · Views: 175
Last edited by Type_O_Dev,
  • Like
Reactions: chronoss

NSWKUFU

Member
Newcomer
Joined
Jul 5, 2018
Messages
18
Trophies
0
Age
34
XP
80
Country
France
Finally I've managed to make it work with a NSP downloaded on an European forum. Maybe the location matters after all, I'm not 100% sure about that because I still don't know if they used an European cert to download the NSP. Or maybe it's just the cert from CDNSP archive I've downloaded which isn't working properly. If I figure it out, I'll let you guys know.
 

halcyonknight

Member
Newcomer
Joined
Jun 14, 2018
Messages
14
Trophies
0
Age
28
XP
138
Country
United States
anyone got any links on how to make this work on OSx?

Assuming you mean Mac and not SX OS, hippy dave posted a slightly edited version for Macs on page 6, and from there if you just throw in the necessary files for the fixed version of CDNSP, it *should* all work. If I remember correctly the only change you'll have to make manually to the new version of CDNSP.py is going down to around line 223 and making sure it matches the picture I attached. I also have to make sure all my commands start with "python3" rather than just python, otherwise it tries to use the default installation of 2.7. (Hopefully I'm not forgetting any of the necessary steps, I fiddled with it a lot to get it working on mine.)
 

Attachments

  • Screen Shot 2018-07-05 at 5.16.52 PM.png
    Screen Shot 2018-07-05 at 5.16.52 PM.png
    25 KB · Views: 318
  • Like
Reactions: urdaddy

ANTONIOPS

Well-Known Member
Member
Joined
Jan 15, 2016
Messages
126
Trophies
0
Age
32
XP
862
Country
Spain
Can anyone send me the link to the zip? I can't find it. I have 2 consoles and one of them is already banned so I can't test with its certificate safely.


EDITED: Nevermind, I found it.:wacko:
 
Last edited by ANTONIOPS,

Robman2122

Well-Known Member
Newcomer
Joined
Oct 14, 2015
Messages
84
Trophies
0
Age
34
XP
274
Country
United States
So wait, why is this dangerous? It says you explained it in the thread but I must be blind.
For anyone who's confused as to the risks of this process, all of the following items are used to install an nsp file and (most likely) will lead to a ban in their own right. Doing any combination of these items increases your odds of a ban even more so.

- Using SX OS (required for backups to play)
- Using LayeredFS (required for Dev Menu)
- CDN downloading (when done with your own switches cert or potentially, even on your own internet connection without a VPN)
- Using Dev Menu to install an nsp file
- Installing an nsp file for any game you do not own, or even ones you do

If you remotely care about online access or legitimate eshop access, do not hack your switch.



Sent from my ASUS_P00J using Tapatalk
 
  • Like
Reactions: Draxzelex

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • The Real Jdbye @ The Real Jdbye:
    both of which work well in potplayer
  • The Real Jdbye @ The Real Jdbye:
    amd is a bit cheaper though
  • Psionic Roshambo @ Psionic Roshambo:
    Cheaper and they are less stingy with the RAM not a big issue now but I can imagine in a yard or two things might be different
  • Psionic Roshambo @ Psionic Roshambo:
    Year not yard lol
  • The Real Jdbye @ The Real Jdbye:
    the vram is one advantage when it comes to AI but ends up being slower even with that and really AI is the only use case that needs more than 12gb vram right now
  • Psionic Roshambo @ Psionic Roshambo:
    Interesting lol
  • Psionic Roshambo @ Psionic Roshambo:
    I think I watched a video where two games at 4K where eating just over 16GB of RAM and it's the one case where the 7900XT and XTX pulled ahead (minus RTX of course)
  • Psionic Roshambo @ Psionic Roshambo:
    So my opinion is that they could age a bit better in the future, and maybe AMD will continue improving them via drivers like they tend to do. No guarantee there but they have done it in the past. Just a feeling I have.
  • The Real Jdbye @ The Real Jdbye:
    cyberpunk at 4k without DLSS/fidelityfx *might* exceed 12gb
    +1
  • The Real Jdbye @ The Real Jdbye:
    but that game barely runs at native 4k
  • Psionic Roshambo @ Psionic Roshambo:
    I think it was some newer games and probably poorly optimized PS4 or PS5 ports
  • The Real Jdbye @ The Real Jdbye:
    they definitely will age better but i feel dlss might outweigh that since it looks about as good as native resolution and much less demanding
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    When I played Cyberpunk on my old 2080 Ti it sucked lol
  • The Real Jdbye @ The Real Jdbye:
    AMD could introduce something comparable to DLSS but nvidia's got a lot more experience with that
  • The Real Jdbye @ The Real Jdbye:
    least amd 7xxx has tensor cores which the previous generations didn't so there is the potential for AI upscaling
  • Psionic Roshambo @ Psionic Roshambo:
    They have FSR or whatever it's called and yeah it's still not great
  • The Real Jdbye @ The Real Jdbye:
    so AMD seem to finally be starting to take AI seriously
  • Psionic Roshambo @ Psionic Roshambo:
    Oh yeah those new 8000 CPUs have AI cores built in that's interesting
  • Psionic Roshambo @ Psionic Roshambo:
    Maybe they plan on offloading to the CPU?
  • Psionic Roshambo @ Psionic Roshambo:
    Would be kinda cool to have the CPU and GPU working in random more
  • Psionic Roshambo @ Psionic Roshambo:
    Tandem even
  • The Real Jdbye @ The Real Jdbye:
    i think i heard of that, it's a good idea, shouldn't need a dedicated GPU just to run a LLM or video upscaling
  • The Real Jdbye @ The Real Jdbye:
    even the nvidia shield tv has AI video upscaling
  • The Real Jdbye @ The Real Jdbye:
    LLMs can be run on cpu anyway but it's quite slow
    The Real Jdbye @ The Real Jdbye: LLMs can be run on cpu anyway but it's quite slow