Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How can i choose WINEPREFIX folder? #4

Closed
wastee opened this issue May 17, 2017 · 3 comments
Closed

How can i choose WINEPREFIX folder? #4

wastee opened this issue May 17, 2017 · 3 comments

Comments

@wastee
Copy link
Contributor

wastee commented May 17, 2017

I copied and renamed the so file into the kontakt.dll folder. And i add this folder into REAPER Linux.
When i scan plug-in in REAPER, i saw i create ".wine" folder.
But my kontakt is not installed in default ".wine" prefix.
How can i choose the right WINEPREFIX folder?

Using LinVst 1.0 from realease.

I love LinVst. Thank you!

@osxmidi
Copy link
Owner

osxmidi commented May 20, 2017

Hi,

Thanks for the LinVst comments.

When LinVst starts up it hooks onto the WINEPREFIX environment variable, so whatever that is set to will be the wineprefix used.

The WINEPREFIX environment variable can be set to different wine prefixes.

In Ubuntu it would be something like this in the terminal

export WINEPREFIX=~/.wine-new

and then start the DAW from that terminal and then use LinVst in the DAW.

There are startup options in various distros for making environment variables (like WINEPREFIX) more permanent and across the board so that the environment variables don't need to be set from a terminal.

https://wiki.winehq.org/FAQ#Can_I_store_the_virtual_Windows_installation_somewhere_other_than_.7E.2F.wine.3F

@wastee
Copy link
Contributor Author

wastee commented May 20, 2017

Thanks for your reply. If my vsts installed in more than one WINEPREFIX, how can do that in terminal? It seems can't export more than one WINEPREFIX. Thanks!

@osxmidi
Copy link
Owner

osxmidi commented May 21, 2017

I think that different terminals can have different WINEPREFIX setings.

Another way is to change the WINEPREFIX to whatever before using a wine based program such as LinVst.

I don't think that it's possible to load multiple vsts in a DAW and then have LinVst pointing to different WINEPREFIX's at the same time for the multiple vsts, because LinVst is either running in a single terminal that the DAW has been started from and LinVst will pick up that terminal's WINEPREFIX, or if LinVst is not running in a DAW started from the terminal (DAW started from the Desktop), then LinVst will pick up the global system WINEPREFIX setting..

Once the WINEPREFIX is set, then I think that's basically the one that will be used.

I'll look into multiple vsts/multiple WINEPREFIX settings some more and see if LinVst can maybe be modded somehow to handle them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants