Skip to content

Commit

Permalink
Merge pull request #4 from ocgineer/slobs-compatibility
Browse files Browse the repository at this point in the history
Streamlabs OBS Compatibility
  • Loading branch information
baffler authored Jun 23, 2018
2 parents df88788 + 561a00b commit 6f0db27
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
12 changes: 7 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,13 @@ Compiling:
- Compile with visual studio. Only 64bit version has been tested.

# Installation
* Download latest zip release from https://github.com/baffler/OBS-OpenVR-Input-Plugin/releases (make sure not to download one labled "Source Code")
* Close OBS if it's open
* Your zip file should contain a "data" folder, "obs-plugins" folder and a readme file. If not, make sure you downloaded a release zip file and not the actual source code.
* Extract the zip file into your OBS studio directory (typically installed in "C:\Program Files (x86)\obs-studio"). Choose Replace Files if prompted.
* Launch OBS and add a new source to one of your scenes, the source name is "OpenVR Capture"
* Download latest zip release from https://github.com/baffler/OBS-OpenVR-Input-Plugin/releases (make sure not to download one labled "Source Code").
- The zip file you download should contain a "data" and "obs-plugins" folder with a readme file. If not, makes sure to download the release zip file.
* Close OBS Studio or Streamlabs OBS if it's open.
* Extract the zip file into your OBS studio directory or Streamlabs OBS libobs directory.
- OBS Studio; typically installed in `C:\Program Files (x86)\obs-studio")` and choose Replace Files if prompted.
- Streamlabs OBS; typically installed in `C:\Program Files\Streamlabs OBS\resources\app.asar.unpacked\node_modules\obs-studio-node\libobs` and choose Replace Files if promted.
* Launch OBS or Streamlabs OBS and add a new source to one of your scenes, the source name is "OpenVR Capture"

![Extract Files](https://user-images.githubusercontent.com/1980600/40620530-22aca280-6267-11e8-96dc-4978675d3e80.png)

Expand Down
2 changes: 1 addition & 1 deletion plugins/win-openvr/win-openvr.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -473,7 +473,7 @@ OBS_MODULE_USE_DEFAULT_LOCALE("win-openvr", "en-US")
bool obs_module_load(void)
{
obs_source_info info = {};
info.id = "win-openvr";
info.id = "openvr_capture";
info.type = OBS_SOURCE_TYPE_INPUT;
info.output_flags = OBS_SOURCE_VIDEO |
OBS_SOURCE_CUSTOM_DRAW;
Expand Down

0 comments on commit 6f0db27

Please sign in to comment.