sigma415

How to send videos or png to XDMD via command line ?

Recommended Posts

sigma415    101

Hi Tom,

is it possible to send video or graphic files directly to the PinDMD v2 by call of an exe, bat or small vb routine ? With the filename as parameter ?

I'm still in progress of creating more Real DMD videos (and static png's) and it would be much faster and easier, if I could test them by sending them directly to the DMD instead of calling them via PinballX.

I had a quick look on your XDMD source files, but my programming skills are limited and to be honest I was lost ;-)

Thanks a lot !

Share this post


Link to post
Share on other sites
Tom Speirs    2328

Hi,

It should be quite possible to build a command line utility to do that. If I get some time I will knock something up but I am quite busy at the moment.

  • Like 2

Share this post


Link to post
Share on other sites
Tom Speirs    2328

Okay, so it was not a big task so I just did it for you. See attached for a command line utility. Just pass it a filename of video or image. It will need to reside with the other XDMD required DLLs. The Pinballx Install folder will be fine.

UPDATE: Add any second argument to pause 6 seconds before exiting.

XDMD_CMD.zip

  • Like 2

Share this post


Link to post
Share on other sites
sigma415    101

Hi Tom,

thanks a lot.

Works perfectly. :)

Right click .. Open with ... Tada !

Any chance to deactivate the additional DMD display on main screen ? Maybe by registry entry or second argument w/ special value ?

(I know: Give him an inch and he will take a mile ....) ;)

Share this post


Link to post
Share on other sites
slydog43    3

I would also like to disable the additional DMD display on my main screen.  (I'm using a PinDMD3 and don't want to show the other window)  thanks

Any chance of getting the source code to this display program?

Share this post


Link to post
Share on other sites
sigma415    101
On 2.3.2016 at 8:49 PM, slydog43 said:

I would also like to disable the additional DMD display on my main screen.  (I'm using a PinDMD3 and don't want to show the other window)  thanks

Any chance of getting the source code to this display program?

Hello slydog43,

did you have success to disable the additional DMD on the main screen ?

Share this post


Link to post
Share on other sites
slydog43    3

Added a PinDMD3 to a mame cab and want to work with XDMD again.  Is there a way to display an avi on the PinDMD3 with XDMD?  Time to load up VS and look around.  Hard when I don't have an extra PinDMD3 for my development machine.

 

ok it works with xdmd_cmd, but it seems to pause for 4 seconds at end.  anyway to stop that behavior?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now