comicalman

Zen Pinball Fx2 And Mirroring?

29 posts in this topic

Has any thought been given to using 'mirroring' with Pinball FX2 tables?  Before Zen supported the DMD on cabs, one of the solutions I tried was 'mirroring' the DMD to a different location.

 

Basically, it is software that copies a region and displays it to another location on your system.  I had trouble with it - but I believe it could work.  Just wondering if this is possible without too much effort to copy it to Pin2DMD - instead of to another monitor under windows?

Share this post


Link to post
Share on other sites

If you can make a program that copies the content and put it in a rgb-array I can try

to process the data and send it to pin2dmd or I can give the info how you need to send

the data to pin2dmd

Share this post


Link to post
Share on other sites

I will look into.  The program is called "Actual Window Manager".  Can you give some examples of RGB-array format?

Share this post


Link to post
Share on other sites

I have a "mirroring" solution using ffmpeg. Problem is that you will not be able to "move" the DMD image. You'd have to copy it. Here, I am copying the contents of the DMD image and using a flip filter to display it for my P2k-style cabinet. Latency is pretty good in Windows 10. Even better when I was running Windows 7. It was very tolerable since there isn't really any DMD-based video modes with PFX2.

 

For what you are trying to do, it may be best to use the DMD that displays on the playfield. Pick a less obstructive location - lower left or right apron. The built-in gdigrab can capture the stream. From there, I don't know what you would do to convert it into an RGB array for display on a real DMD or RGB panel. Or what impact it would have on latency. 

 

Script attached.

LaunchFX2.zip

Share this post


Link to post
Share on other sites

Since ffmpeg is opensource it should be possible to add a routine to ffplay to output the stream to pin2dmd via usb.

If somebody wants to give it a try please contact me and I provide the necessary information you need to send

picture data to pin2dmd.

Share this post


Link to post
Share on other sites

Would love to.  However, after looking at the code, it seems a little beyond my skillset... :unsure:

Share this post


Link to post
Share on other sites

Would love to.  However, after looking at the code, it seems a little beyond my skillset... :unsure:

Skills are there to get improved. You have to work on them to get better.

I myself for example had no idea about c programming when I started this project.

Only a little bit of Visual Basic 6 programming. Still learning every day

Share this post


Link to post
Share on other sites

Yeah sorry, completely missed this thread. It's basically done, just need Lucky1 to fix PIN2DMD support, got it working on a virtual DMD and PinDMD.

 

pindmd-comp.png

 

Good news is that it seems to work even if the DMD is behind the playfield!

Will post something here this week so you guys can test.

Share this post


Link to post
Share on other sites

Lucky1 and I will be adding PinDMD2 support as well, then you guys can take it for a spin!

Share this post


Link to post
Share on other sites

The program has two modes. You can either grab a part of the screen and send it to the DMD or in PBFX mode will grab the data directly. So for Pinball Arcade Screen grabber will most likely work. Maybe Freezy can have a look if he can also grab the data directly

from PBA.

Share this post


Link to post
Share on other sites

Yeah, as Lucky1 said. Might be able to pull off data otherwise, but haven't tested yet. However my motivation for TPA is kind of limited because TPA physics still kinda sucks and I don't really feel like jumping through hoops for something a mediocre skilled developer at Farsight would need to spend one frigging day on, a feature paying customers have been asking for years.

Share this post


Link to post
Share on other sites

TPA does have a few good tables like Champ Pub and lights camera action.

Share this post


Link to post
Share on other sites

Does pin2dmd work with fx2 with the software now or do I need v2 of pin2dmd to make it work

Share this post


Link to post
Share on other sites

PinDMDv1-3 and PIN2DMD should all work now. Will probably release an updated build tonight.

Share this post


Link to post
Share on other sites

Thank you, thought maybe I did something wrong. Time to update , donation sent :)

Share this post


Link to post
Share on other sites

With the new --use-gray8 option, PIN2DMD v1.x should be working as well, only with 16 shades though.

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