gibaBR / Switch-Backup-Manager

Complete Switch Backups management tool
375 stars 53 forks source link

add support for multiple XCI revisions #35

Closed garoxas closed 6 years ago

garoxas commented 6 years ago

since SBM_Local.xml now also has version data for XCI files (the old one use empty version string for XCI), database rebuild is mandatory and need to be forced to the user by increasing MIN_DB_Version value. or else there will be duplicates everywhere (one with correct version and one with empty version)

however during testing I found that the new built database will be always empty? is this normal or not? let me know if that's not the case so I can check if there's issue during database rebuild

potential issue:
some entries in nswdb have FW number 5.x.x and it can be either 5.0.0, 5.0.2 or 5.1.0, while the XCI will be properly detected by their actual FW. I believe I have made some additional checking for this, but need more testing (I only have 1 XCI that listed as 5.x.x and it works without issue)

also I removed version number info on XCI filenames in SD card list view because I don't think that's relevant (and XCI files on local file list also do not have version number in the filenames)

gibaBR commented 6 years ago

however during testing I found that the new built database will be always empty? is this normal or not? let me know if that's not the case so I can check if there's issue during database rebuild

Yes... I had no time to do the proper way, so I just delete it (and make a backup) and create a new one

garoxas commented 6 years ago

cool thanks