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
obs portable still used C:\ProgramData #10486
Comments
Running OBS Studio 30.1.2 in Portable Mode in a fresh Windows Sandbox, I do not see exactly this behavior. Instead, I get the following folders:
I do not get the |
@RytoEX see this (also included content inside C:\ProgramData\obs-studio-hook folder) |
Are you absolutely certain this was placed by a portable install? Those files are expected from a traditional installation. |
@Fenrirthviti yes, portable install..... using zip + obs_portable_mode.txt |
Thanks, confirmed in sandbox as well that the graphics hook is installed. I'm not entirely sure this is something we can avoid, as it's required for the functionality of the game capture feature on windows. Potentially there could be a warning on first launch that certain files have to be installed to a shared user location for OBS to function properly, but I feel that just leads to more user confusion than anything else. |
@Fenrirthviti if I delete C:\ProgramData\obs-studio-hook folder |
Yes, confirmed that to be the case. As mentioned above, this is currently required for OBS to function, so I'm not sure what the best solution here is. I don't believe that with the way game capture works we can make it fully portable. I'm not a fan of silently breaking functionality, and users don't read popups, so it's a bit of an awkward situation. We'll discuss internally. |
@Fenrirthviti why not simply include this file in obs studio main\data folder? |
Because the game capture currently expects it to be there, as well as other permissions and security issues around how the game capture hook works. Putting in OBS's directory and loading it from an arbitrary location could potentially break capture with many games. |
Operating System Info
Windows 10
Other OS
No response
OBS Studio Version
30.1.1
OBS Studio Version (Other)
No response
OBS Studio Log URL
https://obsproject.com/logs/8eBLXexJZ6QihpCT
OBS Studio Crash Log URL
No response
Expected Behavior
portable version should only use obs directory instead using system folder.
Current Behavior
obs portable still use C:\ProgramData folder
auto create two folders (even using portable)
C:\ProgramData\obs-studio
C:\ProgramData\obs-studio-hook
Steps to Reproduce
...
Anything else we should know?
No response
The text was updated successfully, but these errors were encountered: