Jump to content



Photo
* * * * * 5 votes

Pinball FX2 on Real DMD - Beta Testing

PinDMDv3 PinDMDv2 PIN2DMD Pinball FX2

  • Please log in to reply
312 replies to this topic

#41 freezy

freezy

    Member title

  • Members
  • PipPipPipPip
  • 683 posts

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

  • Favorite Pinball: T2, TOM, AFM

Posted 17 April 2016 - 09:31 PM

Yeah sorry switched to French mid phrase for no reason. Wanted to say "hidden".



#42 Comicalman

Comicalman

    Enthusiast

  • Members
  • PipPipPip
  • 128 posts
  • Location:Great Midwest

  • Flag: United States of America

  • Favorite Pinball: 8 ball deluxe, Black Knight

Posted 17 April 2016 - 09:56 PM

No problem.

Yes, I tried it both hidden (below PF) and on Backglass.  The 'hidden' still alternates between DMD and PF on real DMD.  The backglass one is better- it only shows the DMD, but does flicker badly.


https://www.facebook...yer3productions follow me on twitter @player3products

Current WIPs: DMD Coloring:???,

FP Tables completed:Shrek, Heavy Metal, Nehwon (Fafhrd, Gray Mouser), NHL TableHockey,


#43 roar

roar

    Enthusiast

  • Members
  • PipPipPip
  • 452 posts

  • Flag: Canada

  • Favorite Pinball: TOM

Posted 18 April 2016 - 12:40 AM

freezy... I installed v3 and played with it a bit but found myself going back to v2 as I liked the 'look' of it better. Not sure why, v3 looks 'brighter' if that's possible but less detailed to my mind, I'm guessing it has to do with the change to the pixel luminosity and the 2bit grey scale update you made... maybe I like the pixels not being fully black? :) With the change to 1040x272 the 5 columns that were off in v2 now look alright in v2. Awesome work again. 



#44 tgibeau

tgibeau

    Neophyte

  • Silver Supporter
  • 1 posts

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

  • Favorite Pinball: Elektra

Posted 18 April 2016 - 05:13 AM

@freezy

 

Tried loading up V3 of your app with a PinDMDv2, it looks like your app creates the renderer (judging by your source), but does not output to the DMD when it sends down the bitmap.

 

Thanks again!



#45 freezy

freezy

    Member title

  • Members
  • PipPipPipPip
  • 683 posts

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

  • Favorite Pinball: T2, TOM, AFM

Posted 18 April 2016 - 08:09 AM

@roar: Cool. There will be soon a command line tool where you can set all kind of options to tweak the look to your liking.

 

@tgibeau: Yes, PinDMDv2 is just not yet working. I've done a native implementation yesterday and will release it as soon as I have some positive feedback.



#46 russdx

russdx

    Pinball Fan

  • VIP
  • 1,317 posts
  • Location:Bristol UK

  • Flag: United Kingdom

  • Favorite Pinball: NBAFB

Posted 18 April 2016 - 08:13 AM

Sat on train to work with a monochrome dmd ready to test the pinDMD2 today :)

@freezy long as the bmp test works we can say the implementation is ok? I still have not received this zen cabinet support code for fx2.

#47 freezy

freezy

    Member title

  • Members
  • PipPipPipPip
  • 683 posts

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

  • Favorite Pinball: T2, TOM, AFM

Posted 18 April 2016 - 08:16 AM

Yes bitmap or screen grab. Try also screen grab and let it run a while to make sure there are no memory leaks and performance is okay.



#48 russdx

russdx

    Pinball Fan

  • VIP
  • 1,317 posts
  • Location:Bristol UK

  • Flag: United Kingdom

  • Favorite Pinball: NBAFB

Posted 18 April 2016 - 08:21 AM

Kk cool. Was playing with the screen grab feature with pinDMD3 decent frame rate :)

#49 atarian

atarian

    Enthusiast

  • Members
  • PipPipPip
  • 345 posts

  • Flag: France

  • Favorite Pinball: EMs

Posted 18 April 2016 - 05:15 PM

Yeah sure, what the heck ;)
 
Just need someone with a PinDMDv1 who can test and give me feedback multiple times a day if possible..
 


That sounds great freezy. Many thanks. I am working away for home until end of next week, but if you are still willing/free after that I can test as needed (unless someone else with a PinDMD1 jumps in first).

Cheers

#50 russdx

russdx

    Pinball Fan

  • VIP
  • 1,317 posts
  • Location:Bristol UK

  • Flag: United Kingdom

  • Favorite Pinball: NBAFB

Posted 20 April 2016 - 08:14 PM

Sorry beat you to it :D

freezy has NOW got pinDMD1 and pinDMD2 working as well :)


Edited by russdx, 20 April 2016 - 08:23 PM.


#51 freezy

freezy

    Member title

  • Members
  • PipPipPipPip
  • 683 posts

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

  • Favorite Pinball: T2, TOM, AFM

Posted 20 April 2016 - 08:17 PM

Change "not" to "now" and then we can talk about who beat who ;)



#52 russdx

russdx

    Pinball Fan

  • VIP
  • 1,317 posts
  • Location:Bristol UK

  • Flag: United Kingdom

  • Favorite Pinball: NBAFB

Posted 20 April 2016 - 08:23 PM

yeah thats a rather bad typo on my part hahaha :)



#53 atarian

atarian

    Enthusiast

  • Members
  • PipPipPip
  • 345 posts

  • Flag: France

  • Favorite Pinball: EMs

Posted 21 April 2016 - 04:37 PM

Sorry beat you to it :D
freezy has NOW got pinDMD1 and pinDMD2 working as well :)


Glad you beat me! That is brilliant. Thanks to both of you :D

#54 paymaster

paymaster

    Enthusiast

  • Members
  • PipPipPip
  • 59 posts

  • Flag: United States of America

  • Favorite Pinball: The Addams Family

Posted 21 April 2016 - 08:08 PM

freezy has NOW got pinDMD1 and pinDMD2 working as well :)

 

Link on the first post hasn't changed?  Is there a new link/version?   I have pinDMD2.  :)



#55 freezy

freezy

    Member title

  • Members
  • PipPipPipPip
  • 683 posts

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

  • Favorite Pinball: T2, TOM, AFM

Posted 21 April 2016 - 08:09 PM

Coming later tonight I hope.



#56 freezy

freezy

    Member title

  • Members
  • PipPipPipPip
  • 683 posts

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

  • Favorite Pinball: T2, TOM, AFM

Posted 21 April 2016 - 11:04 PM

Okay, here's the new command line tool. I'll update the UI app later when we get into a proper release cycle.

 

DOWNLOAD

 

It can do most of what you would expect, some minor features are missing and some new ones were added. Supported displays are PinDMDv1-3 and PIN2DMD. However, Lucky1 reported that when connected with libusb-win32, PIN2DMD isn't recognized, while under WinUSB it is. We're still figuring out why.

 

There are currently two modes:

C:\>dmdext

DMD Extensions v0.1.1
USAGE: dmdext <command> [<options>]

  mirror    Mirrors pixel data from the screen to one or more other
            destinations.

  test      Displays a test image on all available devices.
Get more help for each:
C:\>dmdext test --help

DMD Extensions v0.1.1
USAGE: dmdext test [--destination=<destination>]

  -d, --destination    The destination where the DMD data is sent to. One of: [
                       auto, pindmdv1, pindmdv2, pindmdv3, pin2dmd, virtual ].
                       Default: "auto", which outputs to all available devices.

  --no-virtual         Explicitly disables the virtual DMD when destination is
                       "auto". Default: false.

  --use-gray4          Sends frames in 4-bit grayscale to the display if
                       supported.

  --flip-x             Flips the image horizontally. Default: false.

  --flip-y             Flips the image vertically. Default: false.
C:\>dmdext mirror --help

DMD Extensions v0.1.1
USAGE: dmdext mirror --source=<source> [--destination=<destination>]

  -s, --source            Required. The source you want to retrieve DMD data
                          from. One of: [ pinballfx2, screen ].

  -f, --fps               How many frames per second should be mirrored.
                          Default: 25

  -p, --position          Position and size of screen grabber source. Four
                          values: <Left> <Top> <Width> <Height>. Default: "0 0
                          128 32".

  --grid-spacing          How much of the white space around the dot should be
                          cut off. 1 means same size as the dot, 0.5 half size,
                          etc. 0 for disable. Default: 1.

  --grid-size             Number of horizontal and vertical dots when removing
                          grid spacing. Two values: <Width> <Height>. Default:
                          "128 32".

  --no-shading            Disabled shading, i.e. artificial downsampling for
                          RGB displays. Default: false.

  --shading-numshades     Number of shades for artifical downsampling for RGB
                          displays. Default: 4

  --shading-intensity     Multiplies luminosity of the parsed dot so it covers
                          the whole spectrum before downsampling. Default: 2.5.

  --shading-brightness    Adds luminosity to the parsed dot after being
                          multiplied. Useful if even black dots should be
                          slightly illuminated. Default: 0.1.

  -d, --destination       The destination where the DMD data is sent to. One
                          of: [ auto, pindmdv1, pindmdv2, pindmdv3, pin2dmd,
                          virtual ]. Default: "auto", which outputs to all
                          available devices.

  --no-virtual            Explicitly disables the virtual DMD when destination
                          is "auto". Default: false.

  --use-gray4             Sends frames in 4-bit grayscale to the display if
                          supported.

  --flip-x                Flips the image horizontally. Default: false.

  --flip-y                Flips the image vertically. Default: false.
Let me know how it goes. I'm thankful for people with different displays confirming or denying functionality, since I don't have much hardware to test. Please include the log that is printed. Let me also know if you where expecting stuff that isn't in there, I'm open for suggestions. ;)
 
For the TPA fans, NoEx had good progress with grabbing DMD data from memory. Will keep you updated. Also thanks again to Russell and Lucky1 for all the painful testing and bearing with me. ;)
 
Cheers!
 
 
EDIT: Updated download link with v0.1.2, which should fix PIN2DMD problem.
EDIT2: Updated download link with 0.1.3, which fixes 4-bit rendering for PIN2DMD.

Edited by freezy, 22 April 2016 - 10:24 AM.


#57 Comicalman

Comicalman

    Enthusiast

  • Members
  • PipPipPip
  • 128 posts
  • Location:Great Midwest

  • Flag: United States of America

  • Favorite Pinball: 8 ball deluxe, Black Knight

Posted 22 April 2016 - 01:51 AM

Hey Freezy-

  Thanks for the update.  I have tried the following with your new version on my PIN2DMD:

 

dmdext -f 20 -s pinballfx2 -d pin2dmd

 

getting this error: Device PIN2DMD is not available.  But if I try your prior versions, it DOES find the PIN2DMD.

 

The log file is empty (does it need to start before logging?)

 

edit: I suppose this is related to winlib v. libusb?


Edited by Comicalman, 22 April 2016 - 01:52 AM.

https://www.facebook...yer3productions follow me on twitter @player3products

Current WIPs: DMD Coloring:???,

FP Tables completed:Shrek, Heavy Metal, Nehwon (Fafhrd, Gray Mouser), NHL TableHockey,


#58 freezy

freezy

    Member title

  • Members
  • PipPipPipPip
  • 683 posts

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

  • Favorite Pinball: T2, TOM, AFM

Posted 22 April 2016 - 07:33 AM

I've updated the link with a new version that should fix PIN2DMD. Thanks, Lucky1!



#59 howlingmad

howlingmad

    Neophyte

  • Members
  • Pip
  • 7 posts

  • Flag: Germany

  • Favorite Pinball: Addams Family, Medievil Madness

  • PS3 Gamer Tag: howlingmad78

Posted 22 April 2016 - 07:50 AM

Thanks so much. Works fine, but I'm still testing with the options to  the best quality with my PinDMD3

 

Till integration in PinballX, i start the commandline tool as Lauch before executable.

 

Maybe usefull for someone:

After closing PinballFX2, the commandline-tool is still open in background and so the DMD is blocked for using with Visual Pinball.

So I end the process with a small powershell-command in Launch After (Pinball FX2) setting in PinballX:

 

Launch after Working path:   C:\Windows\System32\WindowsPowerShell\v1.0

Launch After Executable:  powershell.exe

Launch after Parameters: -NoLogo -command stop-process -name dmdext



#60 freezy

freezy

    Member title

  • Members
  • PipPipPipPip
  • 683 posts

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

  • Favorite Pinball: T2, TOM, AFM

Posted 22 April 2016 - 07:57 AM

Yeah I thought about that. I'll provide a parameter to automatically exit when Pinball FX2 exits.







Also tagged with one or more of these keywords: PinDMDv3, PinDMDv2, PIN2DMD, Pinball FX2