1. giwty

    OP giwty Member
    Newcomer

    Joined:
    Sep 8, 2019
    Messages:
    29
    Country:
    United States
    Switch library manager
    (previously nsp-update, renamed to better reflect features)

    Easily manage your switch games backups

    [​IMG]
    [​IMG]

    Command line mode:
    [​IMG]
    [​IMG]

    Features:
    • GUI and command line modes (NEW!!)
    • Cross platform, works on Windows / Mac / Linux
    • Scan your local switch game library (NSP/NSZ)
    • Lists missing update files (for games and DLC)
    • Lists missing DLCs
    • Read titleId/version by decrypting NSPs (requires prod.keys)
    • Read titleId/version by parsing file name (example: Super Mario Odyssey [0100000000010000][v0].nsp).
    • Automatically organize games per folder
    • Rename files based on metadata read from NSP
    • Delete old update files (in case you have multiple update files for the same game, only the latest will remain)
    • Delete empty folders
    • Zero dependencies, all crypto operations implemented in Go.

    Changelog:
    Version 1.1 - Added GUI mode (experimental)


    Yet another "backup" manager for your switch games!
    This is focused on organizing and making sure the library is up to date.
    Also, as i'm on a Mac, none of the other alternatives was an option for me.
    No UI, but open to PR's.

    Source code & more information:
    https://github.com/giwty/switch-library-manager

    Download
    https://github.com/giwty/switch-library-manager/releases
     
    Last edited by giwty, Jul 4, 2020
    KimCW, ashven288, Starhatred and 6 others like this.
  2. naddel81

    naddel81 GBAtemp Addict
    Member

    Joined:
    Dec 14, 2009
    Messages:
    2,237
    Country:
    United States
    What is the best Windows alternative?
     
  3. UnT7oh

    UnT7oh Member
    Newcomer

    Joined:
    Mar 18, 2017
    Messages:
    47
    Country:
    United States
    This is such a great tool!

    This has linux and windows builds, the OP meant that he created this so he had an option on mac.
     
    naddel81 likes this.
  4. naddel81

    naddel81 GBAtemp Addict
    Member

    Joined:
    Dec 14, 2009
    Messages:
    2,237
    Country:
    United States
    no matter what I try, it won't start on my win 10 machine. do I have to provide keys.txt? if yes,how to get those?
     
    Last edited by naddel81, Jun 30, 2020
  5. giwty

    OP giwty Member
    Newcomer

    Joined:
    Sep 8, 2019
    Messages:
    29
    Country:
    United States
    Happy to help, but need more info... are you seeing any errors? what do you see printed out on the command line when trying to launch the program?
    btw, i've officially released version 1.0 with some fixes, please try that as well
     
    naddel81 likes this.
  6. naddel81

    naddel81 GBAtemp Addict
    Member

    Joined:
    Dec 14, 2009
    Messages:
    2,237
    Country:
    United States
    tried the latest release. it downloads the json files and then closes without any info. even relaunching does not help. I have the .exe in /games folder. every game is in a subfolder.
     
  7. jurassicplayer

    jurassicplayer Completionist Themer
    Member

    Joined:
    Mar 7, 2009
    Messages:
    4,433
    Country:
    United States
    Under linux:
    - It doesn't seem to be reading the settings for the folderpath or recursive.
    - Some of the available update titles seems to be the title of what the update has rather than the game (ex. "Additional Quests")
    - Some sort of validation step would be nice before performing actions that could end up in data loss (moving/overwriting/deleting/etc.)
     
    giwty likes this.
  8. UnT7oh

    UnT7oh Member
    Newcomer

    Joined:
    Mar 18, 2017
    Messages:
    47
    Country:
    United States
    The latest release works perfectly for me on windows when everything is configured. I think the duplicate file and old file functionality needs to be equalized for updates and DLC however as I noticed older 'duplicate' DLC (same titleid but older version) were being kept unsorted outside of the the title folder but duplicate updates were automatically deleted and older updates are deleted when turned on in the json, older DLC should share that behaviour.

    @giwty if it's possible a filter by titleid list would be very useful, to permanently prevent the selected titles from appearing on the missing list, e.g language packs

    Perhaps a filter.json where we can enter titleids to be ignored?

    You need to give more details on how you've set things up. On windows you should complete the settings.json with the settings you require and complete the prod.keys, you can get the keys with lockpick_rcm and follow this template https://github.com/giwty/switch-library-manager/blob/master/prod.keys

    Place the settings.json and prod.keys in C:/Users/naddel81/

    Run the following command from wherever your .exe is located in a command prompt:

    switch-library-manager.exe -f "full path to folder where files are located"

    The DLC titles are as expected, it's from titledb and they are appended to the title name. I don't think it's necessary but a prompt isn't a bad idea, e.g. "switch-library-manager will move x titles to folders, delete x titles, rename x titles, proceed?"
     
    Last edited by UnT7oh, Jun 30, 2020
    naddel81 likes this.
  9. naddel81

    naddel81 GBAtemp Addict
    Member

    Joined:
    Dec 14, 2009
    Messages:
    2,237
    Country:
    United States

    failed to read NSP [reason: failed to read NCA [reason:non standard encryption is not supported]

    but even the other NSPs are not scanned correctly. there is no output if something is missing.
     
    Last edited by naddel81, Jul 1, 2020
  10. giwty

    OP giwty Member
    Newcomer

    Joined:
    Sep 8, 2019
    Messages:
    29
    Country:
    United States
    Thanks for the feedback, i've released a new version, please see if it's still happening.
    If it is, can you please pin point to what file is causing the issue?
    I'll work to improve the logs.

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

    Fixed some issue that could be the root cause to what you were experiencing, can you please check again?
    I've also added a validation to the GUI, and removed any file changes from the default options.
     
  11. lafleche

    lafleche GBAtemp Advanced Fan
    Member

    Joined:
    Jan 4, 2007
    Messages:
    525
    Country:
    Netherlands
    Would be great if xci dumps could be scanned like this.
     
Draft saved Draft deleted
Loading...

Hide similar threads Similar threads with keywords - library, manager, backups