Jump to content



Photo
* * * * * 3 votes

UltraDMD WIP


  • Please log in to reply
585 replies to this topic

#121 arychines

arychines

    Enthusiast

  • Members
  • PipPipPip
  • 62 posts
  • Location:Brasilia

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

  • Favorite Pinball: arabian knigths

Posted 01 May 2015 - 05:04 PM

How can i set for use in a the table?



#122 lodger

lodger

    Board Certified Funk Master

  • Members
  • PipPipPipPip
  • 993 posts
  • Location:Altoona Pennsylvania

  • Flag: United States of America

  • Favorite Pinball: Whirlwind, TAF

Contributor

Posted 03 May 2015 - 12:55 PM

Shoopity,

I downloaded AMH is awesome. I'd be happy to help out on the project.

 

regarding ultra dmd implementation in my own, I am getting a black screen displaying for the duration when I try to launch gif's or static images....I'm thinking something must be getting mis-stretched? I've tried this on images from the demo for ultra dmd, so i know that the problem isnt with ultradmd, or the image as much as my code. Ultra dmd works with other tables no problem with graphics etc. also.

 

If you would, please send me a PM with your email...I'd like to talk about both projects and also to pick your brain on some stuff. thanks!

 

-Lodger


berzerk2_0logo.png

http://www.vpforums....&showfile=11819

Version 2.0- Released 2/27/16


#123 Sindbad

Sindbad

    Pinball Freak

  • VIP
  • 364 posts
  • Location:Erbach, Germany

  • Flag: Germany

  • Favorite Pinball: Terminator



Posted 17 May 2015 - 08:34 PM

Hi!

 

Where can I find a list of the predefined animations? I had a look at the test table and found some (all ?) animation types. But I'm looking for a "do-nothing-animation" that makes the text simple appear without any animation. When I use the  predefined animation with ID number 14, no text is displayed at all. So this doesn't make really sense, to have this effect I can simply omit the whole scene.    :think:


Edited by Sindbad, 17 May 2015 - 09:22 PM.


#124 lodger

lodger

    Board Certified Funk Master

  • Members
  • PipPipPipPip
  • 993 posts
  • Location:Altoona Pennsylvania

  • Flag: United States of America

  • Favorite Pinball: Whirlwind, TAF

Contributor

Posted 17 May 2015 - 11:23 PM

Sindbad,

Try this, inputting your own text

 

 UltraDMD.DisplayScene00Ex "", "This is an example of text", 15, -1, "", -1, -1, 14, 0, 14

-Lodger


Edited by lodger, 17 May 2015 - 11:23 PM.

berzerk2_0logo.png

http://www.vpforums....&showfile=11819

Version 2.0- Released 2/27/16


#125 Sindbad

Sindbad

    Pinball Freak

  • VIP
  • 364 posts
  • Location:Erbach, Germany

  • Flag: Germany

  • Favorite Pinball: Terminator



Posted 18 May 2015 - 03:05 PM

Lodger,

 

Thanks for the feedback. That doesn't work for me. In this example you use 14 (none) as the animation id. With this animation id, no text is displayed at all.



#126 lodger

lodger

    Board Certified Funk Master

  • Members
  • PipPipPipPip
  • 993 posts
  • Location:Altoona Pennsylvania

  • Flag: United States of America

  • Favorite Pinball: Whirlwind, TAF

Contributor

Posted 18 May 2015 - 03:11 PM

hm thanks for catching that- I'm not sure what you would need to do then. There is documentation on the site, but it is hard to grasp (at least for a guy with barely intermediate coding skills like me). it would be killer if we could work together to help make an implementation guide for tables


berzerk2_0logo.png

http://www.vpforums....&showfile=11819

Version 2.0- Released 2/27/16


#127 Sindbad

Sindbad

    Pinball Freak

  • VIP
  • 364 posts
  • Location:Erbach, Germany

  • Flag: Germany

  • Favorite Pinball: Terminator



Posted 18 May 2015 - 05:43 PM

Lodger,

 

I already had a look at the documentation side, but unfortunately I didn't find a complete list of all supported animation types. 

 

Also I'm not sure if I use the latest version. The homepage says the newest version is 1.1.150215. I downloaded it, but when using it, it says it's version 1.0.130115. 



#128 lodger

lodger

    Board Certified Funk Master

  • Members
  • PipPipPipPip
  • 993 posts
  • Location:Altoona Pennsylvania

  • Flag: United States of America

  • Favorite Pinball: Whirlwind, TAF

Contributor

Posted 18 May 2015 - 09:18 PM

The closest thing I saw to animation types were in the demo file (i think there were 17 examples or so for hitting different things, the code wasnt very commented out though)


berzerk2_0logo.png

http://www.vpforums....&showfile=11819

Version 2.0- Released 2/27/16


#129 Shoopity

Shoopity

    Pinball Fan

  • Members
  • PipPipPipPip
  • 691 posts
  • Location:Colorado

  • Flag: United States of America

  • Favorite Pinball: Medieval Madness

Contributor

Posted 19 May 2015 - 02:43 AM

I'm almost positive it's a version thing.  I had the same problem when I was actively working on AMH; make sure you have the latest version and try the code that you think should work.  I'll write more tomorrow when I get to the computer that has all the code.  If I remember correctly, you should be able to just download the latest version and overwrite your current files.

 

If you look at my AHM table, everything works almost perfect; if it doesn't work on your PC, then it's a version issue.


Edited by Shoopity, 19 May 2015 - 02:44 AM.


#130 UltraPeepi

UltraPeepi

    Enthusiast

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

  • Flag: United States of America

  • Favorite Pinball: Mary Shelly's Frankenstein

Posted 31 May 2015 - 06:14 PM

Sorry guys, I've been out of town.  

 

I see that the documentation references the "redefined animation types" but nowhere does it enumerate them.  My bad.

 

The test table DOES enumerate them, but has FadeIn and ZoomIn commented out.  I believe there were issues with those animation types.  But I have since made some fixes.  And although I wasn't trying to address those issues specifically, I believe the fixes did address those bugs.

Const UltraDMD_VideoMode_Stretch = 0
Const UltraDMD_VideoMode_Top = 1
Const UltraDMD_VideoMode_Middle = 2
Const UltraDMD_VideoMode_Bottom = 3

Const UltraDMD_Animation_FadeIn = 0
Const UltraDMD_Animation_FadeOut = 1
Const UltraDMD_Animation_ZoomIn = 2
Const UltraDMD_Animation_ZoomOut = 3
Const UltraDMD_Animation_ScrollOffLeft = 4
Const UltraDMD_Animation_ScrollOffRight = 5
Const UltraDMD_Animation_ScrollOnLeft = 6
Const UltraDMD_Animation_ScrollOnRight = 7
Const UltraDMD_Animation_ScrollOffUp = 8
Const UltraDMD_Animation_ScrollOffDown = 9
Const UltraDMD_Animation_ScrollOnUp = 10
Const UltraDMD_Animation_ScrollOnDown = 11
Const UltraDMD_Animation_None = 14

I appreciate that tables are taking advantage of UltraDMD.  Thanks for all of your feedback, suggestions, and patience.


ultradmd_splash.png


#131 lodger

lodger

    Board Certified Funk Master

  • Members
  • PipPipPipPip
  • 993 posts
  • Location:Altoona Pennsylvania

  • Flag: United States of America

  • Favorite Pinball: Whirlwind, TAF

Contributor

Posted 31 May 2015 - 07:13 PM

ultrapeepi, welcome back. I've had good luck so far with the more basic implementation of this but am struggling to get my animations to play (animated gif format, same resolution as a standard dmd, always renders out black only even when playing the animation in the test program replacing and renaming the original file.) any thoughts of what would do that?

does ultra dmd support fonts at all?

 

really enjoying the implementation of the basic stuff though.


berzerk2_0logo.png

http://www.vpforums....&showfile=11819

Version 2.0- Released 2/27/16


#132 UltraPeepi

UltraPeepi

    Enthusiast

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

  • Flag: United States of America

  • Favorite Pinball: Mary Shelly's Frankenstein

Posted 01 June 2015 - 12:48 AM

Send me the GIF and I will test.  I don't know all of the nuances of animated GIFs.  It may be that one tool might generate a GIF that works, and another tool doesn't.  Did you play with the animated GIF files from the test table?

 

>>does ultra dmd support fonts at all?

UltraDMD used to rely on "fonts" files, but hid the details about how to specify the exact font (they are a proprietary image format).  The font files are now included as resources (plus I added some more sizes).  This was done to reduce installation dependancies.  Also, there is no way in the current call method, to supply the font to use.  I thought that this was more work than table authors would want to deal with.  XDMD allows for all of this.  The UltraDMD wrapper hides these details.

 

If table developers want this flexibility, I can make that happen.  However, XDMD does not currently support variable width fonts.  I would love to support that; but it is not a trivial change.  Also, new fonts means authoring them in a specific way in a the proprietary format.  If you want to understand about the font files, take a look the XDMD font subfolder.


Edited by UltraPeepi, 01 June 2015 - 01:44 AM.

ultradmd_splash.png


#133 arngrim

arngrim

    DJ Force Feedback

  • VIP
  • 2,188 posts
  • Location:Charleroi, Belgium

  • Flag: Belgium

  • Favorite Pinball: Monster bash



Posted 22 June 2015 - 09:48 PM

I am testing several tables that have ultradmd, i have a pindmd2, everytime i quit any of these tables, ultradmd crashes, every single time, without pindmd it is fine.

 

can you have a look at the issue?



#134 UltraPeepi

UltraPeepi

    Enthusiast

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

  • Flag: United States of America

  • Favorite Pinball: Mary Shelly's Frankenstein

Posted 22 June 2015 - 10:53 PM

Hmm.  So am I to understand that UltraDMD works fine with your pindmd - but crashes on exit?

 

Getting a real DMD to test against sounds like a good idea.  I am wondering if I can track down the problem without reproducing it myself.  Does it give a call stack / crash log?

 

Perhaps I can enlist the help of a developer with a DMD.  Please PM me if you have a DMD and any VS C#/VB expertise, and are willing to help with tracking down this issue.  It sounds like a cleanup issue.  Worse case, there might be an opportunity to wrap the code in a try/catch.

 

If nobody is available to help, I can give you a private drop with some instrumentation to help isolate the issue.


ultradmd_splash.png


#135 Slydog43

Slydog43

    Pinball Wizard

  • Platinum Supporter
  • 3,008 posts
  • Location:Hackettstown, NJ

  • Flag: United States of America

  • Favorite Pinball: Addams Family, All Williams 90's Games

Posted 23 June 2015 - 01:56 AM

I could mail you a DMD with a pindmd I think (I have a few DMD's now that I'm replacing them with ColorDMD's/  I would have to locate a pinDMD though (not sure if I have an extra PinDMD2 but I know I have a PinDMD1 floating around).  pm me if you want me to send it out to you for this project.

 

I forgot you would need to supply power to the dmd (which is not a standard 5 or 12 volt)


Edited by Slydog43, 23 June 2015 - 02:00 AM.


#136 arngrim

arngrim

    DJ Force Feedback

  • VIP
  • 2,188 posts
  • Location:Charleroi, Belgium

  • Flag: Belgium

  • Favorite Pinball: Monster bash



Posted 23 June 2015 - 04:22 PM

where can i find such crash log?

#137 UltraPeepi

UltraPeepi

    Enthusiast

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

  • Flag: United States of America

  • Favorite Pinball: Mary Shelly's Frankenstein

Posted 23 June 2015 - 06:59 PM

SlyDog, thanks for the offer.  I'll PM you.

 

>>where can i find such crash log?

 

Click "View problem details".  That should expand the window and reveal some text.  Select all of that text and PM it to me.  Hopefully it has something useful.

 

conshost-croak.png


ultradmd_splash.png


#138 Sindbad

Sindbad

    Pinball Freak

  • VIP
  • 364 posts
  • Location:Erbach, Germany

  • Flag: Germany

  • Favorite Pinball: Terminator



Posted 28 June 2015 - 07:39 AM

We had some trouble during testing of the LoZ table. It seems that "UltraDMD.exe /I" doesn't install the class in some (unknown) circumstances. When calling regasm directly (as suggested in the UltraDMD homepage), registering works. Could you please check whether the administrator attribute is inherited correctly to the cmd window that calls regasm?



#139 arngrim

arngrim

    DJ Force Feedback

  • VIP
  • 2,188 posts
  • Location:Charleroi, Belgium

  • Flag: Belgium

  • Favorite Pinball: Monster bash



Posted 28 June 2015 - 11:10 AM

bassgeige sent me the log, thanks to him

 

Beschreibung:
  Stopped working

Problemsignatur:
  Problemereignisname:    APPCRASH
  Application Name:    UltraDMD.exe
  Application Version:    1.0.0.0
  Application Timestamp:    54e0f5b8
  Fault Module Name:    libusb0.dll
  Fault Module Version:    1.2.6.0
  Fault Module Timestamp:    4f15b248
  Exception Code:    c0000005
  Exception Offset:    0000399d
  Betriebsystemversion:    6.1.7601.2.1.0.256.1
  Gebietsschema-ID:    1031



#140 freneticamnesic

freneticamnesic

    A Faint Ghost Through the Raindrops

  • VIP
  • 3,369 posts
  • Location:Portland, OR

  • Flag: United States of America

  • Favorite Pinball: Star Trek, Black Hole, AFM, Fast Draw, Tron, AMH

  • 360 Gamer Tag: sixgunsounddd

Posted 28 June 2015 - 11:13 AM

I see much less crashing on the latest version (I had not updated since February I think)

it's gotten much better