💥 Rewrite the usage section

I was being lazy so I was waiting for some other distros to package
yabridge before rewriting this, but I might as well do it now.
Technically speaking there's more text here than before, but I've made
sure to put the most important bits in the first sentence of list item.
As it turns out, some people just don't read past somewhere halfway
through the second sentence of a paragraph, regardless of long that
paragraph is. So a bulleted list is probably the best way to go here.
This commit is contained in:
Robbert van der Helm
2021-08-09 15:50:55 +02:00
parent 69d2f15e5c
commit 8ab9159a1f
+94 -78
View File
@@ -17,10 +17,7 @@ while also staying easy to debug and maintain.
- [Tested with](#tested-with) - [Tested with](#tested-with)
- [**Usage**](#usage) - [**Usage**](#usage)
- [Preliminaries](#preliminaries)
- [**Automatic setup (recommended)**](#automatic-setup-recommended)
- [Manual setup](#manual-setup) - [Manual setup](#manual-setup)
- [DAW setup](#daw-setup)
- [Bitbridge](#bitbridge) - [Bitbridge](#bitbridge)
- [Wine prefixes](#wine-prefixes) - [Wine prefixes](#wine-prefixes)
- [Drag-and-drop](#drag-and-drop) - [Drag-and-drop](#drag-and-drop)
@@ -66,71 +63,108 @@ Please let me know if there are any issues with other hosts.
## Usage ## Usage
You can either download a prebuilt version of yabridge through GitHub's 0. First of all, yabridge requires a recent-ish version of Wine (Staging). Users
[releases](https://github.com/robbert-vdh/yabridge/releases) page, or you can of Debian, Ubuntu, Linux Mint and Pop!\_OS should install Wine Staging from
compile it from source using the instructions in the [build](#Building) section the [WineHQ repositories](https://wiki.winehq.org/Download) as the Wine
below. If you're downloading the prebuilt version and you're using a distro versions provided by those distro's repositories may be too old to be used
that's older than Ubuntu 20.04 such as Ubuntu 18.04, Debian 10, or Linux Mint with yabridge. On other distros you should be able to just install
19, then you should download the version that ends with `-ubuntu-18.04.tar.gz`. `wine-staging` using your distro's package manager.
Alternatively, there are AUR packages available if you are running Arch or
Manjaro ([yabridge](https://aur.archlinux.org/packages/yabridge/),
[yabridge-bin](https://aur.archlinux.org/packages/yabridge-bin/),
[yabridge-git](https://aur.archlinux.org/packages/yabridge-git/)).
### Preliminaries For a general overview on how to use Wine to install Windows applications,
check out Wine's [user
guide](https://wiki.winehq.org/Wine_User%27s_Guide#Using_Wine).
Yabridge requires a recent-ish version of Wine (Staging). Users of Debian, 1. You can install yabridge and yabridgectl using a prebuilt binary, through the
Ubuntu, Linux Mint and Pop!\_OS should install Wine Staging from the [WineHQ AUR, from a distro package, or by building from source. Keep in mind that the
repositories](https://wiki.winehq.org/Download) as the versions of Wine provided distro packages mentioned below may not always be up to date.
by those distro's repositories may be too old to be used with yabridge.
For a general overview on how to use Wine to install Windows applications, check - On **Arch** and **Manjaro**, you can install yabridge using the official
out Wine's [user guide](https://wiki.winehq.org/Wine_User%27s_Guide#Using_Wine). AUR packages. You have three options here:
### Automatic setup (recommended) - [yabridge-bin](https://aur.archlinux.org/packages/yabridge-bin/) simply
installs the latest prebuilt release of yabridge and yabridgectl for you
with no need to compile anything.
- The [yabridge](https://aur.archlinux.org/packages/yabridge/) and
[yabridgectl](https://aur.archlinux.org/packages/yabridgectl/) packages
will build yabridge and yabridgectl from the latest release.
- The [yabridge-git](https://aur.archlinux.org/packages/yabridge-git/) and
[yabridgectl-git](https://aur.archlinux.org/packages/yabridgectl-git/)
packages will build yabridge and yabridgectl from the current git master
branch.
The easiest way to get up and running is through _yabridgectl_. Yabridgectl is - On **Fedora**, you can install yabridge and yabridgectl from a
already included in the archives downloaded from GitHub's releases page. If [COPR](https://copr.fedorainfracloud.org/coprs/patrickl/yabridge/packages/).
you're using Arch or Manjaro, then you can install it using the AUR package - On the **OpenSUSE** distros, yabridge and yabridgectl are packaged by
corresponding to yabridge package you installed [GeekosDAW](https://geekosdaw.tuxfamily.org/en/).
([yabridgectl](https://aur.archlinux.org/packages/yabridgectl/), - On **NixOS**, yabridge and yabridgectl are in the repositories.
[yabridgectl-git](https://aur.archlinux.org/packages/yabridgectl-git/), and it's
already included in
[yabridge-bin](https://aur.archlinux.org/packages/yabridge-bin/)). More
comprehensive documentation on yabridgectl can be found in its
[readme](https://github.com/robbert-vdh/yabridge/tree/master/tools/yabridgectl),
or by running `yabridgectl --help`.
First, yabridgectl needs to know where it can find yabridge's files. If you have - On any other distro, you can simply download and install a prebuilt version
downloaded the prebuilt binaries from GitHub, then you can simply extract the of yabridge:
archive to `~/.local/share`. Both yabridge and yabridgectl will then pick up the
files in `~/.local/share/yabridge` automatically. You also won't have to do any
additional work if you're using one of the AUR packages. **Since
`~/.local/share/yabridge` will likely not be in your search `PATH`,** **you may
need to replace `yabridgectl` in the commands below with**
**`~/.local/share/yabridge/yabridgectl`.**
Next, you'll want to tell yabridgectl where it can find your VST2 and VST3 1. First download the latest version of yabridge from the [releases
plugins. For this you can use yabridgectl's `add`, `rm` and `list` commands. You page](https://github.com/robbert-vdh/yabridge/releases). If you're using
can also use `yabridgectl status` to get an overview of the current settings and a distro that's older than Ubuntu 20.04 such as Ubuntu 18.04, Debian 10,
the installation status for all of your plugins. To add the most common VST2 Linux Mint 19, or AV Linux MXE 2021, then you should download the
plugin directory, use version that ends with `-ubuntu-18.04.tar.gz`.
`yabridgectl add "$HOME/.wine/drive_c/Program Files/Steinberg/VstPlugins"`. The 2. Extract the contents of the downloaded archive to `~/.local/share`, such
directory may be capitalized as `VSTPlugins` that `~/.local/share/yabridge/yabridgectl` exists. You can do this from
on your system, and some plugins may also install themselves to a similar the command line with `tar -C ~/.local/share -xavf yabridge-x.y.z.tar.gz`.
directory directly inside of Program Files. VST3 plugins under Windows are 3. **Whenever any step below mentions running `yabridgectl <something>`,
always installed to the same directory, and you can use then you should run `~/.local/share/yabridgectl <something>` instead**
`yabridgectl add "$HOME/.wine/drive_c/Program Files/Common Files/VST3"` to add as `~/.local/share/yabridge` is not in your search path so your shell
that one. won't know where to look for yabridge.
Finally, you'll have to run `yabridgectl sync` to finish setting up yabridge for Alternatively, you can also add that directory to your shell's search
all of your plugins. For VST2 plugins this will create `.so` files alongside the path so you'll be able to run `yabridgectl` directly. If you don't know
Windows VST2 plugins that your DAW will be able to read, so if you tell your what that means, then add `export PATH="$PATH:$HOME/.local/share/yabridge"`
Linux VST2 host to search for VST2 plugins in that same directory you'll be good to the end of `~/.bashrc` and reopen your terminal.
to go. VST3 plugins are always set up in `~/.vst3/yabridge` as per the VST3
specification, and your VST3 host will pick those up automatically without any 2. Setting up and updating yabridge for plugins is done though `yabridgectl`.
additional setup. _Don't forget to rerun `yabridgectl sync` whenever you update The general idea is that you install your plugins to their default locations
yabridge if you are using the default copy-based installation method._ within a Wine prefix just like you would on Windows, and you then let
yabridgectl manage those plugin directories for you. That way you only need
to rerun a single command whenever you install or remove a plugin, or when
you update yabridge. Both yabridge and yabridgectl will autoamtically detect
your yabridge installation if you used one of the installation methods
described above.
3. To tell yabridgectl where it can find your Windows VST2 and VST3 plugins, you
can use yabridgectl's `add`, `rm` and `list` commands to add, remove, and
list the plugin directories yabridgectl is managing for you. You can also use
`yabridgectl status` to get an overview of the current settings and the
installation status for all of your plugins.
1. To add the most common VST2 plugin directory in the default Wine prefix, use
`yabridgectl add "$HOME/.wine/drive_c/Program Files/Steinberg/VstPlugins"`.
This directory may be capitalized as `VSTPlugins` on your system, and some
plugins may also install themselves to a similar directory directly inside
of Program Files.
2. VST3 plugins under Windows are always installed to the same directory, and
you can use `yabridgectl add "$HOME/.wine/drive_c/Program Files/Common Files/VST3"`
to add that one.
4. Finally, you'll need to run `yabridgectl sync` to finish setting up yabridge
for all of your plugins.
1. For VST2 plugins this will create Linux VST2 plugin `.so` files that your
DAW will be able to load alongside the Windows VST2 plugins. You can
either open your DAW's plugin location settings and add the same VST2
plugin directories you also added to yabridgectl there, or you can symlink
those directories to `~/.vst` like so:
```shell
ln -s "$HOME/.wine/drive_c/Program Files/Steinberg" ~/.vst/yabridge-steinberg
```
2. VST3 plugins are always set up in `~/.vst3/yabridge` as per the VST3
specification. Just make sure your DAW searches for VST3 plugins in
`~/.vst3` and will pick up those plugins automatically without any
additional setup. Don't add the Windows VST3 plugin directories to your
DAW's plugin search paths, as that can cause some DAWs like REAPER that
blacklist plugins based on the plugin file's name rather than the full
path to ignore all yabridge VST3 plugins.
5. _Don't forget to rerun `yabridgectl sync` whenever you update yabridge._
### Manual setup ### Manual setup
@@ -153,24 +187,6 @@ bundle](https://developer.steinberg.help/display/VST/Plug-in+Format+Structure#Pl
by hand with the Windows VST3 plugin symlinked in. Doing this without by hand with the Windows VST3 plugin symlinked in. Doing this without
yabridgectl is not supported since the process is very error prone. yabridgectl is not supported since the process is very error prone.
### DAW setup
After first setting up yabridge for VST2 plugins, open your DAW's plugin
location configuration and tell it to search for VST2 plugins under
`~/.wine/drive_c/Program Files/Steinberg/VstPlugins`, or whichever VST2 plugin
directories you've added in yabridgectl. That way it will automatically pick up
all of your Windows VST2 plugins. For VST3 plugins no additional DAW
configuration is needed, as those plugins will be set up under
`~/.vst3/yabridge`.
If you're using a DAW that does not have an easy way to configure VST2 plugin
paths such as Renoise, then you may want to just symlink the plugin directories
to your DAW's default search location, like this:
```shell
ln -s "$HOME/.wine/drive_c/Program Files/Steinberg/" ~/.vst/yabridge-steinberg
```
### Bitbridge ### Bitbridge
If you have downloaded the prebuilt version of yabridge or if have followed the If you have downloaded the prebuilt version of yabridge or if have followed the