@mjr I have a suggestion for you (relating to the problems I've had before)... I'm not the only one here that's had a corrupt settings.txt file.
Could you move the currently selected table out of the settings.txt file and into a separate file?
That way, the settings file wouldn't need to be written to all the time. And, if the CurrentTable.txt file is missing (or corrupt) you could just select the first table alphabetically.
Also, when updating the settings.txt file, do it this way:
- Delete settings.bak
- Rename settings.txt to settings.bak
- Write out settings.txt and include in it a marker at the end so that you know later if it was successfully written
Later, when opening settings.txt, verify that it was a full and complete file and if not, try the .bak file instead. If the .bak file is successfully loaded, write out the settings.txt file right then.
Hope this helps.
EDIT: a few clean ups to my description.
BTW, I'm loving PinballY! Capturing table images/videos was awesome.
Edited by BoltBait, 15 August 2019 - 08:51 PM.