developersu / ns-usbloader

Awoo Installer and GoldLeaf uploader of the NSPs (and other files), RCM payload injector, application for split/merge files.
GNU General Public License v3.0
1.87k stars 127 forks source link

[Feature request]: Batch rename files given a pattern #62

Open Corgano opened 4 years ago

Corgano commented 4 years ago

There are a couple tools out there that can batch rename NSP, NSZ, XCI, XCZ files out there according to a pattern, made form name, version, display version, title ID, etc. However none of them are very good: SBM for example doesn't update when renaming files half the time, and often fails with NSZ's.

Since this tool already has other tools integrated into it, like a merger, splitter, RCM injector, etc how difficult would it be to make it parse file meta data and rename files as well?

Masamune3210 commented 4 years ago

NSC_BUILDER works perfectly for renaming, btw. The only time I have had issues with it is when the file is damaged

Corgano commented 4 years ago

Is there a simpler way to rename other than going through the NSCB.bat? it takes a LOT of fiddling to get it going. Is there a guide somewhere for it?

Masamune3210 commented 4 years ago

There might be a way to call it from the command line, but I'm not sure. Would bet no though, as quite a bit is required to get the name from inside the nsp/xci. I use it all the time for my own archives and have just gotten really fast at running through the numbers. Slowest part is having to take my hands off the keyboard to drag the current folder over

developersu commented 4 years ago

I don't even understand what problem you're trying to solve. If you want to rename just rename it..

Corgano commented 4 years ago

If i had 10 or 20 files, sure no problem. However when you have 300+ files to rename, and they all have dumb names like titleid.nsp it's very tedious to look up the id, hey the game title, version, etc and repeat for every file.

That's the utility of a renamer. If the app already reads the nsp's and can extract the information from its headers, you can have it batch rename the files automatically and consistently significantly faster than a human.

Switch backup manager can rename files, but it has several bugs that make it less than ideal. I'm using nscb right now but its clunky and limits how much customization you can do for the formatting. Having a batch renaming tool built in would make ns-usbloader even more useful