Skip to content

Install to the OBS 33 plugin location - #43

Closed
Milzstream wants to merge 2 commits into
exeldro:masterfrom
Milzstream:obs-33-plugin-location
Closed

Milzstream wants to merge 2 commits into
exeldro:masterfrom
Milzstream:obs-33-plugin-location

Conversation

@Milzstream

Copy link
Copy Markdown

OBS 33 changed where third-party plugins are loaded. The old Program Files obs-plugins\64bit location, and a ProgramData bundle that still uses bin\64bit, are legacy. They still load in OBS 33 with a Legacy flag, and stop loading in OBS 34.

This updates packaging only. Plugin code and the OBS SDK pin (31.1.0) are unchanged.

New locations

Windows, from Legacy plugin locations and obs-studio#13594:

  • Module: C:\ProgramData\obs-studio\plugins\source-clone\source-clone.dll
  • Data: C:\ProgramData\obs-studio\plugins\source-clone\data
  • Portable: <OBS binary>/../../plugins/source-clone/source-clone.dll plus data beside it

Linux system packages:

  • Module: ${CMAKE_INSTALL_LIBDIR}/obs-modules/plugins/source-clone.so
  • Data: ${CMAKE_INSTALL_DATAROOTDIR}/obs/obs-modules/plugins/source-clone (contents of data/, same as before)

macOS is unchanged.

What changed

  • Windows install puts the DLL and PDB in the plugin folder instead of bin\64bit.
  • The installer targets {commonappdata}\obs-studio\plugins\source-clone, ignores a previous OBS install directory (UsePreviousAppDir=no), and requires OBS 33 or newer when a normal install is found.
  • On install it removes the standard legacy copy (obs-plugins\64bit\source-clone.dll and data\obs-plugins\source-clone) from the OBS directory in HKLM\SOFTWARE\OBS Studio, and a leftover bin folder in the new plugin directory.
  • It does not remove a portable copy, a second OBS install, or a DLL extracted somewhere else. Those still show as Legacy until deleted.
  • Portable OBS is not detected by the installer. Use the zip and extract it into the portable plugins folder.
  • One Windows zip replaces the old Program Files zip and the bin\64bit programdata zip. Layout is source-clone/source-clone.dll and source-clone/data/. PDBs are left out of the installer and zip.
  • Version is 0.2.4.

Tested

Built from this branch and installed on Windows with OBS 33. After restart, OBS no longer marks the plugin as a legacy install location, and there were no immediate load errors.

Test build: https://github.com/Milzstream/obs-source-clone/releases/tag/0.2.4

Linux and macOS packages were produced by CI. I have not installed those locally.

@exeldro

exeldro commented Oct 24, 2026

Copy link
Copy Markdown
Owner

I am working on an installer that works on multiple versions of OBS

@Milzstream Milzstream closed this Oct 27, 2026
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

Successfully merging this pull request may close these issues.

2 participants