Homebrew RELEASE Switch Backup Manager 1.0

Does version 1.1.0 works for you when adding nsp?

  • Yes

    Votes: 14 93.3%
  • No

    Votes: 1 6.7%

  • Total voters
    15
  • Poll closed .

jose1209

Well-Known Member
Member
Joined
Jul 2, 2007
Messages
117
Trophies
0
XP
698
Country
Burkina Faso
hi to every body;

i just wonder why when i used the rename, the real files don't rename and why appears lot of files with nsp_temp extension ?

i try to find duplicates XCI with different names but same game and between XCI and NSP is this scheduled for the next releases ?
 

lordelan

Well-Known Member
Member
Joined
Jan 4, 2015
Messages
5,787
Trophies
1
Age
44
XP
6,517
Country
Germany
I like this tool very much but could you add the game version to the CDNSP renaming convention option?
So this
Code:
Diablo III Eternal Collection [UPD][01001b300b9be800][v65536].nsp
turns into something like this
Code:
Diablo III Eternal Collection [UPD][01001b300b9be800][v65536][2.6.3].nsp
?

That would be great as after a quick look into my NSP folder I know pretty soon if I already have the newest update or not.
 

Tomy Sakazaki

Well-Known Member
Member
Joined
Oct 23, 2006
Messages
880
Trophies
0
Website
Visit site
XP
812
Country
Brazil
Does anybody knows how I can add the dlc description to a NSP instead of only the base game name?
Example: There's a A.O.T. 2 DLC named Costume Set "Japanese New Year", I want something like A.O.T 2 - Costume Set ""Japanese New Year"" [DLC][{titleID}].nsp instead of only A.O.T 2 [DLC][{titleID]}.
 

Garou

Well-Known Member
Member
Joined
Jan 13, 2015
Messages
1,213
Trophies
0
XP
1,667
Country
Does anybody knows how I can add the dlc description to a NSP instead of only the base game name?
Example: There's a A.O.T. 2 DLC named Costume Set "Japanese New Year", I want something like A.O.T 2 - Costume Set ""Japanese New Year"" [DLC][{titleID}].nsp instead of only A.O.T 2 [DLC][{titleID]}.

you didn't convert your titlekeys.txt correctly
use the 8th column from nutdb for your 3rd column in titlekeys.txt, like this (actual titlekeys removed)

Code:
0100F6C00641D00A|XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX|Additional Episode: "A Titan Worth a Thousand"
0100F6C00641D00B|XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX|Additional Episode: "Skill Demonstration"
0100F6C00641D00C|XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX|Additional Episode: "Second Victory"
0100F6C00641D015|XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX|A.O.T. 2 [Costume Set "Japanese New Year"]
 
  • Like
Reactions: klear and lordelan

Tomy Sakazaki

Well-Known Member
Member
Joined
Oct 23, 2006
Messages
880
Trophies
0
Website
Visit site
XP
812
Country
Brazil
you didn't convert your titlekeys.txt correctly
use the 8th column from nutdb for your 3rd column in titlekeys.txt, like this (actual titlekeys removed)

Code:
0100F6C00641D00A|XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX|Additional Episode: "A Titan Worth a Thousand"
0100F6C00641D00B|XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX|Additional Episode: "Skill Demonstration"
0100F6C00641D00C|XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX|Additional Episode: "Second Victory"
0100F6C00641D015|XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX|A.O.T. 2 [Costume Set "Japanese New Year"]
No dice, Switch Backup Manager 1.2.1 still uses the base game name even though my titlekeys.txt seems to be properly formatted.
Titlekeys (with non zeroes key entries removed from print)
Sem título.png
SBM settings to use titlekeys.txt checked.
Sem título1.png
Custom nsp naming, CDNSP GUI Format also defaults to base game name.
Sem título2.png
I've also checked the source code on github to see if there seems to be a non listed naming option but no dice also.
Either I'm missing some setting or there's another problem with my key files that it doesn't get parsed properly (assuming that SBM does use it to override the DLC names).

EDIT: In the end I've got to use nut.py, it renamed properly all the NSP I've got. It's unfortunate that apparently Switch Backup Manager doesn't support the same arguments in batch renaming.
 
Last edited by Tomy Sakazaki,

Garou

Well-Known Member
Member
Joined
Jan 13, 2015
Messages
1,213
Trophies
0
XP
1,667
Country
No dice, Switch Backup Manager 1.2.1 still uses the base game name even though my titlekeys.txt seems to be properly formatted.
Titlekeys (with non zeroes key entries removed from print)
View attachment 156337
SBM settings to use titlekeys.txt checked.
View attachment 156338
Custom nsp naming, CDNSP GUI Format also defaults to base game name.
View attachment 156339
I've also checked the source code on github to see if there seems to be a non listed naming option but no dice also.
Either I'm missing some setting or there's another problem with my key files that it doesn't get parsed properly (assuming that SBM does use it to override the DLC names).

EDIT: In the end I've got to use nut.py, it renamed properly all the NSP I've got. It's unfortunate that apparently Switch Backup Manager doesn't support the same arguments in batch renaming.
did you remove and readd it to the list after you modified your titlekeys.txt?
SBM will keep using the old name if you didn't do that
 

Mthodmn101

Well-Known Member
Member
Joined
Jan 31, 2008
Messages
650
Trophies
1
XP
1,709
Country
United States
you didn't convert your titlekeys.txt correctly
use the 8th column from nutdb for your 3rd column in titlekeys.txt, like this (actual titlekeys removed)

Code:
0100F6C00641D00A|XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX|Additional Episode: "A Titan Worth a Thousand"
0100F6C00641D00B|XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX|Additional Episode: "Skill Demonstration"
0100F6C00641D00C|XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX|Additional Episode: "Second Victory"
0100F6C00641D015|XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX|A.O.T. 2 [Costume Set "Japanese New Year"]

Is there a source for a modified titlekeys.txt that works well with SBM? not one with the keys, but just formatted right so it can rename
 

lordelan

Well-Known Member
Member
Joined
Jan 4, 2015
Messages
5,787
Trophies
1
Age
44
XP
6,517
Country
Germany
@GibaBR @Garou Switch Backup Manager is just running fine on my main PC.
However on my second PC it doesn't do anything after launching the EXE binary. It doesn't appear in the task manager as well.
What could be the reason?
The PC has W10 x64 as well. Windows asked whether this app can be trusted on first launch and I clicked yes.
I even went through Windows' security settings to explicitly add it to allowed/trusted apps but it still doesn't launch.
It seems to do something as my cursor changes to its loading animation for a few seconds but that's it.

Edit: Oddly enough the same happens to me on that PC with NX Game Info.
 
Last edited by lordelan,

Garou

Well-Known Member
Member
Joined
Jan 13, 2015
Messages
1,213
Trophies
0
XP
1,667
Country
@GibaBR @Garou Switch Backup Manager is just running fine on my main PC.
However on my second PC it doesn't do anything after launching the EXE binary. It doesn't appear in the task manager as well.
What could be the reason?
The PC has W10 x64 as well. Windows asked whether this app can be trusted on first launch and I clicked yes.
I even went through Windows' security settings to explicitly add it to allowed/trusted apps but it still doesn't launch.
It seems to do something as my cursor changes to its loading animation for a few seconds but that's it.

Edit: Oddly enough the same happens to me on that PC with NX Game Info.
you can see the error on windows event viewer
I'm guessing maybe because you didn't have .NET framework installed?
 

lordelan

Well-Known Member
Member
Joined
Jan 4, 2015
Messages
5,787
Trophies
1
Age
44
XP
6,517
Country
Germany
you can see the error on windows event viewer
I'm guessing maybe because you didn't have .NET framework installed?
It's on my .NET developing machine so I can't really believe that.
That's the output of the windows event viewer:
Code:
System.ArgumentException
   bei System.ThrowHelper.ThrowArgumentException(System.ExceptionResource)
   bei System.Collections.Generic.Dictionary`2[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].Insert(System.__Canon, System.__Canon, Boolean)
   bei System.Linq.Enumerable.ToDictionary[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](System.Collections.Generic.IEnumerable`1<System.__Canon>, System.Func`2<System.__Canon,System.__Canon>, System.Func`2<System.__Canon,System.__Canon>, System.Collections.Generic.IEqualityComparer`1<System.__Canon>)
   bei Switch_Backup_Manager.Util.GetKeys()
   bei Switch_Backup_Manager.Util.LoadSettings(System.Windows.Forms.RichTextBox ByRef)
   bei Switch_Backup_Manager.FrmMain..ctor()
   bei Switch_Backup_Manager.Program.Main()

And here's another entry:
Code:
System.InvalidOperationException
   bei System.ThrowHelper.ThrowInvalidOperationException(System.ExceptionResource)
   bei NX_Game_Info.Process.initialize(System.Collections.Generic.List`1<System.String> ByRef)
   bei NX_Game_Info.Main..ctor()
   bei NX_Game_Info.Program.Main()
 
Last edited by lordelan,

Garou

Well-Known Member
Member
Joined
Jan 13, 2015
Messages
1,213
Trophies
0
XP
1,667
Country
It's on my .NET developing machine so I can't really believe that.
That's the output of the windows event viewer:
Code:
System.ArgumentException
   bei System.ThrowHelper.ThrowArgumentException(System.ExceptionResource)
   bei System.Collections.Generic.Dictionary`2[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].Insert(System.__Canon, System.__Canon, Boolean)
   bei System.Linq.Enumerable.ToDictionary[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](System.Collections.Generic.IEnumerable`1<System.__Canon>, System.Func`2<System.__Canon,System.__Canon>, System.Func`2<System.__Canon,System.__Canon>, System.Collections.Generic.IEqualityComparer`1<System.__Canon>)
   bei Switch_Backup_Manager.Util.GetKeys()
   bei Switch_Backup_Manager.Util.LoadSettings(System.Windows.Forms.RichTextBox ByRef)
   bei Switch_Backup_Manager.FrmMain..ctor()
   bei Switch_Backup_Manager.Program.Main()
check your keys.txt and see if there's duplicate keys in there

for NX Game Info, think it's better to discuss it in its own thread:lol:
 
Last edited by Garou, , Reason: it's keys.txt not titlekeys.txt

lordelan

Well-Known Member
Member
Joined
Jan 4, 2015
Messages
5,787
Trophies
1
Age
44
XP
6,517
Country
Germany
check your keys.txt and see if there's duplicate keys in there

for NX Game Info, think it's better to discuss it in its own thread:lol:
Oh my ... you were right. Dumped them again with Lockpick and now it's working. Thanks! :)
A try-catch for that exception with a popup telling you to check your keys.txt wouldn't be a bad thing for a next version though. :P
Thanks again.
 

lordelan

Well-Known Member
Member
Joined
Jan 4, 2015
Messages
5,787
Trophies
1
Age
44
XP
6,517
Country
Germany
Still I wonder how I can put the type of the NSP into the renaming feature.
At the moment I have
Code:
{gamename} [{titleid}][v{nspversion}][{revision}]
which leads to the following outcomes (xxxxxxxx being the title id):

Base game:
Code:
7 Billion Humans [xxxxxxxx][v0][1.0.0].nsp

Update:
Code:
7 Billion Humans [xxxxxxxx][v65536][1.0.1].nsp

DLC:
Code:
Sonic Mania Plus [xxxxxxxx][v0][].nsp

How can I add [UPD] or [DLC] to the naming pattern? There's no option for that in the drop down menu. Also having the {revision} only being added when the NSP is not an update would be cool, to remove the [] from the DLC filename. :)

You seem to already have that option since it's being used when choosing the CDNSP naming option.
 
Last edited by lordelan,

Garou

Well-Known Member
Member
Joined
Jan 13, 2015
Messages
1,213
Trophies
0
XP
1,667
Country
Still I wonder how I can put the type of the NSP into the renaming feature.
At the moment I have
Code:
{gamename} [{titleid}][v{nspversion}][{revision}]
which leads to the following outcomes (xxxxxxxx being the title id):

Base game:
Code:
7 Billion Humans [xxxxxxxx][v0][1.0.0].nsp

Update:
Code:
7 Billion Humans [xxxxxxxx][v65536][1.0.1].nsp

DLC:
Code:
Sonic Mania Plus [xxxxxxxx][v0][].nsp

How can I add [UPD] or [DLC] to the naming pattern? There's no option for that in the drop down menu. Also having the {revision} only being added when the NSP is not an update would be cool, to remove the [] from the DLC filename. :)

You seem to already have that option since it's being used when choosing the CDNSP naming option.
have you try {content_type}?
giba was the one who did the rename feature so I don't know much about that

btw you don't need to hide the titleid though :lol:
 

samuzomoxo

Well-Known Member
Newcomer
Joined
Dec 16, 2018
Messages
72
Trophies
0
Age
123
XP
179
Country
United States
{content_type} works but need to change :

game base to "nothing"
Update to [UPD]
DLC to [DLC]

or the possibility to change to our custum tag


so the true CDNSP patern would be {gamename} {content_type}[{titleid}][v{nspversion}]
 

lordelan

Well-Known Member
Member
Joined
Jan 4, 2015
Messages
5,787
Trophies
1
Age
44
XP
6,517
Country
Germany
{content_type} works but need to change :

game base to "nothing"
Update to [UPD]
DLC to [DLC]

or the possibility to change to our custum tag


so the true CDNSP patern would be {gamename} {content_type}[{titleid}][v{nspversion}]
I swear it's not working here. Using v1.1.9 (newest) it does nothing, no matter which combination I use.
I tried:
  • content_type
  • Content_Type
  • contenttype
  • ContentType
  • Contenttype
  • content-type
  • content-Type
  • content type
  • Content Type
It just does nothing. I end up with "Botw[whatever][{content_type}].nsp"
 

Garou

Well-Known Member
Member
Joined
Jan 13, 2015
Messages
1,213
Trophies
0
XP
1,667
Country
I swear it's not working here. Using v1.1.9 (newest) it does nothing, no matter which combination I use.
I tried:
  • content_type
  • Content_Type
  • contenttype
  • ContentType
  • Contenttype
  • content-type
  • content-Type
  • content type
  • Content Type
It just does nothing. I end up with "Botw[whatever][{content_type}].nsp"
latest is 1.2.1
content_type only available since 1.2.0
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    AncientBoi @ AncientBoi: Cool. I will nvr say a FUQing Curse word Again :D