Jump to content



Photo
* * * * * 6 votes

FlexDMD, an UltraDMD alternative

UltraDMD DMD

  • Please log in to reply
835 replies to this topic

#181 Outhere

Outhere

    Pinball Wizard

  • Platinum Supporter
  • 4,807 posts

  • Flag: United States of America

  • Favorite Pinball: M M

Posted 04 April 2020 - 04:34 PM

@vbousquet I didn't have many problems getting regular ultradmd tables to work with flexdmd. But, this one https://vpinball.com...-original-2020/ - crashes as it calls ultradmd.init - I wonder, if you've got time, can take a peek at the script ?

I have not put this one on my cab yet but I have it running on my desktop which has 1.5 flexDMD on it and I Played about 10 game with no crashes

 


First of all I feel sorry for my English.

I am not able to place the DMD correctly. Whenever I run a table it stays in the same position.

Are you using Freezy for your DMD with Visual Pinball?

If so Then the

FlexDMD files have to go in the VPinMame folder or it will not recognize this file DmdDevice.ini
 



#182 sydaroa

sydaroa

    Neophyte

  • Members
  • Pip
  • 9 posts

  • Flag: Spain

  • Favorite Pinball: Addams Family

Posted 04 April 2020 - 04:46 PM

 

@vbousquet I didn't have many problems getting regular ultradmd tables to work with flexdmd. But, this one https://vpinball.com...-original-2020/ - crashes as it calls ultradmd.init - I wonder, if you've got time, can take a peek at the script ?

I have not put this one on my cab yet but I have it running on my desktop which has 1.5 flexDMD on it and I Played about 10 game with no crashes

 


First of all I feel sorry for my English.

I am not able to place the DMD correctly. Whenever I run a table it stays in the same position.

Are you using Freezy for your DMD with Visual Pinball?

If so Then the

FlexDMD files have to go in the VPinMame folder or it will not recognize this file DmdDevice.ini

 

Thanks, that was my fault.

 

I have registered out of the VpinMame folder.

 

Now it works perfect.

 

A lot of thanks  :otvclap: 
 

 



#183 Thalamus

Thalamus

    VPF Veteran

  • Platinum Supporter
  • 5,019 posts

  • Flag: Norway

  • Favorite Pinball: GOT, Alien Star, LOTR, TOM

Posted 04 April 2020 - 05:20 PM

Thanks @outhere. I'll give it a second try - I now remember that I made a change on my cab to test something, that might be related.

 

UPDATE : No, that crashes for me on my desktop machine too, running latest 1.5 with the provided dmddevice.dll ( 32bit )


Edited by Thalamus, 05 April 2020 - 11:52 AM.

From now on. I won't help anyone here at VPF. Please ask Noah why that is.


#184 Cizot

Cizot

    Neophyte

  • Members
  • Pip
  • 1 posts

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

  • Favorite Pinball: black knight

Posted 06 April 2020 - 11:26 AM

Hi all....I am just got a new ssd and will do a fresh install....my question is, can I install just flexdmd or I need to have ultradmd too?

thx..



#185 Outhere

Outhere

    Pinball Wizard

  • Platinum Supporter
  • 4,807 posts

  • Flag: United States of America

  • Favorite Pinball: M M

Posted 06 April 2020 - 02:37 PM

Thanks @outhere. I'll give it a second try - I now remember that I made a change on my cab to test something, that might be related.

 

UPDATE : No, that crashes for me on my desktop machine too, running latest 1.5 with the provided dmddevice.dll ( 32bit )

I will try it on my Cab and let you know



#186 Outhere

Outhere

    Pinball Wizard

  • Platinum Supporter
  • 4,807 posts

  • Flag: United States of America

  • Favorite Pinball: M M

Posted 06 April 2020 - 08:25 PM

Thanks @outhere. I'll give it a second try - I now remember that I made a change on my cab to test something, that might be related.

 

UPDATE : No, that crashes for me on my desktop machine too, running latest 1.5 with the provided dmddevice.dll ( 32bit )

On my cab the game crashes,  Obviously something different between my desktop in the cab but I have no idea what it is
 



#187 Thalamus

Thalamus

    VPF Veteran

  • Platinum Supporter
  • 5,019 posts

  • Flag: Norway

  • Favorite Pinball: GOT, Alien Star, LOTR, TOM

Posted 06 April 2020 - 09:00 PM

Maybe on your desktop - ultradmd is still registered ? I really hate UltraDMD and its problems, so now my goal is to get rid of it for good.


From now on. I won't help anyone here at VPF. Please ask Noah why that is.


#188 Outhere

Outhere

    Pinball Wizard

  • Platinum Supporter
  • 4,807 posts

  • Flag: United States of America

  • Favorite Pinball: M M

Posted 06 April 2020 - 09:26 PM

Desk top and Cab
Attached File  20200129_1824177.jpg   120.35KB   3 downloads



#189 Outhere

Outhere

    Pinball Wizard

  • Platinum Supporter
  • 4,807 posts

  • Flag: United States of America

  • Favorite Pinball: M M

Posted 06 April 2020 - 11:17 PM

Maybe on your desktop - ultradmd is still registered ? I really hate UltraDMD and its problems, so now my goal is to get rid of it for good.

I tried converting it over to flexDMD but didn't have much luck



#190 daphishbowl

daphishbowl

    Hobbyist

  • Platinum Supporter
  • 18 posts

  • Flag: United States of America

  • Favorite Pinball: guardians of the galaxy

Posted 07 April 2020 - 04:46 AM

For some reason the FlexDMDGUI for version 0.1.5 just flickers when I run it.  Nothing is displayed so I reverted to 0.1.4 and seems to work ok.

I installed everything in a local directory so no outside dependencies that I know if.  Just trying to use FlexDMD directly.

 

Windows10

PinDMDV3

 

Another issue is I currently can push mp4 files to UltraDMD but that doesnt seem to work in FlexDMD. 

I tried to look at the code in video.cs using this example below but couldn't figure out the C# equivilent

 

https://social.msdn....tiondevelopment

 

BTW.  Great work.


Edited by daphishbowl, 07 April 2020 - 01:34 PM.


#191 vbousquet

vbousquet

    Enthusiast

  • Members
  • PipPipPip
  • 108 posts

  • Flag: France

  • Favorite Pinball: Cue Ball Wizard, Tron Legacy, Terminator 2

Posted 08 April 2020 - 08:26 PM

Just had a look to Endless summer. The script has a bug at line 1369 ;       

UltraDMD.SetScoreboardBackgroundImage "scoreboard-background.jpg", 25, 25

The brightness is supposed to stay between -1 and 15. So replace it with the line below and everything will be fine.   

UltraDMD.SetScoreboardBackgroundImage "scoreboard-background.jpg", 15, 15

I will include a range check to avoid this crash in the next release.

 

 

 

Hi all....I am just got a new ssd and will do a fresh install....my question is, can I install just flexdmd or I need to have ultradmd too?

thx..

You don't need to install UltraDMD ; FlexDMD includes its functionalities.

 

 

Another issue is I currently can push mp4 files to UltraDMD but that doesnt seem to work in FlexDMD. 

Could you provide some mp4 files to test (PM me) ? I do not have any issue with mp4 files on my development system.

 

 

Regards,

 

     Vincent


Edited by vbousquet, 08 April 2020 - 08:27 PM.


#192 Outhere

Outhere

    Pinball Wizard

  • Platinum Supporter
  • 4,807 posts

  • Flag: United States of America

  • Favorite Pinball: M M

Posted 08 April 2020 - 08:51 PM

Just had a look to Endless summer. The script has a bug at line 1369 ;       

UltraDMD.SetScoreboardBackgroundImage "scoreboard-background.jpg", 25, 25

The brightness is supposed to stay between -1 and 15. So replace it with the line below and everything will be fine.   

UltraDMD.SetScoreboardBackgroundImage "scoreboard-background.jpg", 15, 15

I will include a range check to avoid this crash in the next release.

 

     Vincent

Thanks  @vbousquet
I wonder why it works on my desktop, Could it be that I don't use a video card

 


Edited by Outhere, 08 April 2020 - 09:59 PM.


#193 Thalamus

Thalamus

    VPF Veteran

  • Platinum Supporter
  • 5,019 posts

  • Flag: Norway

  • Favorite Pinball: GOT, Alien Star, LOTR, TOM

Posted 08 April 2020 - 09:41 PM

Ah. Thank you for looking at and finding that bug Vincent ! I've never coded for UltraDMD so I would never had thought even that this might be a issue.


Edited by Thalamus, 08 April 2020 - 09:42 PM.

From now on. I won't help anyone here at VPF. Please ask Noah why that is.


#194 mrjcrane

mrjcrane

    Pinball Fan

  • Members
  • PipPipPipPip
  • 546 posts
  • Location:USA

  • Flag: United States of America

  • Favorite Pinball: Monster Bash

Posted 08 April 2020 - 10:53 PM

So another followup on DMD size and shape ?  I can see that for Rom Based tables, table specific size and position will record a Rom Specific entry into the DmdDevice.ini file. I am totally cool with that part for all the Rom based games. What I am having an issue with is on most all other "Non Rom" based vpx tables (Most of Jp's Tables, Minions, Ghostbusters, Wizard of Oz, Serious Sam and so on).

 

Before the Freezy 1.7.3 and current FlexDMD mods, the old UltraDMD based tables would allow the DMD screen dimensions to be stored in a registry entry under UltraDmd. Now as I wish to resize and repostion my DMD's for non-rom based games it appears to not care about that registry entry any more and I can't get the tables to remember the changed settings for DMD shape and size.

 

So my question is where does the software save the settings for UltraDMD based tables when the DMD has been resized or re-positioned? Thanks in advance good people.



#195 Outhere

Outhere

    Pinball Wizard

  • Platinum Supporter
  • 4,807 posts

  • Flag: United States of America

  • Favorite Pinball: M M

Posted 09 April 2020 - 12:29 AM

The DMD shape and size are stored in this file DmdDevice.ini   in the VPinMame folder   --  Visual Pinball\VPinMame



 



#196 mrjcrane

mrjcrane

    Pinball Fan

  • Members
  • PipPipPipPip
  • 546 posts
  • Location:USA

  • Flag: United States of America

  • Favorite Pinball: Monster Bash

Posted 09 April 2020 - 12:48 AM

Outhere, thanks again so much for your help. So, here is my dilemma that is still an issue, VpX Rom based games are ok in my DmdDevice.ini file as seen with Dirty Harry [dh_lx2]. Non "Rom Based" custom tables like Minions and Ghostbusters are the issue and are not conforming to my global setting from [virtualdmd] and the size and shape I am trying to force upon the custom games. Minions is a great example of non-conformity. Minions (and other custom tables) still want to resize back to the original DMD dimensions and position at X=0 and y=0 (with default shape) in spite of what I have in the DmdDevice.ini file. I have also noticed on the custom games, because there is no dedicated "Rom" rom registry entry for them, they also don't seem to be able to write a table specific entry in to the DmdDevice.ini file. If Minions had a actual rom entry for example, [minions] then in CU/Software/Freeware/Visual PinMame I would know how to handle this. For now all custom games are an issue for me and are defaulting to x=0 and y=0. Am I over looking something on custom games?

 

My Sample DmdDevice.ini file. (a few tables have rom specific dmd size\shape)

[virtualdmd]
left = -1024
top = 568
width = 1024
height = 200
ignorear = true

[dh_lx2]
virtualdmd left = -1024
virtualdmd top = 568
virtualdmd width = 1024
virtualdmd height = 200
ignorear = true



#197 Outhere

Outhere

    Pinball Wizard

  • Platinum Supporter
  • 4,807 posts

  • Flag: United States of America

  • Favorite Pinball: M M

Posted 09 April 2020 - 01:04 AM

Did you use some of the table scripts that come with flexdmd?

 



#198 Outhere

Outhere

    Pinball Wizard

  • Platinum Supporter
  • 4,807 posts

  • Flag: United States of America

  • Favorite Pinball: M M

Posted 09 April 2020 - 01:43 AM

Go here click the green button download the flex master zip
https://github.com/vbousquet/flexdmd
Unzip it Somewhere, Then fine the script folder, tables folder
Their are files in there with the extension VBS
Rename them to match your file name of your game And put it in the tables folder Make sure you are using the right version of the game- Or just make a copy of this game and add the script
Then when you load the table it will automatically use the VBS file
That way it will not change the original script
Some games you can turn the Table DMD off in the table script
With some Games move the DMD off the table   --  https://www.vpforums...=43569&p=443536
See the support topic for a flexDMD + Lots of info

 

Example - Minions
Using the script that's included with Flexdmd


Search for   -->   Set UltraDMD = CreateObject("UltraDMD.DMDObject
You will see this line
    FlexDMD.GameName = cGameName  -- Change to     FlexDMD.GameName = "Minions"


Add this to your DmdDevice.ini

[Minions]
virtualdmd left = 818
virtualdmd top = 665
virtualdmd width = 1024
virtualdmd height = 256

 



#199 xantari

xantari

    Enthusiast

  • Platinum Supporter
  • 154 posts

  • Flag: United States of America

  • Favorite Pinball: Star Trek TNG

Posted 09 April 2020 - 01:53 AM

Quick question, is FlexDMD tied to specific versions of DMDDevice.dll? For instance, the last release of FlexDMD is from March 8th, but there have been several new builds of Freezy's builds in appveyor that provide some fixes for some of the issues and he hopes to have 1.8 released soon. I'm just wondering if I can always be using the latest version of DMDExt and use FlexDMD or if it is tied to specific builds of DMDDevice.dll and thus specific versions of Freezy's DMDExt.



#200 Outhere

Outhere

    Pinball Wizard

  • Platinum Supporter
  • 4,807 posts

  • Flag: United States of America

  • Favorite Pinball: M M

Posted 09 April 2020 - 02:07 AM

For the scripts that did not come with FlexDMD

Take this part out of the minions game

And search for this Set UltraDMD = CreateObject("UltraDMD.DMDObject")  and replace that section with the part from the minions game

You also need to change this line To whatever the name of the UltraDMD folder is, The folder that's in the tables Folder
UltraDMD.SetProjectFolder curDir & "\Minions.UltraDMD"
 

It may either be under Sub LoadUltraDMD or this Sub DMD_Init for the 1st line and that stays whatever it is

    'Set UltraDMD = CreateObject("UltraDMD.DMDObject")
    Dim FlexDMD
    Set FlexDMD = CreateObject("FlexDMD.FlexDMD")
    FlexDMD.GameName = "Minions"
    Set UltraDMD = FlexDMD.NewUltraDMD()
    UltraDMD.Init

    Dim fso
    Set fso = CreateObject("Scripting.FileSystemObject")
    curDir = fso.GetAbsolutePathName(".")
    Set fso = nothing

    ' A Major version change indicates the version is no longer backward compatible
    If Not UltraDMD.GetMajorVersion = 1 Then
        MsgBox "Incompatible Version of UltraDMD found."
        Exit Sub
    End If

    'A Minor version change indicates new features that are all backward compatible
    If UltraDMD.GetMinorVersion < 0 Then
        MsgBox "Incompatible Version of UltraDMD found.  Please update to version 1.0 or newer."
        Exit Sub
    End If

    UltraDMD.SetProjectFolder curDir & "\Minions.UltraDMD"
    UltraDMD.SetVideoStretchMode UltraDMD_VideoMode_Middle
    Dim imgList
End Sub

Edited by Outhere, 09 April 2020 - 02:19 AM.






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