%#%## First of all, I'm confused by the autorestore attribute of pattrstorage.
I have [pattrstorage midiconf @autorestore 0] but when I open the patch, it DOES automatically load a midiconf.xml file and restore the values.
As a workaround I do put the @autorestore 0 into each and every [pattr] object, but the autorestore attribute is also listed in pattrstorage's reference file, so I assume that it should work.
%#%## Second thing is issue with paths. In order not to confuse the pattrstorage object, I don't specify ANY paths to it. When I tell it to "writexml midiconf" it does write it where he wants and I never manually saved it anywhere else.
Thing is, that when that (unwanted) autorestore happens, I always find this error message in MAX window:
"Multiple files named midiconf.xml were found in the project folder (this one in data). Please remove or rename any unused copies."
So I look it up, and there is one file in main project directory and in data directory. So I deleted both, reopen the patch, play with it, but next time I am getting the same error message again... How is this possible?
here is the part of the patch: