[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
Pro Pinball • View topic - Extending Hardware Support
Page 1 of 7

Extending Hardware Support

PostPosted: Thu Jul 21, 2016 2:58 pm
by adpag
Since 1.2.1, hardware devices are supported by the game using standalone 'slave' executables, e.g. PinDMD2Slave.exe for the PinDMD 2 device. In order to allow more devices to be supported, we're releasing the source code for this. The executable just needs to be located in the same directory as ProPinball.exe and its name is passed with the d option, e.g. 'dSomeDMDSlave'. The DMD slave receives a message containing the raw DMD frame data (16-colour monochrome) at approximately 24 frames per second, the game's DMD update rate.

1.2.1 also added support for a 'feedback' slave. This is sent a message approximately 60 times per second containing the current intensity of each flasher (0.0 off, 1.0 maximum brightness), the on/off state of each solenoid, and the on/off state of the start, fire and magnosave button lights (not displayed in the game itself, though used to show/hide buttons in the mobile version). These should be suitable for driving real hardware via e.g. an Ledwiz. The game does not provide a feedback slave, but the source package contains code and an executable for a dummy slave that just prints out state changes to the console. The feedback slave is started by adding the command line option f followed by the executable name, e.g. 'fFeedbackSlave'.

boost 1.60.0 is required. Later versions may work, but that's the version the game is built with.

HardwareSlaves.zip
(79.56 KiB) Downloaded 1749 times

Re: Extending Hardware Support

PostPosted: Thu Jul 21, 2016 9:09 pm
by mpad
Awesome. You guys ROCK!!!
(at last) :P

DMD works like a charm...

Re: Extending Hardware Support

PostPosted: Thu Jul 21, 2016 9:22 pm
by ChrissOnline
not here...

- I installed 1.2.1
- I set "dPinDMD2Slave" and "m3" to my start-icon
- I see nothing on my PinDMD2 :(

Is Boost needed for dmd too? (just downloading)
How to install that?

*****AAAARG*****

(Using WinXP on my cabinet)

Re: Extending Hardware Support

PostPosted: Thu Jul 21, 2016 9:29 pm
by mpad
:D love finally playing the video mode on real DMD after all those years!

Re: Extending Hardware Support

PostPosted: Thu Jul 21, 2016 9:31 pm
by mpad
I just added those exact lines in the steam advanced start options and it worked right out of the box.

Re: Extending Hardware Support

PostPosted: Thu Jul 21, 2016 9:32 pm
by ChrissOnline

Re: Extending Hardware Support

PostPosted: Thu Jul 21, 2016 9:54 pm
by mpad
I have absolutely no idea what boost is, probably something for force feedback?
DMD just worked.

Re: Extending Hardware Support

PostPosted: Thu Jul 21, 2016 11:40 pm
by ChrissOnline
Damn... still nothing. :?

- Can you send me a screenshot of your extended start options? Maybe I forget something....
- What firmware is your PinDMD2 ? I just updated from rev557-16 to rev598-16.

What can be wrong, adpag?
Maybe WinXP-SP3?
Normally my PinDMD2 + PinLED works great.

Edit: rev 630-16 ... still nothing... should got to bed now... 2 am... :(

Re: Extending Hardware Support

PostPosted: Fri Jul 22, 2016 9:19 am
by insx
I'm almost tempted to install a real DMD but it would look a bit odd in my half scale cab :)

Re: Extending Hardware Support

PostPosted: Fri Jul 22, 2016 9:22 am
by insx