HISE Logo Forum
    • Categories
    • Register
    • Login

    The sample directory does not exist - dialog - more changes...

    Scheduled Pinned Locked Moved General Questions
    14 Posts 2 Posters 413 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.
    • LindonL
      Lindon
      last edited by

      OK so I modified the source as per this thread:

      Link Preview Image
      "The sample directory does not exist" - how can I change this text?

      Ok, to hide the popup, you need to comment out line 130 in FrontentBar.cpp file (PresetHandler::showMessageWindow("Sample Folder changed). The "The sample di...

      favicon

      Forum (forum.hise.audio)

      now I have this:

      			if (!monolithDirectories[1].isDirectory())
      			{
      				sampler->getMainController()->sendOverlayMessage(DeactiveOverlay::State::CustomErrorMessage,
      					"Please restart the plugin");
      
      				FRONTEND_ONLY(sampler->deleteAllSounds());
      
      				return;
      			}
      

      Which is nice because it reminds the end user to restart the plugin to get any sounds, but not so nice in it still shows the "Ignore" button below the message, any clue how I could change the text on the button to a simple "OK" ??

      HISE Development for hire.
      www.channelrobot.com

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

        @Lindon aaaand..in classic mode I think I found it as soon as I posted this:

        FrontendBar.cpp (line 57)

        	addAndMakeVisible(installSampleButton = new TextButton("Install Samples"));
        
        	addAndMakeVisible(ignoreButton = new TextButton("Ignore"));
        
        	resolveLicenseButton->setLookAndFeel(alaf);
        

        HISE Development for hire.
        www.channelrobot.com

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

          @Lindon bumping this in the hope that there is a better long term fix for this recurrent problem....

          HISE Development for hire.
          www.channelrobot.com

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

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

              @Lindon said in The sample directory does not exist - dialog - more changes...:

              @Lindon bumping this in the hope that there is a better long term fix for this recurrent problem....

              What's the problem? Do you want to disable this popup entirely?

              LindonL 1 Reply Last reply Reply Quote 0
              • LindonL
                Lindon @d.healey
                last edited by

                @d-healey - well actually I cant see why its getting called at all....seems to be a bug.

                HISE Development for hire.
                www.channelrobot.com

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

                  @Lindon Does it appear after installing samples from an hr file?

                  LindonL 1 Reply Last reply Reply Quote 0
                  • LindonL
                    Lindon @d.healey
                    last edited by

                    @d-healey yes

                    HISE Development for hire.
                    www.channelrobot.com

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

                      @Lindon I'll take a look when I have a bit of time later today. I stopped using the hr system for a few reasons, I'm now using zip files and I rolled my own installer that extracts them, creates the link file, etc. It's part of my downloader/installer module.

                      LindonL 1 Reply Last reply Reply Quote 0
                      • LindonL
                        Lindon @d.healey
                        last edited by

                        @d-healey -yes that's a great idea - but as I haven't built one(or licensed yours) yet I am stuck with this problem...

                        HISE Development for hire.
                        www.channelrobot.com

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

                          @Lindon I think it's caused by something around here but it's a rabbit warren of logic and I don't have time to dig through it all at the moment, but I think you can set HISE_DEACTIVATE_OVERLAY=true and that will get rid of the popup.

                          LindonL 1 Reply Last reply Reply Quote 0
                          • LindonL
                            Lindon @d.healey
                            last edited by

                            @d-healey -Okay I'll give that a go. In the Extra definitions?

                            HISE Development for hire.
                            www.channelrobot.com

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

                              @Lindon Yeah

                              LindonL 1 Reply Last reply Reply Quote 0
                              • LindonL
                                Lindon @d.healey
                                last edited by

                                @d-healey said in The sample directory does not exist - dialog - more changes...:

                                @Lindon Yeah

                                👍

                                HISE Development for hire.
                                www.channelrobot.com

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

                                29

                                Online

                                1.8k

                                Users

                                12.0k

                                Topics

                                104.1k

                                Posts