Jump to content



Photo
* * - - - 1 votes

PinballX DOF Built-in Commands (Looking for a PinballX Exit/Shutdown Command) - SOLVED


  • Please log in to reply
7 replies to this topic

#1 jimmay3

jimmay3

    Enthusiast

  • Platinum Supporter
  • 182 posts
  • Location:Buffalo, NY

  • Flag: United States of America

  • Favorite Pinball: Black Knight, Medieval Madness, Strike Master

Posted 09 April 2022 - 07:27 AM

Building a Hybrid Shuffle Alley and when done playing, during shutdown, I would like to down (cycle them all up) cycle all the pins up to be stowed, so need to fire the solenoids on exit.  There is a $PBXQuit, but it's for quitting a menu, there seems to be no shutdown or pinballx exit type command?

 

The only list of PinballX DOF commands I can find is here:  http://pinball.weile...putwip/pbx.html

 

Project status at:  https://www.vpforums...showtopic=48917


Edited by jimmay3, 11 April 2022 - 11:17 AM.


#2 Mike DA Spike

Mike DA Spike

    Pinball Fan

  • Platinum Supporter
  • 1,280 posts
  • Location:Hoofddorp

  • Flag: Netherlands

  • Favorite Pinball: Too many to mention

Posted 09 April 2022 - 12:56 PM

If you want all pbx command, you can ask Tom Speirs.
Scutters created some plugins as well and maybe knows the pbxexit command as well.
I should recommend tofollow up your post on the pinballx official website.
Not sure if you want to modify the plugin to accomplish your need, but recently I modified the plugin a bit

331ddabcc742f0ba74791e946eb0f791.gif Try PinballX Database manager as a replacement of PinballX's game list manager
With special thanks to Scutters 


#3 jimmay3

jimmay3

    Enthusiast

  • Platinum Supporter
  • 182 posts
  • Location:Buffalo, NY

  • Flag: United States of America

  • Favorite Pinball: Black Knight, Medieval Madness, Strike Master

Posted 09 April 2022 - 06:09 PM

Thanks, will post to PBX site...

 

Was thinking, can DOF be run via a batch file?

 

I could have batch file run via windows maybe, it's just best to store the pins up, would be great to automatically do it vs reaching under and nocking them all up...



#4 Mike DA Spike

Mike DA Spike

    Pinball Fan

  • Platinum Supporter
  • 1,280 posts
  • Location:Hoofddorp

  • Flag: Netherlands

  • Favorite Pinball: Too many to mention

Posted 10 April 2022 - 02:24 AM

If you want to get the triggers from pbx, you need to create a plugin. Dof can be initialized in that plugin and you can do your things as well

331ddabcc742f0ba74791e946eb0f791.gif Try PinballX Database manager as a replacement of PinballX's game list manager
With special thanks to Scutters 


#5 jimmay3

jimmay3

    Enthusiast

  • Platinum Supporter
  • 182 posts
  • Location:Buffalo, NY

  • Flag: United States of America

  • Favorite Pinball: Black Knight, Medieval Madness, Strike Master

Posted 10 April 2022 - 06:34 AM

This should allow me to run via a batch file, but no joy, anyone use DirectOutputTest?

 

http://mjrnet.org/pi...e/doftest3.html

 

Setup as noted, but getting an error when running DirectOutputText via cmd prompt...

 

Unhandled Exception: System.TypeLoadException: Could not load type 'StringExtensions' from assembly 'DirectOutput, Version=3.1.7776.42172, Culture=neutral, PublicKeyToken=null'.
   at DirectOutputTest.Program.Main(String[] args)

Edited by jimmay3, 10 April 2022 - 06:46 AM.


#6 jimmay3

jimmay3

    Enthusiast

  • Platinum Supporter
  • 182 posts
  • Location:Buffalo, NY

  • Flag: United States of America

  • Favorite Pinball: Black Knight, Medieval Madness, Strike Master

Posted 10 April 2022 - 10:21 PM

mjr did reply about the DirectOutputTest program probably being out of date and needing to be recompiled to latest version, I have no idea how to do that so going to try Tom for some PBX resolution possibilities.

#7 Mike DA Spike

Mike DA Spike

    Pinball Fan

  • Platinum Supporter
  • 1,280 posts
  • Location:Hoofddorp

  • Flag: Netherlands

  • Favorite Pinball: Too many to mention

Posted 11 April 2022 - 09:03 AM

I'm not a programmer as well, and wasn't able to add all in the exe file, but here's a new compiled version DirectOuputTest.zip
 


331ddabcc742f0ba74791e946eb0f791.gif Try PinballX Database manager as a replacement of PinballX's game list manager
With special thanks to Scutters 


#8 jimmay3

jimmay3

    Enthusiast

  • Platinum Supporter
  • 182 posts
  • Location:Buffalo, NY

  • Flag: United States of America

  • Favorite Pinball: Black Knight, Medieval Madness, Strike Master

Posted 11 April 2022 - 11:14 AM

Mike_da_Spike's recompile job worked to update the DirectOutputTest.exe file to run properly and was able to change PBX Startup/Shutdown setting to activate lights, so will test pins next, thanks for the support...

 

Fix at:  https://forums.gamee...utdown-command/

 


Edited by jimmay3, 13 April 2022 - 03:04 PM.