Commit Graph

48 Commits

Author SHA1 Message Date
Robbert van der Helm 414fd97216 [yabridgectl] Make scanning errors non-fatal
This should never occur, but somehow people have text files with .dll or
.vst3 extensions in their plugin directories.

This resolves #185.
2022-06-25 13:30:07 +02:00
Robbert van der Helm a282bdc9d1 [yabridgectl] Gracefully catch bundle subdir error
This could only occur if people go out of their way to do weird things
and add the `x86_64-win` directory inside of a VST3 bundle to their
plugin locations. But somehow people still manage to do just that.....
2022-06-12 23:56:39 +02:00
Robbert van der Helm ae73df2b17 [yabridgectl] Fix subdirectory detect for bundles 2022-06-11 14:58:43 +02:00
Robbert van der Helm 6818b4fd09 [yabridgectl] Rename utils module to util 2022-05-23 12:57:40 +02:00
Robbert van der Helm 1f35081bad [yabridgectl] Parse without winedump when possible
This avoids an external dependency and speeds up the indexing process.
So far I found a single plugin that could not be parsed this way, so the
winedump based method is still there as a backup.
2022-05-23 12:57:05 +02:00
Robbert van der Helm 4a845ec952 [yabridgectl] Convert VST 3.7.5 moduleinfo files 2022-05-20 01:03:27 +02:00
Robbert van der Helm 4e2f72d67a [yabridgectl] Don't skip over broken symlinks 2022-04-18 12:58:42 +02:00
Robbert van der Helm 3970bc7f52 [yabridgectl] Set up in ~/.vst/yabridge by default
Instead of creating `.so` files next to the VST2 plugin's `.dll` files.
This behavior is still available as an option. #123
2022-04-17 20:27:47 +02:00
Robbert van der Helm 5ea5968f96 [yabridgectl] Move subdirectory detection
Now this is done for every file as part of the scanning process.
2022-04-17 20:14:38 +02:00
Robbert van der Helm 585329541c [yabridgectl] Update to use chainloader libraries 2022-04-16 20:37:11 +02:00
Robbert van der Helm 1fec4c8860 Change the description in the GPL header 2022-04-16 20:37:10 +02:00
Robbert van der Helm 2f76a17aa3 Revert "[yabridgectl] Handle non-lowercase file extensions"
This reverts commit eee3d218c1.

This sounded good in theory, but in practice this doesn't work, because
there's no real way to find the matching .dll file form an .so file
without brute forcing it using a bunch of directory listings.
2022-04-14 23:40:29 +02:00
Robbert van der Helm eee3d218c1 [yabridgectl] Handle non-lowercase file extensions
Hopefully this shouldn't be needed, but I didn't realize we only parsed
lower case file names. Wouldn't be surprised if some installer ends up
creating an uppercased `.DLL` file.
2022-04-09 23:24:29 +02:00
Robbert van der Helm ed4a39375f [yabridgectl] Rewrite the blacklist check 2022-01-07 19:15:23 +01:00
Robbert van der Helm 263b192daa [yabridgectl] Canonicalize when checking blacklist
As mentioned in #156.
2022-01-07 19:00:35 +01:00
Robbert van der Helm e0ab24e645 Update copyright headers
Happy new year!
2022-01-01 18:32:10 +01:00
Robbert van der Helm 9b1f3a5f4c Remove non-existent VST2 entry point
Since there isn't any public documentation on VST2, I saw JUCE and a
couple of other plugins and bridges use this, but they all redefined the
symbol to`main`.
2021-06-29 12:11:05 +02:00
Robbert van der Helm c770e561d3 [yabridgectl] Use the correct VST3 arch name 2021-06-24 16:09:56 +02:00
Robbert van der Helm 0b8221b136 [yabridgectl] Add support for 32-bit yabridge VST3
Bundles containing a 32-bit version of `libyabridge-vst3.so` should use
the `x86-linux` directory instead of the `x86_64-linux` directory.
2021-06-24 15:48:43 +02:00
Robbert van der Helm 3e0a2dc913 [yabridgectl] Change the library architecture enum
We're going to need this for native libraries as well.
2021-06-24 14:19:06 +02:00
Robbert van der Helm b04c0b2c65 Update links to the VST3 documentation
Those were broken after Steinberg restructured the docs with the VST
3.7.2 SDK release.
2021-04-18 14:24:03 +02:00
Robbert van der Helm 1d66481aad [yabridgectl] Add a blacklist #88
This lets you skip single plugins and entire directories during the
indexing process.
2021-04-14 17:51:43 +02:00
Robbert van der Helm d11302d6b5 [yabridgectl] Unify plugin handling
VST2 and VST3 plugins are now handled in the same way, reducing a bit of
duplication. We now also store the architecture for VST2 plugins so we
can show that in `yabridgectl status` later.
2021-02-26 15:56:20 +01:00
Robbert van der Helm ebd6c95ceb [yabridgectl] Show VST3 module type and arch
In `yabridgectl status`.
2021-02-26 15:11:11 +01:00
Robbert van der Helm baf709d82e [yabridgectl] Include the original subdirectory 2021-01-03 22:42:50 +01:00
Robbert van der Helm 86a53a884d [yabridgectl] Find a plugin's subdirectory 2021-01-03 22:42:50 +01:00
Robbert van der Helm cd4752116a [yabridgectl] Split up Vst3Module
So we can add easily add additional fields later.
2021-01-03 21:40:36 +01:00
Robbert van der Helm 34f8d3b1d2 Update the copyright notices for 2021 2021-01-01 18:54:02 +01:00
Robbert van der Helm 9ac437f02b [yabridgectl] Fix VST3 installation status display 2020-12-24 13:04:39 +01:00
Robbert van der Helm d79ccc75e6 [yabridgectl] Symlink VST 3.6.10 bundle resources
Although I haven't run into any of these 'new' bundles yet. Everything's
still in the legacy format.
2020-12-24 12:47:45 +01:00
Robbert van der Helm a0098034ed [yabridgectl] Rename the Vst3Module functions
Creating a clear naming scheme here is more difficult than it should be.
2020-12-24 12:38:47 +01:00
Robbert van der Helm a3e76b3370 [yabridgectl] Warn for duplicate VST3 plugins
Since we can't have multiple plugins with the same name this way.
2020-12-24 12:31:04 +01:00
Robbert van der Helm 9d33cafd37 [yabridgectl] Allow removing orphan VST3 modules 2020-12-24 12:12:48 +01:00
Robbert van der Helm 55957ca798 [yabridgectl] Allow setting up VST3 plugins
This is still missing checks for removing leftover files, symlinks for
resources and presets, and a way to differentiate between plugins with
the same name from different prefixes.
2020-12-24 00:04:05 +01:00
Robbert van der Helm bc9801c932 [yabridgectl] Add VST3 modules to the status 2020-12-23 21:55:14 +01:00
Robbert van der Helm 5e476a2f9b [yabridgectl] Add utilities for VST3 paths 2020-12-23 21:40:11 +01:00
Robbert van der Helm 8cb1518023 [yabridgectl] Index and categorize VST3 modules 2020-12-23 21:08:24 +01:00
Robbert van der Helm 3d27426b9d [yabridgectl] Index .vst3 files
It doesn't actually identify VST3 modules yet though.
2020-12-23 18:39:22 +01:00
Robbert van der Helm 3dc1b1585b [yabridgectl] Add field for indexing VST3 modules 2020-12-23 17:41:16 +01:00
Robbert van der Helm a428d08eff Update yabridgectl for libyabridge-vst2.so 2020-12-07 18:28:16 +01:00
Robbert van der Helm 74be0992fd Update yabridgectl documentation 2020-07-17 13:34:55 +02:00
Robbert van der Helm 2ec53c78d9 Add a descriptive error when winedump is missing 2020-07-16 15:04:07 +02:00
Robbert van der Helm 7e3086c354 Prompt to remove leftover files when removing dir 2020-07-15 22:49:34 +02:00
Robbert van der Helm f9deb8c201 Print skipped files on yabridgectl sync -v 2020-07-15 14:04:09 +02:00
Robbert van der Helm 53ebfcd463 Implement yabridgectl sync 2020-07-14 22:26:23 +02:00
Robbert van der Helm a5c626cb24 Ensure installation status order is stable 2020-07-14 18:41:38 +02:00
Robbert van der Helm 286135400f Query installation status and orphan files 2020-07-14 14:59:26 +02:00
Robbert van der Helm 7a8e0ed5cd Add VST2 file indexing to yabridgectl 2020-07-14 14:24:34 +02:00