Jump to content
rosve

A better solution for selecting backglass monitor

Recommended Posts

Hi everyone,

I've been away from virtual pinball for quite some time now but a few days ago I found out that Stefan (Herweh) made the source code public.

I am surprised to find that the old screen selection "bug" from my original B2S code is still in there.

The backglass screen number that you enter into the screenres file is used in B2S to select the display with that number in it's name: DISPLAY1, DISPLAY2 ...

A better solution would be to use the number in screenres to select a screen from the screen order as it is defined by the user. Number 1 should point to the first display, number 2 should point to the second display and so on. Same method as the old UVP and probably also PinballX is using.

Here is a suggestion to any programmer who want to experiment with it. The screenshots are from the class B2SScreen in the b2sbackglassserver. Same changes must probably be made in the b2backglassserverexe as well. My changes are highlighted in the screenshots.

Only problem with this change is that the old B2S.exe files may be displayed on the wrong screen for some users. Could be solved by storing the old b2s in a separate folder with it's on screenres file.

B2SScreen_1.png

B2SScreen_2.png

Share this post


Link to post
Share on other sites

Nice to see you back Rosve. Hope you decide to stay awhile too. There has been a lot of changes as you see to VP in the last couple of years :)

I'm not into the coding but I know that there has been done changes to db2s and I'm not sure if that has updated to any repo.

Share this post


Link to post
Share on other sites

Well, I’m not really back to visual pinball again. Only passing by.

I will maybe stop by more frequently in the future. 

Share this post


Link to post
Share on other sites

But you've tried at least the latest and greatest ? It has become damn impressive.

Stuff like this is made

Ok, if that can't tempt you - nothing will ;)

Anyway. Nice to see you're not completely forgotten about us. Don't be a stranger !

 

Share this post


Link to post
Share on other sites

I don’t even own a PC so I can’t try the new stuff. Getting a new computer is on my list but way down with the low priority stuff. 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×