RELEASE NSP Rename

Discussion in 'Switch - Emulation, Homebrew & Software Projects' started by PrixM, Jul 28, 2018.

  1. PrixM
    OP

    PrixM GBAtemp Regular

    Member
    2
    Apr 14, 2009
    Gambia, The
    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
    Hide/Show Games/Updates/DLC
    Fileoperations Copy or Move with or without Rename or only Rename
    Delete,Show in Explorer,

    Open Nintendos webpage for your Country
    Automark for old versions
    Create Gamelist as CSV,HTML,XML,XLS
    Create "havelist" (installed.txt) for BOBs CDNSP-GUI


    And REAL FAST
    ...


    UPDATE:
    History
    V1.2.2 New Functions
    You can include subdirectorys for NSP
    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​
    V1.2.3 Errorhandlers total.
    Added Errorhandlers for all 345 Routines. So you can tell me where exact it crashes.
    Fixed error with colored text after sorting list.
    Fixed new error with Renaming (Unicode files[Japanese...])​


    Download NSP Rename

    [​IMG]
    Maybe you need the VB6 Runtimes


    Have Fun
     
    Last edited by PrixM, Aug 18, 2018 at 4:25 PM
    stewacide, NoNAND, lordelan and 4 others like this.
  2. iriez

    iriez GBAtemp Regular

    Member
    2
    Oct 27, 2016
    United States
    Any chance for .rar support? I believe for just renaming extraction is not needed, so shouldn't add too much processing time to the mix :) (I think)
     
  3. PrixM
    OP

    PrixM GBAtemp Regular

    Member
    2
    Apr 14, 2009
    Gambia, The
    I can rename files in an .rar without extraction but
    1. my tool needs data from the file.:cry:
    2. Rar doesn't compress nsp good (all test rar had 1 byte more than the .nsp)

    Btw.: The next version will get nsp version as naming option.
    I also extract it from the file. Get version from 15GB file take about 2ms :)
     
    whateverg1012 likes this.
  4. whateverg1012

    whateverg1012 Fringe Weaver

    Member
    5
    Sep 23, 2016
    United States
    VA-11 Hall-A
    Nice tool, once the version naming is added it'll be perfect.

    Edit: Minor annoyance but it adds an extra space right before the .nsp, you should fix that if you can.
     
    Last edited by whateverg1012, Jul 29, 2018
  5. PrixM
    OP

    PrixM GBAtemp Regular

    Member
    2
    Apr 14, 2009
    Gambia, The
    I dont get an extra space?
    Changed some code and hope this fixes the bug.
    New version is online:D
     
    whateverg1012 likes this.
  6. morrison22

    morrison22 GBAtemp Advanced Fan

    Member
    6
    Nov 26, 2005
    United States
    Looks nice. Any chance for an Os-X version? Or a cross platform version?
     
  7. whateverg1012

    whateverg1012 Fringe Weaver

    Member
    5
    Sep 23, 2016
    United States
    VA-11 Hall-A
    Working great now, thanks!
     
  8. Xyphoseos

    Xyphoseos Hack or no games

    Member
    4
    Jun 29, 2016
    France
    Rivière
    EDIT : What must be on titles.txt ?
     
    Last edited by Xyphoseos, Jul 29, 2018
  9. PrixM
    OP

    PrixM GBAtemp Regular

    Member
    2
    Apr 14, 2009
    Gambia, The
    Sorry only Windows at the moment.
    Maybe if i'm bored and have a lot of time i will program x platform version.


    01000645300ca0500000000000000003|fF40be662e7533662f9dc8f6c8bbec1a|Super Marko
    ID|KEY|Name
    Take an standard new titles.txt like you find it all over the net :)
     
    Last edited by PrixM, Jul 29, 2018
    morrison22 likes this.
  10. stewacide

    stewacide Advanced Member

    Newcomer
    1
    Jun 22, 2018
    Canada
    Opens in Wine once you install the VB6 runtime, but what is titles.txt?

    — Posts automatically merged - Please don't double post! —

    So it doesn't extract this data from the .nsp itself?
     

    Attached Files:

    Xyphoseos likes this.
  11. Dissaor

    Dissaor Member

    Newcomer
    3
    Feb 2, 2008
    United States
    What's the benefit of renaming NSP files?
     
  12. PrixM
    OP

    PrixM GBAtemp Regular

    Member
    2
    Apr 14, 2009
    Gambia, The
    Everyone has to decide for themselves. I personally like to have all files sorted neatly.
    I find it clearer if all have the same naming.
     
  13. johnnyturk

    johnnyturk GBAtemp Regular

    Member
    3
    Mar 14, 2009
    it finds the nsp, but doesnt seem to do anything when i click to rename?
     
  14. PrixM
    OP

    PrixM GBAtemp Regular

    Member
    2
    Apr 14, 2009
    Gambia, The
    A little more info would be good. Does the program stop workig or what?

    Do you use the version to rename?
    I found an error in this sub and fixed it in V1.0.5.
     
    Last edited by PrixM, Jul 30, 2018
  15. johnnyturk

    johnnyturk GBAtemp Regular

    Member
    3
    Mar 14, 2009
    hi, sorry

    so it still doesnt seem to rename. no error, program "doesnt" crash

    rarely i get a subscript error 9 or something similar to that. if it doesnt do that, it doesnt do anything, and it rarely crashes
     
  16. PrixM
    OP

    PrixM GBAtemp Regular

    Member
    2
    Apr 14, 2009
    Gambia, The
    Seems you are the only one with this problem.
    I cant recreate it so you got a private message with an spezial version that messages any error + errorline ....

    ANYBODY else got such an error?
     
  17. Bellebite2000

    Bellebite2000 Member

    Newcomer
    1
    Jul 31, 2018
    Afghanistan
    Doesn't work for me neither, same problem. Clicking doesn't do anything.

    A few more comments:
    1) Why aren't you using titlekeys.txt like everyone else? Having to rename it everytime seems really unnecessary.
    2) Would be good to select if you want to have 16 or 32 digits Title IDs. Some scripts are not happy with 16 or 32 version, so being able to swap back and forth between the two would be great.

    Overall, great idea and interface, just wished it would do something when I press the button :)
     
  18. holdengray

    holdengray Newbie

    Newcomer
    1
    Sep 6, 2017
    United States
    Program works great. Thanks for the hard work. Is there any way of making it shorten names? For example some nsp files fail to install unless they have shorter names on the switch.
     
  19. PrixM
    OP

    PrixM GBAtemp Regular

    Member
    2
    Apr 14, 2009
    Gambia, The
    Still not enough Infos to find any error. Winversion? Path for the NSP and Destination, Number of files.... Send me a message with all data you can give me and i will try to fix the errror. Maybe you try this version with special errorhandlers

    16 or 32 digits. My program can handle both :)
    Next version will download an actual list if there is none.
    I added support for both Filenames for next upload. Preffers titlekeys.txt if finds both. The titles.txt comes from an other tool i used. I never noticed the mistake:D

    Sure i can do but do you know how long is too long?
    If you can deliver me this info i will add it to the next version.

    Ohh and what should i cut off?
    Super Marko [UPD] [v131072][01000645300ca0500000000000000003] [fF40be662e7533662f9dc8f6c8bbec1a].nsp
    could be
    1. Super Marko [UPD] [v131072] [01000645300ca0500000000000000003].nsp
    or
    2. Super Marko [UPD] [v131072] [01000645300ca0500000000000000003] [fF40be662e75.nsp
    or cut the Gamename or or or
    I personal would cut the last block like 1.
     
    Last edited by PrixM, Jul 31, 2018
  20. holdengray

    holdengray Newbie

    Newcomer
    1
    Sep 6, 2017
    United States
    I agree with you that the first suggested one you listed would look better. Also, it appears that the limit for how long a .nsp file can be is 67 letters. If it exceeds that, then it gives an error. Most games are already under that limit, but some that I've installed do have longer names then that and I have to manually rename them in order to install them. It would be great to have the program do this by default for any .nsp file if that's possible.