pattrstorage issue : json file ?

    Jul 05 2011 | 1:53 pm
    I have a strange issue here. In a project, I use pattrstorage to save datas from sliders, toggles,.. in a patch. It works perfectly fine on my laptop but on another computer (64 bits), Max/MSP keeps saving the file in .json format while I'm using xml.
    Here is the kind of patch I'm using
    Anybody face that before ?

    • Jul 05 2011 | 2:25 pm
      Yeah, I had this issue awhile back. The default now is a json file. You can use the writexml command to force pattrstorage to write an xml file, or just change the file on your computer to a json file and be done with it.
    • Jul 05 2011 | 2:31 pm
      The only thing that annoy me is that writexml opens a windows where you have to specify the name of the xml file. It seems like it doesn't understand the path in the argument like "write" did.
      I'll have a look on how to do this with json files.
      Thanks for your time
    • Jul 05 2011 | 2:34 pm
      Also, is there a way to update Max/MSP for me to have json by default on both of my computer ? I can't find this option :)
    • Jul 05 2011 | 3:47 pm
      I'm not sure it is an "option" but just the way it is with the newer editions of Max. I think if a patcher was already using an XML it will continue to do so, but new ones will use json. As for the writexml command, you can specify the file and path name in the message and it won't open the window. I do it all the time for preset files.