User Tools

Site Tools


b2s_dimension_location

This is an old revision of the document!


B2S backglass custom dimension and location

The information on this page is not directly related to PinUP. It will allow you to precisely control the location, size and aspect ratio of B2S backglasses managed by the B2SBackGlassServer program. You'll be able to define B2S display settings globally or on a per table basis.

Size and location of the B2S backglass

Size and locations of the B2S display are defined in the file “ScreenRes.txt”, found in your VPX “Tables” folder. This is a text file, with one value per line, with the following meaning:

linedescriptionexample
1Playfield screen X resolution (width)1920
2Playfield screen Y resolution (height)1080
3Backglass screen X resolution (width)1280
4Backglass screen Y resolution (height)1024
5Display index of the backglass monitor OR @x where x is left bound of screen to be used for bg2
6x position for the backglass on the selected display (most of the time 0)0
7y position for the backglass on the selected display (most of the time 0)0
8Width of the DMD area in pixels600
9Height of the DMD area in pixels150
10X position of the DMD area relative to the upper left corner of the backglass screen50
11Y position of the DMD area relative to the upper left corner of the backglass screen800
12Y-flip, flips the LED display upside down0
13x pos of the small display128
14y pos of the small display0
15width of the small display1024
16height of the small display1024
17name of picture to use as background behind the small displaymy_bezel_for_EM.png

Warning: “B2S_SetUp.exe” can be used to edit this file, but the current version handles only the 12 first lines! So it is better to edit the file with a text editor. Also, if some options appear to not have effect on your display (especially lines 13 to 17) make sure you use the latest version (at least 1.3.0.3)

Definition of the backglass monitor

The index of the monitor to use to display the backglass is at line 5 (usually a single digit number, 1, 2 or 3). If your backglass does not show up consistently on the same screen after computer reboots, instead of using a monitor index, you can use the x coordinate of the top left point of your screen, prefixed with “@” (example: @1920, if your backglass screen top left x coordinate is 1920 according to Windows, which should be the case if you have a landscape 1080p playfield)

Definition of the size and location of the backglass image

By default, the B2S backglass picture will fill the backglass area defined at the lines 3,4,6,7. However, if the “small” property of your B2S is activated (reached by right clicking on your B2S screen once loaded in VPX), your backglass area will still be defined by lines 3,4,6,7, but the actual image will be displayed only in the rectangle defined by the coordinates from lines 13,14,15,16. In this case, the part of the backglass not covered by the image will be black (not transparent). To fill this gap with another color or a background image, an image file can be specified at line 17.

Table specific B2S settings

If a table needs very specific B2S display settings, copy the ScreenRes.txt file and rename it “[table_name].res”. As a result, ScreenRes.txt will be ignored for this table and settings from the newly created res file will be used.

Example of application, aspect ratio

Let's say you use a 1920×1080 resolution monitor, dedicated to your backglass… If you play with a modern SS table, with a B2S designed to be dispayed on a wide screen, you'll get something like this:

Now if you load up an EM style table with the same settings, you might get a squished result like this:

Thanks to the “small” mode, you can define an alternative configuration, which will add black bars to the side of your picture… better if you like a good aspect ratio.

But yes, the picture is smaller… you have to decide what's best for you :-)

You could also design a bezel picture to replace the black bars around the image, by indicating its filename at line 17 of the configuration file.

b2s_dimension_location.1547584011.txt.gz · Last modified: 2019/01/15 15:26 by 163.188.52.166