Homebrew RELEASE Switch library manager - easily manage your switch game backups

johnlescault

Member
Newcomer
Joined
Feb 26, 2017
Messages
8
Trophies
0
Age
36
XP
64
Country
Canada
giwty said:
If anyone can share an example to a simple example of split files, then i can play with it (send as DM).

Uploading example now. I have a slow upload so expect to hear from me tomorrow. Basically a split file is how we fit them on fat32 sd cards which is the recommended format for a switch. Quite literally, it creates a folder with files in 4GB parts (just split - nothing done to them differently). Naming of these files is as such: 00, 01, 02 (depending the size it keeps going).
 
  • Like
Reactions: giwty

giwty

Well-Known Member
OP
Newcomer
Joined
Sep 8, 2019
Messages
79
Trophies
0
Age
48
XP
924
Country
United States
Uploading example now. I have a slow upload so expect to hear from me tomorrow. Basically a split file is how we fit them on fat32 sd cards which is the recommended format for a switch. Quite literally, it creates a folder with files in 4GB parts (just split - nothing done to them differently). Naming of these files is as such: 00, 01, 02 (depending the size it keeps going).
Thanks, does the split files always have this naming convention? and if so, as the game file are not unique ("00","01"...), i assume they will always reside on a dedicated folder?
 

johnlescault

Member
Newcomer
Joined
Feb 26, 2017
Messages
8
Trophies
0
Age
36
XP
64
Country
Canada
Thanks, does the split files always have this naming convention? and if so, as the game file are not unique ("00","01"...), i assume they will always reside on a dedicated folder?

The split file always uses that naming convention. The actual "filename" (or more accurate game name) is the folder name (example of folder name is "Assassin's Creed III Remastered[01007F600B134000][US][v0]_split.nsp"). The script I sent you works on NSZ as well (but still names the folder as .nsp - I could modify the python script to detect file type but didn't feel the need)

The individual file names are unique based on the size (as in it always starts with name 00 for the first 4GB then 01 for the next 4GB etc...)

In order for the switch to detect the folder as a file, you have to set it to archive (On Win 10 - rightclick folder -> properties ->
Advanced -> select Folder is ready for archiving). The switch then detects this as a single file.
 

mpelton

New Member
Newbie
Joined
Sep 28, 2020
Messages
2
Trophies
0
Age
24
XP
38
Country
United States
I made an account just to comment on this. I've had a modded switch for almost a year now, and have been wanting to keep backups of my games on my pc. So when I saw this, I was really excited to try it out. Now, I realize this is super new, and there are plenty of bugs to work out, but I had a pretty rough experience.

I dumped Super Mario Odyssey, threw it and the update nsp into a folder, and directed the Manager to that folder. I was using the GUI, not Console, btw. Unfortunately it didn't recognize either of my nsp's, saying the folder was empty. I did a lot to try and fix it; renaming them, moving the folder itself around, throwing in my prod.keys. Nothing changed.

Then, suddenly, as if by magic, Super Mario Odyssey showed up. I honestly can't tell you why, or how. I really didn't do anything different, just opened it up to look through the settings. In my excitement, I closed the app, deciding to go into the settings.json so I could mess around with the organization settings. Unfortunately, once I reopened the app, not only was Super Mario Odyssey gone, but it was asking me to choose a base folder again. Weirdly enough, the settings had all been reset to default. All my changes were gone.

I messed around for the better part of two hours, and the results were seemingly random. Sometimes the game was there, sometimes it wasn't, and my settings were reset on many occasions. I even noticed that if you have it set to make subfolders for each game, the Manager can't find them. That easily could just be one of the many bugs I encountered, though.

Anyways, I really hope this gets ironed out, as I'd love to store my games with a manager like this. It looks really clean, and I love the info on missing updates/dlc. Thanks for all the hard work you're putting into this, it's seriously super promising, and I can't wait to use it regularly.
 

giwty

Well-Known Member
OP
Newcomer
Joined
Sep 8, 2019
Messages
79
Trophies
0
Age
48
XP
924
Country
United States
I made an account just to comment on this. I've had a modded switch for almost a year now, and have been wanting to keep backups of my games on my pc. So when I saw this, I was really excited to try it out. Now, I realize this is super new, and there are plenty of bugs to work out, but I had a pretty rough experience.

I dumped Super Mario Odyssey, threw it and the update nsp into a folder, and directed the Manager to that folder. I was using the GUI, not Console, btw. Unfortunately it didn't recognize either of my nsp's, saying the folder was empty. I did a lot to try and fix it; renaming them, moving the folder itself around, throwing in my prod.keys. Nothing changed.

Then, suddenly, as if by magic, Super Mario Odyssey showed up. I honestly can't tell you why, or how. I really didn't do anything different, just opened it up to look through the settings. In my excitement, I closed the app, deciding to go into the settings.json so I could mess around with the organization settings. Unfortunately, once I reopened the app, not only was Super Mario Odyssey gone, but it was asking me to choose a base folder again. Weirdly enough, the settings had all been reset to default. All my changes were gone.

I messed around for the better part of two hours, and the results were seemingly random. Sometimes the game was there, sometimes it wasn't, and my settings were reset on many occasions. I even noticed that if you have it set to make subfolders for each game, the Manager can't find them. That easily could just be one of the many bugs I encountered, though.

Anyways, I really hope this gets ironed out, as I'd love to store my games with a manager like this. It looks really clean, and I love the info on missing updates/dlc. Thanks for all the hard work you're putting into this, it's seriously super promising, and I can't wait to use it regularly.
Thanks for the feedback, while there are still some bugs, i'm not aware of the random instability you are describing.
I suggest the following:

1. If you are not seeing the games you are expecting, look at the issues tab and see if there is anything there.
2. If issues tab is empty, please turn on debug mode in the settings.json and open an issue on Github with the slm.log file.

Please note that currently there is a bug which causes some xci files to not show up (will appear in the issues tab as "unable to determine title-Id / version").

Thanks!
 

mpelton

New Member
Newbie
Joined
Sep 28, 2020
Messages
2
Trophies
0
Age
24
XP
38
Country
United States
Thanks for the feedback, while there are still some bugs, i'm not aware of the random instability you are describing.
I suggest the following:

1. If you are not seeing the games you are expecting, look at the issues tab and see if there is anything there.
2. If issues tab is empty, please turn on debug mode in the settings.json and open an issue on Github with the slm.log file.

Please note that currently there is a bug which causes some xci files to not show up (will appear in the issues tab as "unable to determine title-Id / version").

Thanks!
Interestingly enough, after redownloading, enabling debug mode and trying again, everything seems to be working. A few things are different from last time however, which potentially might've been the problem:

1. I'm now using a different game, so my original nsp could've been the issue.
2. Initially I had the manager and my game folder on different drives, my games being on an external. Not sure if that would cause any problems, but right now I have them both on the same drive.

Anyways, all working now. I really appreciate you reaching out and helping me with the problem, and I'm really glad I tried again.
 

W0rmy

Active Member
Newcomer
Joined
Sep 24, 2020
Messages
30
Trophies
0
Age
54
XP
167
Country
Ireland
If anyone can share an example to a simple example of split files, then i can play with it (send as DM)
Also if anyone can share an example of an XCI update only, XCI DLC, and XCI all in one, that would help as i don't use XCI and these are some bugs that i would love to fix.

Obviously we can't link them but if you use NSP files you can create your own using Swiss Army Knife or NSC Builder. NSC Builder requires Python installed and also running the install dependencies. Essentially what you are doing in SAK is:

NSP to XCI
XCI Update (add DLC / Patches)

This will then create an 'All in one' XCI which includes the patches and the DLC without having to have multiple files or even installing them. They're just containers that you mount on the switch rather than install - I personally prefer them as they are all-in-one (you can still install them if you like but I prefer to leave them as they are).
 

M7L7NK7

Well-Known Member
Member
Joined
Oct 16, 2017
Messages
3,900
Trophies
1
Website
youtube.com
XP
5,967
Country
Australia
Interestingly enough, after redownloading, enabling debug mode and trying again, everything seems to be working. A few things are different from last time however, which potentially might've been the problem:

1. I'm now using a different game, so my original nsp could've been the issue.
2. Initially I had the manager and my game folder on different drives, my games being on an external. Not sure if that would cause any problems, but right now I have them both on the same drive.

Anyways, all working now. I really appreciate you reaching out and helping me with the problem, and I'm really glad I tried again.

I've had the same problem but I've also had the program on the pc and the nsps on an external, maybe that's why then..
 

regnad

Button Masher
Member
Joined
May 19, 2008
Messages
2,515
Trophies
1
Age
53
XP
3,678
Country
Japan
I have several NSPs that the manager is not recognizing, e.g. saying the base file or update are missing, when in fact they are there. Is there a way to remedy this?
 

giwty

Well-Known Member
OP
Newcomer
Joined
Sep 8, 2019
Messages
79
Trophies
0
Age
48
XP
924
Country
United States
New release is out with support for split files :)
Also fixed a regression with XCI/XCZ scanning, and improved explanation to why some files are skipped.

If you have issues with some games not showing in the library, and the issues tab doesn't provide a good explanation on why, please open issue on Github, so i can fix it for you.
 
  • Like
Reactions: M7L7NK7

regnad

Button Masher
Member
Joined
May 19, 2008
Messages
2,515
Trophies
1
Age
53
XP
3,678
Country
Japan
New release is out with support for split files :)
Also fixed a regression with XCI/XCZ scanning, and improved explanation to why some files are skipped.

If you have issues with some games not showing in the library, and the issues tab doesn't provide a good explanation on why, please open issue on Github, so i can fix it for you.

I have dozens and dozens of "unable to determine title ID/version" listings in the issues tab. Is there any solution for this? It's lots and lots. These are files that Goldleaf had no problem with and that run fine on my Switch.
 

subcon959

@!#?@!
Member
Joined
Dec 24, 2008
Messages
5,845
Trophies
4
XP
10,108
Country
United Kingdom
You need a file named prod.keys in the same folder populated with the following keys:
Code:
header_key =
key_area_key_application_00 =
key_area_key_application_01 =
key_area_key_application_02 =
key_area_key_application_03 =
key_area_key_application_04 =
key_area_key_application_05 =
key_area_key_application_06 =
key_area_key_application_07 =
key_area_key_application_08 =
key_area_key_application_09 =
key_area_key_application_0a =
 
  • Like
Reactions: peteruk

giwty

Well-Known Member
OP
Newcomer
Joined
Sep 8, 2019
Messages
79
Trophies
0
Age
48
XP
924
Country
United States
Issue I keep getting: failed to read NSP [reason: missing Key_area_key[key_area_key_application_0a]]
You are missing the latest keys in your prod.keys files, please add these to be able to scan the newer games.

I have dozens and dozens of "unable to determine title ID/version" listings
I assume that you don't have prod.keys available? which means the app tries to parse the filename, and can fail if the file is not named properly.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Psionic Roshambo @ Psionic Roshambo: Just 6 but dual band 6 lol