LBPUnion / UnionPatcher

A tool for LittleBigPlanet that patches the server urls to a custom url.
GNU General Public License v3.0
26 stars 12 forks source link

Add support for non case senstive title ids #45

Open Zhaxxy opened 1 month ago

Zhaxxy commented 1 month ago

Could you make it so that the case sensitivity of title ids does not matter, perhaps what you can do is check if the exact title id folder exists, if not, then check if the CAPTIAL letter title id exists then, if not check if lowercase title id exists, then finally, raise the error.

This will make the tool just a bit easier to use as the error message can be a bit vague especially to less tech savy people

sudokoko commented 1 month ago

This could be resolved by simply using String.ToUpper() on the user provided input rather than checking all variations of the Title ID since it shouldn't really ever be lower case to my knowledge