Developer Mode - own3d/own3dpro-obs-plugin GitHub Wiki

This page is only for developers. DO NOT ACTIVATE THE DEVELOPER MODE, unless you are knowing what you are doing!

Enable Sandbox Mode

  1. Close OBS Studio.
  2. Open the folder %APPDATA%\obs-studio\plugin_config\own3d (WIN+R).
  3. Open the config.json-file and add the "sandbox": true, attribute.
  4. Profilt! (Start OBS Studio)

Example:

{
  "sandbox": true,
  "UniqueId": "eyJ0eXAiOiJKV1Q........"
}

Remember: DO NOT EVER REPLACE, CHANGE OR SHARE YOUR UNIQUE ID! It contains all your license and account information!

Web Components

Web components are pre defined browser sources, that can be added as sources in obs studio. These web components can be debugged with the chrome developer tools within OBS Studio.

Enable Browser Source Developer Mode

In order to access the developer tools of our web components, you need to enable the remote debugging port (eg. 12345). This can be done by modify the start file of OBS Studio:

"C:\Program Files (x86)\obs-studio\bin\64bit\obs64.exe" --remote-debugging-port=12345

After that, you can open OBS Studio Debug Tools in web:

http://localhost:12345/

Pro Tip: You can also control Twitch and YouTube Players within OBS Studio Browser Sources. ;)

Code Signing

Pro Tip: This requires our certificate. The .exe-files are signed by GhostZero.

Requirements

Optional

  • Visual Studio 2019 (optional)
  • Install own3d media GmbH Signing Certificate (optional; You can find them in the SafeNet Authentication Client)

Bash Script

"C:\Program Files (x86)\Windows Kits\10\bin\10.0.20348.0\x64\signtool" sign /v /n "StreamTV Media GmbH" /tr http://timestamp.digicert.com /td sha256 /fd sha256 own3d*.exe
pause 10

other apps like desktop overlay:

"C:\Program Files (x86)\Windows Kits\10\bin\10.0.20348.0\x64\signtool" sign /v /n "StreamTV Media GmbH" /tr http://timestamp.digicert.com /td sha256 /fd sha256 OWN3D*.exe
pause 10

Example Response

The following certificate was selected:
    Issued to: own3d media GmbH
    Issued by: GlobalSign Extended Validation CodeSigning CA - SHA256 - G3
    Expires:   Sat Aug 21 11:01:11 2021
    SHA1 hash: C1BD4FDB8E9A01B457DDF01B6F5783A94D578F07

Done Adding Additional Store
Successfully signed: own3d-pro-1.5.0.18a4-g176c3ab2.exe

Number of files successfully Signed: 1
Number of warnings: 0
Number of errors: 0

OBS: “Your Machine Token has been revoked.”

  1. Restart OBS Studio.
  2. Open the OWN3D Pro Theme Store.
  3. A page blank should appear, click on "revoke token".
  4. A new machine token will be generated.