Configure PinMAME DMD Default Global Position & Size
By default, any Pinball PinMAME table will set the DMD position to 0,0 or top left in your primary screen. To set it as default to another monitor, do the following:
Download this Windows registry file [https://www.vpforums.org/index.php?app=core&module=attach§ion=attach&attach_id=18176](https://www.vpforums.org/index.php?app=core&module=attach§ion=attach&attach_id=18176) to your Windows Registry. Double click to add.
Credits to @Neophyte from VPforums ([https://www.vpforums.org/index.php?showtopic=26338](https://www.vpforums.org/index.php?showtopic=26338)) for this file
If that file is no longer available, create a new file and renamed it to `vpinmame_default_dmd_settings.reg`. Then double click to run.
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\Freeware\Visual PinMame\default] "cheat"=dword:00000001 "sound"=dword:00000001 "samples"=dword:00000001 "dmd_compact"=dword:00000000 "dmd_doublesize"=dword:00000001 "samplerate"=dword:0000ac44 "dmd_antialias"=dword:00000032 "synclevel"=dword:00000000 "showpindmd"=dword:00000000 "fastframes"=dword:ffffffff "ignore_rom_crc"=dword:00000001 "cabinet_mode"=dword:00000001 "dmd_red"=dword:000000ff "dmd_green"=dword:00000058 "dmd_blue"=dword:00000020 "dmd_perc66"=dword:00000043 "dmd_perc33"=dword:00000021 "dmd_perc0"=dword:00000014 "dmd_title"=dword:00000000 "dmd_only"=dword:00000001 "dmd_border"=dword:00000000 @=dword:00000001 "keepaspect"=dword:00000001 "dmd_pos_x"=dword:0000079b "dmd_pos_y"=dword:0000017d "dmd_width"=dword:000001e6 "dmd_height"=dword:00000081
Open `regedit` from your Windows Run Command (Win+R), then go to `Computer\HKEY_CURRENT_USER\Software\Freeware\Visual PinMame\default`
![Untitled](Untitled%20a40674054d024c779a4a11e94a84971d/Untitled.png)
You’ll see a lot of folders there. Each folder correspond to a rom in PinMAME.
By default, each ROM table that you NEVER RUN before should only has a cabinet entry.
![Untitled](Untitled%20a40674054d024c779a4a11e94a84971d/Untitled%201.png)
<aside>
💡 **How this global settings registry is read**
When you first launch any PinMAME table, it will go to its matched rom registry and lookup for settings there. If there is none, then it will read from the `default` entry in the same tree and copy the entire missing entry to its rom entry. Which is why the author created a `default` entry there in the first place.
</aside>
To configure the default DMD position and size, you just have to modify 5 settings:
```jsx
dmd_doublesize: how much to scale from the original size
dmd_height: height of dmd in pixel unit (px)
dmd_width: width of dmd in pixel unit (px)
dmd_pos_x: absolute coordinate x starting from your primary monitor
dmd_pos_y: absolute coordiate y starting from your primary monitor
```
![Untitled](Untitled%20a40674054d024c779a4a11e94a84971d/Untitled%202.png)
## Configure DMD Postion
Both `dmd_pos_x` and `dmd_pos_y` is the absolute x,y position starting from your primary screen. So if I wanted the whole DMD to placed in monitor #3, its pos x would be 0, but y would be different.
![Untitled](Untitled%20a40674054d024c779a4a11e94a84971d/Untitled%203.png)
Launch any PinMAME table and you should see the DMD, then drag it to the monitor that you want. Close the game and go back to regedit and that rom entry, you should see both of these values will be updated. Typically you just need to set `dmd_pos_x` to `0` if your DMD screen is left aligned perfectly as shown in the figure above.
## Configure DMD Size
For this I found that setting `dmd_doublesize` to `5` is the best fit for my monitor #3 that is resolution of 1280x390. If yours is different you might adjust differently.
![Untitled](Untitled%20a40674054d024c779a4a11e94a84971d/Untitled%204.png)
After setting, just adjust the `dmd_height` and `dmd_width` one by one until it fit the entire monitor. It helps to have another video running in full screen in the background in the DMD monitor so you can tell if the DMD display actually fit the whole monitor.
After setting, just adjust the `dmd_height` and `dmd_width` one by one until it fit the entire monitor. It helps to have another video running in full screen in the background in the DMD monitor so you can tell if the DMD display actually fit the whole monitor.