still very slow progress,
quicksketch master roadmap on trello :
I would like to have place where i can write down some idea that I canât focus now for the 1.0.
so any people could see what features are expected to added into the next builds (1.1, 1.2, etc).
But for now, I am in lack of motivation, it hard i try to get some feed back but it likes iâm invisible 
I get stuck at the save preference plugin to file, but i donât know why Zbrush does not count like me, making it harder to wrote something that is bitwised in a memory file.
Some character are missing, so it break the the back to line ( CR /LF )
I should share with you my trouble maybe it could give me some more motivations after passing that milestone.
Ok let me explain :
i create some vars :
[VarDef, s_material, ââ]
[VarDef, s_preview, ââ]
when the save to file function is executed i set this vars to
[VarSet, s_material, âmaterial:trueâ]
[VarSet, s_material, [StrMerge, s_material, backline]]
backline :
[VarDef, backline, [StrMerge, [StrFromAsc, 13],[StrFromAsc, 10]]]
so it check my UI to get the status of them like
if material switch is on or off, and then
set the s_material var to material:true if true, and then material:false , if the switch is off,
I merge the vars with with another one so i can add the back line.
(I got a lot more vars, i just use the two first one to illustrate the issue )
so now i have this code to create the function that write the file on the disk
[VarDef, bytes, 0]
[RoutineDef, SaveSettingsToFile,
[MemCreate, Settings_Filename, 332, 0]
hmm, 332 matchs the maximum of characters that should be written. note to get this number is just write the file myself and notepad++ gave me the full length including the CR/LF.
[VarDef, bytesCounter, 0]
this is the vars that will store the offset, not necessary for the very first vars to write into the file.
[If, ([IGet, ZPlugin:QuickSketch Master:Render Options:Material] = 1)
,//group command
[VarSet, s_material, "material:true"]
[VarSet, s_material, [StrMerge, s_material, backline]]
//we count the bytes need to write the data
[VarSet, bytes, [StrLength, s_material] ] //give 15
//add 15 to bytes counter
[VarSet, bytesCounter, [Val, bytes]] //add 15 to bytes counter
[MemWriteString, Settings_Filename, s_material, 0,0]
,//else
[VarSet, s_material, "material:false"]
[VarSet, s_material, [StrMerge, s_material, backline]]
[VarSet, bytes, [StrLength, s_material]]
[VarSet, bytesCounter, [Val, bytes]]
[MemWriteString, Settings_Filename, s_material, 0,0]
]
Next Option to check the status :
[If, ([IGet, ZPlugin:QuickSketch Master:Render Options:Preview] = 1)
,//group command
[VarSet, s_preview, "preview:true"]
[VarSet, s_preview, [StrMerge, s_preview, backline]]
[VarSet, bytes, 0]
[VarSet, bytes, [StrLength, s_preview]]
[VarSet, bytesCounter, [Val,( bytesCounter + bytes ) ]]
[MemWriteString, Settings_Filename, s_preview, bytesCounter]
,//else
[VarSet, s_preview, "preview:false"]
[VarSet, s_preview, [StrMerge, s_preview, backline]]
[VarSet, bytes, 0]
[VarSet, bytes, [StrLength, s_preview]]
[VarSet, bytesCounter, [Val,( bytesCounter + bytes ) ]]
[MemWriteString, Settings_Filename, s_preview, bytesCounter]
]
Now the end of the my function :
[MemSaveToFile, Settings_Filename, "QuickSketchMasterData\data\preferences.zvr",1] //1 overwrite
[MemDelete, Settings_Filename] // this is really necessary ?
]
and then how it looks into notepad++ with all symbols visible
you can see the LF is missing at the first line.
adding note, to get the vars size, and the current value if the bytecounter, give me correct math.
but with more vars to write into that file, it gives me a lot of odd result an issue which i have no idea how to make it count correctly 
here is how the file looks with more vars to export:
have no idea why it all the mess like that, if you have any idea you are welcome man 
Nicolas