Jump to content

All my products and services are free. All my costs are met by donations I receive from my users. If you enjoy using any of my products, please donate to support me. My bare hosting costs are currently not met so please consider donating by either clicking this text or the Patreon link on the right.

Patreon

Feature request. Skip lines with hash (#) while reading screenres.txt files


Recommended Posts

Posted

Hi, 

I have been working on the B2SServer the last months. A small feature I have added is that it is possible to have comment lines in the screenres.txt files.

Though it is rather cosmetic, I believe it helps to clarify what the different lines actually mean.

So they can now look like this:

# This is a ScreenRes file for the B2SBackglassServer. 
# From release 1.3.1.1 comment lines like this starting with a "#" are supported. If you use tools not supporting comments (or old releases), you need to remove these lines.
# Playfield Screen resolution width/height
800
600
# Backglass Screen resolution width/height
800
600
# Backglass Display Devicename screen number (\\.\DISPLAY)x for the Playfield or screen on position (@x) or screen index (=x)
1
# x position for the backglass relative to the upper left corner of the Playfield screen
0
# y position for the backglass on the selected display (Normally left at 0)
0
# width/height of the DMD area in pixels - For 3 screen setup
600
130
# X/Y position of the DMD area relative to the upper left corner of the backglass screen - For 3 screen setup
700
300
# Y-flip, flips the LED display upside down
0
# X/Y position pos when StartBackground is active, relative to upper left corner of Playfield ("Small" Button in the Options)
800
0
# width/height of the backglass when StartBackground is active 
800
600
# C:\path\Frame = The path to the location where you have the background image, it is called "small" button in the settings.
C:\path\my_bezel_for_EM_or_grill_for_dual_screen.png

Would be cool if PinballX would ignore these lines (while reading) so that it does not get anything wrong because of this? If PinballX also writes these files, it would of course be nice if the comments would be left in the output...

Jarr3

Guest
This topic is now closed to further replies.
×
×
  • Create New...