Jump to content



Photo
- - - - -

show backglass image when d2bs file unavailable?


  • Please log in to reply
4 replies to this topic

#1 d8thstar

d8thstar

    Hobbyist

  • Members
  • PipPip
  • 43 posts

  • Flag: United States of America

  • Favorite Pinball: not sure

Posted 15 September 2023 - 08:32 PM

hi all, i have a few tables with a backglass image as they show when scrolling thru my front end. but they dont have directb2s files.

is there a way to have the image show when a db2s file is unavailable?

thanks!

#2 wiesshund

wiesshund

    VPF Legend

  • Members
  • PipPipPipPipPipPipPip
  • 11,871 posts

  • Flag: United States of America

  • Favorite Pinball: How many can i have?

Posted 15 September 2023 - 09:21 PM

hi all, i have a few tables with a backglass image as they show when scrolling thru my front end. but they dont have directb2s files.

is there a way to have the image show when a db2s file is unavailable?

thanks!

there are a number of things you can do

 

Most front ends have the means to display media when the table has nothing to display

 

Also, you can take b2s designer, and create a static backglass and use the image you have (or any image)

literally just a b2s with a background image, no lamps or displays etc

 

and that works regardless of front end used or if just launching from vpx itself


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


#3 Tiki

Tiki

    Enthusiast

  • Members
  • PipPipPip
  • 193 posts
  • Location:Germany

  • Flag: Germany

  • Favorite Pinball: Medieval Madness, Tales of Arabian Nights, Creature from the black Lagoon

Posted 15 September 2023 - 11:13 PM

The Backglass server provides a possibility to display backround pictures, which can be set using a res file.
If a table has no background, you can set a background picture in your tablename.res file in the lower part of the res file:
 
Example:
---------------------------------
# This is a ScreenRes file for the B2SBackglassServer.
# From release 1.3.1.1 comment lines like this starting with a "#" are supported.
# Screenres Example for HD 1920x1080 Single Screen Desktop Backglass 5:4
# Playfield Screen resolution width/height
1920
1080
# Backglass width/height
520
416
# Define Backglass using Display Devicename screen number (\\.\DISPLAY)x or screen coordinates (@x) or screen index (=x)
1
# Backglass x/y position relative to the upper left corner of the screen selected
1400
0
# width/height of the B2S (or Full) DMD area
520
310
# DMD x/y position - relative to the upper left corner of the backglass window - you can move your backglass out of sight with a value bigger than your sreen size
-1400
0
# Y-flip, flips the LED display upside down
0
# Background x/y position - relative to the playfield - you have to activate "SmallButton/Background" in Backglass Menu
0
0

# Background width/height
0
0

# path to the background image (C:\path\Frame) or blank if none selected
G:\Visual Pinball\background.png
# This line would turn off B2SWindowPunch if activated
#B2SWindowPunch=off
--------------------------------------------------
All you have to do is to set the red parts position,size and path to your image file.
Its not very complicated.
You may find some infos in the backglass server wiki
https://github.com/v...iki/Backgrounds
 
Backgrounds are normally used as a background for backglasses. - here is the Trick to see a background pic only:
I have a table without a backglass and a nice picture for it:
In order to show the pic, I use a dummy backglass. Just a small one, made for another table.
I copy and rename one of my working backglasses to fit to the table. The dummy is needed to show the pic but will not be shown with a trick in the res file.
To move the dummy backglass out of my screen I simply set the backglass x position out of my screen using a position bigger than 1920 (my screen-width) I set x to 1921 and the dummy backglass is out of sight.
this may be different on other screens, but you understand the thing I hope.
If my dummy backglass is gone, I put the background picture using the right settings on the screen.
So a table with no backglass can use a individual background picture using a dummy backglass and a tablename.res file

 

I guess every frontend has a possibility to show a pic instead of a background for your table. check it out it may be easier than dealing with a res file.


Edited by Tiki, 15 September 2023 - 11:36 PM.

vpforumstiki.jpg


#4 wiesshund

wiesshund

    VPF Legend

  • Members
  • PipPipPipPipPipPipPip
  • 11,871 posts

  • Flag: United States of America

  • Favorite Pinball: How many can i have?

Posted 15 September 2023 - 11:19 PM

Thanks Kiwi

I keep forgetting about that new feature, and the punch feature too

 

This be super userful to tables where the backglass literally does nothing, no lamps etc.

a nice PNG is usually smaller than a directB2S


Edited by wiesshund, 15 September 2023 - 11:21 PM.

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


#5 gtxjoe

gtxjoe

    VPF Veteran

  • VIP
  • 5,159 posts

  • Flag: United States of America

  • Favorite Pinball: Medieval Madness, AbraCadabra



Contributor

Posted 16 September 2023 - 12:39 AM

What table is missing backglasses?