-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
VST paths are not saved relative #4646
Comments
Vestige relates to your path in Settings, but Soundfonts path are hardcoded into the project-file. Do you mean Soundfonts? |
This has happened to me even with vsts in my vst directory, on RC6.
Relative paths will work if you edit the mmp to use them, but they don't
seem to save as relative by default
…On Sat, Oct 6, 2018, 16:21 musikBear ***@***.***> wrote:
Vestige relates to your path in Settings, but Soundfonts path are
hardcoded into the project-file. Do you mean *Soundfonts*?
If not, what lmms ver. and what OS?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#4646 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AIgVmoQxKp_h1uCpqztODz7V2DqyssTTks5uiLxbgaJpZM4XKqEA>
.
|
Nope, I mean Vestige, and it saves absolute paths. I'm using LMMS 1.2.0-RC7 on Manjaro Linux. |
In that aspect, im from Barcelona .. |
We do, assuming VST is contained inside "samples". Please provide exact steps to reproduce on |
Well, here we found the problem. Since I have VST PLUGINS, I placed them in /plugins/vst/, not in samples. |
I'll take this as an opportunity to make a proposal I've thought about a bit. I think paths could do with being relative much more often, but ideally also with a tag attached to specify what they're relative to. There's a bunch of directories defined in LMMS's settings already, and many of them make sense as directories for relative paths. You'd have something like LMMS should have a ranked order of relative base locations. For example:
VeSTige would try the VST directory first, then working directory, and so on. As long as different plugins can have different priorities, LMMS should be able to make samples relative to the most relevant folder, most of the time. However, it also becomes easier to manually edit relative paths in a project file, because you can clearly see what they're relative to. If a sample hasn't been relative, I've had to just crop off It should be possible to apply this tagging system to older project files without breaking paths, so it doesn't break backwards compatibility either. |
The helper utility that makes paths relative is currently hard-coded for samples. Prior to this change, no VSTs were relative at all. |
I think I can fix this issue as I suggested in #4180 (comment). |
Having ticket #4920 closed in favor of this, can there be a consideration to simply make a utility that enables us to manipulate the stored paths contained within mmpz files? Even relying on a relative path might not be enough if those relative paths were to change dramatically. This should be synonymous with samples and other components, so consider this: A VST previously stored in location I think a more practical solution would be to enable users to update the path locations for missing components when an mmpz file is loaded and a file/plugin is declared as missing (without having to copy or modify stored plugin parameters or piano-roll data). Ideally, even considering a text format instead of binary for mmpz files so we might substitute the new paths in batch using |
@kriskropd Sorry, #4920 isn't a duplicate of this issue. |
Windows (specifically GUI apps) hate stdout, but to get the uncompressed version: "%PROGRAMFILES%\LMMS\lmms.exe" -d "%PROGRAMFILES%\LMMS\data\projects\demos\Momo64-esp.mmpz" > "%USERPROFILE%\Desktop\Momo64-esp_uncompressed.mmp" When I say it hates, it, the above won't even work from PowerShell, so it's a very limited technique from Windows, but at least you can edit and repair your file. |
Closed by #5117. There's still improvements to be had here (scanning standard VST directories, locating VSTs by ID rather than path), but this specific issue is fixed. |
In a saved project file, the path to VST plugins in Vestige is saved as absolute path. I notice that since I moved my LMMS directory. Moving or renaming the dir is not possible with this, (without destroying vst instruments in all projects).
Please use relative path to store such things, so that we are able to move or rename the LMMS directory.
The text was updated successfully, but these errors were encountered: