Jump to content



Photo
* * * * * 1 votes

B2S Backglass Server

Backglass directB2S Backglass Server B2S

  • Please log in to reply
136 replies to this topic

#61 jarr3

jarr3

    Enthusiast

  • Platinum Supporter
  • 192 posts
  • Location:Frankfurt, Germany

  • Flag: Sweden

  • Favorite Pinball: Medieval Madness

Posted 13 March 2022 - 04:16 PM

Did another update today:

 

Changelog:

 

  • The FormToFront setting now also works correctly when having the StartBackground setting turned on.
  • The background and backglass are in sync independent of how FormToFront is set (background should not hide backglass)
  • Lines starting with "#" is ignored when reading the ScreenRes.txt or TableName.res files. Now possible to do like this:

(ScreenRes.txt)

# Playfield Screen resolution width/height
800
600
# Backglass Screen resolution width/height
800
600
...
  • StartBackground can now also be set globally in the B2STableSettings.xml (but there is no GUI available). When set globally, the GUI will only save StartBackground on table level when they differ:

(B2STableSettings.xml)

<B2STableSettings>
  ...
  <StartBackground>1</StartBackground>
  <afm_113>
     <StartBackground>0</StartBackground>
    ...
  </afm_113>
</B2STableSettings>
  • Let the 3rd Screen (formDMD) also be controlled by the FormToFront setting
     
     

Edited by jarr3, 14 March 2022 - 07:25 PM.


#62 tomlousberg

tomlousberg

    Enthusiast

  • Members
  • PipPipPip
  • 55 posts

  • Flag: Netherlands

  • Favorite Pinball: Medieval Madness

Posted 14 March 2022 - 02:08 PM

Hy guys, can anyone lead me to the right directions of my b2s server?

 

Everything works, but when i select a table, it will take 10-15 seconds before the backglass comes up. (Always and every table)

 

Only running doflinx, b2s server and fx3...

 

Thanks!!



#63 Mike DA Spike

Mike DA Spike

    Pinball Fan

  • Platinum Supporter
  • 1,278 posts
  • Location:Hoofddorp

  • Flag: Netherlands

  • Favorite Pinball: Too many to mention

Posted 14 March 2022 - 06:22 PM


Did another update today:
 
Changelog:

 

  • The FormToFront setting now also works correctly when having the StartBackground setting turned on.
  • The background and backglass are in sync independent of how FormToFront is set (background should not hide backglass)
  • Lines starting with "#" is ignored when reading the ScreenRes.txt or TableName.res files. Now possible to do like this:
(ScreenRes.txt)
# Playfield Screen resolution width/height
800
600
# Backglass Screen resolution width/height
800
600
...
  • StartBackground can now also be set globally in the B2STableSettings.xml (but there is no GUI available). When set globally, the GUI will only save StartBackground on table level when they differ:
(B2STableSettings.xml)
<B2STableSettings>
  ...
  <StartBackground>1</StartBackground>
  <afm_113>
     <StartBackground>0</StartBackground>
    ...
  </afm_113>
</B2STableSettings>
Nice work ! I always had issues with the formtofront, resize the backglass and have a custom background as well.
Is there also a way to add always freezy's numeric displays on top of it ? Most of the time, i only have 1 or 2 numeric displays on top, and rest is behind backglass.

331ddabcc742f0ba74791e946eb0f791.gif Try PinballX Database manager as a replacement of PinballX's game list manager
With special thanks to Scutters 


#64 jarr3

jarr3

    Enthusiast

  • Platinum Supporter
  • 192 posts
  • Location:Frankfurt, Germany

  • Flag: Sweden

  • Favorite Pinball: Medieval Madness

Posted 15 March 2022 - 09:30 PM

Nice work ! I always had issues with the formtofront, resize the backglass and have a custom background as well.

Is there also a way to add always freezy's numeric displays on top of it ? Most of the time, i only have 1 or 2 numeric displays on top, and rest is behind backglass.

 

Thanks! I assume that the numeric displays will work well with this change. At least PuP Videos works nice!
I must admit I have never tried freezy's numeric displays. Do you have a good example table I can test it with?

/Jarr3



#65 Mike DA Spike

Mike DA Spike

    Pinball Fan

  • Platinum Supporter
  • 1,278 posts
  • Location:Hoofddorp

  • Flag: Netherlands

  • Favorite Pinball: Too many to mention

Posted 16 March 2022 - 04:56 AM

Thanks! I assume that the numeric displays will work well with this change. At least PuP Videos works nice!

I must admit I have never tried freezy's numeric displays. Do you have a good example table I can test it with?

/Jarr3

 

I didn't check it with your latest version yet, but will do that in the weekend.
I have a real DMD , but the alphanumeric looks pretty real and for the tables with alphanumeric displays freezy's alphanumeric looks much better than the display on the backglass.
I played in the past for example with the cheese and chong table (that is using the hd_l3 rom from Harley Davidson)
I just has 2 virtual alphanumeric displays, and most of the time 1 of the displays is behind the backglass.

Doing a table like Haunted House (hh7) with 6 virtual displays will definitely move more virtual DMD's behind the backglass
 


Edited by Mike DA Spike, 16 March 2022 - 04:57 AM.

331ddabcc742f0ba74791e946eb0f791.gif Try PinballX Database manager as a replacement of PinballX's game list manager
With special thanks to Scutters 


#66 jarr3

jarr3

    Enthusiast

  • Platinum Supporter
  • 192 posts
  • Location:Frankfurt, Germany

  • Flag: Sweden

  • Favorite Pinball: Medieval Madness

Posted 16 March 2022 - 01:03 PM

Well it isn't released yet.I am waiting for toxie to come back. But I guess it will come soon

Are you on VPU as well?

Sent from my SM-G950F using Tapatalk

#67 Mike DA Spike

Mike DA Spike

    Pinball Fan

  • Platinum Supporter
  • 1,278 posts
  • Location:Hoofddorp

  • Flag: Netherlands

  • Favorite Pinball: Too many to mention

Posted 16 March 2022 - 02:55 PM

Well it isn't released yet.I am waiting for toxie to come back. But I guess it will come soon

These are older tables, maybe from Vpinball as well (not sure), but you can test it with every alpha numeric rom
These where just 2 that I tested out last year but because the displays came behinf the backglass, I stopped with it


331ddabcc742f0ba74791e946eb0f791.gif Try PinballX Database manager as a replacement of PinballX's game list manager
With special thanks to Scutters 


#68 jarr3

jarr3

    Enthusiast

  • Platinum Supporter
  • 192 posts
  • Location:Frankfurt, Germany

  • Flag: Sweden

  • Favorite Pinball: Medieval Madness

Posted 16 March 2022 - 03:21 PM

Well it isn't released yet.I am waiting for toxie to come back. But I guess it will come soon

These are older tables, maybe from Vpinball as well (not sure), but you can test it with every alpha numeric rom
These where just 2 that I tested out last year but because the displays came behinf the backglass, I stopped with it
I will check it tonight or tomorrow night.

Sent from my SM-G950F using Tapatalk

#69 toxie

toxie

    VPF Veteran

  • VP Dev Team
  • PipPipPipPipPipPip
  • 5,734 posts
  • Location:berlin, germany

  • Flag: Germany

  • Favorite Pinball: AFM

Posted 16 March 2022 - 08:45 PM

Well it isn't released yet.I am waiting for toxie to come back. But I guess it will come soon
 

 

I just waited until you're done with all your changes and fixes. If you think you're good then we could do a new official drop. Thanks!



#70 jarr3

jarr3

    Enthusiast

  • Platinum Supporter
  • 192 posts
  • Location:Frankfurt, Germany

  • Flag: Sweden

  • Favorite Pinball: Medieval Madness

Posted 17 March 2022 - 05:55 AM

Yes, I did the changes I wanted, though I am still puzzled on what to do with the DLL, couldn't find the same lines in the code to tweak.

 

So I would be happy if you could double check and give me an hint how to proceed. My tests so far was successful.



#71 jarr3

jarr3

    Enthusiast

  • Platinum Supporter
  • 192 posts
  • Location:Frankfurt, Germany

  • Flag: Sweden

  • Favorite Pinball: Medieval Madness

Posted 17 March 2022 - 08:20 PM

 

I have a real DMD , but the alphanumeric looks pretty real and for the tables with alphanumeric displays freezy's alphanumeric looks much better than the display on the backglass.
I played in the past for example with the cheese and chong table (that is using the hd_l3 rom from Harley Davidson)
I just has 2 virtual alphanumeric displays, and most of the time 1 of the displays is behind the backglass.

Doing a table like Haunted House (hh7) with 6 virtual displays will definitely move more virtual DMD's behind the backglass
 

 

Hi,

I tried it out but my Haunted House only came back with a script error with index num error something. I did not find any newer version to try out here.

 

Then I tried Harley Davidson and it always put the numbers on top, but did not manage to get it look good at all.

 

Attached File  Harley.png   1.42MB   7 downloads

 

To me the black border is to big, and it doesn't allow me to stretch it as needed. Therefore I did not manage to get them into the space on the backglass. Do you have a trick for me here?

 

 

/Jarre3



#72 Mike DA Spike

Mike DA Spike

    Pinball Fan

  • Platinum Supporter
  • 1,278 posts
  • Location:Hoofddorp

  • Flag: Netherlands

  • Favorite Pinball: Too many to mention

Posted 18 March 2022 - 05:34 AM

 

 

I have a real DMD , but the alphanumeric looks pretty real and for the tables with alphanumeric displays freezy's alphanumeric looks much better than the display on the backglass.
I played in the past for example with the cheese and chong table (that is using the hd_l3 rom from Harley Davidson)
I just has 2 virtual alphanumeric displays, and most of the time 1 of the displays is behind the backglass.

Doing a table like Haunted House (hh7) with 6 virtual displays will definitely move more virtual DMD's behind the backglass
 

 

Hi,

I tried it out but my Haunted House only came back with a script error with index num error something. I did not find any newer version to try out here.

 

Then I tried Harley Davidson and it always put the numbers on top, but did not manage to get it look good at all.

 

attachicon.gif Harley.png

 

To me the black border is to big, and it doesn't allow me to stretch it as needed. Therefore I did not manage to get them into the space on the backglass. Do you have a trick for me here?

 

 

/Jarre3

 

Thanks for checking 
Yes, borders are thick and not keep aspect ration when resize.
Thats why I tested it with to resize the backglass via directb2s , and  put an image behind (theme of my pinball) it is pretty ok. 
For example :

0644854811b40b56a285a754844f139a.png

 

(if I go for doing the alphanumeric for real, , I need to adjust all to correct sizes, this is just for test)

But this is what happen when launching the table from VPX:
https://youtu.be/u5e1M7zyei4

 


Edited by Mike DA Spike, 18 March 2022 - 05:38 AM.

331ddabcc742f0ba74791e946eb0f791.gif Try PinballX Database manager as a replacement of PinballX's game list manager
With special thanks to Scutters 


#73 jarr3

jarr3

    Enthusiast

  • Platinum Supporter
  • 192 posts
  • Location:Frankfurt, Germany

  • Flag: Sweden

  • Favorite Pinball: Medieval Madness

Posted 18 March 2022 - 05:54 AM

Hi,
yes I managed to get haunted house to run without the script error using the "hh" rom instead of "hh7".

But as you described all numeric display's apart from the 2in the middle goes to back. Maybe we should try to report it to freezy on the github project.

I looked into the dmd extension code yesterday as well, but I couldn't find anything obvious. I think these numeric display's all need the flag "stayontop" which seems to be supported on the DMD windows. I tried to fiddle with the settings without success.

Freezy writes on github that it should be easy to build his dmd extensions. So I believe everyone who is able to get a visual pinball running with all Bell's & whissels should be able to try that out... we should support toxie, freezy & team to find bugs as well as solutions...  For B2S Server I was surprised how easy it was :

  1. download VS 2019 Community edition
  2. open the solution files
  3. build it.
  4. find and propose solutions

I will not be able to try it out for the next 2 weeks, being on the road...


Edited by jarr3, 18 March 2022 - 06:35 AM.


#74 toxie

toxie

    VPF Veteran

  • VP Dev Team
  • PipPipPipPipPipPip
  • 5,734 posts
  • Location:berlin, germany

  • Flag: Germany

  • Favorite Pinball: AFM

Posted 18 March 2022 - 03:41 PM

New version with the patches above is up, thanks a lot (and keep those updates coming :))!



#75 tomlousberg

tomlousberg

    Enthusiast

  • Members
  • PipPipPip
  • 55 posts

  • Flag: Netherlands

  • Favorite Pinball: Medieval Madness

Posted 19 March 2022 - 06:57 PM

Hy guys, can anyone lead me to the right directions of my b2s server?

 

Everything works, but when i select a table, it will take 10-15 seconds before the backglass comes up. (Always and every table)

 

Only running doflinx, b2s server and fx3...

 

Thanks!!

 

 

 

 

VERSION 1.3.1.0 solved my delay, dont know why, but im happy.

Thanx Toxie!



#76 tomlousberg

tomlousberg

    Enthusiast

  • Members
  • PipPipPip
  • 55 posts

  • Flag: Netherlands

  • Favorite Pinball: Medieval Madness

Posted 27 March 2022 - 08:06 AM

Hmm, delay is back... @Toxie @Wiesshund @DDH69 @TerryRed  any tips? (i'm thinking about permissions..)

 

Delay only when selecting tables from grid, once b2s is loaded everything runs smooth as silk.

 

Running Steam FX3 with grid table selection, dof 7.44, B2s 1.3.1.0, DMDExt

 

Thanx in advance !


Edited by tomlousberg, 27 March 2022 - 03:42 PM.


#77 tomlousberg

tomlousberg

    Enthusiast

  • Members
  • PipPipPip
  • 55 posts

  • Flag: Netherlands

  • Favorite Pinball: Medieval Madness

Posted 28 March 2022 - 05:17 PM

Anyone?? :)



#78 wiesshund

wiesshund

    VPF Legend

  • Members
  • PipPipPipPipPipPipPip
  • 11,859 posts

  • Flag: United States of America

  • Favorite Pinball: How many can i have?

Posted 28 March 2022 - 06:44 PM

I dont think FX3 uses B2S server at all, only VPX does?


If you feel the need to empty your wallet in my direction, i don't have any way to receive it anyways

Spend it on Hookers and Blow


#79 tomlousberg

tomlousberg

    Enthusiast

  • Members
  • PipPipPip
  • 55 posts

  • Flag: Netherlands

  • Favorite Pinball: Medieval Madness

Posted 29 March 2022 - 05:39 AM

Thanks for your reaction!

I think doflinx runs the b2s server with the .directb2s from ddh69 for FX3.

Plugins are active.

 

It works when im playing tables, triggers changing leds in BB.

Only during table seection there is a 15 second delay before the backglass comes up..

 

Have you installed VPX/B2S as Administrator or normal user??



#80 Mike DA Spike

Mike DA Spike

    Pinball Fan

  • Platinum Supporter
  • 1,278 posts
  • Location:Hoofddorp

  • Flag: Netherlands

  • Favorite Pinball: Too many to mention

Posted 30 March 2022 - 02:22 AM

Is the delay only in fx3 with doflinx when selecting a table?
I know I have a small delay with fx3 as well(not 10-15 seconds), as doflinx takes a while before initialize on a table.
Maybe ask ddh69 in his doflinx thread about it

331ddabcc742f0ba74791e946eb0f791.gif Try PinballX Database manager as a replacement of PinballX's game list manager
With special thanks to Scutters 






Also tagged with one or more of these keywords: Backglass, directB2S, Backglass Server, B2S