Sorry, I don’t want to overload topics, but I’m stuck with this problem:
I built a plugin from scratch using Max Gen~, everything went fine from design to transfer to the Dwarf, but it’s labeled “TRIAL”, cutting out audio at regular intervals. How can I remove this trial only mode?
So I tried to compile the plugin without the MOD Duo-package in Max, following the Additional features (advanced) of your Max Gen~ wiki with the max-gen-deploy folder method, but no success to get the tar.gz file, here are the last lines in my Mac Terminal after sending the command $ ./mod-build.sh :
File “/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ssl.py”, line 579, in init
File “/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ssl.py”, line 808, in do_handshake
IOError: [Errno socket error] [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:590)
The extra parameters are a side effect from how max gen works, you can just ignore those parameters.
If they really bother you, edit the main plugin ttl file and set those as OutputPort instead of InputPort.
On the python error on macOS terminal, that is an issue on macOS not having updated certificates.
Because python 2.7 is really, really old.
If you install python3 through homebrew or macports, and tweak the script to use it, it will fix this specific issue.
That said, that script needs update in order to support duox and dwarf.
I thought @acunha already did that, but it was not the case. I have it as a task for myself to do.
And finally, regarding the “trial” plugin, somehow the plugin is being identified to be built as commercial. I don’t know why yet, will investigate.
Of course the extra parameters are not an issue. I’ll try the python3 installation, though I’m just musician with average skill in Max/msp but not a programmer…
Anyway the biggest problem is really this Trial mode, so I’ll wait the results of your investigations.
I think I found the problem and a fix for it, triggered an update to the cloud builder just now, but will take a few hours before it comes online again. So around noon tomorrow (2022-04-20) hopefully the demo/trial mode situation is fixed.
I also updated the Max gen~ - MOD Wiki page so the tar for manual procedure is now at v6.
Changes are to support both python2 and python3 (tested with the latest python3.10) and also support for multi-device builds. The same ./mod-build.sh script will give you duo, duox and dwarf builds all at once. The ./mod-deploy.sh then needs an argument to specify which build to deploy, but will try to find it automatically if possible (requires jq command-line tool to be available).
Will let you know tomorrow if the cloud side build went ok.
YES, wonderful, I just tried, the demo issue is fixed. It worked perfect with the Mod Duo Launch.
I did try also the manual procedure and it’s ok too, it gave me back the lv2-dwarf.tar.gz file.
I’ll look into editing later.
(just for information, the max-gen-deploy_v6.tar.gz uncompressed give a max-gen-deploy 5 file)