HISE Logo Forum
    • Categories
    • Register
    • Login

    Link in vst

    Scheduled Pinned Locked Moved General Questions
    50 Posts 4 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.
    • d.healeyD
      d.healey
      last edited by d.healey

      Here's a complete implementation (without progress bar). Put it inside a button callback (button should be momentary with saveInPreset disabled).

          reg file;
      
          inline function install()
          {        
              Engine.showYesNoWindow("Select .hr1", "Please select the .hr1 file", function(x)
              {            
                  if (x)
                  {
                      FileSystem.browse("", false, "*.hr1", function(f)
                      {
                          file = f;
      
                          Engine.showYesNoWindow("Samples Folder", "Please select the folder to install the samples", function(x)
                          {
                              if (x)
                              {
                                  FileSystem.browseForDirectory("", function(dir)
                                  {
                                      if (dir.isDirectory())
                                      {
                                          expHandler.installExpansionFromPackage(file, dir);
                                      }
                                  });
                              }
                          });
                      });
                  }
              });
          }
      

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

      Y 1 Reply Last reply Reply Quote 0
      • Y
        yall @d.healey
        last edited by

        @d-healey Thank you. will the .hxi file be integrated into the hr1? if so, it is even better. because creating an installer and then manually dragging the .hxi file was the same as my operation. I'm going to try :)

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

          @yall There is a guide here (it's slightly out of date) - https://docs.hise.audio/working-with-hise/project-management/expansions/encrypted_expansion.html#implementation-/-steps-to-do

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

          Y 1 Reply Last reply Reply Quote 0
          • Y
            yall @d.healey
            last edited by

            @d-healey yes on this subject I master. I have already created several extensions. I just tried in a button callback nothing happens :(

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

              @yall Post a snippet

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

              Y 2 Replies Last reply Reply Quote 0
              • Y
                yall @d.healey
                last edited by

                @d-healey I'm going to do it again on an empty project because I'm on a big thing with a lot of lines a little messy ^^

                1 Reply Last reply Reply Quote 1
                • Y
                  yall @d.healey
                  last edited by

                  @d-healey the reminder is working. I forgot a} I'll come back to you. thank you you're a boss

                  1 Reply Last reply Reply Quote 0
                  • Y
                    yall
                    last edited by

                    @d-healey

                    HiseSnippet 1511.3oc4XstaaaCEVJNpqwqoXsn+X.CCfvX+vdHyvtMsc.EE0wNNsFKwwvNq6FFJXjnsIpDo.IUR7Bx6zdD1iTeC1NTWrncbb7BV6J1T9i44B4G+Njmygomf6RjRtvxdiilDRrruiyfIL03ViwTlUmcsr+BGJSpv99HxYJLSIobF5XdjhyrZNIDKkDOKa6BuT6f8FqaE+8tWzD6iYtjbQVVulScI6SCnpbo8Z7cTe+8vdjinAFVuciNtbVKtOOB.WAmZVgX22hGQ5h0lslik8sZ6QUbw.EVQjV1q2j6MYvX9orD6eMURO1mnGT2Z.LQIh2i66oQr92VsFS885kQBRKKamd4TRgDJ4ANGP8nSkmSMeVrBTtGl7g8ZKCd0MgWsEBu5KBd1Fva8D3cOmAtBZnJWiFaepSGlhHFhgPfIrRr0ZsitkSKNXASUM.+VxdBXvTOJ+jZ01B83Z0p7rMKtYQHPHUnSvB3HP3qvLOeh.8bTa1HJiT0UPfcX6yBwL8YiT8kSbcyh4tTURT636yOk3M0Z8VPV9WLLZOpOoIFP6VnMKhVkOCmi2AADOJfnah+sYthIgJh2upge99N6JvyQYj1HhpEOHjyfAkKkpuT1lN6OJyGnHzvHlqReugyRsTOMBteY2r4XKXc7iHUR7SCqyiAW9dPPFgFBjyyxLP+kFCjv4pehH6x+AJyieZ4RCH9DWEp5XQ8RagJMn89sacTmC61s8Oi1uMZuNsdUm18QUeUes9L7U9rJ4S84lbzrTIcHZFSiM+xrsNTNXhTQBpdrfepjTtjdwv9RH3T5qSA2zEeXkK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6XI.JYw+mD2v4.8XTcq32x.94TqZMq.nV0abc0WD9FfgWrOO7F3yitA9r8MvmGeC74I2.ed5Mvmuco9naSXmHEOHIIIHnW6jCV1smdvpf0ewJDcyM
                    

                    the installation is going well. I integrated the HXI in the HR1 but it does not appear in the target folder.
                    on the other hand it is impossible to choose the expansions folder of AppData .... from the window of the installer.
                    I would like the user to be able to click on install and that everything is automatically created in AppData. the extension folder + the rest. for the moment this technique is used only to install samples like opening the plugin the first time;

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

                      @yall The target folder is just for the samples, the other files are automatically installed to the correct appData/company folder.

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

                      Y 1 Reply Last reply Reply Quote 0
                      • Y
                        yall @d.healey
                        last edited by

                        @d-healey yes I just saw that the "expansion name" folder was created. but the samples do not load. they are invisible from the sampler

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

                          @yall Show me the line of script you are using to load them.

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

                          Y 1 Reply Last reply Reply Quote 0
                          • Y
                            yall @d.healey
                            last edited by

                            @d-healey this is the extract just above

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

                              @yall I mean show me where you are loading the samplemap into the sampler.

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

                              Y 1 Reply Last reply Reply Quote 0
                              • Y
                                yall @d.healey
                                last edited by

                                @d-healey I put the sampler in the big screen. and in the "select expansion" section. I can clearly see my expansion. then on the drop-down window of the sampler (where you can choose your sample Map) the window is empty

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

                                  @yall You mean there are no sample maps to choose from?

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

                                  Y 1 Reply Last reply Reply Quote 0
                                  • Y
                                    yall @d.healey
                                    last edited by

                                    @d-healey yes

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

                                      @yall Does it work if you install it manually?

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

                                      1 Reply Last reply Reply Quote 0
                                      • Y
                                        yall
                                        last edited by

                                        @d-healey I just got it. stupid mistake on my part.
                                        I took an extension created on another project. I redid an empty project to try. it didn't work because the sampler didn't have the same name. already error. then I just understood that the samples extracted, we could put them where we wanted because there was a link windows file in the expansions folder.
                                        so now everything is working as I wanted. now, for the user, the extracted folder will be automatically present in AppData?

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

                                          @yall Yep

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

                                          Y 1 Reply Last reply Reply Quote 0
                                          • Y
                                            yall @d.healey
                                            last edited by

                                            @d-healey thank you for your time :)

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

                                            25

                                            Online

                                            1.8k

                                            Users

                                            12.0k

                                            Topics

                                            104.3k

                                            Posts