Simple scene switcher

D

Deleted member 6788

ThoNohT said:
This is very strange behaviour, for your second problem, scene switcher does not affect the sources. The first one, I'm not sure. It looks like something crashes when you press a hotkey.

I'll try to run some tests on this latest build, but I haven't changed anything for quite a long while. What you could do is go to %APPDATA%\OBS\pluginData, and delete the scenesw.ini file. This will reset your scene switcher settings, by the way, before you do that. Could you paste the current contents of that file in a reply here?


Code:
[General]
MatchExact=1
ToggleHotkey=1
AltDoSwitch=1
nWindows=3
CheckFrequency=300
StartAuto=1
AltScene=League of Legends
MainScene=Google Chrome
MainWindow=

[SceneDef]
scene=League of Legends
scene=Google Chrome
scene=League of Legends client
window=League of Legends (TM) Client
window=Google Chrome
window=PVP.net Client
 
So how do you get this to work ? I've tried bir the 32 and 64 version and put them in the plugins fold in OBS and the plugin doesn't show up in the plugins tab in the program, is there something more you have to do ?
 
D

Deleted member 6788

Right now the scene switcher doesn't work. I have a scene named 'Google Chrome' with source 'Google Chrome', a monitor capture. In the scene switcher I have: check for 'Google Chrome' switch to 'Google Chrome'. However, my tabs have different names with the title of what I'm looking at. My tabs aren't named 'Google Chrome' but 'Youtube - Justin Bieber - Baby'. Is this what is causing the conflict? How can I properly configure it? I am pretty sure I am not the only one who wants a simple switch to his browser so I am not sure why this is so hard to do for me.
 

ThoNohT

Developer
Hoodboss: For that problem you just need to uncheck Match exact window title, then it'll switch to the scene if the specified text is at least part of the window title. So for your Google chrome example, that should work fine.

JunkyVirus: You probably need to place the 64 bit dll in the OBS\64 bit\plugins folder.
 
D

Deleted member 6788

ThoNohT said:
Hoodboss: For that problem you just need to uncheck Match exact window title, then it'll switch to the scene if the specified text is at least part of the window title. So for your Google chrome example, that should work fine.

JunkyVirus: You probably need to place the 64 bit dll in the OBS\64 bit\plugins folder.

It doesn't work. The stream will keep showing my League of Legends game and not switch to chrome. My 'Google Chrome' scene/scource is a Monitor Capture. When I change it to 'Window Capture' with 'Google Chrome - new tab' it will only show a new tab. If I have this website open it will not show it. Any idea?
 

Jack0r

The Helping Squad
I have a hard time reproducing your problem. I just setup the scene switcher like this:
Google Chrome -> Scene1
Explorer -> Scene2
Quake 3 -> Scene3
No matter what I do, with "Match exact window names" UN-checked/NOT checked, the plugin works perfectly. I even tried the Justin bieber example you gave. Maybe you could upload us the scenesw.ini to pastebin and link it here. Its located in the plugindata folder under %Appdata%\OBS or if you click on open configuration folder in OBS.
 

ThoNohT

Developer
Sorry for the late reply, I was on holiday, but I'd like to echo what Jack0r said.

What I'd like to add: The type of capture has no influence on what scene switcher does, it only looks at the active window title. It doesn't check anything inside OBS.
 

w0lv3r1n3

New Member
Hi TheNohT,

I've made a Dota 2 Scene Switch based on txt file, i dont know if u can/want incorporate it into your plugin, i guess it would be great if u want to :D!!!

Let me know
 

w0lv3r1n3

New Member
I've modified your plugin, to read a text from a file and use it to switch between the scenes... i was thinking maybe you could find a way to create something like it in your plugin:
Just a field to browser a txt file and instead of using Windows Title use Predefined Text
 

ThoNohT

Developer
So does it switch based on the contents of the text file, (i.e. text file contains scene name), or does it switch based on whether the text in the text file is equal to the active window title or not? Or something else completely?

If you could link your source, that would be interesting, I'm not sure if something like this is really good for the standard scene switcher. But I'd love to take a look at what you made, so I can make a better judgement of that.
 

dodgepong

Administrator
Community Helper
It does have support for games besides LoL, it's just that since LoL has 2 windows, this plugin is very suited for it.
 

kokarn

New Member
Yes i know, but that doesn't work for a lot of programs & games. IMO this plugin should work for as many programs as possible :-)
 

dodgepong

Administrator
Community Helper
All it does is use Window titles. It should work on anything. What games/programs does it not work on?
 

kokarn

New Member
Anything that has a queue but doesn't change the window title.
HoN & CS:GO, and i think Dota(2) & SC2 as well (not sure).
 

dodgepong

Administrator
Community Helper
The purpose of this plugin is not for switching scenes based on queuing. The purpose of this plugin is for switching scenes based on which window is currently active. It is coincidental that with LoL, you can accomplish scene switching based on queuing status because of how LoL works. But that doesn't mean that is what the plugin is for. What your asking for would require separate plugins for all those games.

There is already a SC2 plugin that does what you're asking. viewtopic.php?f=10&t=2067
 
Top