Jump to content



Photo
* * * * * 3 votes

UltraDMD WIP


  • Please log in to reply
585 replies to this topic

#281 Shoopity

Shoopity

    Pinball Fan

  • Members
  • PipPipPipPip
  • 691 posts
  • Location:Colorado

  • Flag: United States of America

  • Favorite Pinball: Medieval Madness

Contributor

Posted 30 August 2015 - 08:06 PM

Are you sure the files aren't also in the /demo/bin/release folder?



#282 gtxjoe

gtxjoe

    VPF Veteran

  • VIP
  • 5,152 posts

  • Flag: United States of America

  • Favorite Pinball: Medieval Madness, AbraCadabra



Contributor

Posted 30 August 2015 - 08:51 PM

There is a video of a UltraDMD install here

 

http://www.vpforums....als&article=143



#283 Outhere

Outhere

    Pinball Wizard

  • Platinum Supporter
  • 4,806 posts

  • Flag: United States of America

  • Favorite Pinball: M M

Posted 30 August 2015 - 11:01 PM

NOTE: This guide presumes that you have Microsoft .NET Framework 2.0 installed in advance, if not, get it here: http://www.microsoft...s.aspx?id=16614

1. Download the .vpx table and place in your Visual Pinball\Tables folder
2. Download the GIF pack and place the folder in your Visual Pinball\Tables folder (dir should remain named America's Most Haunted.UltraDMD)
3. Download the Music pack and extract it to Visual Pinball\Music
4. Download XDMD beta 0.2 from XDMD.info/download, unpack to C: or anywhere you're comfortable (for this example I'm placing the XDMD install directly at the C: level)
5. Download XDMD beta 0.3 preview from XDMD.info/download and replace the XDMD.dll in C:\XDMD\XDMD Demo\bin\Release with this one

>>> MAKE SURE YOU UNBLOCK ALL FILES IN THE C:\XDMD\XDMD Demo\bin\Release FOLDER

6. Download the latest UltraDMD from ultradmd.wordpress.com/download/ - currently 1.1.150215, and unpack this to C:\XDMD\XDMD Demo\bin\Release

7. Now you need to register UltraDMD, you can do this potentially two ways. The easiest way, if it works, is to open a command prompt in ADMINISTRATOR mode and navigate to the C:\XDMD\XDMD Demo\bin\Release folder, type "UltraDMD.exe /i" (without quotes) and press enter. It should register and give you confirmation. If this doesn't work, you need to open a command prompt window in ADMINISTRATOR mode and navigate to C:\XDMD\XDMD Demo\bin\Release and then paste this into the command window:

C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\RegASM UltraDMD.exe

this will confirm that the EXE is registered! You should be good to go now!

***The following is not necessary to play, but may be helpful for those who want more:

If you wish to use the included B2S, navigate to your Visual Pinball\User folder and create a Text document, name it LMEMDOFTables.txt

In this file place a single number:
0 - No controller (no b2s, technically not needed)
1 - B2S - this will be most common
2 - B2S with mechanical sounds disabled! This is for those buggers with all the fancy contactors and solenoids and strobes and such. You know who you are!

Just make sure you place the included .directb2s file in the same folder as the .vpx table!
Sorry, it's just a static B2S for now!

All the scripting and conversion of this table to VP in the first place was done by Shoopity, it's really fine work and without him this would just be a dream.
Thanks to UltraPeepi for the fantastic UltraDMD program!
Thanks to arngrim for DOF scripting!
Thanks to Knorr for the new feedback sounds!
Thanks to my table testers!
Thanks to the VP devs who have put so much work into the VPX Beta so far!
Of course thanks to Ben Heckendorn for creating the real table this recreation pays homage to!
 


Edited by Outhere, 03 December 2015 - 07:37 PM.


#284 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 August 2015 - 02:35 AM

Hey all, slowly but surely i'm getting the syntax of UltraDMD calls down. I did however want to ask about backgrounds made of individual frames. I have it working well, however building off the Test table, i'm struggling to get this scene to not cause the animation to have to reopen every time a bumper is hit to trigger the call. I know the 2 i have highlighted is a fade up routine, however if i try to set it to animation_none or 14, the entire animation is black and does not render. Any thoughts?

 

 

        UltraDMD.DisplayScene00ExWithId "bumper", false, spaceship, bumpercount, 14, 2, "", -1, -1, 2, 500, UltraDMD_Animation_None


berzerk2_0logo.png

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

Version 2.0- Released 2/27/16


#285 Shoopity

Shoopity

    Pinball Fan

  • Members
  • PipPipPipPip
  • 691 posts
  • Location:Colorado

  • Flag: United States of America

  • Favorite Pinball: Medieval Madness

Contributor

Posted 31 August 2015 - 12:51 PM

I know this is a silly question, but are you absolutely sure you're on the most recent UDMD version and you've replaced the XDMD.dll with this one?  I only ask because when I first started getting into this, the no animation animation was having problems.

 

I'll test your table again and see if I have any problems with having no animation.



#286 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 August 2015 - 10:32 PM

I thought i had...Installing that DLL did the trick. :) Thanks!


Edited by lodger, 31 August 2015 - 10:33 PM.

berzerk2_0logo.png

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

Version 2.0- Released 2/27/16


#287 fancypants

fancypants

    Neophyte

  • Members
  • Pip
  • 6 posts

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

  • Favorite Pinball: pinbot

Posted 24 September 2015 - 06:29 PM

 

OK, here is a test version to try to work around the crash on table exit when using PinDMD.

https://www.dropbox....traDMD.exe?dl=0

 
Just replace your existing UltraDMD.exe with this one.  It should display a build number of 1.1.150703.
 
If, on table exit, you see a message with the following text, then we have a valid work around:
"If you are running a PinDMD, and you are seeing this on table exit..."
 
 
<SNIP>
 
As soon as someone can confirm that this version works properly on table exit (when using a real DMD), I will put the update on the ultradmd.wordpress.com web site.
 
 
Thanks everybody.

 

Hi All - 

I'm a little late to the party. I too am suffering from UltraDMD crashing on exit. I've tried the above version but I get the same result (10-15 seconds of animation then - UltraDMD has stopped working). The error report is below. As an aside, once I clicked the remove virtualDMD tick box I could no longer get back to the config screen. I wound up finding the setting in the registry to get it back (needed this to confirm the build number) maybe there's a better way? Other than the crash on exit all is awesome and looks great! I'd love to know what I'm doing wrong as it seems most here have worked around this?

 

Thanks!

 

The error report is this:

 

Problem signature:

  Problem Event Name: APPCRASH
  Application Name: UltraDMD.exe
  Application Version: 1.0.0.0
  Application Timestamp: 55970a6f
  Fault Module Name: libusb0.dll
  Fault Module Version: 1.2.6.0
  Fault Module Timestamp: 4f15b248
  Exception Code: c0000005
  Exception Offset: 0000399d
  OS Version: 6.1.7601.2.1.0.256.48
  Locale ID: 1033
 
 
 
 
--*UPDATE*--
 
It looks like I spoke to soon. I was able to get it to work by changing UltraDMD.exe to run as administrator. I don't think I had read I needed to do that and shame on me if that was what I was supposed to do. Never-the-less, once I made that change the application now exits cleanly once the running animation completes, The DMD is left blank.

 

Edited by fancypants, 24 September 2015 - 07:06 PM.


#288 UltraPeepi

UltraPeepi

    Enthusiast

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

  • Flag: United States of America

  • Favorite Pinball: Mary Shelly's Frankenstein

Posted 29 September 2015 - 06:43 AM

I just wanted to give a quick update.  I am trying to get several things done, and making slow progress in the little time I have available.  I should have more time now that summer is over.

 

  • I am working with Tom to get XDMD on Bitbucket.
    • Shared version control system.
    • Feature to Flip Y for Pin2k machines
    • Circular virtual led (instead of the square pixel)
    • Add versioning for XDMD and XDMDNative
  • Once I get XDMD on Bitbucket, I will make the UltraDMD source available on Bitbucket
    • One challenge is that I don't want to force XDMD to target newer than .Net 2.0 - but to build everything with VS 2012 and target .Net 2.0, I need VS 2008 and VS 2012 both installed.  Yuck.
  • I am trying to figure out the crash related to libusb0.dll (used when there is PinDMD hardware connected)
    • I can reproduce the crash on Windows 8.1 whether I run UltraDMD as administrator or not.
    • Running under the debugger doesn't help much (if any) because the call stack doesn't help identify the source of the problem, and I don't have source or symbols for libusb.

My DMD is now in an acrylic case. :)  No more propping it up with a book and having stray wires running everywhere.

 

SpookyPinball_zpsf4onu9it.jpg?t=14434224


ultradmd_splash.png


#289 UltraPeepi

UltraPeepi

    Enthusiast

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

  • Flag: United States of America

  • Favorite Pinball: Mary Shelly's Frankenstein

Posted 29 September 2015 - 06:26 PM

once I clicked the remove virtualDMD tick box I could no longer get back to the config screen

 

FYI, you can get back to the Config screen by running from a cmd window

 

UltraDMD.exe /config

or

UltraDMD.exe /c

 

I'll make sure to document this better.

 


ultradmd_splash.png


#290 fancypants

fancypants

    Neophyte

  • Members
  • Pip
  • 6 posts

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

  • Favorite Pinball: pinbot

Posted 29 September 2015 - 06:52 PM

Thanks Much Ultra - couple of other points that may or may not be of use. Before I figured the work around out I had replaced the usb dll with a version from sourceforge (libusb -win32) mostly to see if I could get it to break in a different way. Alas I got the same result. During that process though I came across a different library, I didn't go so far as to recompile for windows but it might be an interesting experiment (http://libusb.info/) ..  (runs in user land and doesn't appear to require elevated privileges) and since I have no knowledge of the actual implementation it seemed quite a stretch.....

 

Another bit, I had trouble early on using my motherboard with its fancy USB3.0 backward compatible ports. Matter of fact I wound up having to put in a PCI generic USB2.0 card to get around issues I was having with some of my devices. The pindmd didn't seem to mind the on board ports but I tested to make sure there was no difference. Sadly it didn't make a difference one way or the other.

 

Anywho.....

 

 

 

once I clicked the remove virtualDMD tick box I could no longer get back to the config screen

 

FYI, you can get back to the Config screen by running from a cmd window

 

UltraDMD.exe /config

or

UltraDMD.exe /c

 

I'll make sure to document this better.

 

 


Edited by fancypants, 29 September 2015 - 06:53 PM.


#291 UltraPeepi

UltraPeepi

    Enthusiast

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

  • Flag: United States of America

  • Favorite Pinball: Mary Shelly's Frankenstein

Posted 30 September 2015 - 03:07 AM

OK.  I have identified the crash issue - uninitialized variable in XDMDNative.dll.  Maybe I can wrap up a release by the end of the weekend.

 

Also, it now properly clears the display and returns control of the DMD back to PinballX once you leave the game.  So PinballX continues to run its DMD attract animation.


Edited by UltraPeepi, 30 September 2015 - 03:37 AM.

ultradmd_splash.png


#292 randr

randr

    I'm just a hardware guy so...

  • VIP
  • 2,650 posts
  • Location:Minnesota

  • Flag: United States of America

  • Favorite Pinball: Twilight Zone

Posted 30 September 2015 - 03:08 AM

Yay!

randr___pinball.png                         


#293 UltraPeepi

UltraPeepi

    Enthusiast

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

  • Flag: United States of America

  • Favorite Pinball: Mary Shelly's Frankenstein

Posted 01 October 2015 - 04:22 AM

 

if(sqrtf((x2-2)*(x2-2)+(y2-2)*(y2-2)) <= 2.f) // the 2.f is up for experiments what makes it look most 'round' at this tiny resolution

Round LEDs are not trivial.  The resolution is low fidelity, then scaled up.  So it doesn't look right.  In a large window size, it just looks blocky - and there is another oddity that I haven't figured out which makes it even look worse.  So I'm putting this one into the backlog.


ultradmd_splash.png


#294 Ben Logan

Ben Logan

    Pinball Wizard

  • Members
  • PipPipPipPipPip
  • 2,275 posts
  • Location:California

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

  • Favorite Pinball: System 11

Posted 01 October 2015 - 10:23 PM

My DMD is now in an acrylic case. :)  No more propping it up with a book and having stray wires running everywhere.
 
SpookyPinball_zpsf4onu9it.jpg?t=14434224


UltraP -- where did you get the acrylic DMD case? It's so cool!

#295 UltraPeepi

UltraPeepi

    Enthusiast

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

  • Flag: United States of America

  • Favorite Pinball: Mary Shelly's Frankenstein

Posted 01 October 2015 - 10:30 PM

:)  I made the case.  Don't look too closely.  Working with acrylic isn't so easy.  I was going to polish the edge cuts, but there is no way I was going to pay $50 for a Map Gas torch, just to make the edges look nice.  After I was mostly done, I asked the guys at Tap Plastics why somebody doesn't make a youtube video about all of the things that can go wrong when you are working with acrylic.  They said, "that would be a long video."


ultradmd_splash.png


#296 luvthatapex

luvthatapex

    Pinball Fan

  • VIP
  • 1,435 posts

  • Flag: United States of America

  • Favorite Pinball: Tron



Posted 02 October 2015 - 12:24 PM

◾Feature to Flip Y for Pin2k machines

Awesome, I have a pin2k type vpin and am looking forward to this addition!

#297 UltraPeepi

UltraPeepi

    Enthusiast

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

  • Flag: United States of America

  • Favorite Pinball: Mary Shelly's Frankenstein

Posted 04 October 2015 - 08:32 PM

FYI, UltraDMD is now open source on BitBucket.  Note, however, this is for review only.  You won't be able to build/debug/test because the XDMD source changes are not part of this repository.  The XDMD repository will be made public soon.

 

https://bitbucket.or...konza/ultradmd/

 

For non-developers, you should only need to go to the main UltraDMD site.

 

http://UltraDMD.wordpress.org


ultradmd_splash.png


#298 UltraPeepi

UltraPeepi

    Enthusiast

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

  • Flag: United States of America

  • Favorite Pinball: Mary Shelly's Frankenstein

Posted 04 October 2015 - 11:40 PM

XDMD is now open source on BitBucket.

 

https://bitbucket.org/tspeirs/xdmd/

 

:dblthumb:


ultradmd_splash.png


#299 Carny_Priest

Carny_Priest

    Pinball Fan

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

  • Flag: United States of America

  • Favorite Pinball: EATPM

Posted 06 October 2015 - 02:25 AM

Thanks for the flip y support! Now I no longer have to mirror the DMD

 

For the record, people, use the xdmd dlls at ultradmd.wordpress.org. I had downloaded a 7z file at bitbucket containing a set of compiled dlls. They are different sizes from the set at the ultradmd page, and UltraDMD crashes immediately with the xdmd/bitbucket versions. 



#300 UltraPeepi

UltraPeepi

    Enthusiast

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

  • Flag: United States of America

  • Favorite Pinball: Mary Shelly's Frankenstein

Posted 06 October 2015 - 03:47 PM

I zipped up the DLLs again and uploaded to bitbucket (which is referenced by xdmd.info site).  Let me know if there are any issues.  All sites should contain the exact same DLLs now: (xdmd.info, bitbucket/xdmd, ultradmd.wordpress.com, bitbucket/ultradmd).

 

https://ultradmd.wordpress.com

 

Latest download at

https://ultradmd.wor...s.com/download/

 

UltraDMD v1.3.15100401 (which requires XDMD v1.1)


ultradmd_splash.png