HISE Logo Forum
    • Categories
    • Register
    • Login

    Overwrite Old Presets

    Scheduled Pinned Locked Moved General Questions
    7 Posts 2 Posters 199 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.
    • DanHD
      DanH
      last edited by

      Does this setting overwrite every time you open the plug-in?

      DHPlugins / DC Breaks | Artist / Producer / DJ / Developer
      https://dhplugins.com/ | https://dcbreaks.com/
      London, UK

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

        @DanH no, it adds a file in the preset folder, holding the plugin's version number. Each time you change the version, it updates the preset files.

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

        DanHD 1 Reply Last reply Reply Quote 0
        • DanHD
          DanH @Matt_SF
          last edited by

          @Matt_SF ah ok... And if that file doesn't exist I guess it overwrites as well?

          DHPlugins / DC Breaks | Artist / Producer / DJ / Developer
          https://dhplugins.com/ | https://dcbreaks.com/
          London, UK

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

            @DanH it creates it after enabling the option, and yes, if you change the plugin's version, it updates it

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

            DanHD 1 Reply Last reply Reply Quote 0
            • DanHD
              DanH @Matt_SF
              last edited by

              @Matt_SF But what if there is no version file in the User Presets? As in - the plugin has existed for a long time, but only now do I enable the Overwrite option on the presets in the next update.

              DHPlugins / DC Breaks | Artist / Producer / DJ / Developer
              https://dhplugins.com/ | https://dcbreaks.com/
              London, UK

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

                @DanH the presets can be overwritten only if this file exists. Indeed, if it doesn't, you won't be able to do it.

                IIRC what I did when I was in your situation, I released the update of my plugin, and give the installer a copy of that file with an old version number, then upon loading the new version of the plugin, it would 'see' that the presets were old and then it would overwrite them.

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

                DanHD 1 Reply Last reply Reply Quote 0
                • DanHD
                  DanH @Matt_SF
                  last edited by

                  @Matt_SF Yep good idea, cheers!

                  DHPlugins / DC Breaks | Artist / Producer / DJ / Developer
                  https://dhplugins.com/ | https://dcbreaks.com/
                  London, UK

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

                  14

                  Online

                  1.7k

                  Users

                  11.9k

                  Topics

                  103.6k

                  Posts