View Single Post
  #2  
Old 09-12-2022, 05:39 PM
oska (John)
Illucid

oska is offline
 
Join Date: Jun 2018
Location: Federal
Posts: 736
Both files go in the application directory.
It appears the filters.txt file is a list, one per line, of your filter names (arbitrary) and config.txt is where it stores state (which filter is current).

It does seem to get confused? loading config.txt from the application directory but storing it in data/config.txt
I would change:
saveStrings("data/config.txt", config);
to:
saveStrings("config.txt", config);


filters.txt:
Red
Green
Blue
L
H


config.txt:
1
Reply With Quote