Setting a custom folder for modules

Apologies if this might have been brought up before but I simply would like have a custom folder for modules.Or is it possible to just edit a config file somewhere?

Thank you

You can launch Rack with command line arguments from the terminal. https://vcvrack.com/manual/Installing.html#command-line-usage
There isn’t really a better way to do this in a cross platform way because it would need to know the path to the config file in order to know the path to the folder containing the config file…

Thanks will do. Seems good enough. I only asked cuz while most of the modules get ported to v1.0, I wanna be able to use the older version without having to rename the dir containing the modules.

The optional config file can be in the same directory as the executable.

On Mac, would that be /Applications? On Linux, you can’t get the location of a binary but the cwd. Only on Windows would that work.

Pass the location of the config file as a command line parameter.

readlink("/proc/self/exe", ...) will get you the path to the current executable on Linux.

Kinda nasty but works, however I doubt Linux users need this feature.

just maybe to keep two or more versions of the plugins perhaps…

I mean that most Linux users would know how to launch Rack with a command-line flag.

Anyway thanks for all suggestions. I’m both on mac and win.