diff --git a/Building.md b/Building.md index 7955646..3532cfc 100644 --- a/Building.md +++ b/Building.md @@ -31,12 +31,12 @@ brew install git wget cmake autoconf automake libtool jq python On Ubuntu 16.04+: ```bash -sudo apt install unzip git gdb curl cmake libx11-dev libglu1-mesa-dev libxrandr-dev libxinerama-dev libxcursor-dev libxi-dev zlib1g-dev libasound2-dev libgtk2.0-dev libjack-jackd2-dev jq +sudo apt install unzip git gdb curl cmake libx11-dev libglu1-mesa-dev libxrandr-dev libxinerama-dev libxcursor-dev libxi-dev zlib1g-dev libasound2-dev libgtk2.0-dev libjack-jackd2-dev jq zstd ``` On Arch Linux: ```bash -pacman -S git wget gcc gdb make cmake tar unzip zip curl jq python +pacman -S git wget gcc gdb make cmake tar unzip zip curl jq python zstd ``` ## Building Rack diff --git a/Migrate2.md b/Migrate2.md index 1bd82cd..42d164e 100644 --- a/Migrate2.md +++ b/Migrate2.md @@ -73,12 +73,6 @@ void onRandomize(const RandomizeEvent& e) override { ``` -### 1.4) `Window::loadSvg()` has been deprecated and moved to `Svg::load()` -Search and replace: -```bash -perl -p -i -e 's/APP->window->loadSvg\b/Svg::load/g' src/*.{cpp,hpp} -``` - If your plugin still has build errors, open a thread in the [VCV development forum](https://community.vcvrack.com/c/development/8) or contact [VCV support](https://vcvrack.com/support) to describe your build error. diff --git a/Presets.md b/Presets.md index 8eed1a4..f4418a9 100644 --- a/Presets.md +++ b/Presets.md @@ -4,11 +4,13 @@ Factory module presets are a great tool for teaching and inspiring users of your Rack plugin. They store parameter values, as well as internal data from your `Module::dataToJson()` method if overridden. +Since presets are simply JSON files, they cannot store module patch storage files (introduced in Rack 2). To include a factory module preset in your module, save a module preset file (`.vcvm`) to ```txt /presets//.vcvm ``` +Rack reloads presets when the user opens the preset context menu, so you do not need to restart Rack. Module presets are sorted alphabetically by filename. However, (since Rack 2) if a filename begins with numerical digits followed by `_` (regex `/^\d+_/`), that prefix is not displayed to the user, so you can apply your own custom preset sorting order. @@ -36,5 +38,3 @@ For example, to change parameters #0 and #2 but leave #1 unchanged, remove the ` } ] ``` - -Module presets cannot store module patch storage files (introduced in Rack 2).