freezy / dmd-extensions

A toolbox for virtual pinball dot matrix displays.
GNU General Public License v2.0
129 stars 55 forks source link

TPA and DMD-EXT not working on Arcooda #190

Closed tyson171 closed 5 years ago

tyson171 commented 5 years ago

Anyone have any thoughts? Using a pinball dmd V3 and I believe I have everything setup properly, but i'm not getting anything on my DMD. I have DMDext working for FX2/3 and it works fine. TPA Acooda is not working though. It even shows frames coming in from Pinball Arcade DX11, but nothing is showing on the DMD.

Anyone know if there is any special setup in Arcooda for DMD-ext to work properly?

C:\Users\Tyson\Downloads\dmdext-v1.7.0-x64>dmdext mirror --source=pinballarcade --no-virtual --port=COM6 [1] 2019/09/22 11:35:17.314 INFO | Launching console tool. [1] 2019/09/22 11:35:17.346 INFO | PinDMDv1 device not found. [1] 2019/09/22 11:35:17.368 INFO | PinDMDv2 device not found. [1] 2019/09/22 11:35:17.368 INFO | Checking port COM6 for PinDMDv3... [1] 2019/09/22 11:35:17.486 INFO | Trusting that PinDMDv3 sits on port COM6. [1] 2019/09/22 11:35:17.486 DEBUG | Firmware: REV-vPin-01008 [1] 2019/09/22 11:35:17.490 DEBUG | Resolution: 128x32 [1] 2019/09/22 11:35:17.620 DEBUG | PIN2DMD device not found. [1] 2019/09/22 11:35:17.620 INFO | Added PinDMDv3 renderer. [1] 2019/09/22 11:35:17.620 DEBUG | VirtualDMD disabled. [1] 2019/09/22 11:35:17.644 INFO | Setting up Render Graph for 1 destination(s ) [1] 2019/09/22 11:35:17.655 INFO | Connecting Pinball Arcade DX11 to PinDMD v3 (Gray4 => Gray4) [1] 2019/09/22 11:35:17.664 INFO | Waiting for Pinball Arcade DX11 to spawn...

[1] 2019/09/22 11:35:17.687 INFO | Press CTRL+C to close. [4] 2019/09/22 11:35:37.735 INFO | Frames coming in from Pinball Arcade DX11.

Any help would be great!

Tempest43528 commented 5 years ago

The Arcooda mode does not work natively with DMDExt using the -source=pinballarcade. You can get it to run by using the --source=screen parameter and then adding the virtual dmd coordinates and size. I have been using this with my PinDMDV3 since Arcooda came out and it works fine.

tyson171 commented 5 years ago

Thanks! I tried to get it working ( for two hours), and no matter what I couldn't get it right.

My Setup - 1920 x 1080 Playfiield Monitor 1280 x 768 Backglass Monitor PinDMD V3

Using 3 screen mode in Acooda, with the DMD setup something like this - left 1200 top 650 width 1000 height 250

I'm also setting Acooda up with the same settings i'm passing to command line in the config tool.

I would get the full DMD mirror working correctly, but the DMD was still showing on the backglass. left 1200 top 500 width 1000 height 250

dmdext.exe mirror --source=screen --position1200 500 1004 254 --destination=pindmdv3 -p COM6 --fps=60 --no-virtual

So then I tried to move it down off the back glass axis, and then it just disappeared - left 1200 top 800 width 1000 height 250

dmdext.exe mirror --source=screen --position1200 800 1004 254 --destination=pindmdv3 -p COM6 --fps=60 --no-virtual

So then I read people were putting the mirror to their playfield, so i tried the following - left 0 top 0 width 1000 height 250

dmdext.exe mirror --source=screen --position 0 0 1004 254 --destination=pindmdv3 -p COM6 --fps=60 --no-virtual

And then I wouldn't get anything, no dmd on the playfiled itself (which was to be expected), but also no DMD on the actual PinDMD V3, which wasn't expected. I'm really at a loss on what else to try, or I'm missing something really simple here.

So how do I find out my Virtual DMD coordinates? Is there a tool or a way to find this out? PinDMD V3 doesn't really work like a 3rd screen, so I can't use the coordinate tool to figure this out.

Any help would be fantastic on this!

Tempest43528 commented 5 years ago

This little utility here was a great help getting the approximate coordinates of my screen positions when I originally setup Arcooda. It is just a little app that display a sizeable form and reports screen positions.
http://pinballbulbs.com/files/pbfx2dotmatrix.zip

My virtual DMD is on a third monitor so my values won't help much but when I get on my cab next I will post the DMDEXt command line I am using.

tyson171 commented 5 years ago

Sounds good thanks! I look forward to see your DMDExt command your using. Are you outputting the scores to a third screen or a PinDMDV3?

freezy commented 5 years ago

Arcooda is the $500 version of TPA, right?

NoEx wrote the code for dmdext's TPA grabber, and I doubt he's be willing to shell out that kind of amount to support a software that should be doing it already in the first place. ;)

There seems to be a workaround anyway. 👍

tyson171 commented 5 years ago

Arcooda is the super expensive version of TPA, which I'm not a fan of. I sold my cab a year ago, but I still support it for the gentleman that bought it, so was trying to help him out getting this to work since he bought it.

I agree 1000% Arcooda should support this native, just trying to help a friend out here.

Any chance you can open this back up? I was waiting for Tempest reply on this. I couldn't get the workaround to work myself.

freezy commented 5 years ago

Okay, then @Tempest43528 please explain how to configure Arcooda and I'll add it to the README.

Tempest43528 commented 5 years ago

I will post my DMDExt settings tonight when I get home. Nothing special about it, I am just using -screen option with DMDExt. First just make sure you configured the cabinet mode settings for Arcooda using TPAConfig. Once you have the screen based in game DMD displaying in game all you need to do is get the correct X/Y screen coordinates and set the size of the DMD. This is working great on my PinDMDV3

Tempest43528 commented 5 years ago

Run PBAConfig, go to the Cabinet tab (Arcooda users only).

My settings are as follow using 3 screen setup.

Playfield Coordinates: Left: 0.0 Top: 0.0 Width: 2160 Height: 3840

Backglass Coordinates: Left: 4080.00 Top: 0.0 Width: 1360.00 Height: 768.00

DMD Coordinates: Left: 2200.00
Top: 20.00 Width:1024.00 Height: 256

Ok - here my DMDExt command line that I am using to capture the virtual dmd from Arcooda.

dmdext.exe mirror --source=screen --position 2200 20 1024 128 --destination=pindmdv3 -p COM3 --fps=60 --no-virtual

Use http://pinballbulbs.com/files/pbfx2dotmatrix.zip to help you determine what your coordinates are, Based on your playfield layout and screen resolutions this will be different

I have two monitors in my cabinet. A 4K playfield and a 720P backglass. I have a 3rd 1080P monitor I use for normal computer use and this is where I have the Arcooda DMD displaying on and then mirroring to my PinDMDV3

tyson171 commented 5 years ago

Thanks! I think that is my real issues here. I only have two screens, back glass and playfield. DMD mirror works if I put it on the back glass,(which is undesirable for obvious reasons), but it won't work if I put it on the play field. I see the only way to make this work is add a random third screen, which is kind of crazy! Thanks for taking the time to post all of this! Much appreciated!