HISE Logo Forum
    • Categories
    • Register
    • Login

    Write to the general library folder

    Scheduled Pinned Locked Moved Feature Requests
    16 Posts 3 Posters 280 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 @Oli Ullmann
      last edited by d.healey

      @Oli-Ullmann said in Write to the general library folder:

      So far you can only write to the user folder. For example usersname/application support.

      You can write to any folder you want if you have the user's permission (so this isn't really a feature request for HISE). You can also use FileSystem.getFolder(FileSystem.AppData); to get the user's app data folder.

      And if you want to access the system app data folder you enable this option (which I have found causes other issues so I just use the user folder).

      a7c29431-772e-4c42-8ae2-d1939621c1ad-image.png

      For Windows you might also want this.

      80855d10-7b98-4396-952b-85bcad1acbc1-image.png

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

      Oli UllmannO 2 Replies Last reply Reply Quote 0
      • Oli UllmannO
        Oli Ullmann @d.healey
        last edited by

        @d-healey
        I was not able to write to the general VST3 folder. Only to the user VST3 folder. Did you manage to write to the general VST3 folder? I am using packages to do this as I have not found a way to do this from within HISE.

        d.healeyD 1 Reply Last reply Reply Quote 0
        • Oli UllmannO
          Oli Ullmann @d.healey
          last edited by Oli Ullmann

          @d-healey
          This is not working:

          HiseSnippet 843.3ocsU01aSCCD1taAwBuHPhe.Q6SsHXzt1wJBgfs1UnB1nhLF7MjqykUqlXWY6rQEh+y7O.NmT5KqUCnRjOT46km6td9dN2Sq3fwnzDp+oiGAD5s8BGKsCZMfIjjtsIz658ZPBZVRvYgmVmb33QLiAhHT5Fu14CcqMI4e+3kGxRXRNLSEgblRvg2IRE1YZ68p2JRR5vhfSEoy4ciW0kqjsTIpLrd1vqJYDiOjcNbBy4VIOxaXlAD5C8pCQ61rIauF0qya9rl784rl.uV+8qtKKNpdSHpeTi8ZvHzabTjvpzgVlELXPOTEMNbf5RYQBNSXD8S.mPMRHl4B0jVCDIQ89cywPHzM6MqUsQQq5AdGKhDS0OqkcubCAyPLeSiV55JoZ+CkDctRZyhR59dgbsXjclEW8bKutRKniY3cy7kRgujRunjWKE5gztSJaHzQiBSQT9oUq9n.7mJO22GueL1fHgYXagF33eiwAuHniHABGarP5NmC1NpjHPWdNkez.52nRgJNy8XZLQSgWd0JmlqKL15XJVHkND4sCWNJu86D80L83sqbE8GjEITKosWR14OtqzrjA2381yRbLpDSrK+WwwSAi0YM2Y2gctTKrPnUKjmWXFME7jmDbhxFboROD066ixsF.7gAwJcPNh.F2cK4iMeiBCyHL.1x4Qb.y7ImKGj6Q4JUddbljaEJYfRhgEdurbE+u4uk+28Ctpo33UZycGqUII3kypL6Hi5qCXYYVZeP+nfKXIYvTGwguEmnuwe2DMuXjaNGUxtRg88ifIx4SRQEmWd9mLYlEO8wtsYVliRLQG52HPaEtxg1Ft.WBUPP1xqMXFZUiv0PKwdPdqJJKgYWjL6VyMw.1OVfA4XIRivNd90f+CL7pWKC+usDuuWOgkOX00XoUTiXm5+QMNYu3c7NJNFYpyJvM85740cI3eH8ePkYQ50wLj88UB06jrzP78CNfYWJgDL3dzRtokB4pNYWGHDjQ4B+D+lXrlSlNwXseajjx3Z0W3Er.2l2alqAqIY9KSa4crSNnFImYLeeNEeH3Kb9hgZIf6tt.qut.art.2acA9z0E39qKvl+Yft2oOHypRKnMDxw8NJeUBkdjjgSf4Sqjew.f44Z
          
          1 Reply Last reply Reply Quote 0
          • d.healeyD
            d.healey @Oli Ullmann
            last edited by

            @Oli-Ullmann This is the code I'm using, looks like I'm installing to the user directory

            Link Preview Image
            Rhapsody/Scripts/Plugins.js at main

            Rhapsody - HISE based sample library player.

            favicon

            Codeberg.org (codeberg.org)

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

            Oli UllmannO 1 Reply Last reply Reply Quote 0
            • Oli UllmannO
              Oli Ullmann @d.healey
              last edited by Oli Ullmann

              @d-healey
              Yes, you do. But I don't want to use that for the installer, because I think there are DAWs that don't search for plug-ins in the user VST / Component folder. That's why I need the option to write to the general VST3 folder. Hence the feature request. Because then, as I said, you can completely do without packages or the like.

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

                @Oli-Ullmann said in Write to the general library folder:

                I think there are DAWs that don't search for plug-ins in the user VST folder.

                They should, it's part of the Steinberg spec, and the user should be able to redirect it.

                @Oli-Ullmann said in Write to the general library folder:

                Hence the feature request.

                I think it's a limitation created by Mac's gatekeeping rather than something on the HISE side. It might be there is a custom plist option you can add to your binaries that will allow access. If you find such a thing let me know and I might be able to add it as a checkbox option in HISE preferences like I did for Windows.

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

                Oli UllmannO 1 Reply Last reply Reply Quote 1
                • Oli UllmannO
                  Oli Ullmann @d.healey
                  last edited by

                  @d-healey
                  Oh, that sounds cool! :-)

                  I'll finish my plug-in and installer with the help of packages first, as I'm a bit pressed for time. As soon as version 1 is released, I'll look into it again and let you know if I find out anything.

                  PS. Yes, the user can actually define several VST paths in every DAW I know. But I don't think the user VST folder is the default and I just want to avoid support requests... :-)

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

                    @Oli-Ullmann I did a big of looking into this today. There isn't a simple method unfortunately. You'll need to run a separate process (probably a bash script) that uses Apple's authorization services to request permission from the user, then copy the files from a temp location to the destination.

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

                    Oli UllmannO 1 Reply Last reply Reply Quote 0
                    • Oli UllmannO
                      Oli Ullmann @d.healey
                      last edited by

                      @d-healey
                      Hey David,

                      thanks for checking that again! :-) I'll try to find out how Whitebox Packages solves it. Maybe I can find a good approach there.

                      All the best
                      Oli

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

                        @Oli-Ullmann I think this is the source code for it - https://github.com/packagesdev/packages

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

                        Oli UllmannO 1 Reply Last reply Reply Quote 1
                        • Oli UllmannO
                          Oli Ullmann @d.healey
                          last edited by

                          @d-healey
                          Thanks to you. I'll see if I can find anything.

                          1 Reply Last reply Reply Quote 0
                          • clevername27C
                            clevername27 @Oli Ullmann
                            last edited by

                            @Oli-Ullmann Been writing to that library for years. Still haven't heard back.

                            Oli UllmannO 1 Reply Last reply Reply Quote 1
                            • Oli UllmannO
                              Oli Ullmann @clevername27
                              last edited by

                              @clevername27
                              Good to know.@d-healey has no problems either. Maybe I shouldn't worry so much and just write to the User VST3 folder... Thanks for your feedback! :-)

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

                              52

                              Online

                              1.7k

                              Users

                              11.7k

                              Topics

                              102.1k

                              Posts