codewario / PocketLibraryImages

This tool will prepare an image library for use with cartridges (and openFPGA cores if Analogue ever supports them) on Analogue OS
MIT License
110 stars 1 forks source link

Providing an absolute path to a DAT file causes the XML parsing to fail #4

Closed codewario closed 1 year ago

codewario commented 1 year ago

Placing the DAT file in the same directory and using only the filename with extension works fine. Current suspicion is that quoted paths are the issue but have not confirmed yet.

codewario commented 1 year ago

Finally figured this one out, and the issue extended to the Move Library functions as well. Basically, this would occur when providing quotes with the filepath, as is often necessary (but not in the case of this script) when providing file paths that have spaces or other special characters in the string.

This issue was resolved by stripping away any surrounding quotes from paths input by the end user prior to using the string as a path.