Jump to content



Photo
* * * * * 6 votes

FlexDMD, an UltraDMD alternative

UltraDMD DMD

  • Please log in to reply
835 replies to this topic

#801 JDEC

JDEC

    Hobbyist

  • Members
  • PipPip
  • 11 posts

  • Flag: France

  • Favorite Pinball: AC/DC Premium

Posted 08 December 2022 - 12:48 PM

Make sure option 7 in DmdDevice.ini is set to true.

 

Not sure what option 7 is ?

 

What I have in the DmdDevice.ini :

 

[global]
 
; how to scale games to smaller or larger displays: fit, fill or stretch
resize = fit
 
; flips the image horizontally
fliphorizontally = false
 
; flips the image vertically
flipvertically = false
 
; enable or disable frame-by-frame colorization (inactive in VPX bundle)
colorize = true
 
; scaler mode for standard content (vpm frames): doubler, scale2x. 
; note: see readme.md for details
scalermode = scale2x
 
; always scale standard vpm frames to 256x64
; note: see readme.md for details
scaletohd = false
 
; a DMD that renders with nice dots on a computer monitor
[virtualdmd]
enabled = false
 
; virtual dmd stays on top of all other windows
stayontop = false
 
; ignore the aspect ratio of the rendered dots when resizing
ignorear = false
 
; use VPM's registry values when positioning the virtual dmd
useregistry = false
 
; x-axis of the window position
left = 0
 
; y-axis of the window position
top = 0
 
; width of the dmd in monitor pixels
width = 1024
 
; height of the dmd in monitor pixels
height = 256
 
; style to apply to games where it's not explicitly set
style = default
 
; scale the dot size (set to 0.8 for same size as pre-1.6.0)
style.default.dotsize = 0.85
 
; rounding of the dots (0 is square, 1 is circle)
style.default.dotrounding = 0.85
 
; scale the brightness of the dots
style.default.brightness = 0.95
 
; amount of glow to add around the dots
style.default.dotglow = 0.3
 
; amount of glow of the dots background (very blurry diffuse glow)
style.default.backglow = 0.4
 
; gamma correction (1.0 to disable, a value around 2.2 should be used)
style.default.gamma = 1
 
; amount of lighting of unlit dots
style.default.unlitdot = #00000000
 
; texture path for the DMD glass
style.default.glass = 
 
; Amount and color of lighting of the glass coming from the room
style.default.glass.color = #00000000
 
; Amount of lighting of the glass coming from the DMD
style.default.glass.lighting = 0
 
; sharpness of the dots
style.default.dotsharpness = 0.8
 
; padding of the DMD under the glass (fake unlit dots are added around the real DMD to account for this padding)
style.default.glass.padding.left = 0
style.default.glass.padding.top = 0
style.default.glass.padding.right = 0
style.default.glass.padding.bottom = 0
 
; texture path for an overlay frame
style.default.frame = 
 
; padding of the glass under the frame
style.default.frame.padding.left = 0
style.default.frame.padding.top = 0
style.default.frame.padding.right = 0
style.default.frame.padding.bottom = 0
 
; Legacy style (plain square dots without any effects)
style.legacy.dotsize = 0.92
style.legacy.dotrounding = 1.0
style.legacy.brightness = 1.0
style.legacy.dotglow = 0.0
style.legacy.backglow = 0.0
style.legacy.gamma = 1.0
style.legacy.unlitdot = #00000000
style.legacy.glass = null
style.legacy.glass.color = #00000000
style.legacy.glass.lighting = 0.0
style.legacy.glass.padding.left = 0
style.legacy.glass.padding.top = 0
style.legacy.glass.padding.right = 0
style.legacy.glass.padding.bottom = 0
style.legacy.frame = null
style.legacy.frame.padding.left = 0
style.legacy.frame.padding.top = 0
style.legacy.frame.padding.right = 0
style.legacy.frame.padding.bottom = 0
 
; Example of using the glass padding to fit a 128x16 DMD in a 128x32 display frame
style.dataeast-128x16.dotsize = 0.5
style.dataeast-128x16.dotrounding = 0.5
style.dataeast-128x16.brightness = 8
style.dataeast-128x16.dotglow = 0.03
style.dataeast-128x16.backglow = 0.03
style.dataeast-128x16.gamma = 2.2
style.dataeast-128x16.glass = null
style.dataeast-128x16.glass.color = #00000000
style.dataeast-128x16.glass.lighting = 0
style.dataeast-128x16.glass.padding.left = 0
style.dataeast-128x16.glass.padding.top = 8
style.dataeast-128x16.glass.padding.right = 0
style.dataeast-128x16.glass.padding.bottom = 8
style.dataeast-128x16.frame = null
style.dataeast-128x16.frame.padding.left = 0
style.dataeast-128x16.frame.padding.top = 0
style.dataeast-128x16.frame.padding.right = 0
style.dataeast-128x16.frame.padding.bottom = 0
style.dataeast-128x16.unlitdot = #FF2C1600
style.bluesquare.brightness = 3.24
style.bluesquare.dotsize = 0.72
style.bluesquare.dotrounding = 0
style.bluesquare.dotsharpness = 0.8
style.bluesquare.unlitdot = #00000000
style.bluesquare.dotglow = 0.186178861788618
style.bluesquare.backglow = 0.11
style.bluesquare.gamma = 0.94
style.bluesquare.tint = #ff2852f5
style.bluesquare.glass = textures\glasses\glass3.jpg
style.bluesquare.glass.color = #ff5477ff
style.bluesquare.glass.lighting = 0.13
style.bluesquare.glass.padding.left = 0
style.bluesquare.glass.padding.top = 0
style.bluesquare.glass.padding.right = 0
style.bluesquare.glass.padding.bottom = 0
 
; bally frame by wiesshund
style.bally.brightness = 0.95
style.bally.dotsize = 0.85
style.bally.dotrounding = 0.85
style.bally.dotsharpness = 0.8
style.bally.unlitdot = #00000000
style.bally.dotglow = 0.3
style.bally.backglow = 0.4
style.bally.gamma = 1
style.bally.tint = #00ff5820
style.bally.glass = 
style.bally.glass.color = #00000000
style.bally.glass.lighting = 0
style.bally.glass.padding.left = 0
style.bally.glass.padding.top = 0
style.bally.glass.padding.right = 0
style.bally.glass.padding.bottom = 0
style.bally.frame = textures\frames\bally.png
style.bally.frame.padding.left = 2.4
style.bally.frame.padding.top = 0.9
style.bally.frame.padding.right = 1
style.bally.frame.padding.bottom = 15.03
 
; metal frame by benji
style.metal1.brightness = 0.95
style.metal1.dotsize = 0.92
style.metal1.dotrounding = 1
style.metal1.dotsharpness = 0.8
style.metal1.unlitdot = #00000000
style.metal1.dotglow = 0
style.metal1.backglow = 0
style.metal1.gamma = 1
style.metal1.tint = #00ff5820
style.metal1.glass = 
style.metal1.glass.color = #00000000
style.metal1.glass.lighting = 1
style.metal1.glass.padding.left = 12
style.metal1.glass.padding.top = 12
style.metal1.glass.padding.right = 12
style.metal1.glass.padding.bottom = 12
style.metal1.frame = textures\frames\metal4.png
style.metal1.frame.padding.left = 12
style.metal1.frame.padding.top = 12
style.metal1.frame.padding.right = 12
style.metal1.frame.padding.bottom = 12
 
[pindmd1]
 
; if false, doesn't bother looking for a pinDMD1
enabled = true
 
[pindmd2]
 
; if false, doesn't bother looking for a pinDMD2
enabled = true
 
[pindmd3]
 
; if false, doesn't bother looking for a pinDMD3
enabled = true
 
; COM port, e.g. COM3
port = 
 
[pin2dmd]
 
; if false, doesn't bother looking for a PIN2DMD
enabled = true
 
; how long to wait in milliseconds after sending a palette
delay = 25
 
[pixelcade]
 
; if false, doesn't bother looking for a Pixelcade
enabled = false
 
; COM port, e.g. COM3
port = 
 
; color matrix to use, either "rgb" or "rbg"
matrix = rgb
 
[networkstream]
 
; if enabled, stream to your DMD connected to another computer
enabled = false
 
; if enabled, retry connecting if the connection fails, default is false
retry = false
 
; interval in seconds between retry attempts, default is 5
retry-interval = 5
 
[browserstream]
 
; if enabled, stream to your browser in your LAN
enabled = false
port = 9090
 
[vpdbstream]
 
; if enabled, stream DMD to https://test.vpdb.io/live
enabled = false
 
[video]
 
; if enabled, writes frames to an .avi file
enabled = false
 
; path to folder or .avi file. if folder, gamename.avi is used.
path = 
 
[pinup]
 
; if enabled, send frames to PinUP.
enabled = false
 
[alphanumeric]
enabled = false
style = default
style.default.skewangle = 12
style.default.backgroundcolor = ff000000
style.default.foreground.enabled = true
style.default.foreground.color = fffbe6cb
style.default.foreground.blur.enabled = true
style.default.foreground.blur.x = 2
style.default.foreground.blur.y = 2
style.default.foreground.dilate.enabled = false
style.default.innerglow.enabled = true
style.default.innerglow.color = a0dd6a03
style.default.innerglow.blur.enabled = true
style.default.innerglow.blur.x = 15
style.default.innerglow.blur.y = 13
style.default.innerglow.dilate.enabled = true
style.default.innerglow.dilate.x = 15
style.default.innerglow.dilate.y = 10
style.default.outerglow.enabled = true
style.default.outerglow.color = 40b65829
style.default.outerglow.blur.enabled = true
style.default.outerglow.blur.x = 50
style.default.outerglow.blur.y = 50
style.default.outerglow.dilate.enabled = true
style.default.outerglow.dilate.x = 90
style.default.outerglow.dilate.y = 40
style.default.background.enabled = true
style.default.background.color = 20ffffff
style.default.background.blur.enabled = true
style.default.background.blur.x = 7
style.default.background.blur.y = 7
style.default.background.dilate.enabled = false
style.blue.skewangle = 12
style.blue.weight = Bold
style.blue.backgroundcolor = #ff000000
style.blue.foreground.enabled = true
style.blue.foreground.color = #ff00ffff
style.blue.foreground.blur.enabled = true
style.blue.foreground.blur.x = 2
style.blue.foreground.blur.y = 2
style.blue.foreground.dilate.enabled = false
style.blue.innerglow.enabled = true
style.blue.innerglow.color = #ff0000ff
style.blue.innerglow.blur.enabled = true
style.blue.innerglow.blur.x = 15
style.blue.innerglow.blur.y = 13
style.blue.innerglow.dilate.enabled = true
style.blue.innerglow.dilate.x = 15
style.blue.innerglow.dilate.y = 10
style.blue.outerglow.enabled = true
style.blue.outerglow.color = #ff000080
style.blue.outerglow.blur.enabled = true
style.blue.outerglow.blur.x = 50
style.blue.outerglow.blur.y = 50
style.blue.outerglow.dilate.enabled = true
style.blue.outerglow.dilate.x = 6
style.blue.outerglow.dilate.y = 40
style.blue.background.enabled = true
style.blue.background.color = #2dfffafa
style.blue.background.blur.enabled = true
style.blue.background.blur.x = 7
style.blue.background.blur.y = 7
style.blue.background.dilate.enabled = false
style.green.skewangle = 12
style.green.weight = Bold
style.green.backgroundcolor = #ff000000
style.green.foreground.enabled = true
style.green.foreground.color = #ff00ff00
style.green.foreground.blur.enabled = true
style.green.foreground.blur.x = 2
style.green.foreground.blur.y = 2
style.green.foreground.dilate.enabled = false
style.green.innerglow.enabled = true
style.green.innerglow.color = #eb00ff7f
style.green.innerglow.blur.enabled = true
style.green.innerglow.blur.x = 15
style.green.innerglow.blur.y = 13
style.green.innerglow.dilate.enabled = true
style.green.innerglow.dilate.x = 4
style.green.innerglow.dilate.y = 4
style.green.outerglow.enabled = true
style.green.outerglow.color = #b900fa9a
style.green.outerglow.blur.enabled = true
style.green.outerglow.blur.x = 50
style.green.outerglow.blur.y = 50
style.green.outerglow.dilate.enabled = true
style.green.outerglow.dilate.x = 1
style.green.outerglow.dilate.y = 2
style.green.background.enabled = true
style.green.background.color = #2dfffafa
style.green.background.blur.enabled = true
style.green.background.blur.x = 7
style.green.background.blur.y = 7
style.green.background.dilate.enabled = false
 
If you mean "stay on top" option, I changed it to true and it makes no difference :(

 

 

I dont think that dmdscreen.dll is needed. I do t have it on my system, but works like a charm.
Any other errors in the log if you try to use the flexdmdgui test tab ?

 

 

So the FlexDemo works

 

but when I run a table (say caballeros del zodiaco) then I have the following log

 

 [5] 2022/12/07 13:58:55.700  INFO | FlexDMD version 1.8.0.0 
 [5] 2022/12/07 13:58:55.763  INFO | Game name set to Designer 
 [5] 2022/12/07 13:58:55.773  INFO | Show DMD 
 [5] 2022/12/07 13:58:55.773  INFO | Loaded dmddevice.dll from C:\Visual Pinball\VPinMAME\dmddevice.dll to create a virtual DMD 
 [5] 2022/12/07 13:58:57.997 ERROR | Failed to load dmdscreen.dll in C:\Visual Pinball\VPinMAME\dmdscreen.dll 
 [5] 2022/12/07 13:58:57.997  INFO | Starting render thread for game 'Designer' using render mode DMD_GRAY_4 
[12] 2022/12/07 13:58:58.006  INFO | RenderThread start 
 [5] 2022/12/07 13:58:58.109  INFO | New font added to asset manager: FontDef [path=FlexDMD.Resources.teeny_tiny_pixls-5.fnt, tint=Color [White], border tint=Color [White], border size=0] 
 [5] 2022/12/07 13:58:58.139  INFO | New bitmap added to asset manager: FlexDMD.Resources.dmds.black.png 
 [5] 2022/12/07 13:59:00.386  INFO | Hide DMD 
 [5] 2022/12/07 13:59:00.391  INFO | Disposing DMD dynamic link library 
 [5] 2022/12/07 13:59:00.391  INFO | Stopping render thread 
[12] 2022/12/07 13:59:00.408  INFO | RenderThread end 
and nothing on the screen. Also I read "Hide DMD" as a comment. Maybe that is the issue. But why does it want to hide the DMD:BDH:

 

 

When you're running a table check the flexdmd log file in the Visual Pinball folder. That will probably show the issue.

 

 

 

Same log or near...

 

 [1] 2022/12/07 13:59:24.525  INFO | FlexDMD version 1.8.0.0 
 [1] 2022/12/07 13:59:24.525  INFO | Table File defined to Caballeros_del_Zodiaco.vpx 
 [1] 2022/12/07 13:59:24.525  INFO | Render mode set to DMD_RGB 
 [1] 2022/12/07 13:59:24.525  INFO | Game name set to Caballeros_del_Zodiaco 
 [1] 2022/12/07 13:59:24.555  INFO | Show DMD 
 [1] 2022/12/07 13:59:24.555  INFO | Loaded dmddevice.dll from C:\Visual Pinball\VPinMAME\dmddevice.dll to create a virtual DMD 
 [1] 2022/12/07 13:59:24.641 ERROR | Failed to load dmdscreen.dll in C:\Visual Pinball\VPinMAME\dmdscreen.dll 
 [1] 2022/12/07 13:59:24.641  INFO | Starting render thread for game 'Caballeros_del_Zodiaco' using render mode DMD_RGB 
[10] 2022/12/07 13:59:24.641  INFO | RenderThread start 
 [1] 2022/12/07 13:59:25.225  INFO | New bitmap added to asset manager: VPX.bkempty 
 [1] 2022/12/07 13:59:25.225  INFO | New bitmap added to asset manager: VPX.dempty&dmd=2 
[10] 2022/12/07 13:59:25.491  INFO | Attaching to Visual Pinball Player window lifecycle 
[10] 2022/12/07 13:59:25.491  WARN | Abnormally long elapsed time between frames of 0.2264549s (rendering lasted 226.4538ms, sleeping was 0ms), limiting to 66ms 
 [1] 2022/12/07 13:59:25.567  INFO | New bitmap added to asset manager: VPX.dempty&dmd=2&add 
 [1] 2022/12/07 13:59:25.567  INFO | New bitmap added to asset manager: VPX.dc&dmd=2&add 
 [1] 2022/12/07 13:59:25.579  INFO | New bitmap added to asset manager: VPX.dr&dmd=2&add 
 [1] 2022/12/07 13:59:25.579  INFO | New bitmap added to asset manager: VPX.de&dmd=2&add 
 [1] 2022/12/07 13:59:25.592  INFO | New bitmap added to asset manager: VPX.dd&dmd=2&add 
 [1] 2022/12/07 13:59:25.592  INFO | New bitmap added to asset manager: VPX.di&dmd=2&add 
 [1] 2022/12/07 13:59:25.592  INFO | New bitmap added to asset manager: VPX.dt&dmd=2&add 
 [1] 2022/12/07 13:59:25.610  INFO | New bitmap added to asset manager: VPX.ds&dmd=2&add 
 [1] 2022/12/07 13:59:25.610  INFO | New bitmap added to asset manager: VPX.d0&dmd=2&add 
 [1] 2022/12/07 13:59:25.625  INFO | New bitmap added to asset manager: VPX.dn&dmd=2&add 
 [1] 2022/12/07 13:59:25.625  INFO | New bitmap added to asset manager: VPX.do&dmd=2&add 
 
pfff. Tough


#802 bigus1

bigus1

    Pinball Fan

  • Members
  • PipPipPipPip
  • 994 posts
  • Location:Brisbane, Australia

  • Flag: Australia

  • Favorite Pinball: Firepower

Posted 08 December 2022 - 01:02 PM

; a DMD that renders with nice dots on a computer monitor
[virtualdmd]
enabled = false
 
That's your problem. Change that to true and you're away :)


#803 JDEC

JDEC

    Hobbyist

  • Members
  • PipPip
  • 11 posts

  • Flag: France

  • Favorite Pinball: AC/DC Premium

Posted 08 December 2022 - 02:52 PM

 

; a DMD that renders with nice dots on a computer monitor
[virtualdmd]
enabled = false
 
That's your problem. Change that to true and you're away :)

 

 

Hourray ! That works.

 

Thanks so much.  :love39:



#804 Mooserules

Mooserules

    Hobbyist

  • Members
  • PipPip
  • 16 posts

  • Flag: United States of America

  • Favorite Pinball: kiss stern

Posted 08 December 2022 - 03:31 PM

This sounds amazing. I I updated my b2s server to  1.4 and everything works great except now I lost my dot matrix flex/dmds for Kiss, SOA, ACDC, GNR. I have tried multiple things to recover them and no help. Do you think this could be a solution? I am on 10.7 and recently update freezy. 



#805 bigus1

bigus1

    Pinball Fan

  • Members
  • PipPipPipPip
  • 994 posts
  • Location:Brisbane, Australia

  • Flag: Australia

  • Favorite Pinball: Firepower

Posted 08 December 2022 - 03:41 PM

When I installed it, it was also set to false by default and I had the same nightmare.  So if yours says false it's turned off.



#806 Mike DA Spike

Mike DA Spike

    Pinball Fan

  • Platinum Supporter
  • 1,280 posts
  • Location:Hoofddorp

  • Flag: Netherlands

  • Favorite Pinball: Too many to mention

Posted 09 December 2022 - 06:25 PM

WMV the encoding is already figured out for you cause you dont really have a lot of options

Not sure what you exactly mean.
Do you mean that only wmv is encoded correctly in code and that any other video, must be added ?
I thought that IMFSourceReader should find a suitable codec on the system for the file.

WMV you get pretty much 0 options

MP4 and AVI are containers, but there are a lot of options on how the media gets packaged into the container

WMV you just get standard MS options as it is a MS windows specific format
There is a function 'setupvideodecoder' in the video.cs that should decode the video, but this function errors and will not return a good value. The following function 'nextframe' also errors, because the setupvideodecode returns wrong info and no frames can be retrieved from the video
I tried to add some extra log lines and compiled a new dll, but don't see the extra logging.
But think something odd is going on in that function (maybe a developer that understand more as I do, can look at that piece of code?)

Edited by Mike DA Spike, 09 December 2022 - 06:26 PM.

331ddabcc742f0ba74791e946eb0f791.gif Try PinballX Database manager as a replacement of PinballX's game list manager
With special thanks to Scutters 


#807 Mike DA Spike

Mike DA Spike

    Pinball Fan

  • Platinum Supporter
  • 1,280 posts
  • Location:Hoofddorp

  • Flag: Netherlands

  • Favorite Pinball: Too many to mention

Posted 10 December 2022 - 12:19 PM

 

There is a function 'setupvideodecoder' in the video.cs that should decode the video, but this function errors and will not return a good value. The following function 'nextframe' also errors, because the setupvideodecode returns wrong info and no frames can be retrieved from the video
I tried to add some extra log lines and compiled a new dll, but don't see the extra logging.
But think something odd is going on in that function (maybe a developer that understand more as I do, can look at that piece of code?)

 

Well, I found the workarround.
Technicly all is working, but my test machine and my cabinet where screwed up a bit.
I thought my flexDMD was used from the \VisualPinball\Pinmame directory, but checking the registry, it was in a sub folder as I used in the past 1.7.
Installing it via a AIO installer, properly didn't fix the registration pat in the registry.
Thats why my modified DLL in the  \VisualPinball\Pinmamedirectory didn't show anything

That was step 1.

 

Step2 : The version 1.8.0 that is the latest release, doesnt play ÁVI and MP$, but downlopading the source code, it shows that it is 1.8.1.
Compiling this, shows avi and MP4

 [5] 2022/12/10 12:48:42.442  INFO | FlexDMD version 1.8.0.0 
 [5] 2022/12/10 12:48:42.475  INFO | Game name set to Designer 
 [5] 2022/12/10 12:48:42.481  INFO | Show DMD 
 [5] 2022/12/10 12:48:42.481  INFO | Loaded dmddevice.dll from C:\Pinball\Visual Pinball\VPinMAME\dmddevice.dll to create a virtual DMD 
 [5] 2022/12/10 12:48:43.618  INFO | dmdscreen.dll was not loaded since it is not available from C:\Pinball\Visual Pinball\VPinMAME\dmdscreen.dll 
 [5] 2022/12/10 12:48:43.619  INFO | Starting render thread for game 'Designer' using render mode DMD_GRAY_4 
[17] 2022/12/10 12:48:43.619  INFO | RenderThread start 
 [5] 2022/12/10 12:48:45.545  INFO | Hide DMD 
 [5] 2022/12/10 12:48:45.571  INFO | Disposing DMD dynamic link library 
 [5] 2022/12/10 12:48:45.571  INFO | Render mode set to DMD_RGB 
 [5] 2022/12/10 12:48:45.571  INFO | Show DMD 
 [5] 2022/12/10 12:48:45.573  INFO | Loaded dmddevice.dll from C:\Pinball\Visual Pinball\VPinMAME\dmddevice.dll to create a virtual DMD 
 [5] 2022/12/10 12:48:45.719  INFO | dmdscreen.dll was not loaded since it is not available from C:\Pinball\Visual Pinball\VPinMAME\dmdscreen.dll 
[17] 2022/12/10 12:48:45.732  WARN | Abnormally long elapsed time between frames of 0.1552663s (rendering lasted 155.2658ms, sleeping was 0ms), limiting to 66ms 
 [5] 2022/12/10 12:48:45.746  INFO | Default RGB24 is not supported, trying RGB32 for file 'C:\temp\filename.mp4' 
 [5] 2022/12/10 12:48:45.762  INFO | Video opened: C:\temp\filename.mp4 size=128x32 length=15.467s (1 videos are currently opened) 
[17] 2022/12/10 12:49:01.143  INFO | End of stream 
 [5] 2022/12/10 12:51:17.217  INFO | Video closed: C:\temp\filename.mp4 size=128x32 length=15.467s (0 remaining videos are currently opened) 
 [5] 2022/12/10 12:51:17.258  INFO | Default RGB24 is not supported, trying RGB32 for file 'C:\temp\filename.avi' 
 [5] 2022/12/10 12:51:17.260  INFO | Video opened: C:\temp\filename.avi size=128x32 length=21.45477s (1 videos are currently opened) 
[17] 2022/12/10 12:51:38.668  INFO | End of stream 

As the project failed to compile, I needed to update NUGet package Fody to version 6.6.4, otherwise FLEXDMDUI gave an error

I created a new Zip file and attached it with all the updates (I didn't change any code !)

And if you extract that on your current FLEXDMD location It will shows 1.8.1 

50bd924710e0b29025d3dc05b9779a33.png

 

For people who has issues with FLXDMD to run, try my registry cleaner

Save the following as DeleteFlexDMD.reg. Make sure flex DMD is clsoed and run this reg file (just double click it)

Now start DMDflexGui again and register the files again

Windows Registry Editor Version 5.00

[-HKEY_CLASSES_ROOT\CLSID\{766E10D3-DFE3-4E1B-AC99-C4D2BE16E91F}]
[-HKEY_CLASSES_ROOT\FlexDMD.FlexDMD]
[-HKEY_CLASSES_ROOT\Record\{3ABF2DA1-819B-462E-AC1C-6BF8BF625D36}]
[-HKEY_CLASSES_ROOT\Record\{77FB8996-E143-42A4-B695-14E0314D92FC}]
[-HKEY_CLASSES_ROOT\WOW6432Node\CLSID\{766E10D3-DFE3-4E1B-AC99-C4D2BE16E91F}]

I hope this helps people with issues with FLEX.

Als for table authors, you can now use other video types as WMV as well

Attached Files


331ddabcc742f0ba74791e946eb0f791.gif Try PinballX Database manager as a replacement of PinballX's game list manager
With special thanks to Scutters 


#808 Mike DA Spike

Mike DA Spike

    Pinball Fan

  • Platinum Supporter
  • 1,280 posts
  • Location:Hoofddorp

  • Flag: Netherlands

  • Favorite Pinball: Too many to mention

Posted 13 December 2022 - 08:34 AM

I noticed that Version 1.8.1 could have some issues.
My good friend Scutters was busy to make a flex version of Firepower and the texts where not aligned correctly.
With version 1.8.0 it worked fine.
So I downloaded the 1.8.0 source code and only changed the video encoding part.
 
This is now a modified version of the original 1.8.0 from github.!
 
The only change I Did was copied the encoder part from 1.8.1 to 1.8.0 (and leave the rest of the changes from 1.8.1 out of scope)
Attached is the modified video.cs that I created. If you don't trust my DLL, download the 1.8.0 from the original github and replace the video.cs from my zip file and recompile it)
This will give the same results as the original 1.8.0, but with mp4 and avi support
 
Heres a video from Firepower with 1.8.1  https://youtu.be/WsAXXX11rWE
 
and here with my modified 1.8.0 :https://youtu.be/wliAvXoA56w

Attached Files


Edited by Mike DA Spike, 13 December 2022 - 06:25 PM.

331ddabcc742f0ba74791e946eb0f791.gif Try PinballX Database manager as a replacement of PinballX's game list manager
With special thanks to Scutters 


#809 wiesshund

wiesshund

    VPF Legend

  • Members
  • PipPipPipPipPipPipPip
  • 11,871 posts

  • Flag: United States of America

  • Favorite Pinball: How many can i have?

Posted 13 December 2022 - 01:30 PM

Why dont you fork that and submit it as 1.8.2 ?


If you feel the need to empty your wallet in my direction, i don't have any way to receive it anyways

Spend it on Hookers and Blow


#810 Mike DA Spike

Mike DA Spike

    Pinball Fan

  • Platinum Supporter
  • 1,280 posts
  • Location:Hoofddorp

  • Flag: Netherlands

  • Favorite Pinball: Too many to mention

Posted 13 December 2022 - 02:01 PM

Why dont you fork that and submit it as 1.8.2 ?

Because I'm dumb and never used github as it should be used.
Techniclly it is not 1.8.2, but more 1.8.0.1 as it has some code from 1.8.1, but not all

Edited by Mike DA Spike, 13 December 2022 - 03:00 PM.

331ddabcc742f0ba74791e946eb0f791.gif Try PinballX Database manager as a replacement of PinballX's game list manager
With special thanks to Scutters 


#811 wiesshund

wiesshund

    VPF Legend

  • Members
  • PipPipPipPipPipPipPip
  • 11,871 posts

  • Flag: United States of America

  • Favorite Pinball: How many can i have?

Posted 13 December 2022 - 03:33 PM

 

Why dont you fork that and submit it as 1.8.2 ?

Because I'm dumb and never used github as it should be used.
Techniclly it is not 1.8.2, but more 1.8.0.1 as it has some code from 1.8.1, but not all

 

 

fine, 1.8.0.0 3/4 


If you feel the need to empty your wallet in my direction, i don't have any way to receive it anyways

Spend it on Hookers and Blow


#812 SmedleyB

SmedleyB

    Enthusiast

  • Members
  • PipPipPip
  • 56 posts

  • Flag: ---------

  • Favorite Pinball: Theatre of Magic

Posted 18 January 2023 - 04:48 PM

I'm loading tables running flexdmd with nvidia/windows set to 120hz refresh rate, but vpx set to 165hz. What is happening, only for tables using flexdmd, is that my playfield is getting switched to what I guess is windowed mode (and thus still running @ Windows setting of 120hz)? All my buttons work and I can play as usual and it seems like VPX has focus in Windows. But if I alt-tab, I can see a pic of the playfield like when you have VPX set to windowed mode (as compared to an empty space shown when in fullscreen). So if I alt-tab through to my playfield, then it switches to fullscreen mode and changes refresh to 165.

 

Any ideas on what i could try to workaround this behavior?


Edited by SmedleyB, 18 January 2023 - 04:54 PM.


#813 steelballz

steelballz

    Hobbyist

  • Members
  • PipPip
  • 11 posts

  • Flag: Japan

  • Favorite Pinball: Medieval Madness

Posted 19 January 2023 - 09:47 AM

flexdmd seems to render to my main display and not my headset. tried messing with many settings and couldn't get it. anyone know what's going on?

 

i notice some scripts, including the flexdmd demo, have this bit:

Sub Table1_Exit()
If Not FlexDMD is Nothing Then
        FlexDMD.Show = False
        FlexDMD.Run = False
        FlexDMD = NULL
End If
End Sub

which results in:

Runtime error
-------------
Line: 178
Object required

Stack trace (Most recent call first):
Table1_Exit

i also get this error even though the FlexDemo works and i can see the DMD in VR. i'm trying a VR room though and can't seem to see either flexdmd or b2s. played with positioning a bit but i'm not sure what it could be since the FlexDemo works. i can see it on my desktop if i turn that setting on though.

 

flexdmd designer test runs fine.

 

i did have some errors in flexdmd/dmddevice logs, but it was related to settings in dmddevice.ini and i'm not seeing any new errors since updating the config.


Edited by steelballz, 19 January 2023 - 10:00 AM.


#814 Mike DA Spike

Mike DA Spike

    Pinball Fan

  • Platinum Supporter
  • 1,280 posts
  • Location:Hoofddorp

  • Flag: Netherlands

  • Favorite Pinball: Too many to mention

Posted 19 January 2023 - 12:47 PM

flexdmd seems to render to my main display and not my headset. tried messing with many settings and couldn't get it. anyone know what's going on?

i notice some scripts, including the flexdmd demo, have this bit:

Sub Table1_Exit()
If Not FlexDMD is Nothing Then
        FlexDMD.Show = False
        FlexDMD.Run = False
        FlexDMD = NULL
End If
End Sub
which results in:
Runtime error
-------------
Line: 178
Object required

Stack trace (Most recent call first):
Table1_Exit
i also get this error even though the FlexDemo works and i can see the DMD in VR. i'm trying a VR room though and can't seem to see either flexdmd or b2s. played with positioning a bit but i'm not sure what it could be since the FlexDemo works. i can see it on my desktop if i turn that setting on though.

flexdmd designer test runs fine.

i did have some errors in flexdmd/dmddevice logs, but it was related to settings in dmddevice.ini and i'm not seeing any new errors since updating the config.

You mean, you dont see it on your vr headset ?
You properly need to add a flasher named DMD and give it the size and location.
That worked for me

331ddabcc742f0ba74791e946eb0f791.gif Try PinballX Database manager as a replacement of PinballX's game list manager
With special thanks to Scutters 


#815 steelballz

steelballz

    Hobbyist

  • Members
  • PipPip
  • 11 posts

  • Flag: Japan

  • Favorite Pinball: Medieval Madness

Posted 19 January 2023 - 06:06 PM

it displays in my headset for the flexdmd demo, but not the table i tried it with. i actually saw you comment on the table in question, it's the robocop one. i couldn't get the b2s to display on the table either but have with others in VR. still not sure why i get the errors when i close tables either. error only seems to show up when using vr, but flexdmd is working fine. flexdmd install was simple and it says it installed properly. i have 10.8 beta installed at a different path then my 10.7, not sure if that is causing issues due to all the path configs and things they keep in registry.

 

my next test later was going to be trying another flexdmd table. another note is FlexDemo works properly in VR but not flatscreen.

 

https://www.vpforums...showtopic=46555 is this what has to be done?


Edited by steelballz, 19 January 2023 - 06:14 PM.


#816 Mike DA Spike

Mike DA Spike

    Pinball Fan

  • Platinum Supporter
  • 1,280 posts
  • Location:Hoofddorp

  • Flag: Netherlands

  • Favorite Pinball: Too many to mention

Posted 19 January 2023 - 06:17 PM

By default, the table from robocop as download, would not play the flexdmd in VR (even not when setting useflexdmd to 1). As I said in the previous post, there's no object that displays it. I think this is the case for most of scutters flexed tables, as they normally use an alphanumeric display and thats displayed different in VR as an dmd display

The error you see during exit, is a bit strange, but I had it too and created a work arround for it.

I actually discussed it with scutters (who does do most of the vpinmame to flexdmd conversions) and he will add the modified code to his future new versions.
I think the six million dollar man from bigus1 has the new exit code in it.
I made a minimum vr room from the templates from VPU for this table as well where the flexDMD is working. I didnt create a cabinet and backbox, but you wont notice that during gameplay

Back to Robocop. If you want flexdmd on your vr, you need to modify the vbscript a bit, add a collection and add an flasher object to show the dmd.

I can share my modified vr table with you, but cannot give any guarantee that all work for you.
Drop me a pm and I will send you a download link

I have vp 10.7.3 for my cabinet and also in another directory 10.8 beta. Works like a charm, i only use a bat file to switch regkeys, dmddevice.dll and my proc settings between cabinet and VR

Edited by Mike DA Spike, 20 January 2023 - 06:05 PM.

331ddabcc742f0ba74791e946eb0f791.gif Try PinballX Database manager as a replacement of PinballX's game list manager
With special thanks to Scutters 


#817 Psychopsonic

Psychopsonic

    Hobbyist

  • Members
  • PipPip
  • 15 posts
  • Location:Raleigh, NC

  • Flag: United States of America

  • Favorite Pinball: STTNG, TOTAN, TOM

  • 360 Gamer Tag: Reamalot

Posted 29 July 2023 - 12:59 AM

Ok, got it working. Looking more closely at the script error, it appears it was looking for the image file “bkempty”, but specifically from a .vpx file. Years ago there was an issue with the front end Hyperpin not opening .vpx filed when vpx first came out. If you changed the extension from .vpx to .vpt, however, Hyperpin could open them. So I had gotten into the habit of changing All tables to .vpt. Welp, that was causing the issue. Changed it back to .vpx and it all works now. Am I the only one still using Hyperion as a front end? Or is changing them to .vpt still necessary anymore? This goes back to me not keeping up to date with things. I am way behind the times!

 

Bumping this resolution because it solved a similar mystery for me tonight!

 

I'm also using an old desktop front end, VP-Man 5.50. To get tables to launch in that, I have to change table file extensions from vpx to vpt as well. Changed back to .vpx and launched outside VP-Man, and the table worked fine!

 

Can anyone please recommend a good front end for VPX that's aimed at desktop PC setups instead of cabs? Or a cab one that most desktop users like too?

I've spent countless hours entering data about tables, creating rulesheets and making screenshots for VP-Man over the years, I would love to be able to reuse them if possible. Thanks!


Thanks to all VP content creators!


#818 xenonph

xenonph

    I have Pinball Fever!

  • VIP
  • 4,141 posts
  • Location:Castle Rock, WA.

  • Flag: United States of America

  • Favorite Pinball: TRON Classic-Congo-Xenon-PINBOT-BOP-LOTR-A Real American Hero OPERATION PINBALL-Millionaire-Whirlwind-Krull-NFL-BlackKnight-FishTales

Contributor

Posted 29 July 2023 - 02:23 AM

 

Ok, got it working. Looking more closely at the script error, it appears it was looking for the image file “bkempty”, but specifically from a .vpx file. Years ago there was an issue with the front end Hyperpin not opening .vpx filed when vpx first came out. If you changed the extension from .vpx to .vpt, however, Hyperpin could open them. So I had gotten into the habit of changing All tables to .vpt. Welp, that was causing the issue. Changed it back to .vpx and it all works now. Am I the only one still using Hyperion as a front end? Or is changing them to .vpt still necessary anymore? This goes back to me not keeping up to date with things. I am way behind the times!

 

Bumping this resolution because it solved a similar mystery for me tonight!

 

I'm also using an old desktop front end, VP-Man 5.50. To get tables to launch in that, I have to change table file extensions from vpx to vpt as well. Changed back to .vpx and launched outside VP-Man, and the table worked fine!

 

Can anyone please recommend a good front end for VPX that's aimed at desktop PC setups instead of cabs? Or a cab one that most desktop users like too?

I've spent countless hours entering data about tables, creating rulesheets and making screenshots for VP-Man over the years, I would love to be able to reuse them if possible. Thanks!

 

Here are the 3 main front ends that work for DT usage, as well as cabinet.

 

PinballX

https://www.pinballx.com/

 

PinballY

http://mjrnet.org/pi...pe/PinballY.php

 

PinUp Popper and Player

https://www.nailbust...ku.php?id=start

 

A couple more...

 

4EyesVPLauncher

https://www.vpforums...showtopic=39568

 

FP Rocket

https://www.vpforums...showtopic=50420


Edited by xenonph, 29 July 2023 - 02:24 AM.

CHECK OUT THIS TUTORIAL http://www.vpforums....howtopic=32515
TO USE DB2S BACKGLASS PROGRAM WITH DESKTOP TABLES ON 1 MONITOR
 

#819 rafaeltetsuo

rafaeltetsuo

    Neophyte

  • Members
  • Pip
  • 4 posts

  • Flag: Brazil

  • Favorite Pinball: Banzai Run

Posted 12 August 2023 - 08:08 PM

I noticed that Version 1.8.1 could have some issues.
My good friend Scutters was busy to make a flex version of Firepower and the texts where not aligned correctly.
With version 1.8.0 it worked fine.
So I downloaded the 1.8.0 source code and only changed the video encoding part.
 
This is now a modified version of the original 1.8.0 from github.!
 
The only change I Did was copied the encoder part from 1.8.1 to 1.8.0 (and leave the rest of the changes from 1.8.1 out of scope)
Attached is the modified video.cs that I created. If you don't trust my DLL, download the 1.8.0 from the original github and replace the video.cs from my zip file and recompile it)
This will give the same results as the original 1.8.0, but with mp4 and avi support
 
Heres a video from Firepower with 1.8.1  https://youtu.be/WsAXXX11rWE
 
and here with my modified 1.8.0 :https://youtu.be/wliAvXoA56w

Hey Mike, dude... after a few days looking for a solution, you've saved me. I was almost reinstalling everything. Your version should be official in Github. It took me days to finally find this topic. I'll spread a link everywhere I've posted my issues. I wasn't getting the video files playing on UltraDMD. Thank you so much.



#820 wiesshund

wiesshund

    VPF Legend

  • Members
  • PipPipPipPipPipPipPip
  • 11,871 posts

  • Flag: United States of America

  • Favorite Pinball: How many can i have?

Posted 12 August 2023 - 09:25 PM

 

I noticed that Version 1.8.1 could have some issues.
My good friend Scutters was busy to make a flex version of Firepower and the texts where not aligned correctly.
With version 1.8.0 it worked fine.
So I downloaded the 1.8.0 source code and only changed the video encoding part.
 
This is now a modified version of the original 1.8.0 from github.!
 
The only change I Did was copied the encoder part from 1.8.1 to 1.8.0 (and leave the rest of the changes from 1.8.1 out of scope)
Attached is the modified video.cs that I created. If you don't trust my DLL, download the 1.8.0 from the original github and replace the video.cs from my zip file and recompile it)
This will give the same results as the original 1.8.0, but with mp4 and avi support
 
Heres a video from Firepower with 1.8.1  https://youtu.be/WsAXXX11rWE
 
and here with my modified 1.8.0 :https://youtu.be/wliAvXoA56w

Hey Mike, dude... after a few days looking for a solution, you've saved me. I was almost reinstalling everything. Your version should be official in Github. It took me days to finally find this topic. I'll spread a link everywhere I've posted my issues. I wasn't getting the video files playing on UltraDMD. Thank you so much.

 

 

This should be in the latest build of flexDMD 1.9 i think?

Fix backward label align issue · vbousquet/flexdmd@b4ff9f7 (github.com)


If you feel the need to empty your wallet in my direction, i don't have any way to receive it anyways

Spend it on Hookers and Blow






Also tagged with one or more of these keywords: UltraDMD, DMD