Jump to content



Photo

DOF R3 for Pinball FX2

LEDWiz DOF DOF FX2 PinBall FX2 LEDWiz

  • Please log in to reply
236 replies to this topic

#101 Slydog43

Slydog43

    Pinball Wizard

  • Platinum Supporter
  • 3,008 posts
  • Location:Hackettstown, NJ

  • Flag: United States of America

  • Favorite Pinball: Addams Family, All Williams 90's Games

Posted 10 August 2016 - 02:45 PM

Thanks for the tips DDH69, but still having no luck.  I have found out that if I click on "Fake Steam On" it WORKS! within the debug window, but if I run my PinballFX2 it stops responding.  Does that help out at all?

 

I only have these lines in my ini file

 

DIRECTOUTPUTCONFIG=C:\Visual Pinball\Tables\plugins\DirectOutput\config\directoutputconfig.ini
L_FLIPPER_OUTPUT=109
R_FLIPPER_OUTPUT=110
# The keyboard hex code for the key that is used for each flipper from https://msdn.microso...1(v=vs.85).aspx
L_FLIPPER_KEY=25
R_FLIPPER_KEY=27
DEBUG=1
 
 
Senseless, you are the man!
 
I did

I made this change in this way:

  1. Run > RegEdit:
    Set the key: HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Windows \ CurrentVersion \ Policies \ System \ EnableLUA to 0

and everything is working!  This is so cool as its so much more fun to play pinball FX2 with contactors!    Thanks for an awesome update and the support.  You should probably include this tip  (I'm running win10 x64 latest build (anniversary build))

 


Edited by Slydog43, 10 August 2016 - 02:54 PM.


#102 senseless

senseless

    Pinball Fan

  • Platinum Supporter
  • 513 posts

  • Flag: Netherlands

  • Favorite Pinball: T2, Black Knight 2K, Monster Bash

  • PS3 Gamer Tag: senseless_mind

Posted 10 August 2016 - 03:08 PM

Glad to be of help :). I'm still struggling with getting things integrated with PinballX.

 

@TerryRed : I assume you are running DOFFX2 with the FORCE_ACTIVE setting. Did you get things working with the PROCESSES setting? It seems that DOFFX2 cannot detect the processes when activated via PinballX. I don't want to use the FORCE_ACTIVE as this also provides unwanted effects outside FX2/PBA and Future Pinball.



#103 DDH69

DDH69

    Pinball Wizard

  • Platinum Supporter
  • 3,570 posts
  • Location:DOFLinx HQ, Adelaide

  • Flag: Australia

  • Favorite Pinball: Monster Bash

Posted 10 August 2016 - 11:44 PM

 

Thanks for the tips DDH69, but still having no luck.  I have found out that if I click on "Fake Steam On" it WORKS! within the debug window, but if I run my PinballFX2 it stops responding.  Does that help out at all?

 

I only have these lines in my ini file

 

DIRECTOUTPUTCONFIG=C:\Visual Pinball\Tables\plugins\DirectOutput\config\directoutputconfig.ini
L_FLIPPER_OUTPUT=109
R_FLIPPER_OUTPUT=110
# The keyboard hex code for the key that is used for each flipper from https://msdn.microso...1(v=vs.85).aspx
L_FLIPPER_KEY=25
R_FLIPPER_KEY=27
DEBUG=1
 
 
Senseless, you are the man!
 
I did

I made this change in this way:

  1. Run > RegEdit:
    Set the key: HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Windows \ CurrentVersion \ Policies \ System \ EnableLUA to 0

and everything is working!  This is so cool as its so much more fun to play pinball FX2 with contactors!    Thanks for an awesome update and the support.  You should probably include this tip  (I'm running win10 x64 latest build (anniversary build))

 

 

 

Thanks to both of you.  I will review and place this in the guide for V2.0  (at Beta stage now) if it makes sense to.


Update : startup of DOFFX2 was not working in Windows 8. Had to modify the registry to disable LUA. I hate Microsoft....

 

I made this change in this way:

  1. Run > RegEdit:
    Set the key: HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Windows \ CurrentVersion \ Policies \ System \ EnableLUA to 0.

Next step....
 

 

 

senseless, before I document this in the guide, a couple of questions about security on your system if I may.

1) Is your normal pinball user a local administrator?

2) Have you tried flagging DOFFX2 with "run as administrator"?


Glad to be of help :). I'm still struggling with getting things integrated with PinballX.

 

@TerryRed : I assume you are running DOFFX2 with the FORCE_ACTIVE setting. Did you get things working with the PROCESSES setting? It seems that DOFFX2 cannot detect the processes when activated via PinballX. I don't want to use the FORCE_ACTIVE as this also provides unwanted effects outside FX2/PBA and Future Pinball.

 

sensless, what do you have in the PROCESSES= line?  Do you have "Pinball FX2" with a space and no ".EXE" on the end?  If you continue to have issues let me know, while I couldn't find an issue I just had a feeling that multiple process detection was a little hinky in v1.4.  You are welcome to the V2.0 Beta which I know is handling this well, but has many many functions rebuilt, so may break something else until fully tested.  PM me if you want the Beta.


Edited by DDH69, 10 August 2016 - 11:45 PM.

DOFLinx
Contributions for equipment to help with ongoing DOFLinx development can be made here

#104 senseless

senseless

    Pinball Fan

  • Platinum Supporter
  • 513 posts

  • Flag: Netherlands

  • Favorite Pinball: T2, Black Knight 2K, Monster Bash

  • PS3 Gamer Tag: senseless_mind

Posted 10 August 2016 - 11:51 PM

 

 

Thanks for the tips DDH69, but still having no luck.  I have found out that if I click on "Fake Steam On" it WORKS! within the debug window, but if I run my PinballFX2 it stops responding.  Does that help out at all?

 

I only have these lines in my ini file

 

DIRECTOUTPUTCONFIG=C:\Visual Pinball\Tables\plugins\DirectOutput\config\directoutputconfig.ini
L_FLIPPER_OUTPUT=109
R_FLIPPER_OUTPUT=110
# The keyboard hex code for the key that is used for each flipper from https://msdn.microso...1(v=vs.85).aspx
L_FLIPPER_KEY=25
R_FLIPPER_KEY=27
DEBUG=1
 
 
Senseless, you are the man!
 
I did

I made this change in this way:

  1. Run > RegEdit:
    Set the key: HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Windows \ CurrentVersion \ Policies \ System \ EnableLUA to 0

and everything is working!  This is so cool as its so much more fun to play pinball FX2 with contactors!    Thanks for an awesome update and the support.  You should probably include this tip  (I'm running win10 x64 latest build (anniversary build))

 

 

 

Thanks to both of you.  I will review and place this in the guide for V2.0  (at Beta stage now) if it makes sense to.


Update : startup of DOFFX2 was not working in Windows 8. Had to modify the registry to disable LUA. I hate Microsoft....

 

I made this change in this way:

  1. Run > RegEdit:
    Set the key: HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Windows \ CurrentVersion \ Policies \ System \ EnableLUA to 0.

Next step....
 

 

 

senseless, before I document this in the guide, a couple of questions about security on your system if I may.

1) Is your normal pinball user a local administrator?

 

Yes, local administrator user. I have a single user administration.

 

2) Have you tried flagging DOFFX2 with "run as administrator"?

 

Yes, DOFFX2 runs as administrator.

 


Glad to be of help :). I'm still struggling with getting things integrated with PinballX.

 

@TerryRed : I assume you are running DOFFX2 with the FORCE_ACTIVE setting. Did you get things working with the PROCESSES setting? It seems that DOFFX2 cannot detect the processes when activated via PinballX. I don't want to use the FORCE_ACTIVE as this also provides unwanted effects outside FX2/PBA and Future Pinball.

 

sensless, what do you have in the PROCESSES= line?  Do you have "Pinball FX2" with a space and no ".EXE" on the end?  If you continue to have issues let me know, while I couldn't find an issue I just had a feeling that multiple process detection was a little hinky in v1.4.  You are welcome to the V2.0 Beta which I know is handling this well, but has many many functions rebuilt, so may break something else until fully tested.  PM me if you want the Beta.

 

My line is : PROCESSES=Pinball FX2,Pinball Arcade11, Future Pinball

 


Edited by senseless, 10 August 2016 - 11:55 PM.


#105 TerryRed

TerryRed

    Pinball Fan

  • Silver Supporter
  • 1,955 posts

  • Flag: Canada

  • Favorite Pinball: Too many to choose...

Contributor

Posted 11 August 2016 - 04:55 AM

Glad to be of help :). I'm still struggling with getting things integrated with PinballX.

 

@TerryRed : I assume you are running DOFFX2 with the FORCE_ACTIVE setting. Did you get things working with the PROCESSES setting? It seems that DOFFX2 cannot detect the processes when activated via PinballX. I don't want to use the FORCE_ACTIVE as this also provides unwanted effects outside FX2/PBA and Future Pinball.

 

I tried all methods and they all worked fine for me.

 

I tried the processes as a launch before, and as always running.

 

I also tried Force Active as a Launch Before and as always running.

 

All ran fine. I currently have each system in Pinball X launch DOFFX2 "before" with Force Active=1,and an exit script that taskkills DOFFX2 when returning to Pinball X.

 

However, you can have different *.INI files to separate out the Force Active=1 by table name if you want.

 

I haven't had time to try the new beta.....been swamped with work this week.


Edited by TerryRed, 11 August 2016 - 05:01 AM.


#106 DDH69

DDH69

    Pinball Wizard

  • Platinum Supporter
  • 3,570 posts
  • Location:DOFLinx HQ, Adelaide

  • Flag: Australia

  • Favorite Pinball: Monster Bash

Posted 11 August 2016 - 05:01 AM

All sounds good ....... but, I'm sure the new Beta will make you re-think how you run things  :think:


DOFLinx
Contributions for equipment to help with ongoing DOFLinx development can be made here

#107 bent98

bent98

    Pinball Fan

  • Members
  • PipPipPipPip
  • 1,077 posts
  • Location:NY

  • Flag: United States of America

  • Favorite Pinball: Roadshow, Haunted House, Safe Cracker

Posted 11 August 2016 - 11:58 AM

Senseless
Did you set UAC to the lowest setting in Windows? UAC =universal access control.

#108 senseless

senseless

    Pinball Fan

  • Platinum Supporter
  • 513 posts

  • Flag: Netherlands

  • Favorite Pinball: T2, Black Knight 2K, Monster Bash

  • PS3 Gamer Tag: senseless_mind

Posted 11 August 2016 - 02:54 PM

I 'm on the lowest level... :)

Attached Files


Edited by senseless, 11 August 2016 - 02:54 PM.


#109 bent98

bent98

    Pinball Fan

  • Members
  • PipPipPipPip
  • 1,077 posts
  • Location:NY

  • Flag: United States of America

  • Favorite Pinball: Roadshow, Haunted House, Safe Cracker

Posted 14 August 2016 - 01:27 AM

Is there a way to run this program and DMDEXT when launching PBFX in  Pinball X front end? I dont want to run this program in the background all the time.



#110 DDH69

DDH69

    Pinball Wizard

  • Platinum Supporter
  • 3,570 posts
  • Location:DOFLinx HQ, Adelaide

  • Flag: Australia

  • Favorite Pinball: Monster Bash

Posted 14 August 2016 - 03:49 AM

Is there a way to run this program and DMDEXT when launching PBFX in  Pinball X front end? I dont want to run this program in the background all the time.

 

Yes, but you will need some sort way to launch two programs from the one 'Lauch Before' PinballX option.  The simplest is a batch file or vbs script.  Having said that, you may run into timing issues as things start up 'on top' of each other.  In your launch script you will need to parse through any parameters required to the respective programs that you are starting from the script.

 

I see that you don't want DOFFX2 running all the time, but I must say, it is the best way, and what is was designed to do.  Version 2.0 (bata'ing at present) is even better for this.  May I ask why you want to shutdown each time (just trying to learn)?


DOFLinx
Contributions for equipment to help with ongoing DOFLinx development can be made here

#111 TerryRed

TerryRed

    Pinball Fan

  • Silver Supporter
  • 1,955 posts

  • Flag: Canada

  • Favorite Pinball: Too many to choose...

Contributor

Posted 14 August 2016 - 04:03 AM

 

Is there a way to run this program and DMDEXT when launching PBFX in  Pinball X front end? I dont want to run this program in the background all the time.

 

Yes, but you will need some sort way to launch two programs from the one 'Lauch Before' PinballX option.  The simplest is a batch file or vbs script.  Having said that, you may run into timing issues as things start up 'on top' of each other.  In your launch script you will need to parse through any parameters required to the respective programs that you are starting from the script.

 

I see that you don't want DOFFX2 running all the time, but I must say, it is the best way, and what is was designed to do.  Version 2.0 (bata'ing at present) is even better for this.  May I ask why you want to shutdown each time (just trying to learn)?

 

 

 

 

Is there a way to run this program and DMDEXT when launching PBFX in  Pinball X front end? I dont want to run this program in the background all the time.

 

 

 

This is how I did it for my setup:

 

So my solution was to use the "QuickLaunch" plug-in for Pinball X. It allows you to have multiple "Launch Before" and "Launch After" options for each system instead of just one. However, it also has the extra option of "Also Launch", which launches your "Launch Before" program at the same time as Pinball FX2. 

 

The only issue is the "QuickLaunch" plug-in has a couple of bugs......it works perfect if you know what the bugs are:

 

1. It doesn't always see every Pinball X "system" in the program. PFX2 was missing for me.

2. When you add a new Launch Before, and add your arguments...after clicking OK, it then says you have no arguments.

3. Sometimes the settings.xml for the plug-in gets erased.

 

The solution to this is to just add at least one thing from one "system", then close the plug-in. Then go to the settings.xml (for quicklaunch)and add your "arguments", change the "system" to the one you need. Then you can just copy and paste the entire entry and change what you want for as many things as you need. I did this for DOFFX2 for PFX2, The Pinball Arcade, Future Pinball, MAME, and PC Games...and they all work perfectly with DOFFX2 this way....and while having it detect each process and waking up. I also set the settings.xml file to "Read Only" to prevent it from getting erased. Works perfect after that.

 

This method should work for what he wants.

 

Still haven't had a chance to test DOFFX2 2.0 beta yet. Finally got some free time, and I'm still getting some things sorted software wise with the new bezel layout. Will try to test it out ASAP.


Edited by TerryRed, 14 August 2016 - 04:03 AM.


#112 Carny_Priest

Carny_Priest

    Pinball Fan

  • Members
  • PipPipPipPip
  • 1,257 posts
  • Location:Austin, TX

  • Flag: United States of America

  • Favorite Pinball: EATPM

Posted 14 August 2016 - 06:25 PM

Have PinballX "Launch Before" launch a bat file or AutoHotkey script that itself launches both DOFFX2 and dmdext. It's not hard.


Sent from my iPad using Tapatalk

#113 bent98

bent98

    Pinball Fan

  • Members
  • PipPipPipPip
  • 1,077 posts
  • Location:NY

  • Flag: United States of America

  • Favorite Pinball: Roadshow, Haunted House, Safe Cracker

Posted 14 August 2016 - 07:12 PM

can you share your ahk to do this?



#114 freezy

freezy

    Member title

  • Members
  • PipPipPipPip
  • 685 posts

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

  • Favorite Pinball: T2, TOM, AFM

Posted 14 August 2016 - 08:02 PM

May I ask why you want to shutdown each time (just trying to learn)?

 

For my admittedly paranoid nature, there's just no way having a program running constantly in the background I don't have the source code to...



#115 Carny_Priest

Carny_Priest

    Pinball Fan

  • Members
  • PipPipPipPip
  • 1,257 posts
  • Location:Austin, TX

  • Flag: United States of America

  • Favorite Pinball: EATPM

Posted 14 August 2016 - 09:20 PM

can you share your ahk to do this?

 

I don't have one. I don't yet use DOF because I still need to install my toys, but it would not be hard to do.

 

This is what I currently use as a launcher for FX2 where I am launching multiple executables including dmdext:

 

https://dl.dropboxus...STLaunchFX2.ahk



#116 Avi

Avi

    Enthusiast

  • Members
  • PipPipPip
  • 65 posts

  • Flag: Chile

  • Favorite Pinball: Avengers

Posted 14 August 2016 - 11:29 PM


Ayuda
http://fotos.subefot...0ed650d6eco.png

#117 DDH69

DDH69

    Pinball Wizard

  • Platinum Supporter
  • 3,570 posts
  • Location:DOFLinx HQ, Adelaide

  • Flag: Australia

  • Favorite Pinball: Monster Bash

Posted 15 August 2016 - 01:36 AM

 

Hola. 

 

Avi, it seems you have a SainSmart device.  You only have 8 relays, so your port must be from 101 to 108 inclusive.

 

Change the L_FLIPPER_OUTPUT= parameter in the DOFFX2.INI file to the relay your solenoid / contactor is connected to. For example L_FLIPPER_OUTPUT=101


DOFLinx
Contributions for equipment to help with ongoing DOFLinx development can be made here

#118 maw111

maw111

    Neophyte

  • Members
  • Pip
  • 3 posts

  • Flag: United States of America

  • Favorite Pinball: LOTR

Posted 15 August 2016 - 05:23 PM

Any plans to support Teensy via DOF R3?

#119 Carny_Priest

Carny_Priest

    Pinball Fan

  • Members
  • PipPipPipPip
  • 1,257 posts
  • Location:Austin, TX

  • Flag: United States of America

  • Favorite Pinball: EATPM

Posted 15 August 2016 - 06:04 PM

DOF already does. Hope you can translate French

 

https://dl.dropboxus...673/Teensy.docx

 

I can't directly share the link to the English translation here, but links in the doc will take you to the right forum thread.



#120 maw111

maw111

    Neophyte

  • Members
  • Pip
  • 3 posts

  • Flag: United States of America

  • Favorite Pinball: LOTR

Posted 15 August 2016 - 07:28 PM

DOF already does. Hope you can translate French
 
https://dl.dropboxus...673/Teensy.docx
 
I can't directly share the link to the English translation here, but links in the doc will take you to the right forum thread.



I should clarify, I was questioning if DDH69's program supports Teensy, as the start of the thread mentions LEDWiz, SainSmart, and PacLed64.





Also tagged with one or more of these keywords: LEDWiz DOF, DOF, FX2, PinBall FX2, LEDWiz