HISE Logo Forum
    • Categories
    • Register
    • Login

    Possible to include presets without the .preset extension?

    Scheduled Pinned Locked Moved Feature Requests
    7 Posts 3 Posters 298 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.
    • ulrikU
      ulrik
      last edited by

      From the documentation:

      "If you export a project it will embed all .presets found in the projects UserPresets directory into the plugin. "

      Would it be possible to embed all files found in the projects UserPresets directory, not only files with the extension .preset?

      Hise Develop branch
      MacOs 15.3.1, Xcode 16.2
      http://musikboden.se

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

        @ulrik a what's the goal?

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

        ulrikU 1 Reply Last reply Reply Quote 0
        • ulrikU
          ulrik @d.healey
          last edited by

          @d-healey said in Possible to include presets without the .preset extension?:

          @ulrik a what's the goal?

          I have 4 different kind of presets in current project (4 different extensions), it would be great if all presets were embedded and extracted at the right position when the user open the plugin for the first time.

          or is there another way except to script it in an installer?

          Hise Develop branch
          MacOs 15.3.1, Xcode 16.2
          http://musikboden.se

          Matt_SFM 1 Reply Last reply Reply Quote 0
          • Matt_SFM
            Matt_SF @ulrik
            last edited by

            @ulrik if you already have the custom presets written in your script you could use File.writeObject() to create them into the preset folder

            Develop branch
            Win10 & VS17 / Ventura & Xcode 14. 3

            ulrikU 1 Reply Last reply Reply Quote 1
            • ulrikU
              ulrik @Matt_SF
              last edited by

              @Matt_SF said in Possible to include presets without the .preset extension?:

              @ulrik if you already have the custom presets written in your script you could use File.writeObject() to create them into the preset folder

              Unfortunately the presets are already written files on the hard drive

              Hise Develop branch
              MacOs 15.3.1, Xcode 16.2
              http://musikboden.se

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

                @ulrik Then you'll need to use a post install script to put them in the right location after installation.

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

                ulrikU 1 Reply Last reply Reply Quote 1
                • ulrikU
                  ulrik @d.healey
                  last edited by

                  @d-healey said in Possible to include presets without the .preset extension?:

                  @ulrik Then you'll need to use a post install script to put them in the right location after installation.

                  Yes I understand, that's why I have this feature request 😉

                  Hise Develop branch
                  MacOs 15.3.1, Xcode 16.2
                  http://musikboden.se

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

                  21

                  Online

                  1.8k

                  Users

                  12.0k

                  Topics

                  104.8k

                  Posts