HISE Logo Forum
    • Categories
    • Register
    • Login

    Custom file extensions for presets

    Scheduled Pinned Locked Moved Scripting
    9 Posts 3 Posters 213 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.
    • C
      card100
      last edited by

      Is there a way to change the file extension the preset browser is expecting instead of just .preset? I'm not sure if this would be possible using the built in preset browser or if I'd need to script my own preset loading system.

      Thanks for your help

      LindonL 1 Reply Last reply Reply Quote 1
      • LindonL
        Lindon @card100
        last edited by

        @card100 said in Custom file extensions for presets:

        Is there a way to change the file extension the preset browser is expecting instead of just .preset? I'm not sure if this would be possible using the built in preset browser or if I'd need to script my own preset loading system.

        Thanks for your help

        you would need to edit the HISE source I think

        1 Reply Last reply Reply Quote 0
        • C
          card100
          last edited by

          Would be ge great if that could be a setting

          LindonL d.healeyD 2 Replies Last reply Reply Quote 0
          • LindonL
            Lindon @card100
            last edited by

            This post is deleted!
            1 Reply Last reply Reply Quote 0
            • d.healeyD
              d.healey @card100
              last edited by

              @card100 what's wrong with .preset?

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

              C 1 Reply Last reply Reply Quote 0
              • C
                card100 @d.healey
                last edited by

                @d-healey I think having a file extension specific to your plugin comes off as being more professional than a generic file extension that other plugins also use. Also could be confusing to some users as the .preset file type can be opened in a different program that also uses .preset and obviously not work. If two programs are using the same file extension, they should be able to open each other's files (eg a pdf).

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

                  @card100 said in Custom file extensions for presets:

                  If two programs are using the same file extension, they should be able to open each other's files

                  All HISE plugins can load all .preset files made with a HISE project - not that it's a very useful thing to do though.

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

                  C 1 Reply Last reply Reply Quote 0
                  • C
                    card100 @d.healey
                    last edited by

                    @d-healey Exactly. So if I have a rouge preset file for some reason, I have no idea what plugin it goes with. Let alone a user who doesn't understand what file extensions even are and lets the os just choose a program to open it in. It's just a little small thing to make a user experience a bit better

                    1 Reply Last reply Reply Quote 0
                    • C
                      card100
                      last edited by

                      For anyone reading in the future, modifying the source code was pretty straightforward. Literally just replaced every instance of .preset to your file extension across the cpp files and recompiled.

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

                      57

                      Online

                      1.7k

                      Users

                      11.7k

                      Topics

                      101.8k

                      Posts