Homebrew RELEASE NSP Rename

  • Thread starter Thread starter PrixM
  • Start date Start date
  • Views Views 85,015
  • Replies Replies 185
  • Likes Likes 15
I'm confused about nsp names. aren't they supposed to be a string of alphanumeric characters? 'cause the naming tool I used on nsp files ended up naming them after the game name which I assume won't work on a switch?
 
I'm confused about nsp names. aren't they supposed to be a string of alphanumeric characters? 'cause the naming tool I used on nsp files ended up naming them after the game name which I assume won't work on a switch?

NSP files get installed using a tool of some sort such as tinfoil, the naming doesn't really matter once it's installed the nsp can be removed from the sdcard. I've run into occasional issues with special characters in the nswdb that then make it into the rename process. Could we get an option added maybe called "safe name" or "replace special characters"? Something that makes sure we don't have things that tinfoil and the ftp homebrew can't read? Alternatively I could also see if those developers are going to add unicode support but I imagine it's easier to change the VB app than it is to change switch homebrew code. Some examples are Pokkén Tournament and Mario + Rabbids both cause issues because of special characters.
 
  • Like
Reactions: godreborn
NSP files get installed using a tool of some sort such as tinfoil, the naming doesn't really matter once it's installed the nsp can be removed from the sdcard. I've run into occasional issues with special characters in the nswdb that then make it into the rename process. Could we get an option added maybe called "safe name" or "replace special characters"? Something that makes sure we don't have things that tinfoil and the ftp homebrew can't read? Alternatively I could also see if those developers are going to add unicode support but I imagine it's easier to change the VB app than it is to change switch homebrew code. Some examples are Pokkén Tournament and Mario + Rabbids both cause issues because of special characters.

Sure
Next version get a feature called DOS Name/Safe Name... or something like this.
I'll replace accent é... with regular e..., + with plus, & with and...
Today is no time for coding so the version will be online tomorrow if i get answers to the following questions

Alowed chars for this old systems... are
A-Z a-z 0-9 ` ' { } ( ) % & - @ # $ ~ ! _ ^ but i think they also have no Problem with :[] or?
How about ,. The . in a filename and not .nsp?
 
Last edited by PrixM,
Whenever I open NSP Rename I get the following error boxes popup a number of times before the windows actually loads.
postimg.cc/gallery/kus5o5ri/ <-can't post actual link as new member

If you could tell me what the error codes mean I can look into it or a fix would be great.
 
Whenever I open NSP Rename I get the following error boxes popup a number of times before the windows actually loads.
postimg.cc/gallery/kus5o5ri/ <-can't post actual link as new member

If you could tell me what the error codes mean I can look into it or a fix would be great.


Random.cls reads binary data from files.
GetGameInfos tryes to read the ID,Firmware,Gametype... thru Random.cls

I can't tell you exactly whats the Problem.
A first tip is:
It looks like you have a 0 Byte file in the as Source selected directory.

I try to recreate the error and fix it for the next version but without a list of the files in the path... its real hard for me.

Think i found the Problem

There seems to be an error with Subdirectorys and only one NSP
Next version fix this and adds a double chek for this problem ;-)

Next Version is online
Fix is included.
@dyerseve Save Name function is added
New fuctions to easyer hold your SD up to date added

Like allways have Fun.
If you like it then LIKE IT

Post wishes ideas ... an i see if i can make it.
 
Last edited by PrixM,
  • Like
Reactions: dyerseve
And another new Version is online
Biggest news is the Soundex(Phonetic) Find (CTRL+F)
With this algorithm you can find files even if you don't know how to write the name right (e.g. rabits finds rabidds)
Good for non english people.
 
And another new Version is online
Biggest news is the Soundex(Phonetic) Find (CTRL+F)
With this algorithm you can find files even if you don't know how to write the name right (e.g. rabits finds rabidds)
Good for non english people.

I just recently updated to the latest builds for tinfoil and sys-ftpd and the "safe names" aren't as bad an issue now, the + is ok, but foreign characters cause the file to not display in tinfoil, so hopefully it's still useful for some. Also rather than "save naming" it should be called "safe naming"

In the latest build I'm getting quite a few VB errors, it's possibly related to vb6 support on W10 64bit or maybe the supplemental files I'm providing the program... anyone else having this issue?

I can't get the createdb.exe to get much further than a few titles... I'm suspecting it's getting hung up on special characters or something it doesn't like in the titlekeys.txt
I get this error:
ID errror. Check ID-File (Maybe no GameID in File)

On the main application upon launching I get:
Error 52 (Bad file name or number) in procedure
(Form_Load) of (Form1.frm).

The interface displays briefly and then it closes. I'm suspecting it's something in the additional files I'm supplying to it. But even in a fresh setup letting it download the titlekeys file it seems to have the same problem.
 
@dyerseve Much text but not not enough info to fix anything. exept my bad english.
I can replace/change any char if i know them. I use sx os so i can't recreate your Problems. NO FTP(to slow) and no tinfoil...

Win10 x64 works without any problems with VB.
NSP Rename is written on Win10 Home x64 and test Testsystems i use 7 Enterprise / 10 Pro both systems are x64 / clean and without extra installations.

Made DB's for any existing Language. Not one error. CreateDB is full unicode compatible. if you can tell me where it hangs i try to find the problem. But without any info?
There must be an error in your titlekeys.txt. I tried the last without errors. A short time titlekeys.txt (BOBs GUI / NSP-Rename) had errors.
Nintendo US has over 800 Gamepages and you are US?. Or send me your titlekeys and the language setting you used as PM so i can test it.

Your error 52 comes from reading DB's
The version you use reads
titlekeys.txt
if existing nswdb.xml
And also if exists webdb.txt
I think the error in createdb made an empty or bad webdb.txt
Remove/rename them all.
titlekeys & nswdb could be downloaded thru NSP Rename.
 
NEW Version is online.
Main features:
Autoupdate, Support for BOB's gameinfos. Genrefilter. Changing Imagepath and use other programms images.........
 
Last edited by PrixM,
Hi! How do I use BOB list .txt file generated by NSP Rename? I tried to replace the .txt in CDNSP config file but it didn't work. In practice, CDNSP is not even able to scan my NSP game folder.
 

Random.cls reads binary data from files.
GetGameInfos tryes to read the ID,Firmware,Gametype... thru Random.cls

I can't tell you exactly whats the Problem.
A first tip is:
It looks like you have a 0 Byte file in the as Source selected directory.

I try to recreate the error and fix it for the next version but without a list of the files in the path... its real hard for me.

Think i found the Problem

There seems to be an error with Subdirectorys and only one NSP
Next version fix this and adds a double chek for this problem ;-)

Next Version is online
Fix is included.
@dyerseve Save Name function is added
New fuctions to easyer hold your SD up to date added

Like allways have Fun.
If you like it then LIKE IT

Post wishes ideas ... an i see if i can make it.

Still getting error with new version, so poked a bit more as you were kind enough to reply.
It appears to be a problem with special chars in the filename specifically in my case the ō and Ō along with the ~ chars.

Cheers.

PS. New version appears to be stripping additional chars like square brackets from renaming when safe naming is on, see img attached (brackets should be safe?).

!!! More Importantly: Just noticed that using the safe files option removes the . (period) from before the filename extension making the file typeless in windows. :(
 

Attachments

  • Capture.PNG
    Capture.PNG
    1.5 KB · Views: 374
Last edited by F3Speech,
Whenever I open NSP Rename I get the following error boxes popup a number of times before the windows actually loads.
postimg.cc/gallery/kus5o5ri/ <-can't post actual link as new member

If you could tell me what the error codes mean I can look into it or a fix would be great.

for your last error(error 9) : have a look, if you have Fossil Hunter in your gamepath, try to remove them: i had 2 corrupted versions of that game(from 2 different sources). reloaded form CDNSP, now works
also i could be, that another nsp file is corrupt, try to add them one by one, step by step
 
for your last error(error 9) : have a look, if you have Fossil Hunter in your gamepath, try to remove them: i had 2 corrupted versions of that game(from 2 different sources). reloaded form CDNSP, now works
also i could be, that another nsp file is corrupt, try to add them one by one, step by step
Thanks for your answer.
Next version catch this errors and make an LOG for such Games.
So you get a list of them after scan.

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

Still getting error with new version, so poked a bit more as you were kind enough to reply.
It appears to be a problem with special chars in the filename specifically in my case the ō and Ō along with the ~ chars.

Cheers.

PS. New version appears to be stripping additional chars like square brackets from renaming when safe naming is on, see img attached (brackets should be safe?).

!!! More Importantly: Just noticed that using the safe files option removes the . (period) from before the filename extension making the file typeless in windows. :(
Uhh F...
I "fixed" an error into my code :-)

Next version will be OK.
Do you need a tool to get these files back?
If yes i'll write one and send it. Or use Massrename in TotalCommander ;-)


Fixed Version is Online
 
Last edited by PrixM,
  • Like
Reactions: Moko
hello

i'm back

do you think you could add a column in nsp rename to inform us if an update are outdated or not ?
 
hello

i'm back

do you think you could add a column in nsp rename to inform us if an update are outdated or not ?
Yes but why?
This is no cdnsp so i need a database with this infos.
I don't know a webpage with this infos so you have to use a tool like BOB's GUI or something like that
If you use one of these tools you have a perfect source for latest news (much better than i ever can do it)
 
  • Like
Reactions: Moko
just to add new features/information

nsp rename is able to know which version of a game/update so it could be interesting to know if its de the last version

you just to compare version to the latest
if its lower outdated
 
just to add new features/information

nsp rename is able to know which version of a game/update so it could be interesting to know if its de the last version

you just to compare version to the latest
if its lower outdated
Thats one of the Features of BOBs CDNSP GUI
Like i sayd:
To get a list of actual updates you have to grab them from Big N's servers.
This is a job for cdnsp.

If there is a way without nintendos eshop i will do it ;-)
 
Last edited by PrixM,
just to add new features/information

nsp rename is able to know which version of a game/update so it could be interesting to know if its de the last version

you just to compare version to the latest
if its lower outdated
There is a new titlekeys.txt comming
From the day it's online i will show outdated versions in list.
 

Site & Scene News

Popular threads in this forum