Forum
    • Categories
    • Register
    • Login

    Automatically locate .ch1 monolith files in a custom folder on first plugin launch

    Scheduled Pinned Locked Moved General Questions
    1 Posts 1 Posters 13 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • lijas90L
      lijas90
      last edited by

      Hi everyone,

      I'm developing a VST plugin with HISE and I'm trying to distribute the sample monolith files (.ch1) separately from the plugin.

      My current setup is:

      • The plugin is exported as VST3.

      • The .ch1 monolith files are copied to a custom user data folder, for example:
        %APPDATA%\MyCompany\MyPlugin\Samples

      The plugin is built using Sample Monoliths.

      The issue is that when the plugin is opened for the first time, HISE still searches for the .ch1 files in my original HISE project folder (inside the HISE project directory) and asks the user to manually locate the Samples folder.

      I would like the plugin to automatically search for the monolith files in my custom AppData folder, so the user can open the plugin immediately after installation without having to manually locate the samples.

      Is there a recommended way to define a custom default sample location in HISE?

      Can this be done through Project Settings, scripting, or by changing the sample search path during initialization?

      Any help or examples would be greatly appreciated.

      Thanks!

      1 Reply Last reply Reply Quote 0
      • First post
        Last post

      26

      Online

      2.5k

      Users

      13.9k

      Topics

      120.9k

      Posts