HISE Logo Forum
    • Categories
    • Register
    • Login

    Samples directory not found when exporting

    Scheduled Pinned Locked Moved General Questions
    not foundexportsamplesdirectorymonolith
    14 Posts 3 Posters 4.6k 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.
    • Christoph HartC
      Christoph Hart
      last edited by

      The samples can be stored anywhere you want.

      You just have to point the plugin to the folder where your samples are stored once (that's why it's asking "Show me the samples directory"). From then on, it will remember that location (by storing a settings file in the application data directory).

      1 Reply Last reply Reply Quote 0
      • Dark BoubouD
        Dark Boubou
        last edited by

        So there's no way to avoid this message first? It's not possible to make a data-file linked with the vst in a folder, as for example:

        Instrument folder -> instrument.dll and instrument.data or .instrument

        Lots of softwares have this option :)

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

          You can create this file automatically in your installer but the users will most likely use a different sample location anyway.

          Having it in the VST folder is no option. HISE is designed to use multiple GB of sample data.

          1 Reply Last reply Reply Quote 0
          • Dark BoubouD
            Dark Boubou
            last edited by

            Yeah sure...
            You talked about an installer, what more precisly?
            Is it an installer as a program installer, where we specify directories?
            How to create this file automaticaly?

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

              You can use existing installer systems to create installers which copy all files and set the registry entries. I recommend InnoSetup for Windows and Whitebox Packages on OSX, both are free and work well.

              This is a whole new world though and is extremely easy to mess up so think twice if you want to go there (the amount of frustration you got with HISE so far is only a small teaser on what you'll expect when trying to fix user permissions because Apple chooses to change the default sandbox settings on macOS Sierra (actually happened).

              If yes, take a look at the installer files for the HISE packages to get a starting point:

              Link Preview Image
              File not found · christophhart/HISE

              The open source framework for sample based instruments - File not found · christophhart/HISE

              favicon

              GitHub (github.com)

              1 Reply Last reply Reply Quote 1
              • Dark BoubouD
                Dark Boubou
                last edited by

                Wait hum...

                The link you sent me, is it included in HISE github package?
                How to run the code?
                As I will probably ask for a license to sell what I do (It's 20€ that's it? Or 500€?? Didn't get all), I really need fix the 'error'.
                If I use an installator, I may have problems with mac? I don't even have a mac system, how could I make it work :/

                I'm wondering I have worked for hours... to finally never finish what I did :(

                1 Reply Last reply Reply Quote 0
                • d.healeyD
                  d.healey
                  last edited by d.healey

                  To create an installer that will setup your library on a user's computer you need to use another program like InnoSetup for Windows. HISE does not create the installer for you. An installer is not necessary to distribute your library as far as I can tell but it is more professional.

                  If you want to distribute to Windows, Mac, and Linux users then you need to have access to all those operating systems too so that you can compile your instrument into a format that will run on each system. I don't think there is anyway around this - I don't have a Mac either so I'm probably going to run Mac OS in a virtual machine like https://www.virtualbox.org/.

                  I'm wondering I have worked for hours... to finally never finish what I did :(
                  Don't worry it's not actually been that many hours ;) have patience, I've been working on my library for over a year.

                  Libre Wave - Freedom respecting instruments and effects
                  My Patreon - HISE tutorials
                  YouTube Channel - Public HISE tutorials

                  1 Reply Last reply Reply Quote 1
                  • Dark BoubouD
                    Dark Boubou
                    last edited by Dark Boubou

                    If I do an installer, are you sure it will correct this idiot bug? :D
                    I don't want fall in deep complex boring things :)
                    I would really have prefered a simple .dll with a .data files ^^

                    1 Reply Last reply Reply Quote 0
                    • d.healeyD
                      d.healey
                      last edited by

                      Not sure what bug you're referring to. I believe you can just give the user the VST dll and the samples monolith separately and they can decide where to store the samples.

                      Libre Wave - Freedom respecting instruments and effects
                      My Patreon - HISE tutorials
                      YouTube Channel - Public HISE tutorials

                      1 Reply Last reply Reply Quote 0
                      • Dark BoubouD
                        Dark Boubou
                        last edited by

                        Imagine I have an installator. Run it installs for example in C:\VSTPlugins the .dll, and in D:\Data\Samples the libraries.
                        The user still will have to select the data directory, it's not automated?

                        1 Reply Last reply Reply Quote 0
                        • d.healeyD
                          d.healey
                          last edited by

                          What Christoph was saying is that in the data directory you put a file that tells HISE where to look for the samples and you can get your installer to create this file - I don't know how though as I've not tried it.

                          Libre Wave - Freedom respecting instruments and effects
                          My Patreon - HISE tutorials
                          YouTube Channel - Public HISE tutorials

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

                            If your installer puts a file into your AppData directory that is called LinkWindows (no file extension) and has the content D:\Data\Samples and copies all samples to this directory, then the popup won't show up. But 50% of all users who don't have a second partition will not be able to install this software, so you can figure out what solution is more practical.

                            1 Reply Last reply Reply Quote 0
                            • Dark BoubouD
                              Dark Boubou
                              last edited by

                              you're right :)

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

                              52

                              Online

                              1.7k

                              Users

                              11.7k

                              Topics

                              101.8k

                              Posts