You are here

PortableApps pathing question.

8 posts / 0 new
Last post
doni49
Offline
Last seen: 11 months 6 days ago
Joined: 2007-01-21 20:16
PortableApps pathing question.

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.

ANTICHRISTUS REX
ANTICHRISTUS REX's picture
Offline
Last seen: 1 hour 24 min ago
Translator
Joined: 2019-07-19 07:09
If you run your apps directly
  • If you run your apps directly from your device (Platform or AppNamePortable.exe), then it's not really important, since portable apps are designed to run from different drive letters while moving between computers.
  • If you want to restore your drive's letter, see here → https://learn.microsoft.com/windows-server/storage/disk-management/chang...
  • “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 ―

    doni49
    Offline
    Last seen: 11 months 6 days ago
    Joined: 2007-01-21 20:16
    The issue that I was having

    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

    John T. Haller
    John T. Haller's picture
    Offline
    Last seen: 13 hours 2 min ago
    AdminDeveloperModeratorTranslator
    Joined: 2005-11-28 22:21
    OBS Profiles

    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!

    Ken Herbert
    Ken Herbert's picture
    Offline
    Last seen: 1 hour 57 min ago
    DeveloperModerator
    Joined: 2010-05-25 18:19
    Just to clarify...

    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.

    doni49
    Offline
    Last seen: 11 months 6 days ago
    Joined: 2007-01-21 20:16
    Yes. A setting within OBS

    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

    Ken Herbert
    Ken Herbert's picture
    Offline
    Last seen: 1 hour 57 min ago
    DeveloperModerator
    Joined: 2010-05-25 18:19
    The Launcher does have

    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.

    John T. Haller
    John T. Haller's picture
    Offline
    Last seen: 13 hours 2 min ago
    AdminDeveloperModeratorTranslator
    Joined: 2005-11-28 22:21
    OBS Portable Now Adjusts Profile Paths

    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!

    Log in or register to post comments