HISE Logo Forum
    • Categories
    • Register
    • Login

    Expansion encode error

    Scheduled Pinned Locked Moved General Questions
    51 Posts 2 Posters 2.1k 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 @DanH
      last edited by d.healey

      @danh The hxi comes from encrypting the expansion. So set your Expansion Type to encrypted or don't use the hxi format.

      Link Preview Image
      HISE | Docs

      favicon

      (docs.hise.audio)

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

      DanHD 1 Reply Last reply Reply Quote 0
      • DanHD
        DanH @d.healey
        last edited by

        @d-healey I don't want it encrypted... Its been working fine for weeks, can't understand why it suddenly wants to encrypt

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

          @danh Have you changed HISE version?

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

          DanHD 1 Reply Last reply Reply Quote 0
          • DanHD
            DanH @d.healey
            last edited by

            @d-healey No, got it working, it was a combo of saving the preferencers, restarting HISE, making sure the right project file/xml was loaded, selecting Encrypted and having the encrypt key that I made before but didn't realise I needed and must have deleted at some point... all good.

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

              @danh urgh, next problem.... somehow when I install an expansion neither the User Presets or the Images are being installed. I can see that the HXI file is large enough to contain both, yet for some reason they don't get installed with all the other expansion stuff. Never used to happen....

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

                @danh Maybe there is a bug in HISE.

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

                DanHD 1 Reply Last reply Reply Quote 0
                • DanHD
                  DanH @d.healey
                  last edited by

                  @d-healey I've made this particular expansion numerous times.. now that I want to run off the master it's gone weird 😆

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

                    @danh said in Expansion encode error:

                    I want to run off the master

                    Why?

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

                    DanHD 1 Reply Last reply Reply Quote 0
                    • DanHD
                      DanH @d.healey
                      last edited by

                      @d-healey the 'master' expansion .hr1 file I mean.... If you're thinking I mean the master fork of HISE I'm using that too...

                      DanHD 2 Replies Last reply Reply Quote 0
                      • DanHD
                        DanH @DanH
                        last edited by

                        This post is deleted!
                        1 Reply Last reply Reply Quote 0
                        • DanHD
                          DanH @DanH
                          last edited by

                          @danh I thought I'd try it in New Laypout branch but I can't see anywhere to encode the expansion - it doesn't appear to be in the sampler window as before

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

                            @danh https://forum.hise.audio/topic/4915/invalid-hxi/4?_=1636737817041

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

                            DanHD 2 Replies Last reply Reply Quote 0
                            • DanHD
                              DanH @d.healey
                              last edited by

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

                                @d-healey Thanks, no joy with NL. So strange. I'll try recompiling HISE. Am I missing something? I've followed the script from the docs.... I mean it's worked fine for weeks. :crying_face:

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

                                  @danh What method are you using to install the expansion?

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

                                  DanHD 1 Reply Last reply Reply Quote 0
                                  • DanHD
                                    DanH @d.healey
                                    last edited by

                                    @d-healey Rebuilt HISE and it began to work as expected again.

                                    One question though - When installing an expansion, it takes a few moments for the samples to install themselves. It's possible to close the plugin / standalone prior to all samples installing, leading to errors upon startup. Have you come across this? A bar showing progress would be useful!

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

                                      @danh said in Expansion encode error:

                                      It's possible to close the plugin / standalone prior to all samples installing, leading to errors upon startup. Have you come across this?

                                      Sounds like a bug, I think HISE should recover from where it left off. I haven't tested this myself.

                                      @danh said in Expansion encode error:

                                      A bar showing progress would be useful!

                                      You can implement this yourself with a timer and the expansion install callback.

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

                                      DanHD 1 Reply Last reply Reply Quote 0
                                      • DanHD
                                        DanH @d.healey
                                        last edited by

                                        @d-healey oh yes, completely missed those API's, silly me.

                                        I believe you made a progress bar video a few months ago too

                                        Second thing, when you install an expansion and the first window opens to select the .hr1 file, and then the second to choose where to install the .ch1 files, is there a way to add dialog to those windows to act as a guide for the user?

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

                                          @danh This is how I'm doing it.

                                          inline function manualInstall() {
                                            local msg = "Please select the .hr1 file";
                                          
                                            Engine.showYesNoWindow("Select .hr1", msg, function(response)
                                            {
                                              if (response)
                                              {
                                                FileSystem.browse(FileSystem.Downloads, false, "*.hr1", function(hr)
                                                {
                                                  if (hr.toString(2) == ".hr1")
                                                  {
                                                    local origin = hr; // Scoped copy
                                                    msg = "Please select the folder to install the instrument's samples";
                                          
                                                    Engine.showYesNoWindow("Install Location", msg, function(response)
                                                    {
                                                      if (response)
                                                      {
                                                        FileSystem.browseForDirectory(FileSystem.Samples, function(dir)
                                                        {
                                                           expHandler.installExpansionFromPackage(origin, dir);�
                                                        });
                                                      }
                                                    });
                                                  }
                                                });
                                              }
                                            });
                                          }
                                          

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

                                          DanHD 1 Reply Last reply Reply Quote 0
                                          • DanHD
                                            DanH @d.healey
                                            last edited by

                                            @d-healey very kind, thank you

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

                                            45

                                            Online

                                            1.7k

                                            Users

                                            11.7k

                                            Topics

                                            101.8k

                                            Posts