Fix NSP release by BBB with unescaped XML entity in .nacp.xml
As reported in GBAtemp that some NSPs cannot be added to the list, apparently the issue was because of the extra file on BBB release not properly XML escaped
for example it has an XML with the following data <Publisher>Image & Form</Publisher>, instead of <Publisher>Image & Form</Publisher>, and that cannot be handled by XDocument.Parse method
Lastly, since retrieving extra data from .nacp.xml is actually optional, I've enclosed the entire XML parsing within a try-catch so any further errors do not prevent NSP to be added to the list
Case insensitive TitleKeys lookup
I've recently found titlekeys.txt file using uppercase instead of the usual lowercase, so I added some logic to handle both cases during titlekeys lookup
Change Source from "CDNSP" to "CDN"
This is just cosmetic. Previously I'm using CDNSP for NSPs that having similar set of files with NSP downloaded using CDNSP. But since there are other methods other than CDNSP to download directly from Nintendo CDN, so I renamed it as simply CDN
Hey,
Here's another update from me
Fix NSP release by BBB with unescaped XML entity in .nacp.xml As reported in GBAtemp that some NSPs cannot be added to the list, apparently the issue was because of the extra file on BBB release not properly XML escaped for example it has an XML with the following data <Publisher>Image & Form</Publisher>, instead of <Publisher>Image & Form</Publisher>, and that cannot be handled by XDocument.Parse method Lastly, since retrieving extra data from .nacp.xml is actually optional, I've enclosed the entire XML parsing within a try-catch so any further errors do not prevent NSP to be added to the list
Case insensitive TitleKeys lookup I've recently found titlekeys.txt file using uppercase instead of the usual lowercase, so I added some logic to handle both cases during titlekeys lookup
Change Source from "CDNSP" to "CDN" This is just cosmetic. Previously I'm using CDNSP for NSPs that having similar set of files with NSP downloaded using CDNSP. But since there are other methods other than CDNSP to download directly from Nintendo CDN, so I renamed it as simply CDN