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

  • Thread starter Deleted-451877
  • Start date
  • Views 533,510
  • 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
750
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: 177
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: 319
  • 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
  • No one is chatting at the moment.
  • Sicklyboy @ Sicklyboy:
    I'm not familiar with the technicalities of the differences between the two versions, but I'm wondering if at least some of those differences are things that you could port over to the US version in your patch without having to include copyrighted assets from the EU version
  • TwoSpikedHands @ TwoSpikedHands:
    @Sicklyboy I am wanting to fully change the game and bend it to my will lol. I would like to eventually have the ability to add more characters, enemies, even have a completely different story if i wanted. I already have the ability to change the tilemaps in the US version, so I can basically make my own map and warp to it in game - so I'm pretty far into it!
  • TwoSpikedHands @ TwoSpikedHands:
    I really would like to make a hack that I would enjoy playing, and maybe other people would too. swapping to the EU version would also mean my US friends could not legally play it
  • TwoSpikedHands @ TwoSpikedHands:
    I am definitely considering porting over some of the EU features without using the actual ROM itself, tbh that would probably be the best way to go about it... but i'm sad that the voice acting is so.... not good on the US version. May not be a way around that though
  • TwoSpikedHands @ TwoSpikedHands:
    I appreciate the insight!
  • The Real Jdbye @ The Real Jdbye:
    @TwoSpikedHands just switch, all the knowledge you learned still applies and most of the code and assets should be the same anyway
  • The Real Jdbye @ The Real Jdbye:
    and realistically they wouldn't

    be able to play it legally anyway since they need a ROM and they probably don't have the means to dump it themselves
  • The Real Jdbye @ The Real Jdbye:
    why the shit does the shitbox randomly insert newlines in my messages
  • Veho @ Veho:
    It does that when I edit a post.
  • Veho @ Veho:
    It inserts a newline in a random spot.
  • The Real Jdbye @ The Real Jdbye:
    never had that i don't think
  • Karma177 @ Karma177:
    do y'all think having an sd card that has a write speed of 700kb/s is a bad idea?
    trying to restore emunand rn but it's taking ages... (also when I finished the first time hekate decided to delete all my fucking files :wacko:)
  • The Real Jdbye @ The Real Jdbye:
    @Karma177 that sd card is 100% faulty so yes, its a bad idea
  • The Real Jdbye @ The Real Jdbye:
    even the slowest non-sdhc sd cards are a few MB/s
  • Karma177 @ Karma177:
    @The Real Jdbye it hasn't given me any error trying to write things on it so I don't really think it's faulty (pasted 40/50gb+ folders and no write errors)
  • DinohScene @ DinohScene:
    run h2testw on it
    +1
  • DinohScene @ DinohScene:
    when SD cards/microSD write speeds drop below a meg a sec, they're usually on the verge of dying
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Samsung SD format can sometimes fix them too
  • Purple_Heart @ Purple_Heart:
    yes looks like an faulty sd
  • Purple_Heart @ Purple_Heart:
    @Psionic Roshambo i may try that with my dead sd cards
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    It's always worth a shot
  • TwoSpikedHands @ TwoSpikedHands:
    @The Real Jdbye, I considered that, but i'll have to wait until i can get the eu version in the mail lol
  • I @ I-need-help-with-wup-wiiu:
    i need help with nusspli failed downloads, can someone respond to my thread? pretty please:wub: