Jump to content



Photo
* * * * * 3 votes

UltraDMD WIP


  • Please log in to reply
585 replies to this topic

#321 Outhere

Outhere

    Pinball Wizard

  • Platinum Supporter
  • 4,795 posts

  • Flag: United States of America

  • Favorite Pinball: M M

Posted 03 December 2015 - 07:44 PM

Edited on, 9/10/2018

UPDATE Try This

https://www.vpforums...=39760&p=401058


Edited by Outhere, 10 September 2018 - 11:31 PM.


#322 allknowing2012

allknowing2012

    Pinball Fan

  • Members
  • PipPipPipPip
  • 1,948 posts
  • Location:Waterloo, ON

  • Flag: Canada

  • Favorite Pinball: bucaneer

Contributor

Posted 04 December 2015 - 03:44 AM

And just a note .. something I missed when I did this.. When you open the cmd window as Admin .. it will say quite clearly in the window box title "Adminstrator: Command Prompt.". If you dont see it you arent in admin mode.

So type cmd in the box, right click run as administrator. I too had the the files that Outhere has posted. Ignore all the extra verbage people have posted and youtubed. Dont forget to make sure they are all unblocked as well. Right click on each one and check properties.


* I don't know everything - I just have no life *
testimageNL

 

 

 

#323 allknowing2012

allknowing2012

    Pinball Fan

  • Members
  • PipPipPipPip
  • 1,948 posts
  • Location:Waterloo, ON

  • Flag: Canada

  • Favorite Pinball: bucaneer

Contributor

Posted 05 December 2015 - 02:35 PM

It doesn't appear that ultradmd honours the noloop in the gif image. It loops the image until it stops. Is that something that can be fixed?

 

When I load the image in a browser, it doesn't loop. If you load it into various windows programs it does loop - I gather that is somewhat normal as only browsers seem to honour this no loop gif attribute.

 

How do you handle animated gifs in AMH and other setups?

 

I will upload my signature image as no looping if you want to verify. Thanks.


* I don't know everything - I just have no life *
testimageNL

 

 

 

#324 Shoopity

Shoopity

    Pinball Fan

  • Members
  • PipPipPipPip
  • 691 posts
  • Location:Colorado

  • Flag: United States of America

  • Favorite Pinball: Medieval Madness

Contributor

Posted 06 December 2015 - 06:21 AM

Currently you have to time the delay variable to be correct so that when the delay finishes, it's gone through the animation only once.  In AMH, there's a handful of animations that actually don't go all the way to the last frame, or you'll see a few frames repeat because I didn't have the number perfect.  For AMH, I figured out the FPS, I knew the number of frames from most image viewers, and i just passed the number of frames into the sub routines.  The sub routines would then multiply that number of frames by the correct number to get the correct delay.  I don't have the code in front of me currently, but take a look at the subs that get called.



#325 allknowing2012

allknowing2012

    Pinball Fan

  • Members
  • PipPipPipPip
  • 1,948 posts
  • Location:Waterloo, ON

  • Flag: Canada

  • Favorite Pinball: bucaneer

Contributor

Posted 06 December 2015 - 03:27 PM

I have coded it with pause = frames * somefudgefactor .. seems close enough then.. Thanks.  I will take a closer look at your AMH code..


* I don't know everything - I just have no life *
testimageNL

 

 

 

#326 mfuegemann

mfuegemann

    Pinball Fan

  • VIP
  • 1,220 posts
  • Location:Cologne

  • Flag: Germany

  • Favorite Pinball: Medieval Madness, Fast Draw



Contributor

Posted 19 December 2015 - 08:01 PM

Hi,

 

after I had continued issues with abnormal program termination of UltraDMD it seems that the following code in the Table_Exit procedure solved the problem:

 

Sub Table_Exit()
     If UltraDMD.IsRendering Then
          UltraDMD.CancelRendering
     end if
     UltraDMD = NULL
End Sub
 

Michael



#327 Pinballwiz45b

Pinballwiz45b

    Enthusiast

  • Members
  • PipPipPip
  • 101 posts

  • Flag: United States of America

  • Favorite Pinball: Banzai Run

Posted 23 December 2015 - 08:34 PM

UltraDMD is not working for me on Windows 10. Can anyone help me go through these steps?

 

EDIT: Nevermind. Got it to work. :)


Edited by Pinballwiz45b, 23 December 2015 - 09:13 PM.

It has to warm up...SO IT CAN KILL YOU!

Twitch: Pinballwiz45b

http://www.youtube.c...r/pinballwiz45b


#328 toxie

toxie

    VPF Veteran

  • VP Dev Team
  • PipPipPipPipPipPip
  • 5,734 posts
  • Location:berlin, germany

  • Flag: Germany

  • Favorite Pinball: AFM

Posted 23 December 2015 - 10:39 PM

another thing: could it be possible that when you run 'ultradmd /config' that pressing 'OK' then would close the program instead of going back to the display? would be less confusing.



#329 toxie

toxie

    VPF Veteran

  • VP Dev Team
  • PipPipPipPipPipPip
  • 5,734 posts
  • Location:berlin, germany

  • Flag: Germany

  • Favorite Pinball: AFM

Posted 24 December 2015 - 11:45 AM

..and now also an explanation for this request: i took the freedom to import X/UltraDMD into hmuecks installer, but disabled (for now) to run this config in there, as its too confusing for the average user (incl. myself intially ;)).



#330 Carny_Priest

Carny_Priest

    Pinball Fan

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

  • Flag: United States of America

  • Favorite Pinball: EATPM

Posted 28 December 2015 - 05:34 PM

Well if nobody cares about variable width fonts, I'll give the people what they want.  I'm not done, but I have an approach which should allow me to have rounded virtual LEDs.

attachicon.gifScreen Shot 2015-10-20 at 8.05.38 PM.png

attachicon.gifScreen Shot 2015-10-20 at 8.03.14 PM.png

 

If you open these and zoom in, you will see the "problem" that I have not yet addressed.  In order to make rounded LEDs, I need to use shading.  But the code was designed using an 8 bit palette.  This means the gradient colors don't appear as you would expect.  So I still have some work to do.

 

 

 

It looks like with P-Roc virtual DMD, one method used to have round dots is to stick an overlay mask over the rendered blocks. I haven't dug around much yet to see what resources are included with P-ROC. This came with the Skeleton test table, but the dots are not quite round.

 

dmdgrid32x32.png



#331 calium

calium

    Enthusiast

  • Members
  • PipPipPip
  • 115 posts

  • Flag: Germany

  • Favorite Pinball: AC/DC Premium

Posted 05 April 2016 - 11:20 AM

thank you very much for the ultradmd! i really like it. is there still some progress on doing the x scale rotation? i use just one screen for fullscreen tables and it would be great if i could rotate the dmd for tables like america's most haunted.


Monkey see, Monkey do


#332 replaysMike

replaysMike

    Neophyte

  • Members
  • Pip
  • 6 posts

  • Flag: Canada

  • Favorite Pinball: Addams Family

Posted 14 April 2016 - 03:07 AM

UltraDMD is not working for me on Windows 10. Can anyone help me go through these steps?

 

EDIT: Nevermind. Got it to work. :)

 

can you explain what you did? I'm on Win 10 x64 and I can't get XDMD or UltraDMD to work. They both crash upon running.



#333 replaysMike

replaysMike

    Neophyte

  • Members
  • Pip
  • 6 posts

  • Flag: Canada

  • Favorite Pinball: Addams Family

Posted 14 April 2016 - 05:57 AM

Ok I have a working build for XDMD under Windows 10. There are some .net framework issues and the project needed some tweaks/updates.

 

It is currently forked here, however I would imagine it may get pulled into the main build when he's had a chance to review (as it contains a bunch of changes/upgrades)

 

https://bitbucket.org/replaysMike/xdmd



#334 replaysMike

replaysMike

    Neophyte

  • Members
  • Pip
  • 6 posts

  • Flag: Canada

  • Favorite Pinball: Addams Family

Posted 14 April 2016 - 06:08 AM

UltraDMD still crashes though, not much I can do about that without source. Any chance of you UltraPeepi getting your source up into Github so we can fix this issue? I'll even throw some diag in there to help these poor folks out with all the install issues.

 

I'd like to start contributing to Visual Pinball X after this, as the build/release environment is rather terrible. No one should have to download a custom .exe build and overwrite existing ones, let's bring it up to par with today's expectations.

 



#335 replaysMike

replaysMike

    Neophyte

  • Members
  • Pip
  • 6 posts

  • Flag: Canada

  • Favorite Pinball: Addams Family

Posted 14 April 2016 - 07:53 AM

I was able to deconstruct the exe and create a new build for it. Got as far as seeing the config screen and possible functionality (after resolving Direct3d LoaderLock startup issues), but when running a table that uses UltraDMD it could not find it. Perhaps the ActiveX was not properly registered, I'll have to look at it with fresh eyes tomorrow.



#336 allknowing2012

allknowing2012

    Pinball Fan

  • Members
  • PipPipPipPip
  • 1,948 posts
  • Location:Waterloo, ON

  • Flag: Canada

  • Favorite Pinball: bucaneer

Contributor

Posted 14 April 2016 - 11:37 AM

I think many of us had crashes - there is a bad dll floating around. See the previous posts and grab just those files.


* I don't know everything - I just have no life *
testimageNL

 

 

 

#337 replaysMike

replaysMike

    Neophyte

  • Members
  • Pip
  • 6 posts

  • Flag: Canada

  • Favorite Pinball: Addams Family

Posted 14 April 2016 - 06:03 PM

...hence the need for a proper build and release :) User's shouldn't have to dig around to find working dll's, they should be packaged appropriately from the source.



#338 calium

calium

    Enthusiast

  • Members
  • PipPipPip
  • 115 posts

  • Flag: Germany

  • Favorite Pinball: AC/DC Premium

Posted 16 April 2016 - 05:33 AM

...hence the need for a proper build and release :) User's shouldn't have to dig around to find working dll's, they should be packaged appropriately from the source.


its working fine with windows 10, just grab the zip file you find in answer #321 and do what outhere says.

Monkey see, Monkey do


#339 UltraPeepi

UltraPeepi

    Enthusiast

  • Platinum Supporter
  • 216 posts
  • Location:Redmond, WA

  • Flag: United States of America

  • Favorite Pinball: Mary Shelly's Frankenstein

Posted 20 April 2016 - 04:40 PM

Hey everybody.  I am back working on UltraDMD.  I will be making a release soon.  It will include a new scoreboard with variable width font (commas in scores > 1,000).  It will include basic color support for color DMD and color virtual DMD.  Finally, I will be including an installer.  I haven't started on this yet; but I have built MSI projects before.  I just need to freshen up on my installer skills.  Since installers always run as administrator, this SHOULD address the issues with registering UltraDMD as an ActiveX control.  Also, Tom made it clear he doesn't want to maintain a "released" version of XDMD.  So it will not be possible to point to an XDMD download page.  Also, by packaging them together, it will be much less likely to have an issue caused by versioning between UltraDMD and XDMD.

 

>>getting your source up into Github

https://bitbucket.or...akonza/ultradmd

 

I set up Tom's XDMD on bitbucket too.  I will do XDMD development out of an UltraDMD branch.

https://bitbucket.org/tspeirs/xdmd

 

@replaysMike I am still working off of VS 2008/2012/2013.  I don't yet want to update to VS 2015.

 

 

Thanks everybody for your understanding of my absence, and your enthusiasm for the product.


ultradmd_splash.png


#340 calium

calium

    Enthusiast

  • Members
  • PipPipPip
  • 115 posts

  • Flag: Germany

  • Favorite Pinball: AC/DC Premium

Posted 21 April 2016 - 10:59 AM

@ultrapeepi: will your next release include x-rotation too? at the moment i have to bend my head


Monkey see, Monkey do