I have OBS Portable installed on a USB stick. Within OBS, I have it set to store videos on the USB stick under the Videos folder. I also have a png file stored on the USB stick to use as a logo in new videos.
The first few times I ran it, the USB stick was assigned to the D drive. As such, OSB is set to look to the D drive for the above mentioned file paths.
I just plugged the USB stick in again (in the same PC) and it got assigned to the E drive even though there was no other external drive connected and the D drive was not assigned to anything.
So my question is whether or not there's a way to tell it to look at the same drive on which PortableApps is installed as opposed to being based on the drive letter.
“My brain is only a receiver, in the Universe there is a core from which we obtain knowledge, strength and inspiration. I have not penetrated into the secrets of this core, but I know that it exists.”
― Nikola Tesla ―
The issue that I was having is that within the settings of OBS Portable, there is a place to type in the path for storing video files that it creates.
To store it on the USB stick, I entered D:\Videos.
The last time I inserted the USB Stick, it was assigned drive letter E. So when I started OBS Portable, it complained that it couldn't find D:\Videos.
Don
OBS settings are portablized and adjusted as you move. OBS profiles are not yet adjusted as your path changes. I've got it in the to do list for an upcoming release. I've given myself a note to update here as well when it's added.
Sometimes, the impossible can become possible, if you're awesome!
Is it a setting in OBS itself you've configured? Or that you've added the image to a project then when you open the project from the different drive letter the image path is wrong?
The first we can possibly do something about, the second we can't.
Yes. A setting within OBS itself.
I was hoping that maybe PA created some type of environment variable representing the drive letter for the USB stick on which is running. Then I had hoped to use that variable in the settings.
I've since learned that I can just save it without the drive letter and show the path from the root to the folder.
Don
The Launcher does have environment variables for last drive letter & current drive letter (plus others), but they won't be parsed in an app's settings path unless the app specifically goes out of its way to do that. Which most of them don't do, and it is not something we test for to even say which ones might.
Relative paths will not always work for every app, but glad to hear it does in this case.
With today's release of OBS Portable 30.1.1, it now adjust paths within profiles as you move around.
Sometimes, the impossible can become possible, if you're awesome!