Jump to content



Photo
- - - - -

Pizza Time: DMD font too big

puppack pinup player vpx script

  • Please log in to reply
8 replies to this topic

#1 SixOfTwelve

SixOfTwelve

    Enthusiast

  • Members
  • PipPipPip
  • 100 posts
  • Location:Germany

  • Flag: Germany

  • Favorite Pinball: Varies every few weeks, really

Posted 04 June 2022 - 08:05 AM

I've had a lot of trouble getting Pizza Time to display its Pup-Pack windows on my 3-screen setup.

 

My displays are:

Screen 1: Playfield: 1920x1080

Screen 2: Backglass: 1600x1200

Screen 3: LCD for DMD: 1024x600

 

My problem is that the font used for the score display is far too large for my 1024x600 display.

A score of 1,046,990 will display like this:

MGDIyYO.jpg

 

Not only that, but on the backglass it comes out like this:

EC1r2E3.jpg

 

Now I can understand that the table was designed for a widescreen backglass with a 1920 width. Fair enough. And I could even live with the wonky backglass if only the DMD display were correct.

But I don't know what settings to change in the script.

 

Line 53 states:

Const FontScale			= .5	' Scales the PupFonts up/down for different sized DMDs  [0.5 Desktop]

I've tried to use different values from .1 to a full 2, but I don't see any difference.

 

All the other searches for "font" in the script led me to functions that are too complicated for my little mind.

 

Does anyone have any experience with this problem or can point me in the right direction?

Thank you!
 

 



#2 laylow

laylow

    VP Veteran

  • Members
  • PipPipPipPip
  • 538 posts
  • Location:Blackpool

  • Flag: England

  • Favorite Pinball: 1978 >

Posted 04 June 2022 - 08:45 AM

I had to set my scale and layout settings in the Windows 10 screensettings to 100%



#3 SixOfTwelve

SixOfTwelve

    Enthusiast

  • Members
  • PipPipPip
  • 100 posts
  • Location:Germany

  • Flag: Germany

  • Favorite Pinball: Varies every few weeks, really

Posted 04 June 2022 - 09:33 AM

Thanks for the reply. They're all set to 100% and always have been.

In fact, on my 3rd screen, I can't even select any other number since it's greyed out.

8jCh7FK.png



#4 Outhere

Outhere

    Pinball Wizard

  • Platinum Supporter
  • 4,806 posts

  • Flag: United States of America

  • Favorite Pinball: M M

Posted 04 June 2022 - 12:49 PM

Try This - https://www.nailbust...nup_pack_layout



#5 SixOfTwelve

SixOfTwelve

    Enthusiast

  • Members
  • PipPipPip
  • 100 posts
  • Location:Germany

  • Flag: Germany

  • Favorite Pinball: Varies every few weeks, really

Posted 04 June 2022 - 01:32 PM

Thanks - I do have a custom layout saved, but the problem is not the video window, it's the text size. The text is not a fixed part of a video, the output is controlled by the VPX script.

 

In fact, the DMD window displays a "press start" animation at the beginning of the game, which plays exactly at the right size. If I resize that DMD window, the text size changes in 1:1 relation to the video size, i.e. it's still too large.



#6 Outhere

Outhere

    Pinball Wizard

  • Platinum Supporter
  • 4,806 posts

  • Flag: United States of America

  • Favorite Pinball: M M

Posted 04 June 2022 - 02:41 PM

Thanks - I do have a custom layout saved, but the problem is not the video window, it's the text size. The text is not a fixed part of a video, the output is controlled by the VPX script.

 

In fact, the DMD window displays a "press start" animation at the beginning of the game, which plays exactly at the right size. If I resize that DMD window, the text size changes in 1:1 relation to the video size, i.e. it's still too large.

This line Try changing 60 to 20

        PuPlayer.LabelNew pDMD,"CurScore",dmdalt,60,    3397879             ,0,1,1, 0,0,1,1

 



#7 SixOfTwelve

SixOfTwelve

    Enthusiast

  • Members
  • PipPipPip
  • 100 posts
  • Location:Germany

  • Flag: Germany

  • Favorite Pinball: Varies every few weeks, really

Posted 04 June 2022 - 04:48 PM


        PuPlayer.LabelNew pDMD,"CurScore",dmdalt,60,    3397879             ,0,1,1, 0,0,1,1

That did it! THANK YOU! :love39:

 

30 looked better for me rather than 20, but that was definitely the line.

 

The line actually appears several times in different subroutines for various types of DMD. I had to select the proper one.

I actually had to reduce the size for player number and ball number as well, so for me the lines now read

'Page 1 (default score display)
	'					   Scrn LblName    Fnt    Size	Color	 			R AxAy X Y pagenum Visible 
		PuPlayer.LabelNew pDMD,"Play1"   ,dmddef,15,	1849448				,0,2,2,27,0,1,1
		PuPlayer.LabelNew pDMD,"Ball"    ,dmddef,15,	1849448 			,0,2,2,88,0,1,1
		PuPlayer.LabelNew pDMD,"MsgScore",dmddef,10,	3397879				,0,1,0, 0,0,1,0
		PuPlayer.LabelNew pDMD,"CurScore",dmdalt,30,	3397879 			,0,1,1, 0,0,1,1

Again, massive thanks!
 

 


Edited by SixOfTwelve, 04 June 2022 - 04:48 PM.


#8 GlueSniffinEd

GlueSniffinEd

    Enthusiast

  • Members
  • PipPipPip
  • 96 posts
  • Location:Largo, FL

  • Flag: United States of America

  • Favorite Pinball: Haunted House

Posted 05 June 2022 - 05:40 AM

So, apparently you got this sorted, but I had the exact same issue on several tables; Pizza Time, Retroflair, Harry Potter, Munsters, etc.

 

I have a cheapo 1280x390 LCD DMD, and what fixed that problem for me across the board was to set my DMD screen scaling to "Full Screen" rather than the default in Windows 10 of "Aspect Ratio".  My play-field and back-glass are both standard 16:9 ratio screens, so the default of "Aspect Ratio" on them was just fine.

 

Oddly enough, everything that used Freezy was just fine, even 3 screen B2S files.  Only PupDMD tables had the huge font issue.

 

Hopefully this can help someone else out, since your issue appears to have been resolved by tweaking a config and may not be the same issue as I had on my DMD.



#9 gotelip

gotelip

    Neophyte

  • Members
  • Pip
  • 2 posts

  • Flag: United States of America

  • Favorite Pinball: Addams Family

Posted 11 June 2024 - 05:17 AM

i had the same problem than i resize my dmd on configuration display in Pinup player and it fixed the problem 







Also tagged with one or more of these keywords: puppack, pinup player, vpx, script