vpinball / b2s-backglass

B2S Backglass Server for use with Visual Pinball
Other
50 stars 7 forks source link

Add error message when parsing a .res file #108

Open Galooch opened 4 months ago

Galooch commented 4 months ago

While parsing an incorrectly formatted .res file, provide an error with some details to the user. Example .res file (with an extra "=" sign) for reference:

image
stevejones72 commented 4 months ago

Would it be better to just have this as JSON or XML, something that we could properly parse against.

There could be a time where we have code that pulls in legacy text files and outputs the new file, but after a while we stop looking for and parsing this text file? Not sure the scale of tools /programs that expect this quirky text file to be around however.