HISE Logo Forum
    • Categories
    • Register
    • Login

    Plugin data folder linking

    Scheduled Pinned Locked Moved General Questions
    6 Posts 2 Posters 1.9k 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.
    • K
      Ksn
      last edited by

      Greetings,
      On the very first launch the plugin is informing that the Sample directory is not existing with the only option to ignore it.
      I looked up the respective project folder in the APPDATA but there was no LinkWindows file present (According to the tutorial it is supposed to be here).
      Supposedly, the AudioResources.dat should be edited instead, but I struggle to find the correct way to edit it.
      I tried replacing the only AudioFiles/NULNULNUL line with something like AudioFiles/C:\Users\Ksn\Desktop\Testplugin\Samples
      or AudioFiles/C:\Users\Ksn\Desktop\TestPlugin\Samples\MusicBox.ch1 but it didn't work out.
      Thanks!

      1 Reply Last reply Reply Quote 0
      • Christoph HartC
        Christoph Hart
        last edited by

        The AudioResources.dat file should not play a role in the tutorial (and if it does, I need to change the default project settings).

        The LinkWindows file is created when you choose a sample folder. I need to check if there's something wrong with the initial detection.

        The remark about it being present means that if you know where you want to store the sample data (eg. in the program folder) by default, you could include this file in your installer routine to prevent this dialogue on initial load.

        1 Reply Last reply Reply Quote 0
        • K
          Ksn
          last edited by

          How can I choose a respective sample folder? All the .wav samples are already copied in the project Sample folder. Is it obligatory to use an installer for compiled plugins?

          1 Reply Last reply Reply Quote 0
          • Christoph HartC
            Christoph Hart
            last edited by

            The project folder has nothing to do with the final plugin - it's only used while developing. But you can of course point the plugin to the Samples subfolder (just like any other folder).

            The plugin should create all app data files automatically if they don't exist and ask for a sample folder the first time. You should be able to point it to the directory and from then on you're ready to go. If this doesn't work, let me know, then I'll check this.

            You don't need an installer, just copy the .dll files to the plugin directory, and the samples to an arbitrary location. However as soon as you have multiple platforms and plugin types, doing this with an installer is the only serious option.

            If you want to learn more about making installers, I am using two installer solutions myself, Inno Setup on Windows and Whitebox Packages on OSX (both are free to use).

            1 Reply Last reply Reply Quote 0
            • K
              Ksn
              last edited by Ksn

              The plugin should create all app data files automatically if they don't exist and ask for a sample folder the first time. You should be able to point it to the directory and from then on you're ready to go.

              This seems to be the issue, because the compiled plugin does not ask for anything during first launch and the LinkWindows file is not created.

              1 Reply Last reply Reply Quote 0
              • Christoph HartC
                Christoph Hart
                last edited by

                Can you check again with the most recent build and source code? I fixed a few things regarding sample detection last week.

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

                42

                Online

                1.7k

                Users

                11.7k

                Topics

                101.9k

                Posts