AudioResources.dat in System Library on macOS?
I'm just in the process of building installers for a plugin with a significant amount of IR content.
I realize that the AudioResources.dat must be in the following location ...
But specifically what I am wondering is if I can move this to the same system location?
There are two main reasons why I would like to do this ...
- White Box Packages doesn't seem to want to install into user directories
- With this current approach all user accounts on a machine will need to install the IR content here. I can see this both increasing the frequency of support tickets and annoying some users unnecessarily.
I tried moving the product folder to the system library with no luck. The plugin didn't complain as if they were missing (which was also concerning as usually it will) but also didn't load any of the IRs.
The ideal solution would be allowing the system Library to be used for non user generated plugin content such as AudioResources.dat.
@optimistic is there a Application Support folder in the global Library Path? AFAIK all application data should be stored in the user domain.
is there a Application Support folder in the global Library Path?
Yes, there is. This is also the standard path that many other plugin manufacturers place their factory resources.
For example here is what my System folder looks like for Application Support (ignore the fact that many of these are symlinks — I did this so I could place these folders on an external hard drive)
@optimistic ah ok in this case I‘ll add a preprocessor that you can define if you want to use the global path instead of the user one.
@Christoph-Hart Amazing! Much appreciated!
@optimistic Alright, if you now add
in the ExtraDefinitionsOSX field in your project settings, it will use the global app data folder instead. You can also define this on Windows if it makes more sense for you, but I think it's not required there.
@Christoph-Hart Tested and working as expected. Thanks again!