Jump to content



Photo
- - - - -

DofLinx B2s 1.3.0.4 with PinFX3 forgetting "Active Plugins"

FX3 Active Plugins B2s

  • Please log in to reply
5 replies to this topic

#1 mrjcrane

mrjcrane

    Pinball Fan

  • Members
  • PipPipPipPip
  • 544 posts
  • Location:Northern California

  • Flag: United States of America

  • Favorite Pinball: Monster Bash

Posted 19 January 2021 - 08:56 AM

This problem is very strange, FX3 working in coordination with DofLINX is "forgetting" that the active plugins should be turned "on", therefore is not triggering my sainsmart 8 relay board (for all my attached solenoids) and kind of does not really interact with sainsmart 8 .... but DofLinx is actually rendering the correct .b2s file in FX3 so I do believe it is running; testing with Monster Bash the .b2s will render in FX3 just fine.

 

DOF is working perfectly with all Visual Pinball tables (and with my Sainsmart 8), but with the FX3 tables, it thinks the Sainsmart is non-existent and no relays will trigger.  Any help would be appreciated. Image attached.

 

fx3forgettingplugins_t.png

 



#2 DDH69

DDH69

    Pinball Wizard

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

  • Flag: Australia

  • Favorite Pinball: Monster Bash

Posted 19 January 2021 - 10:46 AM

FX3, DOFLinx and DOF do not work the same way as VPX, DOF.  With VPX / DOF, DOF drives the toys via your Sainsmart board as ROM events are triggered from VPX.  For FX3, DOFLinx drives the toys when FX3 provides triggers, DOFLinx loads the B2S based on the game detected in FX3.  So the active plugins from B2S are not relevant for linking toys with FX3.  Toys will run for FX3 with DOFLinx running and no B2S at all.

 

Have you setup your toys within DOFLinx?  That is setup your solenoids, flashers, or whatever you have in DOFLinx.INI?  


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

#3 mrjcrane

mrjcrane

    Pinball Fan

  • Members
  • PipPipPipPip
  • 544 posts
  • Location:Northern California

  • Flag: United States of America

  • Favorite Pinball: Monster Bash

Posted 19 January 2021 - 09:02 PM

DDH btw thanks so much for writing the DOFLINX stuff (I think you were the author). Yes my .ini does appear to be correct with the Sainsmart taking ports 1-8 on device #1. Have all my setups for DOF and DOF LINX mirrored between two computers for testing (a desktop and a cabinet install). In December FX 3 noticed that my DofLinx was in need of an update. I updated then my cabinet was behaving fine with all triggers and relays and toys, then for some reason in the past month all the relays wont trigger from  FX3 but VPX is all working perfectly in my cabinet install. So FX3 is fighting me a little. Have appreciated your help.

 

## SAINSMART Begin: PORT #1 Relay Board
##JOHN Config 01/16/2021
# 1st Digit is for Joystick Port #1
# Flippers, Slingshots & Middle Bumpers
LINK_LF=101,50,10000,255
LINK_RF=102,50,10000,255
LINK_LS=103,50,1000,255
LINK_RS=104,50,1000,255
LINK_ML=105,50,1000,255
LINK_MR=106,50,1000,255
 
# Shaker & Knocker
LINK_SH=107,1000,5000,255
LINK_KN=108,120,500,255
## SAINSMART End Section
 
Here are my install paths in the ini:
DIRECTOUTPUTCONFIG=c:\DirectOutput\config\directoutputconfig40.ini
PATH_B2S_SERVER=c:\GAMES\Visual Pinball\Tables\
DIRECTOUTPUTGLOBAL=C:\DirectOutput\config\GlobalConfig_b2SServer.xml
PATH_FX3=C:\DirectOutput\FX3\
PATH_FX3_B2S=C:\DirectOutput\FX3_B2S\


#4 DDH69

DDH69

    Pinball Wizard

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

  • Flag: Australia

  • Favorite Pinball: Monster Bash

Posted 19 January 2021 - 10:52 PM

Do you have the latest DOFLinx release.  FX3 has likely been updated (and therefore requires a DOFLinx update) since you mirrored the settings.

 

If you do have the latest version, then create DEBUG.LOG and post it.

 

1. Delete DEBUG.LOG

2. Set DEBUG=2 in your DOFLinx.INI

3. Do a short sample run

4. Remove DEBUG=2

5. Check the log and look for errors

6. If you can't figure it out then post the log and describe what you did


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

#5 mrjcrane

mrjcrane

    Pinball Fan

  • Members
  • PipPipPipPip
  • 544 posts
  • Location:Northern California

  • Flag: United States of America

  • Favorite Pinball: Monster Bash

Posted 20 January 2021 - 05:48 AM

ok DDH I'm on v7.24 and thanks for helping me learn (others who find this can learn). I think I had a basic issue with with a mismatch between the recognized device numbers, joystick numbers and port reference numbers. I did recently add a Pinscape Digital Plunger and I think by doing that it re-sequenced my previous device and joystick reference numbers. So my Sainsmart(8) became device #3 instead of when I started it was device #1. My log file showed the new device assignment number as seen in my log results below. Once I started to mess with and correct the flipper device/port references the Sainsmart began to come to life again. I moved my relays triggers from the 100 series to the 300 series until I learn how to recode them back to the 100's. I really appreciate your help on this, advancing my skills.

 

A few remaining questions: ----------

Q1. I'd like to sequence my Sainsmart back to DofLINX device:1, then let other things I add, like digital plunger and led whiz take device numbers 2 & 3 respectively. How can I force the device numbers as a function of the DofLinx.ini file?

 

19-Jan-21 20:46:36.850 - DOF Linx for Pinball Emulators - DOFLinx by DDH69
19-Jan-21 20:46:36.863 - Starting up - version 7.24
19-Jan-21 20:46:36.865 - For support come and visit the community here http://www.vpforums....p?showforum=104
19-Jan-21 20:46:36.868 - Pre-Reading DOFLinx.INI startup config file details
19-Jan-21 20:46:36.890 - DEBUG enabled with showing of window False
19-Jan-21 20:46:36.895 - No DOF Global Config file supplied
19-Jan-21 20:46:36.920 - Joystick # 1 detected : 12 buttons   DPAD Z-Axis
19-Jan-21 20:46:36.923 - Joystick # 2 detected : 32 buttons   Z-Axis
19-Jan-21 20:46:36.961 - DOFLinx device: 1 Initializing as Pinscape #1 with name=Pinscape Controller
19-Jan-21 20:46:36.973 - DOFLinx device:1 Pinscape setup with 22 outputs
19-Jan-21 20:46:37.001 - DOFLinx device: 2 Initializing as LEDWiz #8 with ID=0
19-Jan-21 20:46:37.004 - DOFLinx device:2 LEDWiz setup with 32 outputs
19-Jan-21 20:46:37.005 - This device is probably a PinScape emulating a LEDWiz, if it is, then it is better to assign toys to the Pinscape device not this one
19-Jan-21 20:46:37.266 - DOFLinx Device: 3 Initializing as FTDI (Sainsmart) #1 serial # AB0KK68T
19-Jan-21 20:46:37.271 - DOFLinx device:3 FTDI (Sainsmart) setup with 8 outputs
19-Jan-21 20:46:37.289 - Reading DOFLinx.INI startup config file details
19-Jan-21 20:46:37.291 - Turning DEBUG off
19-Jan-21 20:46:37.292 - DEBUG enabled with showing of window False
19-Jan-21 20:46:37.295 - Reading DirectOutputConfig file named c:\DirectOutput\config\directoutputconfig40.ini
19-Jan-21 20:46:37.369 - Set Debug Privilege = Running as administrator so no action taken
19-Jan-21 20:46:46.759 - Found valid process name of 'Pinball FX3'
19-Jan-21 20:46:46.761 - Setting FX3 process ID to :4324
19-Jan-21 20:46:48.763 - Activated by process name : 'Pinball FX3'
19-Jan-21 20:46:48.776 - Named process detected and startup commenced
19-Jan-21 20:46:48.816 - DOFLinx device: 1 Initializing as Pinscape #1 with name=Pinscape Controller
19-Jan-21 20:46:48.821 - DOFLinx device:1 Pinscape setup with 22 outputs
19-Jan-21 20:46:48.825 - DOFLinx device: 2 Initializing as LEDWiz #8 with ID=0
19-Jan-21 20:46:48.830 - DOFLinx device:2 LEDWiz setup with 32 outputs
19-Jan-21 20:46:48.838 - This device is probably a PinScape emulating a LEDWiz, if it is, then it is better to assign toys to the Pinscape device not this one
19-Jan-21 20:46:49.091 - DOFLinx Device: 3 Initializing as FTDI (Sainsmart) #1 serial # AB0KK68T
19-Jan-21 20:46:49.092 - DOFLinx device:3 FTDI (Sainsmart) setup with 8 outputs
19-Jan-21 20:46:49.638 - FX3 EXE name=C:\GAMES\Steam\steamapps\common\Pinball FX3\Pinball FX3.exe Size=11303056 bytes, Dated 12/4/2020 3:02:18 PM
19-Jan-21 20:46:49.766 - Applying memory offsets for FX3 version circa 2/12/20
 
## SAINSMART Begin: PORT #1 Relay Board
##JOHN Config 01/16/2021
# 1st Digit is for Joystick Port #1
# Flippers, Slingshots & Middle Bumpers
LINK_LF=101,50,10000,255
LINK_RF=102,50,10000,255
LINK_LS=103,50,1000,255
LINK_RS=104,50,1000,255
LINK_ML=105,50,1000,255
LINK_MR=106,50,1000,255
 
# Shaker & Knocker
LINK_SH=107,1000,5000,255
LINK_KN=108,120,500,255
## SAINSMART End Section
 
## PINSCAPE PORT #2 - Digital Plunger & Nudge Settings
#JOY_PORT=2
#JOY_X_OFFSET=32767
#JOY_Y_OFFSET=32767
#NUDGE_LEFT_POINT=-5500
#NUDGE_RIGHT_POINT=5500
#NUDGE_FORWARD_POINT=4000
#NUDGE_LEFT_KEY=4C
#NUDGE_RIGHT_KEY=52
#NUDGE_FORWARD_KEY=20
#NUDGE_LEFT_INPUT=A2
#NUDGE_RIGHT_INPUT=A3
 
## DIGITAL PLUNGER SETTINGS
PLUNGER_AXIS=Z
PLUNGER_JOYSTICK_NUMBER=2
PLUNGER_KEY=0D
PLUNGER_PULL_POINT=63000
PLUNGER_RELEASE_POINT=33000

Edited by mrjcrane, 20 January 2021 - 08:13 AM.


#6 DDH69

DDH69

    Pinball Wizard

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

  • Flag: Australia

  • Favorite Pinball: Monster Bash

Posted 20 January 2021 - 10:54 AM

Nice work in finding the issue.

 

You can not resequence devices in DOFLinx.  Devices are added in order of device type then the order in which they are reported by DOF.  Pinscape devices are checked for first, so they will always come before a FTDI device like Sainsmart.


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