Old 09-04-2018, 03:25 PM   #1
Human being with feelings
Lokasenna's Avatar
Join Date: Sep 2008
Location: Calgary, AB, Canada
Posts: 6,343
Default (Linux): Insert the last file exported from a plugin

When running Windows plugins under Wine, we unfortunately lose the ability to drag and drop files from a plugin to Reaper - the obvious example is drum loops from EZDrummer, MT PowerDrumKit, etc.

The good news, however, is that many plugins DO still export that file to somewhere on your disk. If you know where they put it, you can navigate there and drag the file into Reaper from your file browser.

Or... you could just use this:

It automates the process by searching a given folder for the most recent file, can be expanded to work with additional plugins, and allows saving settings to a separate action in the Action List so you can bind them to a shortcut key, etc.


ReaPack. Wow, that was hard.

As with most of my other scripts, you'll need to have my GUI library installed as well. It's on ReaPack too - install the package, then find and run "Set Lokasenna_GUI v2 library path" in your action list.

How to find files exported from a plugin:

(These instructions are also available by clicking the [?] button in the script window)

Plugins will normally export files to a consistent location, often with the same, or a similar, filename. If you know the format of your plugin's exported filenames, you can enter the following in a terminal to find the export path:

find -name "<filename>"
Known formats:

EZDrummer 2: "Variation*.mid"
MT PowerDrumKit: "mtpdk.mid"

If you don't know the exported filename, export a file and then run (using MIDI as an example):

ls -alt ~/.wine/**/*.mid | head
The most recent file should have the path you want.
(Be careful of doing this if it's going to end up scanning your whole MIDI library or something)

Please let me know the formats for any additional plugins and I'll add them to the list.

Last edited by Lokasenna; 09-05-2018 at 05:49 AM.
Lokasenna is offline   Reply With Quote
Old 09-04-2018, 11:36 PM   #2
Human being with feelings
Tobbe's Avatar
Join Date: Sep 2009
Location: Backe, Jämtland, Sweden
Posts: 379

Looks awesome. Gonna try it today. Donation is on it's way also.

Thank you
OS: Linux Mint XFCE 19.01, Reaper For Linux (64Bit) and native linux-vst plugins (16GB RAM) LSP-Suite, Drumgizmo, TpL-Plugins, LinuxSampler/Fantasia, Behringer U-PHORIA UMC22.
Tobbe is online now   Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT -7. The time now is 01:21 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2019, vBulletin Solutions Inc.