Wikis > Visual Pinball Knowledge Base > UltraDMD, color and position

The UltraDMD may be positioned and colored for each individual table that uses it (versus a single, global setting).  This is set in the table’s script.  Without this script, setting the position and colors of the UltraDMD  in one table messes up the settings on other tables, etc.

The following script example and explanations were provided by Freelunch – ref :

'---------- UltraDMD Unique Table Color preference -------------
Dim DMDColor, DMDColorSelect, UseFullColor
Dim DMDPosition, DMDPosX, DMDPosY, DMDSize, DMDWidth, DMDHeight 

UseFullColor = "False"        '  "True" / "False"
DMDColorSelect = "Green"      ' Rightclick on UDMD window to get full list of colours

DMDPosition = True                        ' Use Manual DMD Position, True / False
DMDPosX = 100                             ' Position in Decimal
DMDPosY = 40                              ' Position in Decimal

DMDSize = True                            ' Use Manual DMD Size, True / False
DMDWidth = 512                            ' Width in Decimal
DMDHeight = 128                           ' Height in Decimal 

'Note open Ultradmd and right click on window to get the various sizes in decimal 

Sub GetDMDColor
Dim WshShell,filecheck,directory
Set WshShell = CreateObject("WScript.Shell")
If DMDSize then
WshShell.RegWrite "HKCU\Software\UltraDMD\w",DMDWidth,"REG_DWORD"
WshShell.RegWrite "HKCU\Software\UltraDMD\h",DMDHeight,"REG_DWORD"
End if
If DMDPosition then
WshShell.RegWrite "HKCU\Software\UltraDMD\x",DMDPosX,"REG_DWORD"
WshShell.RegWrite "HKCU\Software\UltraDMD\y",DMDPosY,"REG_DWORD"
End if
WshShell.RegWrite "HKCU\Software\UltraDMD\fullcolor",UseFullColor,"REG_SZ"
WshShell.RegWrite "HKCU\Software\UltraDMD\color",DMDColorSelect,"REG_SZ"
End Sub
1 Comment

Comments are closed.

  1. stampedem 2 years ago

    m very interested in this topic at the moment. Can anyone explain more about the registry edit for UltraDMD. My particular issue is that UltraDMD does not have a size setting for 1280×720 LCD DMDs. It has has larger and smaller, but not this one. Ive been told that I can go into regedit and add this option. But truthfully, I have no idea what Im doing. Its a true mystery for me in there. And its compounded by the fact that I KNOW I can really mess up my computer if I do something wrong. I have tried some of the individual table script that has been offered, but its been challenging to apply across different tables, since theyre scripting format are not very uniform. This leads me to believe that the easiest one-time solution is to just add the 1280×720 radial button option to the UltraDMD confit menu list.

    Can anyone provide me some direction on how I might go about using the regedit tool? I hate to ask, but this is programming outside of my abilities. And as authors keep on producing newer Stern Tables (as a notible example), this will become more and more of an issue for me.

    I would appreciate any guidance very much!



Log in with your credentials


Forgot your details?

Create Account

The Vpinball app