Jump to content



Photo
- - - - -

Changing the size of the DMD display issue


  • Please log in to reply
20 replies to this topic

#1 Imgema

Imgema

    Enthusiast

  • Members
  • PipPipPip
  • 78 posts

  • Flag: Greece

  • Favorite Pinball: Dinner

Posted 22 December 2018 - 12:46 PM

So i figured that many tables won't show the score on the backglass because the score area is only a simple rectangular shape, so the pinmame DMD screen can simply be placed there instead.

 

The problem with this, however, is that the DMD is never the right size. In most backglass images it needs to be resized manually in order to fit, especially horizontally.

 

Resizing the DMD isn't an issue. You can do it easily by manually dragging the window edges. But the problem is that you can't do it evenly. I found it impossible to resize to a precise 2x or 3x horizontal or vertical, so the pixel ratio becomes messed up, which makes the DMD look really bad, with uneven pixels.

 

There is an option to double the size. That does make it exactly 2x and in most cases it looks fine (although for some reason sometimes you have to re-do it a few times until it gets it right). That covers the vertical size most of the time but horizontally, the DMD needs to be bigger. There is no option however to do this, you can only do it manually. The ideal would be 2x vertical and 3x horizontal. The pixels won't be 1:1 squares this way but at least they will all be the same so it will look even.

 

My question is, how do guys you do this? Is there a way to set the size so all the pixels can be the same size?



#2 gtxjoe

gtxjoe

    VPF Veteran

  • VIP
  • 5,132 posts

  • Flag: United States of America

  • Favorite Pinball: Medieval Madness, AbraCadabra



Contributor

Posted 22 December 2018 - 02:31 PM

Dmd should be 4:1 ratio for most tables

Dmd resize and default settings info here
https://www.vpforums...als&article=136

#3 Imgema

Imgema

    Enthusiast

  • Members
  • PipPipPip
  • 78 posts

  • Flag: Greece

  • Favorite Pinball: Dinner

Posted 22 December 2018 - 05:32 PM

Dmd should be 4:1 ratio for most tables

Dmd resize and default settings info here
https://www.vpforums...als&article=136

Thanks for the reply.

 

However, these settings didn't help. The DMD ignores anything i set with the screenRes utility and it's always the same tiny window. I don't know what i'm doing wrong.



#4 Outhere

Outhere

    Pinball Wizard

  • Platinum Supporter
  • 4,795 posts

  • Flag: United States of America

  • Favorite Pinball: M M

Posted 22 December 2018 - 05:42 PM

Info

https://www.vpforums...e=7#entry346276



#5 Imgema

Imgema

    Enthusiast

  • Members
  • PipPipPip
  • 78 posts

  • Flag: Greece

  • Favorite Pinball: Dinner

Posted 22 December 2018 - 06:05 PM

I tried everything suggested here. The DMD stays in it's default size, nothing changes. I tried 3 different tables.

 

I'm using the screen res utility as suggested and even though in the preview it looks like the window is changing size-position, when i load the table the DMD is the same default size/position as it always been.

 

Maybe this is way is above my head, i don't know. Thanks for trying to help though.

 

 

Edit: I'm looking for a way to change the size of the DMD evenly. I found this info in your links:

 

DMD Size and Location
---------------------
1) Right click on DMD and enable Border
2) Click and drag DMD to new location.  Click and drag on edges to resize
3) Right click and hide the border (If the DMD moves back or changes to orig size, try moving it to desired location, shake it a little before hiding the border)

 

I knew this but it does not change the size evenly.

 

Every other option (like trying to define the size/position through the screenRes/txt) does not do anything.


Edited by Imgema, 22 December 2018 - 06:19 PM.


#6 Carny_Priest

Carny_Priest

    Pinball Fan

  • Members
  • PipPipPipPip
  • 1,257 posts
  • Location:Austin, TX

  • Flag: United States of America

  • Favorite Pinball: EATPM

Posted 22 December 2018 - 06:48 PM

screenres.txt is for B2S rendered displays only. It does nothing for VPinMAME rendered DMD window. If you need to have precision with the size and location of the VPinMAME DMD you can manually modify the rom settings in the VPinMAME registry using regedit.

 

If you configure exactly how you want it to look for the rom then you can change the keys in the default registry entry to use the same size and location as the rom and any new roms you add in the future will use the same settings.


Edited by Carny_Priest, 22 December 2018 - 06:51 PM.


#7 Imgema

Imgema

    Enthusiast

  • Members
  • PipPipPip
  • 78 posts

  • Flag: Greece

  • Favorite Pinball: Dinner

Posted 22 December 2018 - 10:18 PM

screenres.txt is for B2S rendered displays only. It does nothing for VPinMAME rendered DMD window. If you need to have precision with the size and location of the VPinMAME DMD you can manually modify the rom settings in the VPinMAME registry using regedit.

 

If you configure exactly how you want it to look for the rom then you can change the keys in the default registry entry to use the same size and location as the rom and any new roms you add in the future will use the same settings.

Thanks for the reply. Not very comfortable with messing with the registry but i'll see if i can figure it out. Hope there is an easier way to do this in the near future.



#8 kiwi

kiwi

    Pinball Fan

  • VIP
  • 2,627 posts

  • Flag: Italy

  • Favorite Pinball: Star Trek 25th Anniversary



Posted 23 December 2018 - 06:51 AM

You can set the position and the dimensions of the DMD also through the scripts, this is the typical code to add in the "Table1_Init" section:

.Games(cGamesName).Settings.Value("dmd_pos_x")=0
.Games(cGamesName).Settings.Value("dmd_pos_y")=0
.Games(cGamesName).Settings.Value("dmd_width")=400
.Games(cGamesName).Settings.Value("dmd_height")=100

the value after the equal is to be changed.

Table1 is the default table name and almost everyone leaves it like that,

the table name is at the top of the property panel (in the editor, right panel when no object is selected).

 
In my tables the code is already implemented, but commented out,
that is, with the apostrophe in front, just delete the apostrophe and change position and size.

 

It is not a rule that applies to all tables, you can find variants in the scripts, if you have any doubts ask again.



#9 Imgema

Imgema

    Enthusiast

  • Members
  • PipPipPip
  • 78 posts

  • Flag: Greece

  • Favorite Pinball: Dinner

Posted 23 December 2018 - 12:24 PM

You can set the position and the dimensions of the DMD also through the scripts, this is the typical code to add in the "Table1_Init" section:

.Games(cGamesName).Settings.Value("dmd_pos_x")=0
.Games(cGamesName).Settings.Value("dmd_pos_y")=0
.Games(cGamesName).Settings.Value("dmd_width")=400
.Games(cGamesName).Settings.Value("dmd_height")=100

the value after the equal is to be changed.

Table1 is the default table name and almost everyone leaves it like that,

the table name is at the top of the property panel (in the editor, right panel when no object is selected).

 
In my tables the code is already implemented, but commented out,
that is, with the apostrophe in front, just delete the apostrophe and change position and size.

 

It is not a rule that applies to all tables, you can find variants in the scripts, if you have any doubts ask again.

 

Thanks, this seems a more reasonable way to do this. Right now i found a little program called "setDMD" where you can give an exact size and position for all your DMDs, so you can multiply x 2 or 3 and have evenly distributed pixels. Problem is you can't do it for individual games, only for all of them at once. But i don't mind since i want the DMD to be the same size in almost all tables. Then i just drag to change the position for each one. If there is an individual table that needs it's own size, i'll try this method.



#10 Imgema

Imgema

    Enthusiast

  • Members
  • PipPipPip
  • 78 posts

  • Flag: Greece

  • Favorite Pinball: Dinner

Posted 24 December 2018 - 12:10 AM

Edit:

 

.Games(cGamesName).Settings.Value("dmd_width")=777
.Games(cGamesName).Settings.Value("dmd_height")=134

 

Works fine, thanks!


Edited by Imgema, 20 January 2019 - 01:34 PM.


#11 delta6014

delta6014

    Enthusiast

  • Members
  • PipPipPip
  • 161 posts
  • Location:Near Cincinnati Ohio

  • Flag: United States of America

  • Favorite Pinball: Star Trek TNG

Posted 26 December 2018 - 03:44 AM

Great info



#12 flstclasic

flstclasic

    Enthusiast

  • Members
  • PipPipPip
  • 182 posts

  • Flag: United States of America

  • Favorite Pinball: Attack from mars

Posted 26 December 2018 - 04:48 AM

Google set dmd alternative.

#13 jaykal001

jaykal001

    Neophyte

  • Members
  • Pip
  • 2 posts

  • Flag: United States of America

  • Favorite Pinball: Attack fromMars

Posted 06 January 2019 - 02:53 PM

Sorry to hijack this thread, but it's literally exactly what i'm struggling with.

I'm working on trying to get the virtual DMD section over to second monitor where I have the backglass going.  Based on everything I've read, watched videos one, etc - I expected the comment below to function:

 

 

DMD Size and Location
---------------------
1) Right click on DMD and enable Border
2) Click and drag DMD to new location.  Click and drag on edges to resize
3) Right click and hide the border (If the DMD moves back or changes to orig size, try moving it to desired location, shake it a little before hiding the border)

 

However, I cannot right-click on the DMD area.  Nothing happens, no menu, etc.  I've tried changing monitor focus, tried holding, etc.  I simply have no right-click menu there.  Assuming I did, I'd expect it to be fine, but since I can't enable a border, I can't seem to do anything.  (Additionally, if i click on the DMS screen, I can press "S" and get into the settings, but I can't right click on the DMD.

 

Thanks for being a great community, looking forward to being part of it!

Jay



#14 Outhere

Outhere

    Pinball Wizard

  • Platinum Supporter
  • 4,795 posts

  • Flag: United States of America

  • Favorite Pinball: M M

Posted 06 January 2019 - 02:59 PM

What game?



#15 gtxjoe

gtxjoe

    VPF Veteran

  • VIP
  • 5,132 posts

  • Flag: United States of America

  • Favorite Pinball: Medieval Madness, AbraCadabra



Contributor

Posted 06 January 2019 - 04:24 PM

Those directions apply if you are using the Vpinmame default DMD window.  If you can't drag the DMD around with the mouse then you have changed vpinmame to use an External DMD, like Freezy's DMDext DMD, so you will have to follow the DMDext directions are to move the DMD window



#16 jaykal001

jaykal001

    Neophyte

  • Members
  • Pip
  • 2 posts

  • Flag: United States of America

  • Favorite Pinball: Attack fromMars

Posted 06 January 2019 - 04:49 PM

What game?

 

Attack from Mars (VPX)

Backglass showing up on second monitor just fine, and there's the "cutout" area for the DMD.  However the virtualized DMD is on the primary monitor, next to the table, and that's where I can't right click/grab/drag, etc.

Game plays and functions so far, just getting hang of all these settings before I go as far as putting hardware into a cabinet.

 

**Only an issue with some tables, I guess.  I just set up T2, and that let me move it with no issues.  Will keep messing around.


Those directions apply if you are using the Vpinmame default DMD window.  If you can't drag the DMD around with the mouse then you have changed vpinmame to use an External DMD, like Freezy's DMDext DMD, so you will have to follow the DMDext directions are to move the DMD window

 In VPinMAME settings, I have the following 3 options, only the "show" option is marked.  This looked like it made sense, since i don't have an physical DMD device.

 

[   ] Cabinet Mode

[X]  Show DMD/Display window

[   ] Use external DMD (dll)


Edited by jaykal001, 06 January 2019 - 05:45 PM.


#17 Outhere

Outhere

    Pinball Wizard

  • Platinum Supporter
  • 4,795 posts

  • Flag: United States of America

  • Favorite Pinball: M M

Posted 06 January 2019 - 07:08 PM

Check Cabinet Mode



#18 captaincroutons

captaincroutons

    Hobbyist

  • Members
  • PipPip
  • 31 posts

  • Flag: United States of America

  • Favorite Pinball: Arabian Nights

Posted 26 September 2019 - 04:12 PM

I’m having a similar issue. I just started setting up VPX for the first time, and finally got TAF dialed in pretty well size wise, got the dmd placed properly, had some button issues but figured that out, and then played. Performance wasn’t satisfactory for me, I have an older gtx970, and had some ball stutter, so I switched my graphics settings in VPX to “low end,” and it reset ALL my settings, including table scale, etc. It also put the dmd back on the play field, and it’s an awkward size and now I CAN’T click it, right click it, or drag it. Not sure what setting changed from letting it lower my graphics settings, but I assume it has to be something there, since it won’t work now. Any help would be greatly appreciated. Thanks.

#19 captaincroutons

captaincroutons

    Hobbyist

  • Members
  • PipPip
  • 31 posts

  • Flag: United States of America

  • Favorite Pinball: Arabian Nights

Posted 26 September 2019 - 06:09 PM

Im not at home right now, but I realized that the fs backdrop box is unchecked now. Maybe thats preventing me from clicking the dmd?

EDIT: nope, didnt fix it. Dmd is still stuck. :(

Edited by captaincroutons, 26 September 2019 - 08:28 PM.


#20 justmull

justmull

    Neophyte

  • Members
  • Pip
  • 1 posts

  • Flag: Australia

  • Favorite Pinball: Black Knight

Posted 20 August 2020 - 03:40 PM

To set the default DMD size and position I edited the registry (start > run > regedit)
HKEY_CURRENT_USER\SOFTWARE\Freeware\Visual PinMame\default
Set the DWORD values of
dmd_height
dmd_pos_x 
dmd_pos_x
dmd_width

in decimal (pixels) to what I wanted

 

Then go and delete those DWORDS from the registry keys of any roms you've already run
Next time you run the table it will pull in the values from the default