Homebrew Question Renaming NSP Files

godreborn

Welcome to the Machine
OP
Member
Joined
Oct 10, 2009
Messages
38,471
Trophies
3
XP
29,180
Country
United States
I'm trying to mass rename nsp files. I've been using nsp tool (rename), but it errors on several of the files. with switch backup manager, it doesn't error, but it skips over the same nsp files. I think it has something to do with the titlekeys.txt. I'm using the latest one I could find. it finds mortal kombat 11, but none of its dlc.
 

Sovikos

Well-Known Member
Member
Joined
Mar 17, 2018
Messages
127
Trophies
0
XP
389
Country
Canada
I have the same problem. I use Switch Backup Manager, but it doesn't get the Game Title to rename the files correctly. Any idea how to mass rename tons of nsp files so I can tell if I have doubles or not?
 

godreborn

Welcome to the Machine
OP
Member
Joined
Oct 10, 2009
Messages
38,471
Trophies
3
XP
29,180
Country
United States
I have the same problem. I use Switch Backup Manager, but it doesn't get the Game Title to rename the files correctly. Any idea how to mass rename tons of nsp files so I can tell if I have doubles or not?

the default tab is for xci. there's another tab for eshop stuff. also, adding keys to the keys file will allow it to read newer games.
 

Sovikos

Well-Known Member
Member
Joined
Mar 17, 2018
Messages
127
Trophies
0
XP
389
Country
Canada
Yeah it's the eshop/nsp files that I'm having trouble with. I have an updated keys.txt file I believe, up to master key 08. Not sure about the titlekeys.txt if that needs to be updated though?
 

Sovikos

Well-Known Member
Member
Joined
Mar 17, 2018
Messages
127
Trophies
0
XP
389
Country
Canada
All the games show up (unless they have a double), but some newer games don't get the Game Title, Languages, Developer, MasterKey Version, etc... What's weird is it will sometimes get the info for the base game, but not the DLC or the updates.
 

godreborn

Welcome to the Machine
OP
Member
Joined
Oct 10, 2009
Messages
38,471
Trophies
3
XP
29,180
Country
United States
try nx info. it will show all that info including if it's digitally signed and safe to install.

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

also, try nsp verify to scan for corruption. it will tell you if there's a bad nca as it will error immediately. I've seen that happen with a few corrupted conversions of xci to nsp. neither that nor nx info rename games though. however, it will tell if something is wrong with it. it can even tell if the file has been converted just like switch backup manager.
 

Sovikos

Well-Known Member
Member
Joined
Mar 17, 2018
Messages
127
Trophies
0
XP
389
Country
Canada
What is NX info?

This is what my keys.txt looks like. Is that what yours looks like?

Screenshot_1.png
 

godreborn

Welcome to the Machine
OP
Member
Joined
Oct 10, 2009
Messages
38,471
Trophies
3
XP
29,180
Country
United States
yes, except I don't have master key 8. I don't know much about switch hacking (haven't hacked mine), but I think master key 7 was technically 8, since there's a key 0.
 

The Real Jdbye

*is birb*
Member
Joined
Mar 17, 2010
Messages
23,384
Trophies
4
Location
Space
XP
14,015
Country
Norway
What is NX info?

This is what my keys.txt looks like. Is that what yours looks like?

View attachment 176121
NX Game Info. It's able to show all sorts of info and doesn't need any title keys, so I have no idea why this particular program seems to need them.

Both yours and @godreborn 's keys.txt is really short. Maybe the other keys aren't needed, but just to be sure, try dumping your own keys or finding a complete dump online. The full keys.txt (or prod.keys as it's sometimes called) has a shitload of keys in it.
And godreborn, you should definitely have master_key_08. Newer DLCs and updates (and maybe some games) will need it. Not sure if that's the newest one, or there's more.
 
Last edited by The Real Jdbye,

godreborn

Welcome to the Machine
OP
Member
Joined
Oct 10, 2009
Messages
38,471
Trophies
3
XP
29,180
Country
United States
I don't believe it needs those extra keys. it's mostly the master keys that are required for newer games. XCI Builder has everything though.

edit: the games do have the title id, which you can get from hex. and, to my understand 800 at the end indicates an update. dlc is all over the place with its content id.
 
Last edited by godreborn,

Sovikos

Well-Known Member
Member
Joined
Mar 17, 2018
Messages
127
Trophies
0
XP
389
Country
Canada
NX Game Info. It's able to show all sorts of info and doesn't need any title keys, so I have no idea why this particular program seems to need them.

Both yours and @godreborn 's keys.txt is really short. Maybe the other keys aren't needed, but just to be sure, try dumping your own keys or finding a complete dump online. The full keys.txt (or prod.keys as it's sometimes called) has a shitload of keys in it.
And godreborn, you should definitely have master_key_08. Newer DLCs and updates (and maybe some games) will need it. Not sure if that's the newest one, or there's more.
Yeah I have that version of the keys.txt. I've heard that the keys need to be in ALL CAPS though, which mine are not. I've used notepad++ to uppercase them all, but then the program won't work because the "MASTER KEY 08" etc... is all uppercase. I'll need to go through each one and just uppercase the actual keys.
 

godreborn

Welcome to the Machine
OP
Member
Joined
Oct 10, 2009
Messages
38,471
Trophies
3
XP
29,180
Country
United States
not sure if it's case sensitive, but mine are in upper case, but like I said, I only have until master key 7. I think it can read base games, because a lot of that info you can through hex. I had this same problem as you, and as it turns out, it's because I was missing a few master keys. it only affected updates and dlc like mortal kombat 11's.
 

Sovikos

Well-Known Member
Member
Joined
Mar 17, 2018
Messages
127
Trophies
0
XP
389
Country
Canada
the default tab is for xci. there's another tab for eshop stuff. also, adding keys to the keys file will allow it to read newer games.

Yeah I have that version of the keys.txt. I've heard that the keys need to be in ALL CAPS though, which mine are not. I've used notepad++ to uppercase them all, but then the program won't work because the "MASTER KEY 08" etc... is all uppercase. I'll need to go through each one and just uppercase the actual keys.
I just fixed it to all uppercases except the master_key_08, xci_header_key etc... But it still doesn't pick up the names of base games like Claybook for example. It gets Mutant Year Zero, but it doesn't get the Update nsp name or some of it's info.
 

godreborn

Welcome to the Machine
OP
Member
Joined
Oct 10, 2009
Messages
38,471
Trophies
3
XP
29,180
Country
United States
not sure. @Garou or someone else should know what's going on. he's the one who told me to get the rest of the master keys if games aren't showing up. he didn't mention any other keys that were needed. they may be need if converting or extracting content from the nsp, but something as simple as trimming or renaming, it may not need them. like I said, you can tell it's update by looking at the .tik in hex. it will end with 800.
 

Sovikos

Well-Known Member
Member
Joined
Mar 17, 2018
Messages
127
Trophies
0
XP
389
Country
Canada
Yeah I can see which ones are updates easily enough because I sorted them out by BASE, DLC, and UPDATE lol, The new ones that come in will usually have a [vXXXXXXX] if it's an update, and Switch Backup Manager at least tells me that.

Could be the source I am getting the files from has been messing with them and stripping the metadata out? Not too sure how it all works.
 

godreborn

Welcome to the Machine
OP
Member
Joined
Oct 10, 2009
Messages
38,471
Trophies
3
XP
29,180
Country
United States
if you run the nsp through nsp verify, it will probably tell you if the metadata is still there. I'm sure it will error or something.
 

Sovikos

Well-Known Member
Member
Joined
Mar 17, 2018
Messages
127
Trophies
0
XP
389
Country
Canada
Yeah I did that and had a few that had errors, but they all come up normally in SBM, so I was kind of confused why they didn't verify correctly.
 

godreborn

Welcome to the Machine
OP
Member
Joined
Oct 10, 2009
Messages
38,471
Trophies
3
XP
29,180
Country
United States
not sure. someone told me that some rips are missing their tickets due to having been prepurchased. since I haven't hacked/exploited my system, I don't really know if that's true. can a hacked system play a game with no ticket?
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • realtimesave @ realtimesave:
    @SylverReZ that guy seriously spent over 2 grand on that hot wheels pc?
    +1
  • RedColoredStars @ RedColoredStars:
    LTT is a noob
  • RedColoredStars @ RedColoredStars:
    Guy doesnt know wtf hes talking about half the time
  • realtimesave @ realtimesave:
    @SylverReZ that reminds me that my friend sells CRTs he gets cheap or free for hundreds of dollars. people are dumb
    +1
  • RedColoredStars @ RedColoredStars:
    And is incredibly annoying.
  • realtimesave @ realtimesave:
    man I just washed my shoes and they look exactly the same as before I washed them :|
  • realtimesave @ realtimesave:
    luckily they didn't fall apart
  • RedColoredStars @ RedColoredStars:
    Some CRTs are very much worth the price
  • RedColoredStars @ RedColoredStars:
    i used to go out to the recycling center every couple weeks and look at the crts and other electronics people would drop off. Usually screens were broken or severely scratched from being tossed around. Did find a good one here and there, but never anything like a 1080i widescreen crt.
  • RedColoredStars @ RedColoredStars:
    Or a good contition 40" Sony Trini that weighs 300 lbs. lol
  • RedColoredStars @ RedColoredStars:
    Literally 300 lbs. lolol
  • BigOnYa @ BigOnYa:
    I have a few of those boat anchors in my basement I tried giving away but no one wanted them, So anyone close to Columbus, Ohio area that wants them, (26", 2x 19") please come get, for free.
  • RedColoredStars @ RedColoredStars:
    Dont know anyone wants those smaller ones. Most are after larger sizes and the kinda top of the line models
  • RedColoredStars @ RedColoredStars:
    Motion handling and input lag on those things destroy plasmas, led, oled
  • realtimesave @ realtimesave:
    I had some really nice CRTs I should've kept
  • realtimesave @ realtimesave:
    now I have all lcd
  • realtimesave @ realtimesave:
    one in particular I regret getting rid of oh well :|
  • realtimesave @ realtimesave:
    the Sonys and stuff I don't care about
  • realtimesave @ realtimesave:
    and used LCD are hard to sell I can imagine.. not worth much
  • realtimesave @ realtimesave:
    @SylverReZ where do u lurk
  • a_username_that_isnt_cool @ a_username_that_isnt_cool:
    Is it piracy if it was released for free? Not in my opinion, but I also think it's not piracy if buying it isn't owning it, and it's not piracy if you can't buy it from the original creators anymore.
  • K3Nv2 @ K3Nv2:
    Free release can have loopholes where they still make money through ads
    +1
    Xdqwerty @ Xdqwerty: :sad: