Homebrew WIP NSP Organizer and mass downloader

morrison22

Well-Known Member
Member
Joined
Nov 26, 2005
Messages
618
Trophies
0
XP
1,948
Country
United States
The Blacklist does not prevent the nsps listed to not be renamed. Some nsp filenames have to be manually adjusted, so running nut will rename these nsp filenames, unless they can be blacklisted while renaming.
 
Last edited by morrison22,

blawar

Developer
OP
Developer
Joined
Nov 21, 2016
Messages
1,708
Trophies
1
Age
40
XP
4,311
Country
United States
Amazing Progress! You are the best! I will test it out now.
And if you can do a string to replace, make sure you include the _ space indicated, or however you want to have it done...

The spaces to remove are shown here:

"DLC_"
"_Demo"

I just committed this change.

--------------------- MERGED ---------------------------

I am trying to rename this and get this error.

could not find baseId for ./[DLC] WWE 2K18 [010009800203f001][v0].nsp

This happens to 35 DLC NSP's I have.

What does this mean?

This is my config

Code:
{
    "paths": {
        "titleBase": "./{name} [BASE] [{id}] [v{version}].nsp",
        "titleDLC": "./{name} [DLC] [{id}] [v{version}].nsp",
        "titleUpdate": "./{name} [UPD] [{id}] [v{version}].nsp",
    "titleDemo": "./{name} [DEMO] [{id}] [v{version}].nsp",
        "scan": "."
    },
    "download": {
        "base": true,
        "update": false,
        "demo": false,
        "dlc": true
    }
}

That error means you have a DLC for a title that is not in your titlekeys.txt. Basically you have WWE 2K18 DLC, but you dont have the base game.

--------------------- MERGED ---------------------------

Wasn't it just discovered you can get banned from the CDN for using CDNSP though?

Everyone here is using a public cert, not their console's cert.

--------------------- MERGED ---------------------------

This happens to 35 DLC NSP's I have.

I am assuming we have the same titlekeys.txt, all of the GalGun 2 DLC error's are because the DLC is for the japanese version of the game, which we do not have in our titlekeys.txt (we do have the US version, and that DLC works fine). All of those errors are DLC's people submitted title keys for, but noone submitted title keys for the base game.
 

kokkie20

Well-Known Member
Newcomer
Joined
May 7, 2008
Messages
82
Trophies
1
XP
524
Country
United States
Question, how do you set this up exactly?
I use the bob gui, i copied all the files from the zip to the folder where the gui is.
I try to run nut.py it just creates a folder and shuts down.
I tried running the bobs gui but still not downloading automatic stuff
I renamed bobs gui to CDNSP.py but still not working when i run both.
Anyone got a idea? Thanks
 

morrison22

Well-Known Member
Member
Joined
Nov 26, 2005
Messages
618
Trophies
0
XP
1,948
Country
United States
Question, how do you set this up exactly?
I use the bob gui, i copied all the files from the zip to the folder where the gui is.
I try to run nut.py it just creates a folder and shuts down.
I tried running the bobs gui but still not downloading automatic stuff
I renamed bobs gui to CDNSP.py but still not working when i run both.
Anyone got a idea? Thanks

This is a separate project from Bob's GUI. Nut is best used with cdnsp and/or renaming existing nsps. I haven't used the downloading part of it. I just find the renaming aspect very useful. Use cdnsp_next for downloading (or Bob's if u want a GUI).
 

kokkie20

Well-Known Member
Newcomer
Joined
May 7, 2008
Messages
82
Trophies
1
XP
524
Country
United States
This is a separate project from Bob's GUI. Nut is best used with cdnsp and/or renaming existing nsps. I haven't used the downloading part of it. I just find the renaming aspect very useful. Use cdnsp_next for downloading (or Bob's if u want a GUI).
Both work indeed for downloading, but iirc i saw a guy who said he used this with a auto cron job or so that it automates every hour to see if there is anything new and auto downloads it
 

morrison22

Well-Known Member
Member
Joined
Nov 26, 2005
Messages
618
Trophies
0
XP
1,948
Country
United States
Both work indeed for downloading, but iirc i saw a guy who said he used this with a auto cron job or so that it automates every hour to see if there is anything new and auto downloads it
cdnsp has a -updatedb function that can update and check whats new..manually, however i haven't messed with the downloading part of this yet so IDK what automation is available if any.
 

kokkie20

Well-Known Member
Newcomer
Joined
May 7, 2008
Messages
82
Trophies
1
XP
524
Country
United States
cdnsp has a -updatedb function that can update and check whats new..manually, however i haven't messed with the downloading part of this yet so IDK what automation is available if any.
Ok well thanks anyway for your reply! Maybe someone else can help me in the good direction! :D
 

morrison22

Well-Known Member
Member
Joined
Nov 26, 2005
Messages
618
Trophies
0
XP
1,948
Country
United States
I am assuming we have the same titlekeys.txt, all of the GalGun 2 DLC error's are because the DLC is for the japanese version of the game, which we do not have in our titlekeys.txt (we do have the US version, and that DLC works fine). All of those errors are DLC's people submitted title keys for, but noone submitted title keys for the base game.

Ahh. ok. So is there a way to have it rename the DLC if it exists in the folder, even if the base is not in the nsp folder? Or do u need the base in order to be able to rename the dlc, even though it's a separate nsp?
 
Last edited by morrison22,

blawar

Developer
OP
Developer
Joined
Nov 21, 2016
Messages
1,708
Trophies
1
Age
40
XP
4,311
Country
United States
Question, how do you set this up exactly?
I use the bob gui, i copied all the files from the zip to the folder where the gui is.
I try to run nut.py it just creates a folder and shuts down.
I tried running the bobs gui but still not downloading automatic stuff
I renamed bobs gui to CDNSP.py but still not working when i run both.
Anyone got a idea? Thanks

Copy all files (except titlekeys.txt) from the github repo to your working cdnsp gui bob directory and it will work. note: there is a CDNSP.py file in the repo that you should be using.
 
  • Like
Reactions: morrison22

kokkie20

Well-Known Member
Newcomer
Joined
May 7, 2008
Messages
82
Trophies
1
XP
524
Country
United States
Copy all files (except titlekeys.txt) from the github repo to your working cdnsp gui bob directory and it will work. note: there is a CDNSP.py file in the repo that you should be using.
Did that and when ever i run nut.py just quick black screen, creates a folder called _pycache_ and then closes it.
When i run CDNSP.py just black screen and its gone to :(
 

blawar

Developer
OP
Developer
Joined
Nov 21, 2016
Messages
1,708
Trophies
1
Age
40
XP
4,311
Country
United States
Did that and when ever i run nut.py just quick black screen, creates a folder called _pycache_ and then closes it.
When i run CDNSP.py just black screen and its gone to :(

you run nut.py not cdnsp.py.

you should run it from the command prompt so you can get some output too.
 

blawar

Developer
OP
Developer
Joined
Nov 21, 2016
Messages
1,708
Trophies
1
Age
40
XP
4,311
Country
United States
anything new worth noting?

No, I just added an encoding declaration in the header. His python is complaining about it. I spoke with @kornychaos last night who had the brilliant idea of downloading titles even if we do not have the encryption keys for them, so they can be unlocked later if we you get the title key. So that is the next big update I plan to add.
 
  • Like
Reactions: morrison22

kokkie20

Well-Known Member
Newcomer
Joined
May 7, 2008
Messages
82
Trophies
1
XP
524
Country
United States
I just uploaded a new version of nut.py, try that one.
Now it all works :D
At least i guess cause no more errors for me, and now it created new folder called _cache with a folder in there called versions and adding stuff in it.
Thank you :D
 

blawar

Developer
OP
Developer
Joined
Nov 21, 2016
Messages
1,708
Trophies
1
Age
40
XP
4,311
Country
United States
Now it all works :D
At least i guess cause no more errors for me, and now it created new folder called _cache with a folder in there called versions and adding stuff in it.
Thank you :D

Yes it will take 5-10 min the first time it runs if you have a lot of NSP's, it is grabbing the version info from nintendo for each one of your titles.

You're welcome, make sure you have at least 1.3 TB free if you are trying to download everything.
 

kokkie20

Well-Known Member
Newcomer
Joined
May 7, 2008
Messages
82
Trophies
1
XP
524
Country
United States
Yes it will take 5-10 min the first time it runs if you have a lot of NSP's, it is grabbing the version info from nintendo for each one of your titles.

You're welcome, make sure you have at least 1.3 TB free if you are trying to download everything.
Got a 4TB drive empty so no worry about space haha :D
Thanks for your hard work into this project to!
 

cdndave

Member
Newcomer
Joined
Feb 20, 2006
Messages
14
Trophies
0
XP
120
Country
Canada
Hi - I've been trying to get this to work!

Getting this error with the current version:

E:\CDNSP-GUI-Bob>py -3 nut.py
Traceback (most recent call last):
File "nut.py", line 268, in <module>
f.move()
File "nut.py", line 110, in move
if not self.fileName():
File "nut.py", line 139, in fileName
if not self.titleId in titles.keys():
AttributeError: 'Nsp' object has no attribute 'titleId'​
 
Last edited by cdndave,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    SylverReZ @ SylverReZ: @Psionic Roshambo, Probably.