HISE Logo Forum
    • Categories
    • Register
    • Login

    Wavetable export issue

    Scheduled Pinned Locked Moved General Questions
    12 Posts 4 Posters 720 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 @Lindon
      last edited by

      @Lindon Should the wavetables be embedded in the plugin or are they in a separate .dat file?

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

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

        @d-healey they should be embeded no?

        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 have no idea, I'm just making guesses.

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

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

            @Lindon They are not embedded into the plugin, and not installed automatically.
            The *.hwt files must be copied manually into appData/Audio files/

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

            LindonL 1 Reply Last reply Reply Quote 2
            • ?
              A Former User
              last edited by

              Is the WaveTable synth production-ready now?

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

                @Matt_SF said in Wavetable export issue:

                @Lindon They are not embedded into the plugin, and not installed automatically.
                The *.hwt files must be copied manually into appData/Audio files/

                thanks.

                Sigh - but that's not good news - its looking more and more like I have to build my own installer in HISE....meanwhile I need to work out how to get inno and WhiteBox to install these in the correct place - inno I think should be pretty easy....anyone got any clues for WhiteBox Packages?

                HISE Development for hire.
                www.channelrobot.com

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

                  @Lindon I'll be at home soon and I'll post both scripts I'm using to install the files 👍

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

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

                    @Matt_SF cool thanks.

                    HISE Development for hire.
                    www.channelrobot.com

                    Matt_SFM 2 Replies Last reply Reply Quote 0
                    • Matt_SFM
                      Matt_SF @Lindon
                      last edited by

                      @Lindon On MacOs, setup Packages like this :

                      55c92f33-3bc2-4579-acc4-3c59814aca94-image.png

                      And use this post script :

                      #!/bin/sh
                      # ensure plugin directory actually exists
                      sudo -u $USER mkdir -p $HOME/Library/Application\ Support/Company\ Name/Product\ Name/
                      
                      # move and sync files from temporary payload to real plugin directory
                      /usr/bin/rsync -avurpE --remove-source-files /Library/Application\ Support/Company\ Name/Product\ Name/ $HOME/Library/Application\ Support/Company\ Name/Product\ Name/
                      
                      # ensure permissions are recursively set to current user for plugin directory
                      sudo find $HOME/Library/Application\ Support/Company\ Name/ -type d -user root -exec sudo chown -R $USER: {} +
                      
                      # remove temporary folder
                      find /Library/Application\ Support/Company\ Name/ -type d -empty -delete
                      
                      exit 0
                      

                      Basically, the installer will copy the files in the 'HD/Library/etc...' folder and the script will move them to the user appData folder.

                      This is not my work : the original script was posted by @dustbro, in this thread.

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

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

                        @Lindon On windows I'm using this script :

                        [Setup]
                        
                        #define AppName "Product Name"
                        #define AppVersion "1.0.0"
                        #define DevDir "Company Name"
                        PrivilegesRequired=admin
                        AppName={#AppName}
                        AppVersion={#AppVersion}
                        
                        DefaultDirName={pf}\{#DevDir}\{#AppName}
                        DefaultGroupName={#AppName}
                        Compression=lzma2
                        SolidCompression=yes
                        OutputDir=.\installerbuild
                        ArchitecturesInstallIn64BitMode=x64
                        OutputBaseFilename={#AppName} Setup
                        
                        ; BANNER
                        
                        DisableWelcomePage=no
                        DisableDirPage=yes
                        DisableProgramGroupPage=yes
                        
                        SetupLogging=yes
                        ChangesAssociations=no
                        
                        [Types]
                        Name: "full"; Description: "Full installation"
                        
                        [Dirs]
                        Name: "{app}\"; Permissions: users-modify powerusers-modify admins-modify system-modify
                        Name: "{userappdata}\{#DevDir}\{#AppName}\"; Permissions: users-modify powerusers-modify admins-modify system-modify
                                            
                        [Components]
                        Name: "vst3_64"; Description: "{#AppName} {#AppVersion} VST3 Plugin"; Types: full; Check: Is64BitInstallMode; 
                        Name: "AudioFiles"; Description: "{#AppName} AudioFiles"; Types: full;
                        
                        [Files]
                        
                        ; VST
                        Source: "Binaries\Compiled\VST3\{#AppName}.vst3"; DestDir: "{code:GetVST3Dir_64}\{#DevDir}"; Flags: ignoreversion; Components: vst3_64; Check: Is64BitInstallMode
                        
                        ; SAMPLES
                        Source: "AudioFiles\*"; DestDir: "{userappdata}\{#DevDir}\{#AppName}\AudioFiles"; Check: Is64BitInstallMode
                        ; Use : Flags: recursesubdirs;   if the AudioFiles folder contains other folders and files you want to include in the installer
                        
                        [Icons]
                        
                        Name: "{group}\Uninstall {#AppName}"; Filename: "{app}\Uninstall{#AppName}.exe"    
                        
                        [Code]
                        var
                          OkToCopyLog : Boolean;
                          VST3DirPage_64: TInputDirWizardPage;
                          AppDataFolder: String;
                        
                        procedure InitializeWizard;
                        
                        begin
                        
                          if IsWin64 then begin
                            VST3DirPage_64 := CreateInputDirPage(wpSelectDir,
                            'Confirm 64-Bit VST2 Plugin Directory', '',
                            'Select the folder in which setup should install Le Skank VST3 plugin,  then click Next.',
                            False, '');
                            VST3DirPage_64.Add('');
                            VST3DirPage_64.Values[0] := ExpandConstant('{commoncf64}\VST3\');
                            end;
                        end;
                        
                        function GetVST3Dir_64(Param: String): String;
                        begin
                          Result := VST3DirPage_64.Values[0]
                        end;
                        
                        procedure CurStepChanged(CurStep: TSetupStep);
                        
                        begin
                          if CurStep = ssDone then
                            OkToCopyLog := True;
                        end;
                        
                        procedure DeinitializeSetup();
                        
                        begin
                          if OkToCopyLog then
                            FileCopy (ExpandConstant ('{log}'), ExpandConstant ('{app}\InstallationLogFile.log'), FALSE);
                          RestartReplace (ExpandConstant ('{log}'), '');
                        end;
                        
                        [UninstallDelete]
                        Type: files; Name: "{app}\InstallationLogFile.log"
                        

                        (Note that I'm only offering VST3 plugins).

                        It works fine but I'm not an expert at Inno Setup, so anyone is welcome to correct me :)

                        Inspired by the original script by @orange, found in this thread.

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

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

                          @Matt_SF thanks Mat - I will take a run at it...

                          HISE Development for hire.
                          www.channelrobot.com

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

                          25

                          Online

                          1.8k

                          Users

                          11.9k

                          Topics

                          104.0k

                          Posts