Jump to content



Photo
* * * * * 3 votes

UltraDMD WIP


  • Please log in to reply
585 replies to this topic

#181 nFozzy

nFozzy

    Pinball Fan

  • Members
  • PipPipPipPip
  • 553 posts

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

  • Favorite Pinball: Pinbot

Posted 08 July 2015 - 05:53 AM

UltraDMD.exe crashes on launch

 

Description:
  Stopped working

Problem signature:
  Problem Event Name:    CLR20r3
  Problem Signature 01:    ultradmd.exe
  Problem Signature 02:    1.0.0.0
  Problem Signature 03:    54e0f5b8
  Problem Signature 04:    UltraDMD
  Problem Signature 05:    1.0.0.0
  Problem Signature 06:    54e0f5b8
  Problem Signature 07:    db
  Problem Signature 08:    2fa
  Problem Signature 09:    System.IO.FileNotFoundException
  OS Version:    6.1.7601.2.1.0.256.1
  Locale ID:    1033



#182 toxie

toxie

    VPF Veteran

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

  • Flag: Germany

  • Favorite Pinball: AFM

Posted 08 July 2015 - 08:00 AM

I get the same error (using windows 8.1, followed the install procedure step by step by fren in the VP10 thread, also tried changing the UltraDMD and VPinball exes to administrator, same error).

Is there already a post/topic on this somewhere?



#183 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 08 July 2015 - 09:20 AM

What if you try deleting ultradmd from the folder you put it in and installing it in the XDMD Demo\bin\Release folder instead? You'll need to copy over the 0.3 XDMD dll as well. I don't know if there's a difference between the two locations, I think I've installed in each though! I was able to get it working on Windows 8 (not 8.1 but I did not try on that)

Do you have VP installed in Program Files? I needed to do a lot of stupid ownership reclamation in that folder to get other things to work with VP too



#184 gigalula

gigalula

    Hummmm not sure yet :)

  • Platinum Supporter
  • 651 posts

  • Flag: Canada

  • Favorite Pinball: All of them from 70' to now. Even more with VP and FP :)

Posted 08 July 2015 - 02:40 PM

Is it possible to have the ability to change DOT from square to something circle ? If not this could be a nice thing to add at least for users that use standard monitor as DMD.



#185 UltraPeepi

UltraPeepi

    Enthusiast

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

  • Flag: United States of America

  • Favorite Pinball: Mary Shelly's Frankenstein

Posted 08 July 2015 - 04:21 PM

The DOT being a square is part of XDMD.  UltraDMD doesn't have control over that.  XDMD is open source.  I'd have to take a look at how it is being done.  My guess is, this was the easiest way to implement.  It wouldn't be a trivial change; but it probably wouldn't be that hard either.

 

If you identify a missing step in the installation instructions, for a given OS or just in general, please PM me, and I'll make sure it gets added.

 

I think there may be a problem with "UltraDMD.exe /i"on some versions of Windows.  You may need to run Regasm instead.

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

 

 

 

I edited the first post in the thread with the list of required files.


Edited by UltraPeepi, 08 July 2015 - 04:29 PM.

ultradmd_splash.png


#186 gigalula

gigalula

    Hummmm not sure yet :)

  • Platinum Supporter
  • 651 posts

  • Flag: Canada

  • Favorite Pinball: All of them from 70' to now. Even more with VP and FP :)

Posted 08 July 2015 - 04:32 PM

Yep that was my case I wasn't able to install it with "/i" .... I'm on win 7 service pack 1 ("French Version")



#187 ClarkKent

ClarkKent

    Pinball Fan

  • Members
  • PipPipPipPip
  • 1,552 posts

  • Flag: Austria

  • Favorite Pinball: Q*Bert's Quest, Red's and Ted's Road Show, Dialed In, Big Bang Bar

Posted 08 July 2015 - 04:38 PM

UltraDMD immediately crashes when it is started. No idea why and what to do...



#188 UltraPeepi

UltraPeepi

    Enthusiast

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

  • Flag: United States of America

  • Favorite Pinball: Mary Shelly's Frankenstein

Posted 08 July 2015 - 07:03 PM

 

UltraDMD immediately crashes when it is started. No idea why and what to do...

Check the first post in the thread.  Make sure all of the listed files are in the same folder as UltraDMD (those come with the XDMD install - in the 'XDMD Demo\bin\Release' folder).

 

Also, make sure you replace the XDMD.dll that comes with the XDMD download, with the Beta 0.3 Preview (download XDMD.dll 0.3).

 

With that you should be able to run UltraDMD and see a rectangular window.  It doesn't do anything useful without a script or VP table scripted to talk to it; but it shouldn't crash when you run it.


ultradmd_splash.png


#189 RYSr

RYSr

    Pinball Fan

  • Charter Member
  • 511 posts
  • Location:Mercerville (Central) NJ, USA

  • Flag: United States of America

  • Favorite Pinball: TZ - G&R - MB - CV - Metallica

Posted 08 July 2015 - 10:50 PM

I get the same error (using windows 8.1, followed the install procedure step by step by fren in the VP10 thread, also tried changing the UltraDMD and VPinball exes to administrator, same error).

Is there already a post/topic on this somewhere?

 

I'm running Win 8.1 and have it working. I detailed it back in post #146, if that can help?

Rich



#190 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 08 July 2015 - 11:13 PM

I followed RYSr post#146 and got everything working, thanks



#191 toxie

toxie

    VPF Veteran

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

  • Flag: Germany

  • Favorite Pinball: AFM

Posted 09 July 2015 - 08:16 PM

I nailed it down to these two files that you need to copy from the Demo folder to the 'normal' XDMD one:

atl90.dll & libusb0.dll

 

Then it worked. So maybe fren you should add this to the readme of amh?



#192 Carny_Priest

Carny_Priest

    Pinball Fan

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

  • Flag: United States of America

  • Favorite Pinball: EATPM

Posted 10 July 2015 - 01:27 AM

Got it running thanks to the instructions here:

 

http://www.vpforums....e=8#entry312949

 

I like the configuration dialog a lot. Very easy to select from different resolutions and color options. The animations in AMH look fantastic. Sadly, I have a p2k style cabinet. There is a FlipY option but it is not implemented yet. Hopefully that is coming soon. In the meantime, if there is anyone else in the same boat as me and simply has to have a solution now, I can code a script for doing a real time capture and stream that will reverse the image. As everything is in beta, I'm not in a rush to script something. It's all good enough for testing, and I can wait for native support in UltraDMD.

 

Thanks, Stephen.



#193 luvthatapex

luvthatapex

    Pinball Fan

  • VIP
  • 1,435 posts

  • Flag: United States of America

  • Favorite Pinball: Tron



Posted 10 July 2015 - 11:33 AM

I just got this running yesterday after copying in those demo files.,I think my pc is too slow for vp10 and this game. But the real issue for me is the flipY. I also have a pin2k cab, so I would need this too if you ever make it! Thank you.


Got it running thanks to the instructions here:
 
http://www.vpforums....e=8#entry312949
 
I like the configuration dialog a lot. Very easy to select from different resolutions and color options. The animations in AMH look fantastic. Sadly, I have a p2k style cabinet. There is a FlipY option but it is not implemented yet. Hopefully that is coming soon. In the meantime, if there is anyone else in the same boat as me and simply has to have a solution now, I can code a script for doing a real time capture and stream that will reverse the image. As everything is in beta, I'm not in a rush to script something. It's all good enough for testing, and I can wait for native support in UltraDMD.
 
Thanks, Stephen.



#194 UltraPeepi

UltraPeepi

    Enthusiast

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

  • Flag: United States of America

  • Favorite Pinball: Mary Shelly's Frankenstein

Posted 10 July 2015 - 03:17 PM

>>Pin 2K cab

Thanks for reminding me.  I will put some time in on that.

 

Status update:

I received my pinDMD2 yesterday.  It was a bit of hassle getting the driver installed on Windows 8.  It required rebooting my machine in a special mode which doesn't check driver signatures.  But alas, I am unable to reproduce the AMH crash on table exit.  I am likely not doing everything correctly.  And since I don't yet have an actual DMD, I have no way of knowing that it is even being used.  I will likely have to install my development system on my pinball device.  At that point, I can at least step through the code, and set breakpoints where it communicates with pinDMD.  I will try to get to that this weekend.


ultradmd_splash.png


#195 RYSr

RYSr

    Pinball Fan

  • Charter Member
  • 511 posts
  • Location:Mercerville (Central) NJ, USA

  • Flag: United States of America

  • Favorite Pinball: TZ - G&R - MB - CV - Metallica

Posted 10 July 2015 - 05:38 PM

Got it running thanks to the instructions here:

 

http://www.vpforums....e=8#entry312949


Thanks, Stephen.

 

I updated the post with some of the latest info!

Rich



#196 toxie

toxie

    VPF Veteran

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

  • Flag: Germany

  • Favorite Pinball: AFM

Posted 17 July 2015 - 06:36 AM

Is it possible to have the ability to change DOT from square to something circle ? If not this could be a nice thing to add at least for users that use standard monitor as DMD.

 

i looked into this yesterday and think i found the respective stuff in the code. the problem is that i only succeeded in re-building the XDMDNative.dll. But then it does not work with the 'old' XDMD.dll.  :/

so if somebody feels like tackling/rebuilding all this: In XDMDNative.cpp, lines 2842 and 2884 have the Render calls. There in the most inner loop you have

 

Buf[x2 + (y2 * w)]=color;

 

which should most likely be changed to something like

 

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

Buf[x2 + (y2 * w)]=color;

 

The problem is that the dots are only 4x4 blocks, so having them 'round' is a bit of a problem as-is. :/



#197 UltraPeepi

UltraPeepi

    Enthusiast

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

  • Flag: United States of America

  • Favorite Pinball: Mary Shelly's Frankenstein

Posted 17 July 2015 - 03:46 PM

 

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

 

I will play with this and let you know.

 

 

i only succeeded in re-building the XDMDNative.dll. But then it does not work with the 'old' XDMD.dll

 

I will chat with Tom about getting the build updated.  It took me a while to get the project building properly in VS 2012.  There were several issues.  It would certainly be nice to have a buddy builds to ensure that all the code is easily build able by all.


ultradmd_splash.png


#198 akiles50000

akiles50000

    Pinball Fan

  • VIP
  • 1,092 posts

  • Flag: Spain

  • Favorite Pinball: Ali

Posted 23 July 2015 - 09:48 AM

I have done these steps the instructions to install UltraDMD.exe and doesn,t work:

 

http://wpgpinball.ca...-is-out-in-beta

 

1º-Fisrt I have installed all in this path: C:\XDMD\XDMD\bin\Release\UltraDMD.exe/i but doesn,t work.Always crash the table when run with VP:

 

5mag04.jpg

 

2h3brpi.jpg

 

2º-Then I have tested change the UltraDMD.exe to the XDMD Demo in this path : C:\XDMD\XDMD Demo\bin\Release\UltraDMD.exe/i before uninstall UltraDMD.exe using C:\XDMD\XDMD Demo\bin\Release\UltraDMD.exe/u  but gives issue to register with the name XDMD Demo in CMD:

 

mlimwx.jpg

 

And runs UlraDMD.exe if I run manually:

 

10wuxq9.jpg

 

But when I run the table America,s Haunted gives this issue:

 

20ab1p3.jpg

 

Does anyone know how can I solve to works perfect UltraDMD.exe with the table America's Most Haunted?


Edited by akiles50000, 23 July 2015 - 09:52 AM.


#199 Outhere

Outhere

    Pinball Wizard

  • Platinum Supporter
  • 4,805 posts

  • Flag: United States of America

  • Favorite Pinball: M M

Posted 23 July 2015 - 12:28 PM

It appears your UltraDMD.exe is not registered because I got the same message when mine was not registered.. try typing it in like this...
C:\XDMD\XDMD Demo\bin\Release UltraDMD.exe /i

There is a space after the EXE

mine would not register the easy way I had to use the other way...

I went my the readme file in here

Download the VPX table here and other content - https://mega.co.nz/#F!8kVAXRRa!gsjaAvLVHPhyW_G90_udgQ



#200 cyberpez

cyberpez

    Enthusiast

  • Silver Supporter
  • 394 posts

  • Flag: United States of America

  • Favorite Pinball: Back to the Future

Posted 23 July 2015 - 12:29 PM

I think that error means ultradmd is not registered... Open your administrative command prompt again.... Browse (cd) to the C:\XDMD\XDMD Demo\bin\Release\ directory and run this command

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