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 .

GibaBR

Well-Known Member
OP
Newcomer
Joined
Jul 2, 2018
Messages
89
Trophies
0
Age
114
XP
475
Country
Brazil
Version 1.0.6 released

v 1.0.6
* Support for NSP (e-shop) files. Very experimental as it is very slow to scrap big files.
* More configurations on File->Options menu
* Auto update scene list on startup (optional)
* Now you can copy any game information to clipboard (mouse over cell)
* Some more code refactoring (if you had some problem adding files, please try again now)


  1. Its a good idea to delete old .xml and scrap your collection again
  2. scraping nsp files on SD card is a pain, very slow for big files (have to optimize it)
  3. Try not to break it. It's fragile. :)
 
Last edited by GibaBR,

subcon959

@!#?@!
Member
Joined
Dec 24, 2008
Messages
5,850
Trophies
4
XP
10,136
Country
United Kingdom
With this version at the end of scraping xci folder I get this .net error

Code:
************** Exception Text **************
System.ArgumentOutOfRangeException: StartIndex cannot be less than zero.
Parameter name: startIndex
   at System.String.Remove(Int32 startIndex)
   at Switch_Backup_Manager.Util.WriteFileDataToXML(FileData data, String xml)
   at Switch_Backup_Manager.Util.AppendFileDataDictionaryToXML(Dictionary`2 dictionary, String xml)
   at Switch_Backup_Manager.FrmMain.backgroundWorkerAddFiles_DoWork(Object sender, DoWorkEventArgs e)
   at System.ComponentModel.BackgroundWorker.OnDoWork(DoWorkEventArgs e)
   at System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)
 

stewacide

Well-Known Member
Member
Joined
Jun 22, 2018
Messages
247
Trophies
0
Age
40
XP
672
Country
Canada
Anyone manage to run this through Wine? (trying to run on OSX without a clunky VM)

Edit -- seems to be a known incompatibility with objectlistview, bummer
 
Last edited by stewacide,

GibaBR

Well-Known Member
OP
Newcomer
Joined
Jul 2, 2018
Messages
89
Trophies
0
Age
114
XP
475
Country
Brazil
With this version at the end of scraping xci folder I get this .net error
Nice, now I could have an idea of the problem. I just updated v1.0.6 file with a new executable, please download it again and report back.
Also, please send me a pm with the end of the log, with the file path and name. I think it may be a problem with just this specific file.
 

subcon959

@!#?@!
Member
Joined
Dec 24, 2008
Messages
5,850
Trophies
4
XP
10,136
Country
United Kingdom
Nice, now I could have an idea of the problem. I just updated v1.0.6 file with a new executable, please download it again and report back.
Also, please send me a pm with the end of the log, with the file path and name. I think it may be a problem with just this specific file.
The error is now this..

As for the log, it doesn't contain any errors. It scans all 256 files.


I just looked at the scene listview and I see that Closed Nightmare has a blank titleid. Could this be causing the issue?
 
Last edited by subcon959,

subcon959

@!#?@!
Member
Joined
Dec 24, 2008
Messages
5,850
Trophies
4
XP
10,136
Country
United Kingdom
Ok, I've narrowed it down to 2 releases causing the crash. Closed Nightmare (which might just be too new) and Shining_Resonance_Refrain_CHT_NSW-HR. If I move those 2 out of my xci folder then there are no crashes and listview shows all 253 other releases.
 

GibaBR

Well-Known Member
OP
Newcomer
Joined
Jul 2, 2018
Messages
89
Trophies
0
Age
114
XP
475
Country
Brazil
The error is now this..
Some backup of your collection has no languages.. Thats odd. I put some checks now to prevent fail. Please download v1.0.6 again a retry.
Also, take a look at your list after adding all files and say which rom has no languages.
Please, remove the above log error on your message as it contains some private informations (sent you a debug version)
 

uzi

Well-Known Member
Member
Joined
Mar 21, 2006
Messages
100
Trophies
1
XP
308
Country
testing the nsp part of the app, instantly stopped after 3 titles.. possible error cause of jap text


2018-07-21 22:50:08.881 sbm.log is created.
2018-07-21 22:51:00.401 INFO Start removing missing files from e-shop database
2018-07-21 22:51:00.406 INFO Finished removing missing files from e-shop database. 0 files removed.
2018-07-21 22:51:13.633 INFO Adding 656 files on local Eshop database
2018-07-21 22:51:13.644 INFO Adding NSP file: 1-2-Switch 01000320000cc000v0
2018-07-21 22:51:13.649 INFO Extracting NSP file.
2018-07-21 22:51:22.100 INFO found tmp\20aa5d8076d4864d70fb6a46774fc4c8.cnmt.xml
2018-07-21 22:51:22.104 INFO Making some voodoo magic with 4babe947cfe37d01bf4ef1a3da8509c5.nca
2018-07-21 22:51:22.381 INFO Including file F:\NSP\games\1-2-Switch 01000320000cc000v0.nsp, TitleID: 01000320000CC000
2018-07-21 22:51:22.385 INFO Adding NSP file: 10 Second Run RETURNS Demo 0100dc000a472000v0
2018-07-21 22:51:22.388 INFO Extracting NSP file.
2018-07-21 22:51:22.758 INFO found tmp\8f40ceac2e6a1a9a6a778f3feabbee41.cnmt.xml
2018-07-21 22:51:22.762 INFO Making some voodoo magic with ac1fd1cb07dc6f63521edc5281e47079.nca
2018-07-21 22:51:22.896 INFO Including file F:\NSP\games\10 Second Run RETURNS Demo 0100dc000a472000v0.nsp, TitleID: 0100DC000A472000
2018-07-21 22:51:22.900 INFO Adding NSP file: 10 Second Run RETURNS 01004d1007926000v0
2018-07-21 22:51:22.903 INFO Extracting NSP file.
2018-07-21 22:51:23.239 INFO found tmp\a8e8304628d1485438d3521b13731e31.cnmt.xml
2018-07-21 22:51:23.243 INFO Making some voodoo magic with a973151d4537264991df206d3cfe6425.nca
2018-07-21 22:51:23.366 INFO Including file F:\NSP\games\10 Second Run RETURNS 01004d1007926000v0.nsp, TitleID: 01004D1007926000
2018-07-21 22:51:23.370 INFO Adding NSP file: 10秒走 RETURNS 01004d1007926000v0
2018-07-21 22:51:23.373 INFO Extracting NSP file.
2018-07-21 22:51:23.398 ERROR Directory tmp was not created ?!
2018-07-21 22:51:23.433 ERROR at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileSystemEnumerableIterator`1.CommonInit()
at System.IO.FileSystemEnumerableIterator`1..ctor(String path, String originalUserPath, String searchPattern, SearchOption searchOption, SearchResultHandler`1 resultHandler, Boolean checkHost)
at System.IO.Directory.GetFiles(String path, String searchPattern)
at Switch_Backup_Manager.Util.GetFileDataNSP(String file)
2018-07-21 22:51:23.456 ERROR at System.Linq.Enumerable.FirstTSource(IEnumerable`1 source)
at Switch_Backup_Manager.Util.GetFileDataNSP(String file)
2018-07-21 22:51:23.463 ERROR at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.Directory.Delete(String fullPath, String userPath, Boolean recursive, Boolean checkHost)
at System.IO.Directory.Delete(String path, Boolean recursive)
at Switch_Backup_Manager.Util.GetFileDataNSP(String file)
at Switch_Backup_Manager.Util.AddFilesFromFolder(String path, String fileType)
2018-07-21 22:53:06.749 INFO Adding 0 files on local database
2018-07-21 22:53:06.762 INFO Finished adding files. Total time was 00:00.00.
---

also is there a way to compare the eshop database to what we have downloaded, to show if we are missing a game from the database

--

scrubbed a bunch of dlc files and then ..

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
at Switch_Backup_Manager.Util.WriteFileDataToXML(FileData data, String xml)
at Switch_Backup_Manager.Util.AppendFileDataDictionaryToXML(Dictionary`2 dictionary, String xml)
at Switch_Backup_Manager.FrmMain.backgroundWorkerAddFiles_DoWork(Object sender, DoWorkEventArgs e)
at System.ComponentModel.BackgroundWorker.OnDoWork(DoWorkEventArgs e)
at System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)
************** Loaded Assemblies **************/ERROR/ERROR/ERROR/ERROR
 

Attachments

  • Screen Shot 2018-07-21 at 10.51.50 PM.png
    Screen Shot 2018-07-21 at 10.51.50 PM.png
    11 KB · Views: 201
Last edited by uzi,

Bloodlust

Well-Known Member
Member
Joined
May 25, 2006
Messages
1,122
Trophies
0
Website
Visit site
XP
609
Country
Hong Kong
2018-07-22_200336.png
works here without any problem, see picture
maybe your xci is corrupt?

I don't think so... I tried another 16gb game Ys_VIII_Lacrimosa_of_DANA_JPN_NSW-HR and it loads fine but Closed_Nightmare_CHT_NSW-HR crashes.. both are scene releases not some modified trimmed xci file. Anyway, it loads but when I click on the title it will crash

Anyway, here's the log :

************** Exception Text **************
System.InvalidOperationException: Sequence contains no elements
at System.Linq.Enumerable.First[TSource](IEnumerable`1 source)
at Switch_Backup_Manager.FrmMain.DisplayGameInformation(String TitleID, Dictionary`2 list, String sourceList)
at Switch_Backup_Manager.FrmMain.objectListView1_ItemSelectionChanged(Object sender, ListViewItemSelectionChangedEventArgs e)
at System.Windows.Forms.ListView.OnItemSelectionChanged(ListViewItemSelectionChangedEventArgs e)
at System.Windows.Forms.ListView.WmReflectNotify(Message& m)
at System.Windows.Forms.ListView.WndProc(Message& m)
at BrightIdeasSoftware.ObjectListView.WndProc(Message& m) in C:\Users\Gilberto\source\repos\Switch Backup Manager\ObjectListView\ObjectListView.cs:line 5672
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Loaded Assemblies **************
mscorlib
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3131.0 built by: NET472REL1LAST
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
Switch Backup Manager
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///F:/Roms/Switch.Backup.Manager.1.0.6/Switch%20Backup%20Manager.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3056.0 built by: NET472REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3056.0 built by: NET472REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3056.0 built by: NET472REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
ObjectListView
Assembly Version: 2.9.1.35481
Win32 Version: 1.0.0.0
CodeBase: file:///F:/Roms/Switch.Backup.Manager.1.0.6/Switch%20Backup%20Manager.exe
----------------------------------------
System.Configuration
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3056.0 built by: NET472REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Core
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3110.0 built by: NET472REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Xml
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3056.0 built by: NET472REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Xml.Linq
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3056.0 built by: NET472REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml.Linq/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.Linq.dll
----------------------------------------
************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.
For example:
<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>
When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
 

Xandroz

Well-Known Member
Member
Joined
Mar 19, 2018
Messages
872
Trophies
0
Age
35
XP
1,625
Country
Egypt
ok i want to ask something, now i have alot of games on my sd card with the updates and i am upgrading the memory card, my updates are flushed to thr sd as well, can i use this tool to flush the updates to internal storage.
i want to use the internal storage for updates and saves only
 

GibaBR

Well-Known Member
OP
Newcomer
Joined
Jul 2, 2018
Messages
89
Trophies
0
Age
114
XP
475
Country
Brazil
View attachment 136658

I don't think so... I tried another 16gb game Ys_VIII_Lacrimosa_of_DANA_JPN_NSW-HR and it loads fine but Closed_Nightmare_CHT_NSW-HR crashes.. both are scene releases not some modified trimmed xci file. Anyway, it loads but when I click on the title it will crash

Solved on 1.0.7

Enviado de meu SM-G935F usando o Tapatalk
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • BigOnYa @ BigOnYa:
    I kept thinking jaws was gonna come up and attack
  • K3Nv2 @ K3Nv2:
    Jaws is on a diet
  • K3Nv2 @ K3Nv2:
    Damn power went out
  • BigOnYa @ BigOnYa:
    Ok xdqwerty, your little bro prob tripped On the cord and unplugged you
  • K3Nv2 @ K3Nv2:
    Ya I'm afraid of the dark hug me
  • BigOnYa @ BigOnYa:
    Grab and hold close your AncientBoi doll.
  • K3Nv2 @ K3Nv2:
    Damn didn't charge my external battery either
  • BigOnYa @ BigOnYa:
    Take the batteries out of your SuperStabber3000... Or is it gas powered?
  • K3Nv2 @ K3Nv2:
    I stole batteries from your black mamba
    +1
  • K3Nv2 @ K3Nv2:
    My frozen food better hold up for an hour I know that
  • BigOnYa @ BigOnYa:
    Or else gonna be a big lunch and dinner tomorrow.
  • BigOnYa @ BigOnYa:
    Did you pay your power bill? Or give all yo money to my wife, again.
  • K3Nv2 @ K3Nv2:
    Oh good the estimated time is the same exact time they just said
    +1
  • BigOnYa @ BigOnYa:
    Load up your pc and monitor, and head to a McDonalds dining room, they have free WiFi
  • K3Nv2 @ K3Nv2:
    Sir please watch your porn in the bathroom
    +2
  • BigOnYa @ BigOnYa:
    No sir we can not sell you anymore apple pies, after what you did with the last one.
  • K3Nv2 @ K3Nv2:
    We ran out
  • HiradeGirl @ HiradeGirl:
    for your life
    +1
  • K3Nv2 @ K3Nv2:
    My life has no value my fat ass is staying right here
  • K3Nv2 @ K3Nv2:
    Nearly 4 hours without power :(
  • Veho @ Veho:
    SO POWERLESS
  • K3Nv2 @ K3Nv2:
    Tell Kanye I need power
    K3Nv2 @ K3Nv2: Tell Kanye I need power