# Problem loading Cabbage plugins in Native Instruments Maschine

**URL:** <https://forum.cabbageaudio.com/t/problem-loading-cabbage-plugins-in-native-instruments-maschine/3720>\
**Category:** Cabbage Stew\
**Created:** [10 May 2023 13:04 UTC](https://forum.cabbageaudio.com/t/problem-loading-cabbage-plugins-in-native-instruments-maschine/3720 "2023-05-10T13:04:54Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![stefanv](https://forum.cabbageaudio.com/user_avatar/forum.cabbageaudio.com/stefanv/32/4755_2.png) [@stefanv](https://forum.cabbageaudio.com/u/stefanv)\
**Post date:** [10 May 2023 13:04 UTC](https://forum.cabbageaudio.com/t/problem-loading-cabbage-plugins-in-native-instruments-maschine/3720/1 "2023-05-10T13:04:54Z")

</div>

I have already described the problem here in the NI community, so I don’t have to type everything twice:

> **[Problem loading Cabbage plugins (Csound) in Maschine - Community](https://community.native-instruments.com/discussion/12437/problem-loading-cabbage-plugins-csound-in-maschine)**
>
> I have built 2 VST instruments with Cabbage, a graphical frontend for Csound, as VST2 (dll) and VST3. The problem: in both cases only one of them is loaded, although the behaviour of VST2 and VST3 is a bit different.. In Samplitude I see all 4...

At NI, a support call is therefore also open, no answer yet. But I’am afraid, that this alone won’t be the solution… _ **Apparently** _ the problem is that the plugins (dll/vst3) generated by Cabbage are absolutely identical, they only differ in their names.

**Question** : If my assumption is true and if NI doesn’t find a solution (and I don’t think they’ll rebuild their entire loading mechanism just for me), can something be done about Cabbage or the generated plugins? Something so that the plugins are somehow different so that Maschine doesn’t think they’re the same?

As it is now, I can load exactly 2 plugins - a VST2, a VST3, if one were added, there would be problems.

BTW: the problem does not appear in Samplitude, but that does not really help, because I want to use Maschine.

---

<div class="post-metadata">

**Author:** ![rorywalsh](https://forum.cabbageaudio.com/user_avatar/forum.cabbageaudio.com/rorywalsh/32/165_2.png) [@rorywalsh](https://forum.cabbageaudio.com/u/rorywalsh)\
**Post date:** [10 May 2023 13:34 UTC](https://forum.cabbageaudio.com/t/problem-loading-cabbage-plugins-in-native-instruments-maschine/3720/2 "2023-05-10T13:34:54Z")

</div>

> [@stefanv](#):
>
> _ **Apparently** _ the problem is that the plugins (dll/vst3) generated by Cabbage are absolutely identical, they only differ in their names.

That doesn’t sound right, they are both built against a different framework? How did you test this, there should definitely be a difference.

p.s. I just did a quick test now and the exported plugins aren’t even the same size.. 🤔

p.p.s I just did a quick binary search through two exported plugins and they are definitely different. How are you exporting your plugins, is there any chance something is not right there?

---

<div class="post-metadata">

**Author:** ![stefanv](https://forum.cabbageaudio.com/user_avatar/forum.cabbageaudio.com/stefanv/32/4755_2.png) [@stefanv](https://forum.cabbageaudio.com/u/stefanv)\
**Post date:** [10 May 2023 13:40 UTC](https://forum.cabbageaudio.com/t/problem-loading-cabbage-plugins-in-native-instruments-maschine/3720/3 "2023-05-10T13:40:31Z")

</div>

This is a bit confusing: of course xyz. **vst3** and xyz. **dll** are diffrent. But **abc**.dll and **xyz**.dll are identical, as are abc.vst3 and xyz.vst3 respectively.

 ![grafik](https://forum.cabbageaudio.com/uploads/default/original/2X/6/61e9dffaf40cbde940a960e7ce4215ea9293c8db.png)  
“Keine Unterschiede gefunden” = no difference found.

---

<div class="post-metadata">

**Author:** ![rorywalsh](https://forum.cabbageaudio.com/user_avatar/forum.cabbageaudio.com/rorywalsh/32/165_2.png) [@rorywalsh](https://forum.cabbageaudio.com/u/rorywalsh)\
**Post date:** [10 May 2023 13:52 UTC](https://forum.cabbageaudio.com/t/problem-loading-cabbage-plugins-in-native-instruments-maschine/3720/4 "2023-05-10T13:52:34Z")

</div>

ja, du hast richtig. In earlier versions of Cabbage the exported binaries were modified so each one was unique. This involved some horribly ugly hacks on my part. The latest versions modify their details at run time. Let me think about it a while. I would rather not return to the old system as it was a nightmare and caused issues with other hosts. I’ll get back to you on it…

---

<div class="post-metadata">

**Author:** ![stefanv](https://forum.cabbageaudio.com/user_avatar/forum.cabbageaudio.com/stefanv/32/4755_2.png) [@stefanv](https://forum.cabbageaudio.com/u/stefanv)\
**Post date:** [10 May 2023 13:54 UTC](https://forum.cabbageaudio.com/t/problem-loading-cabbage-plugins-in-native-instruments-maschine/3720/5 "2023-05-10T13:54:46Z")

</div>

Oh, great, I found a really nice problem… 😉

---

<div class="post-metadata">

**Author:** ![rorywalsh](https://forum.cabbageaudio.com/user_avatar/forum.cabbageaudio.com/rorywalsh/32/165_2.png) [@rorywalsh](https://forum.cabbageaudio.com/u/rorywalsh)\
**Post date:** [10 May 2023 14:00 UTC](https://forum.cabbageaudio.com/t/problem-loading-cabbage-plugins-in-native-instruments-maschine/3720/6 "2023-05-10T14:00:46Z")

</div>

Yeah, it’s definitely to doozy…

---

<div class="post-metadata">

**Author:** ![rorywalsh](https://forum.cabbageaudio.com/user_avatar/forum.cabbageaudio.com/rorywalsh/32/165_2.png) [@rorywalsh](https://forum.cabbageaudio.com/u/rorywalsh)\
**Post date:** [10 May 2023 15:10 UTC](https://forum.cabbageaudio.com/t/problem-loading-cabbage-plugins-in-native-instruments-maschine/3720/7 "2023-05-10T15:10:07Z")

</div>

Ok, here’s what you can do (with apologises in advance for the hackiness of this solution 😬)

Open your dll in a hex editor, I tested with [https://hexed.it/](https://hexed.it/)  
There is some useless text contained within the binary about how ‘this program cannot be run in dos mode’. Modify any of the letters from that string with another letter, save and download the updated binary. Swapping one byte for another in this case won’t break anything but should give your .dll a unique footprint. In my tests, the resulting dlls loaded fine across hosts.

If this does work, and you have some experience with another language such as Python C/C++, you quite quickly write a utility that automates this task for you. But I guess the first thing to do is figure out if this actually works for Machine..

---

<div class="post-metadata">

**Author:** ![stefanv](https://forum.cabbageaudio.com/user_avatar/forum.cabbageaudio.com/stefanv/32/4755_2.png) [@stefanv](https://forum.cabbageaudio.com/u/stefanv)\
**Post date:** [10 May 2023 16:09 UTC](https://forum.cabbageaudio.com/t/problem-loading-cabbage-plugins-in-native-instruments-maschine/3720/8 "2023-05-10T16:09:18Z")

</div>

No, it does not work ☹

Now the binary files differ, but the result is the same… (furthermore, there was bit of fun with Norton, who moved the downloaded files into quaratine, I had to recover them from there…)

This makes things a bit more complicated as I thought…

There are 2 DLLs, but only one is shown in Maschine:

 ![grafik](https://forum.cabbageaudio.com/uploads/default/original/2X/f/f6404a21575bc9fb75196d59bbd006ab716e47e1.png)

Maschine still shows at least both VST3, but loads always the same (the first in the list).

seems, that this requires a bit more of thinking.

Anyway: if NI would like to test this (they did not answer yet, but sooner or later they will come back to me, so I can suggest this), what do they need? The contents of the plugin folders (i.e., DLL/VST3 and CSD) and a Csound installation (with csound.exe in the PATH). That should be sufficient?!?!?!

---

<div class="post-metadata">

**Author:** ![stefanv](https://forum.cabbageaudio.com/user_avatar/forum.cabbageaudio.com/stefanv/32/4755_2.png) [@stefanv](https://forum.cabbageaudio.com/u/stefanv)\
**Post date:** [10 May 2023 16:12 UTC](https://forum.cabbageaudio.com/t/problem-loading-cabbage-plugins-in-native-instruments-maschine/3720/9 "2023-05-10T16:12:39Z")

</div>

Oh, I thought, that I searched the forum completely, but now I found this one - a bit different, but somehow similar…:  
[https://forum-next.cabbageaudio.com/t/vst3-plugin-opens-different-plugin-windows/3357](https://forum-next.cabbageaudio.com/t/vst3-plugin-opens-different-plugin-windows/3357)

---

<div class="post-metadata">

**Author:** ![rorywalsh](https://forum.cabbageaudio.com/user_avatar/forum.cabbageaudio.com/rorywalsh/32/165_2.png) [@rorywalsh](https://forum.cabbageaudio.com/u/rorywalsh)\
**Post date:** [10 May 2023 16:37 UTC](https://forum.cabbageaudio.com/t/problem-loading-cabbage-plugins-in-native-instruments-maschine/3720/10 "2023-05-10T16:37:36Z")

</div>

Are you sure each plugin has a unique plugin id?

---

<div class="post-metadata">

**Author:** ![stefanv](https://forum.cabbageaudio.com/user_avatar/forum.cabbageaudio.com/stefanv/32/4755_2.png) [@stefanv](https://forum.cabbageaudio.com/u/stefanv)\
**Post date:** [10 May 2023 16:39 UTC](https://forum.cabbageaudio.com/t/problem-loading-cabbage-plugins-in-native-instruments-maschine/3720/11 "2023-05-10T16:39:29Z")

</div>

Yes, they have.

---

<div class="post-metadata">

**Author:** ![rorywalsh](https://forum.cabbageaudio.com/user_avatar/forum.cabbageaudio.com/rorywalsh/32/165_2.png) [@rorywalsh](https://forum.cabbageaudio.com/u/rorywalsh)\
**Post date:** [10 May 2023 16:45 UTC](https://forum.cabbageaudio.com/t/problem-loading-cabbage-plugins-in-native-instruments-maschine/3720/12 "2023-05-10T16:45:48Z")

</div>

Hmm, I guess there is no way I can run the machine host without the hardware?

---

<div class="post-metadata">

**Author:** ![stefanv](https://forum.cabbageaudio.com/user_avatar/forum.cabbageaudio.com/stefanv/32/4755_2.png) [@stefanv](https://forum.cabbageaudio.com/u/stefanv)\
**Post date:** [10 May 2023 16:49 UTC](https://forum.cabbageaudio.com/t/problem-loading-cabbage-plugins-in-native-instruments-maschine/3720/13 "2023-05-10T16:49:13Z")

</div>

No, you can run the Maschine software without the hardware.

---

<div class="post-metadata">

**Author:** ![rorywalsh](https://forum.cabbageaudio.com/user_avatar/forum.cabbageaudio.com/rorywalsh/32/165_2.png) [@rorywalsh](https://forum.cabbageaudio.com/u/rorywalsh)\
**Post date:** [10 May 2023 16:55 UTC](https://forum.cabbageaudio.com/t/problem-loading-cabbage-plugins-in-native-instruments-maschine/3720/14 "2023-05-10T16:55:59Z")

</div>

Oh, so I can probably grab a demo somewhere and test myself 😁

---

<div class="post-metadata">

**Author:** ![stefanv](https://forum.cabbageaudio.com/user_avatar/forum.cabbageaudio.com/stefanv/32/4755_2.png) [@stefanv](https://forum.cabbageaudio.com/u/stefanv)\
**Post date:** [10 May 2023 17:03 UTC](https://forum.cabbageaudio.com/t/problem-loading-cabbage-plugins-in-native-instruments-maschine/3720/15 "2023-05-10T17:03:37Z")

</div>

I have never seen a demo version, but if you find one…

---

<div class="post-metadata">

**Author:** ![stefanv](https://forum.cabbageaudio.com/user_avatar/forum.cabbageaudio.com/stefanv/32/4755_2.png) [@stefanv](https://forum.cabbageaudio.com/u/stefanv)\
**Post date:** [10 May 2023 17:10 UTC](https://forum.cabbageaudio.com/t/problem-loading-cabbage-plugins-in-native-instruments-maschine/3720/16 "2023-05-10T17:10:15Z")

</div>

There seems to be no demo version available on the NI web site:  
[https://support.native-instruments.com/hc/en-us/articles/213038629-Where-Can-I-Find-the-DEMO-Version-of-a-Native-Instruments-Product-](https://support.native-instruments.com/hc/en-us/articles/213038629-Where-Can-I-Find-the-DEMO-Version-of-a-Native-Instruments-Product-)

---

<div class="post-metadata">

**Author:** ![rorywalsh](https://forum.cabbageaudio.com/user_avatar/forum.cabbageaudio.com/rorywalsh/32/165_2.png) [@rorywalsh](https://forum.cabbageaudio.com/u/rorywalsh)\
**Post date:** [10 May 2023 18:36 UTC](https://forum.cabbageaudio.com/t/problem-loading-cabbage-plugins-in-native-instruments-maschine/3720/17 "2023-05-10T18:36:51Z")

</div>

Yeah, that’s an issue alright. I’ve no come across this issue in any other host, and I’ve run Cabbage is almost all of the hosts on Windows. Actually, Samplitude is one of the few I haven’t run Cabbage with, but as you say, that one works fine. You don’t happen to have any VST wrapping plugins that can’ host the Cabbage plugins? I’m not even sure there are any on Windows tbh…

---

<div class="post-metadata">

**Author:** ![stefanv](https://forum.cabbageaudio.com/user_avatar/forum.cabbageaudio.com/stefanv/32/4755_2.png) [@stefanv](https://forum.cabbageaudio.com/u/stefanv)\
**Post date:** [10 May 2023 18:52 UTC](https://forum.cabbageaudio.com/t/problem-loading-cabbage-plugins-in-native-instruments-maschine/3720/18 "2023-05-10T18:52:16Z")

</div>

I will try a wrapper, come back to you later.

---

<div class="post-metadata">

**Author:** ![rorywalsh](https://forum.cabbageaudio.com/user_avatar/forum.cabbageaudio.com/rorywalsh/32/165_2.png) [@rorywalsh](https://forum.cabbageaudio.com/u/rorywalsh)\
**Post date:** [10 May 2023 18:56 UTC](https://forum.cabbageaudio.com/t/problem-loading-cabbage-plugins-in-native-instruments-maschine/3720/19 "2023-05-10T18:56:20Z")

</div>

In the meantime, it might be worth updating the NI thread to say that even if the binaries are different, we till suffer from the same problem…

---

<div class="post-metadata">

**Author:** ![stefanv](https://forum.cabbageaudio.com/user_avatar/forum.cabbageaudio.com/stefanv/32/4755_2.png) [@stefanv](https://forum.cabbageaudio.com/u/stefanv)\
**Post date:** [11 May 2023 12:41 UTC](https://forum.cabbageaudio.com/t/problem-loading-cabbage-plugins-in-native-instruments-maschine/3720/20 "2023-05-11T12:41:16Z")

</div>

Updateted the **NI thread** an tried a **wrapper** , will try another one later.

The **wrapper** works, but is not the solution, only a workaround. The one, that I tested now, is only VST2, and I cannot map instrument knobs/faders to Maschine master macros. These are a simple way, to have access to relevant parameters of different plugins at the same time, without constantly switching from one plugin to the other while playing live. But I can now load both Cabbage instruments and tweak their GUIs as needed. At least.

You mentioned the **plugin id** - which role does it play? If the binaries are identical, the plugin id cannot be a part of the binary, so it is only in the CSD file. Should that have influence on loading plugins by the host?

[Next page](https://forum.cabbageaudio.com/t/problem-loading-cabbage-plugins-in-native-instruments-maschine/3720.md?page=2)
