I see this point on CHANGELOG, which is nice to identity the saved module on the patch.
How do I get this ID with code?
I’d like to explore it myself with the json on .vcv patch file, but now it seems binary and im not able to decompress it.
thanks
EDIT: it seems we need 7-Zip-zstd for decompress .tar.zstd (which is the actual .vcv) - tip for everyone
synthi
(Antonio Tuzzi)
January 3, 2022, 11:49am
2
or you can rename “vcvx” and drag and drop on nysthiometer…
(re-drop the folder to have back the vcv file)
1 Like
Ok, so it seems the json field is “id”:
not sure if there are some api. i’ll try usual way to extract json field for now.
let me know if there are some “out of the box” helper.
thanks
carbon14
(David O'Rourke)
January 3, 2022, 12:10pm
4
Within your module code the Id is a member variable in the modules and cables. I can’t remember if there is a getter function for them, but you can easily find in if you look in the headers.
1 Like
carbon14
(David O'Rourke)
January 3, 2022, 12:17pm
5
There is a getId() method in the Module. Just an id member on the Cable.
1 Like