HISE Logo Forum
    • Categories
    • Register
    • Login

    Expansion not working

    Scheduled Pinned Locked Moved Newbie League
    17 Posts 3 Posters 91 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
      daniloprates
      last edited by

      I've followed @d-healey's video, both manual and automatic's way of creating an expansion, but they are never listed.

      Found this in my project_info.xml:

      <ExpansionType value="Disabled"/>
      

      and changed to

      <ExpansionType value="Files Only"/>
      

      but it didn't work

      1 Reply Last reply Reply Quote 0
      • D
        daniloprates
        last edited by

        My code:

        Content.makeFrontInterface(600, 600);
        
        const var expHandler = Engine.createExpansionHandler();
        
        expHandler.setAllowedExpansionTypes([
        	expHandler.FileBased, 
        	expHandler.Intermediate, 
        	expHandler.Encrypted
        ]);
        
        expHandler.refreshExpansions();
        
        const expList = Engine.getExpansionList();
        
        Console.print(trace(expList));
        
        1 Reply Last reply Reply Quote 0
        • d.healeyD
          d.healey
          last edited by

          My video on the subject is out of date now. The documentation is quite complete though though:

          Link Preview Image
          HISE | HISE | Expansions

          A overview of the Expansion system in HISE

          favicon

          (docs.hise.audio)

          Link Preview Image
          HISE | HISE | Encrypted Expansions

          A overview over the encrypted expansion modes

          favicon

          (docs.hise.dev)

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

          D 1 Reply Last reply Reply Quote 0
          • D
            daniloprates @d.healey
            last edited by

            Nothing I did worked...

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

              @daniloprates What else have you done?

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

              D 1 Reply Last reply Reply Quote 0
              • D
                daniloprates @d.healey
                last edited by

                @d-healey

                Here's my code:

                Content.makeFrontInterface(600, 600);
                
                const var expHandler = Engine.createExpansionHandler();
                
                expHandler.setAllowedExpansionTypes([expHandler.FileBased, 
                                                     expHandler.Intermediate, 
                                                     expHandler.Encrypted]);
                
                
                const expList = Engine.getExpansionList();
                
                Console.print(trace(expList));
                

                The file structure:

                324fa974-8ff5-471e-808a-7a083f7169e6-image.png

                And the expansion_info.xml:

                <?xml version="1.0" encoding="UTF-8"?>
                
                <ExpansionSettings
                    Name="Test Expansion"
                    version="1.0.0"
                    ProjectName="test-expansion"
                />
                
                d.healeyD 1 Reply Last reply Reply Quote 0
                • d.healeyD
                  d.healey @daniloprates
                  last edited by

                  @daniloprates Have you set the expansion type in project preferences?

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

                  D 2 Replies Last reply Reply Quote 0
                  • D
                    daniloprates @d.healey
                    last edited by

                    @d-healey here's the relevant part of project_info.xml:

                      <ExpansionType value="FileBased"/>
                      <EncryptionKey value=""/>
                      <LinkExpansionsToProject value="Yes"/>
                    
                    1 Reply Last reply Reply Quote 0
                    • D
                      daniloprates @d.healey
                      last edited by

                      @d-healey also tried <ExpansionType value="Files Only"/>

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

                        @daniloprates Send me the project, without the Samples.

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

                        D 1 Reply Last reply Reply Quote 0
                        • D
                          daniloprates @d.healey
                          last edited by daniloprates

                          @d-healey I've created an empty test project:

                          Link Preview Image
                          test-expansion.zip

                          Shared with Dropbox

                          favicon

                          Dropbox (www.dropbox.com)

                          d.healeyD 1 Reply Last reply Reply Quote 0
                          • ChazroxC
                            Chazrox
                            last edited by

                            Can we (the community lol) get a nice template of this working to look at 🙏

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

                              @daniloprates The project works, once I copied in your code and set the expansion type in project preferences to FileOnly

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

                              D 2 Replies Last reply Reply Quote 1
                              • D
                                daniloprates @d.healey
                                last edited by daniloprates

                                No luck for me. What version of HISE are you using?

                                1 Reply Last reply Reply Quote 0
                                • D
                                  daniloprates @d.healey
                                  last edited by

                                  @d-healey <ExpansionType value="FileOnly"/>?

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

                                    @daniloprates set it in project preferences, don't edit the xml directly. I'm using a recent version of the develop branch. What are you expecting to see with your console print?

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

                                    D 1 Reply Last reply Reply Quote 1
                                    • D
                                      daniloprates @d.healey
                                      last edited by daniloprates

                                      @d-healey 🤦 this was the problem, I was editing the XML file manually. It's working now.

                                      Thanks so much!

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

                                      18

                                      Online

                                      1.9k

                                      Users

                                      12.4k

                                      Topics

                                      108.1k

                                      Posts