
Darkglass Suite on Linux via Wine
Hi folks,
As some of you Linux users might be aware, Darkglass does not ship a Linux version of their Darkglass Suite.
The good news is that the Windows installer runs great via Wine, so we can relatively easy install the Suite using that. The bad news is that Wine (at the time of writing) doesn't implement every Windows function that the app needs to work — or at least, my Wine version doesn't. Another piece of good news is that parts of the Darkglass Suite is shipped as an Electron app (including the javascript source), which makes it relatively easy to hack.
So I did. You can check out the result here.
That linked document contains the gritty details, but the short of it was that for the Darkglass Suite to run via Wine I needed to shim a few functions, feeding them the device data that the Suite expects. I also ran into some permission problems, so I had to add my user to the dialout group as well as adding a udev rule (this probably varies by distro, I use Debian).
What I tested and what seems to work:
- Firmware upgrade,
- Registering via Darkglass MyPedal,
- Adding/deleting/rearranging presets,
- Installing blocks from Marketplace
If you try this out, you're 100% on your own and doing so on absolutely your own risk. I will not be held liable if you accidentally brick your Anagram and have to ship it somewhere to get it fixed, that's entirely on you.
However, if you want to tinker with it, perhaps see if you can get it to work with your distro or your Anagram, go right head: it's all yours. Pull requests are welcome.
Good luck, have fun!