Extending Hardware Support

Cabinet specific discussion

Extending Hardware Support

Postby adpag » Thu Jul 21, 2016 2:58 pm

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 633 times
adpag
Staff
Staff
 
Posts: 486
Joined: Thu Sep 12, 2013 11:29 am

Re: Extending Hardware Support

Postby mpad » Thu Jul 21, 2016 9:09 pm

Awesome. You guys ROCK!!!
(at last) :P

DMD works like a charm...
mpad
Member
 
Posts: 86
Joined: Sun Mar 02, 2014 9:49 am

Re: Extending Hardware Support

Postby ChrissOnline » Thu Jul 21, 2016 9:22 pm

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)
Last edited by ChrissOnline on Thu Jul 21, 2016 9:31 pm, edited 1 time in total.
User avatar
ChrissOnline
Member
 
Posts: 43
Joined: Fri Sep 27, 2013 1:48 pm
Location: Germany/Bavaria

Re: Extending Hardware Support

Postby mpad » Thu Jul 21, 2016 9:29 pm

:D love finally playing the video mode on real DMD after all those years!
mpad
Member
 
Posts: 86
Joined: Sun Mar 02, 2014 9:49 am

Re: Extending Hardware Support

Postby mpad » Thu Jul 21, 2016 9:31 pm

I just added those exact lines in the steam advanced start options and it worked right out of the box.
mpad
Member
 
Posts: 86
Joined: Sun Mar 02, 2014 9:49 am

Re: Extending Hardware Support

Postby ChrissOnline » Thu Jul 21, 2016 9:32 pm

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


Hm, so no booster 1_60_0 installed?!
Maybe I should try the stream version too.... just running the kickstarter_version...

Next try. :-)

I waited 20 years for this, so I hope I can wait till my download is finished... :D
User avatar
ChrissOnline
Member
 
Posts: 43
Joined: Fri Sep 27, 2013 1:48 pm
Location: Germany/Bavaria

Re: Extending Hardware Support

Postby mpad » Thu Jul 21, 2016 9:54 pm

I have absolutely no idea what boost is, probably something for force feedback?
DMD just worked.
mpad
Member
 
Posts: 86
Joined: Sun Mar 02, 2014 9:49 am

Re: Extending Hardware Support

Postby ChrissOnline » Thu Jul 21, 2016 11:40 pm

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... :(
User avatar
ChrissOnline
Member
 
Posts: 43
Joined: Fri Sep 27, 2013 1:48 pm
Location: Germany/Bavaria

Re: Extending Hardware Support

Postby insx » Fri Jul 22, 2016 9:19 am

I'm almost tempted to install a real DMD but it would look a bit odd in my half scale cab :)
User avatar
insx
VIP Tester
VIP Tester
 
Posts: 394
Joined: Fri Sep 20, 2013 1:41 pm
Location: Ancient Rome

Re: Extending Hardware Support

Postby insx » Fri Jul 22, 2016 9:22 am

ChrissOnline wrote: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)


Just checking the obvious, did you put PinDMD2Slave.exe in your ProPinball folder?
User avatar
insx
VIP Tester
VIP Tester
 
Posts: 394
Joined: Fri Sep 20, 2013 1:41 pm
Location: Ancient Rome

Next

Return to Cabinet

cron