Couple o' Random Q's
-
Hello :) I hope you all had a great xmas
I'm gonna fire off a couple of speed round questions about assorted little things, anyone can feel free to pick and choose:
-
Using AlertWindows, can we edit what the actual messages say? Currently it's something like
decompressing SAMPLEMAP.ch1 84%
and I'd prefer something a little neater, like "Unpacking Samples". Can't find anything on the forum about it. -
How stable is the downloadFile method? My preliminary tests in Ableton (using it to update .hxi's, so that might be why...) causes it to crash when I remove the Plugin from the track. I've also had the downloads stop randomly too. Love to hear some horror stories so I can prepare for tech support emails :)
-
In a similar vein, are there any known compatibility issues for using File/FileBrowser methods to move, copy, delete, rename, create folders/files across the various Operating Systems? Should I care about permissions or has Christoph already handled all of that?
-
What is everyone's opinion on having a "Shop" button inside the plugin? Too invasive or okay as long as it isn't too obnoxious visually? Does anyone use any fancy upselling methods (like a wheel of fortune or something) in their Plugins to drive traffic? I figure fun, low-resource Easter Eggs (like Snake or Pong or WORMS ARMAGGEDDON) that award discount codes could be a neat little thing to put in the plugin, opt-in of course.
-
Is WinRAR still a good option for Cross-OS compatible file compression? I assume .ZIP with a decently high compression amount? Trying to save on server costs :)
Cheers!
-
-
- Using AlertWindows, can we edit what the actual messages say? Currently it's something like
decompressing SAMPLEMAP.ch1 84%
and I'd prefer something a little neater, like "Unpacking Samples". Can't find anything on the forum about it.
I use a text searcher like Atom to search the source code and find words I want to change
- How stable is the downloadFile method? My preliminary tests in Ableton (using it to update .hxi's, so that might be why...) causes it to crash when I remove the Plugin from the track. I've also had the downloads stop randomly too. Love to hear some horror stories so I can prepare for tech support emails :)
I use it in a standalone app and it works brilliantly
- In a similar vein, are there any known compatibility issues for using File/FileBrowser methods to move, copy, delete, rename, create folders/files across the various Operating Systems? Should I care about permissions or has Christoph already handled all of that?
Permission checking works well on OSX but not on Windows at all - a Juce problem apparently.
- Using AlertWindows, can we edit what the actual messages say? Currently it's something like
-
-
Can probably do this with global look and feel. If not, fork HISE and do what Dan said.
-
downloadFile is very stable - I recommend using it in a standalone app rather than a plugin, but it will work in both. If you use it as a plugin then you have to accept that some users are dumb and will remove the plugin or close the DAW while the download is in progress and this will not go well for them.
-
As Dan mentioned, on Windows you can't check to see if a folder has write permissions or not, but this is generally not a big problem because most users will select folders that they do have permissions for and Windows explorer will also give them a warning.
Some DAWs on GNU/Linux (Ardour and Qtractor) don't support the native GTK file browser, so you need to disable this using
JUCE_DISABLE_NATIVE_FILECHOOSERS=1
. This results in an ugly file chooser, but nobody uses Linux so who cares :p -
I don't like anything in my plugin that isn't there to do the job I want the plugin to do. But some customers will like it.
-
All operating systems can natively open .zip files. You don't need users to install additional programs.
-
-
Great, thanks for that! :)
-
Okay quick followup in case anyone stumbles across this thread:
The download crash was fixed by adding
Server.cleanFinishedDownloads()
at the end of the update loop :)