well seems almost perfect now
almost ^^
i noticed each time you click on choose source directory , it always go back to the root of your desktop even if you select a specific directory just before
maybe you could start from the install directory of nsp rename and then memorise last directory used
ps : is the titlekeys.txt something like official or just cdnsp pattern for naming game ?
VB6? ...Really?A small tool for Windows to rename NSP files.
Retrieves the ID from the NSP and uses titlekeys.txt to rename
Rename + Move + Copy
Naming/List criterias: Needed firmware, ID 16/32 bit, Key, Name, Type, Version, Master ID, Master Name, Needed Update
Hide/Show Games/Updates/DLC
Fileoperations Copy or Move with or without Rename or only Rename
Delete,Show in Explorer,
Automark for old versionsOpen Nintendos webpage for your Country
Copy/Move NSP to Maingame subfolders incl. Updates & DLC
Create Gamelist as CSV,HTML,XML,XLS
Create "havelist" (installed.txt) for BOBs CDNSP-GUI
Use OwnTitlekeys.txt to overwrite or add files in titlekeys.txt
And REAL FAST
...
UPDATE:
V1.2.5 Own TitlekeysOptions forV1.0.4
Rename onlyUse with
Rename and Move
Rename and Copy
Game NSPsAdded Drag & Drop
DLC NSPs
Update NSPs
Added VERSION [v196608] as naming option.V1.0.5
Hopefully fixed and error whateverg1012 found.
Export list of NSP in sourcedir to Excel (Filename, ID, Key, Name, Type. Version)V1.0.6
Fixed error in VERSION naming (Program stopped without any message)
Errorfix: Now driveselector also changes if you use drag&dropV1.0.7
Titel.txt is replaced with titelkeys.txt. Both work but takes titelkeys.txt if present.
Downloads actual titelkeys.txt if no titles/titelkeys is present.
Shows status under movebutton while working
Works with ini file to save all your settings readable (config.txt not longer needed)
Short names It seems switch has a installproblem with filenames longer than 67chr +.nsp
if option is selected it cuts the filename after 67 chars
Cuts of the last [] block bevore char 68 or the text if there is only text at the end.
Errorfix: Download for titlekeys.txt worked only on win10 now should work from xp to 10V1.0.8
Naming with ID32 or ID16 is now possible : Thx to Bellebite2000 for info about the error and the idea with ID16/32
Errorfix: Component mswinsck.ocx not correctly registeredV1.0.9
Added Update titlekeys buttonV1.0.10
Still not perfect suport for unicode files added (e.g.10秒走... 10 Second Run)
Files can be renamed.... but no corect display in error log + no creation of unicode names from titlekeys
Now full support for Japanese filenames read/writeV1.0.11
Only Errorlog shows ? for Japanese chars
Rewritten many codelines for better performance and compatibilit
Added Source to BOB buttonV1.0.12
Creates a installed.txt compatible with BOBs GUI so you can name your files like you want it
New way to create your filenames. Now much more possibilitieV1.0.13
ErrorFix: Version got wrong result for Arms Update maybe also othersV1.0.14
Spaces at the end of Text for Update,DLC,Game are now saved properly to ini.
Code size reduced and speed increased
Source to BOB now shows if you have som old Updates (e.g. v65536 & v131072)
Click on a file in errorlog opens it in explorer
ErrorFox: In v13 the version was allways 65536.V1.1.0
Rewritten many routines.V1.1.1 only smal changes
Gamelist creation as CSV,XML,HTML,XLS (Source to List Button)
New functions in Errorlog
Show file in ExplorerShort Names is now Length + Textbox
Show all files in Explorer
Delete file
Open Nintendos webpage for file
Now you can set the max length for filenames
If a path + filename in total is longer 67 chars the switch wont install it
You get Installation failed code 00002
Set your own value if you use subdirs
New naming/list criteria: Needed FirmwareV1.2.0 Complete rebuild
Wrote a complete new and faster routine to get the gameinfos.
Now shows files incl. all Data (Filename,Name,ID16/32, Version, Needed Firmware, Key)V1.2.1 Small Bugfix
Fixed error in Renaming routine. Now length is cut and actiondropdown worksV1.2.2 New Functions
You can include subdirectorys for NSPV1.2.3 Errorhandlers total.
Copy the actual line to clipboard
Create Destinatindirectorys for every Game incl. Updates & DLCs (Don't works for Rename only)
Added Multiselect to filelist.
Select all has the standard shortkey CTRL+A
Fixed error with wrong KEY in filename
Added Errorhandlers for all 345 Routines. So you can tell me where exact it crashes.V1.2.4 More Infos
Fixed error with colored text after sorting list.
Fixed new error with Renaming (Unicode files[Japanese...])
New Infos/Naming options:
Master ID & Master Name ID & Name of the Maingame for DLC/Updates
Needed Update If a DLC needs a path the you can see the ID
Select/Deselect all Files for this Game [Game+Update+DLC] (Right Click Menu or ALT+Click)V1.2.6 Find the Game
Copy infos for all selected to clipboard (Right Click Menu or CTRL + C)
Write infos for all selected to OwnTitlekeys.txt
OwnTitlekeys.txt to add/replace names and keys in titlekeys.txt (See ReadMe.txt)
See filesize and size for all selected files
Search function (CTRL+F).
Copy cell to Clipboard
Select newest Update (selects the newest Update for File under Mouse)?
Download NSP Rename 184KB
Maybe you need the VB6 Runtimes
Have Fun
I just find VB6 too limiting. For one, it doesn't support every type of variable, making calling DLL functions tricky and in some cases impossible unless a wrapper is written (which also can't be written in VB6)@Largooo Sure i remove it. \ / : * ? " < > | are not alowed in Filenames.
Next version use _ to replace them
@The Real Jdbye
Sure why not VB6. This was planed as quick 5 Min project (First Version 5KB Sourcecode now 797KB).
And for small easy projects i still use VB6 on Win10 ;-)
There is nothing you couldn't do with vb and inline assembler..
I was thinking about rewriting it in c but why?
No i still tried to use it but this NSWDB is not good enough for NSP.
NO DLC
Not all NSP games ...
The only thing i can do is a mix between both databases.
I just find VB6 too limiting. For one, it doesn't support every type of variable, making calling DLL functions tricky and in some cases impossible unless a wrapper is written (which also can't be written in VB6)
I use C# these days, but even if that's not your cup of tea, there's Visual Basic .NET which has basically the same functionality.
For the longest time I was using Delphi as my go to for small projects. Even though it's archaic and the writing style and syntax is confusing compared to other languages, I used it for so long that it became like second nature for me. And it has a really good UI toolkit. But so does .NET and C# is easier to use so I just use that now even though I'm not as used to it as I was with Delphi.
You would probably like C# though. The UI toolkit is still WinForms (unless you use WPF but that's a whole other beast) and many things are similar to VB6, but without the limitations caused by the language used.
cdnsp or bbb-n-ak9ra should be the same for this toolVery nice utility!
Is there a chance to add functionality to rename scene releases? For example, bbb-n-ak9ra.nsp to SteamWorld Dig.nsp? Or it is only supposed to work with NSPs downloaded using CDNSP?
According to BBB that is the standard NSP format. Everyone else is doing it wrong.cdnsp or bbb-n-ak9ra should be the same for this tool
The renaming routine takes the ID from the File and not any filenames...
This id (01009320084A4000...) = SteamWorld Dig
So it should work without problems.
OK I tested it.
They dont use standard NSP fileformat!
So i hav to play a littlebit with this files.
Thanks, PrixM! I tested and received this warning/error at the end:
The Flame In The Flood Complete Edition [UPD][0100c38004dcc800][v131072].nsp
New name too long
The Flame In The Flood_ Complete Edition [UPD] [0100c38004dcc800][v131072].nsp
Cut to
The Flame In The Flood_ Complete Edition [UPD] [0100c38004dcc800].nsp
It's only 76 characters and sits in C:\NSPs path. Is this character count check in place to make sure it can be installed on Switch (I'm using SX PRO)?