Local management of libraries

I publish this for those who have a broader knowledge of XOD and the operating system, in this case Windows 10.

I did not find anything clear so I investigated a little, how to make my bookstores in XOD without publishing them until I tested their operation well.
Also to have XOD hacking nodes.

  1. Go C:\Users\User\xod\__lib__\xod\ , here are two XOD and XOD folders, if we create an XOD-MOD folder here, each patch will look like this
  • xod-mod/servo-mod

  • xod-mod/digital-write-mod

  • xod-mod/digital-read-mod

  • etc.

  1. Now if we create a folder inside XOD folder, it would be like this
  • xod/xod-mod
    —digital-write-mod
    —digital-read-mod
    —servo-mod
  1. Projects must be saved as, Multifile XOD Project, xodball does not work.

  2. Open the project folder, copy project.xod file y patch example “servo-mod” and paste in C:\Users\User\xod\__lib__\xod\xod-mod (only one Project.xod file)

5.To add nodes copy each folder with patch, example digital-write-mod, digital-read-mod, etc.

6.Create a shortcut of Project.xod file to Desktop, and edit add to your liking :slightly_smiling_face:

If we create it here C: \ Users \ User \ AppData \ Local \ Programs \ XOD IDE \ resources \ workspace \ __ lib__, the accidental modifications will remain in C: \ Users \ User \ xod \ __ lib__, but before the update, you have to make a copy and restore it later.

1 Like

Few comments:

  1. C:\Users\User\xod\__lib__\xod\ in this Path xod is a username.
    When you are installing some libraries that was published by someone it places in __lib__ directory like this: C:\Users\User\xod\__lib__\bob\my-library\...patch_directories...
    So better use your username or something like local or my as a username for a local library to avoid conflicts and provide better experience.
  2. This instruction works fine for other platforms, but you’ll have another Path to your workspace. It could be specified anywhere you want, but by default it is ~/xod

We’ll discuss with the XOD developers team how to make a user experience better for this case.

2 Likes