For DOFLinx the answer is simple, do nothing. When its all working in DOF it will all flow through. As you startup DOFLinx (with DEBUG=1) you will see that a Teensy setup has been recognised. If it works in DOF then it will work for FP and FX via DOFLinx.
As you start DOFLinx you should see some action on your MX LEDs, to be precise MX Back Effects.
I'm not getting anything though. Teensy tests fine (Basic test sketch).
Here's what I'm seeing in the logs:
DirectOutput.log:
2020.02.14 00:00:31.843 Starting processes
2020.02.14 00:00:31.844 Initializing cabinet
2020.02.14 00:00:31.844 Debug: Initializing output controllers
2020.02.14 00:00:31.849 TeensyStripController LedStripController intialized and updater thread started.
2020.02.14 00:00:31.849 Debug: Output controllers initialized
2020.02.14 00:00:31.850 TeensyStripController LedStripController updater thread started.
2020.02.14 00:00:31.852 Cabinet initialized
2020.02.14 00:00:31.855 Loading shape definition file: F:\DirectOutput\config\DirectOutputShapes.xml
2020.02.14 00:00:31.890 Framework initialized.
2020.02.14 00:00:31.890 Have fun! :)
2020.02.14 00:00:31.938 Initializing cabinet
2020.02.14 00:00:31.938 Debug: Initializing output controllers
2020.02.14 00:00:31.938 Debug: Output controllers initialized
2020.02.14 00:00:31.938 Cabinet initialized
2020.02.14 00:00:31.952 TeensyStripController LedStripController updater thread has connected to TeensyStripController LedStripController.
2020.02.14 00:00:33.901 Finishing framework
2020.02.14 00:00:33.902 Finishing cabinet
2020.02.14 00:00:33.904 Debug: Finishing output controllers
2020.02.14 00:00:33.919 TeensyStripController LedStripController updater thread has disconnected from TeensyStripController LedStripController and will terminate.
2020.02.14 00:00:33.920 TeensyStripController LedStripController finished and updater thread stopped.
2020.02.14 00:00:33.920 Debug: Output controllers finished
2020.02.14 00:00:33.920 Cabinet finished
2020.02.14 00:00:33.920 DirectOutput framework finished.
2020.02.14 00:00:33.920 Bye and thanks for using!
2020.02.14 00:00:33.920 Initializing cabinet
2020.02.14 00:00:33.920 Debug: Initializing output controllers
2020.02.14 00:00:33.920 Debug: Output controllers initialized
2020.02.14 00:00:33.920 Cabinet initialized
Then I load up a DOFLinx supported table in FP, and I watch debug:
14-Feb-20 00:00:29.956 - Starting up - version 7.04
14-Feb-20 00:00:29.963 - For support come and visit the community here http://www.vpforums.org/index.php?showforum=104
14-Feb-20 00:00:29.972 - Pre-Reading DOFLinx.INI startup config file details
14-Feb-20 00:00:30.087 - DEBUG enabled with showing of window True
14-Feb-20 00:00:31.890 - Found Teensy controller named 'LedStripController'
14-Feb-20 00:00:31.912 - Joystick # 1 detected : 12 buttons DPAD Z-Axis
14-Feb-20 00:00:31.920 - Joystick # 2 detected : 12 buttons DPAD Z-Axis
14-Feb-20 00:00:31.929 - Joystick # 3 detected : 12 buttons DPAD Z-Axis
14-Feb-20 00:00:31.940 - !!! No valid output devices for DOFLinx were found ...... sorry about that !!!
14-Feb-20 00:00:31.949 - Reading DOFLinx.INI startup config file details
14-Feb-20 00:00:31.957 - Reading DirectOutputConfig file named F:\DirectOutput\config\directoutputconfig.ini
14-Feb-20 00:00:31.984 - Turning DEBUG off
14-Feb-20 00:00:32.020 - DEBUG enabled with showing of window True
14-Feb-20 00:00:32.038 - Set Debug Privilege = Running as administrator so no action taken
14-Feb-20 00:00:33.061 - Found valid process name of 'Future Pinball'
14-Feb-20 00:00:33.076 - Setting Future Pinball process ID to :5204
14-Feb-20 00:00:33.093 - Activated by process name : 'Future Pinball'
14-Feb-20 00:00:33.104 - Named process detected and startup commenced
14-Feb-20 00:00:33.113 - 64 bit OS detected
14-Feb-20 00:00:33.165 - FP full name=F:\Future Pinball\Future Pinball.exe Size=28547584 bytes, Dated 12/31/2010 1:23:32 PM
14-Feb-20 00:00:33.175 - Starting scan of FP process for DOFLinx code
14-Feb-20 00:00:33.920 - !!! No valid output devices for DOFLinx were found ...... sorry about that !!!
14-Feb-20 00:00:37.001 - Starting scan of FP process for DOFLinx code
14-Feb-20 00:00:39.001 - Starting scan of FP process for DOFLinx code
14-Feb-20 00:00:41.001 - Starting scan of FP process for DOFLinx code
14-Feb-20 00:00:43.001 - Starting scan of FP process for DOFLinx code
14-Feb-20 00:00:46.001 - Starting scan of FP process for DOFLinx code
14-Feb-20 00:00:50.001 - Starting scan of FP process for DOFLinx code
14-Feb-20 00:00:54.001 - Starting scan of FP process for DOFLinx code
14-Feb-20 00:00:59.002 - Starting scan of FP process for DOFLinx code
14-Feb-20 00:01:03.001 - Starting scan of FP process for DOFLinx code
14-Feb-20 00:01:07.001 - Starting scan of FP process for DOFLinx code
14-Feb-20 00:01:11.001 - Starting scan of FP process for DOFLinx code
14-Feb-20 00:01:15.139 - Failed to find a FP table running DOFLinx code and establish a link, checking other methods
14-Feb-20 00:01:15.152 - Using full colour palette
14-Feb-20 00:01:15.164 - 122 colours added to the palette
14-Feb-20 00:01:59.405 - Activating process disappeared so stopping things
14-Feb-20 00:03:41.939 - Shutting down
14-Feb-20 00:03:41.954 - Program clos
Also tested with FX3 but it crashes back to my desktop with:
************** Exception Text **************
System.NullReferenceException: Object variable or With block variable not set.
at Microsoft.VisualBasic.CompilerServices.Symbols.Container..ctor(Object Instance)
at Microsoft.VisualBasic.CompilerServices.NewLateBinding.LateCall(Object Instance, Type Type, String MemberName, Object[] Arguments, String[] ArgumentNames, Type[] TypeArguments, Boolean[] CopyBack, Boolean IgnoreReturn)
at DOFLinx.MainForm.ProcFFB2S(String TheCommand, String TheParams)
at DOFLinx.MainForm.ProcessAction(Int32 ActNum, Byte ActMode)
at DOFLinx.MainForm.CheckFX3MemoryTriggers()
at DOFLinx.MainForm.TimerKeyCheck_Tick(Object sender, EventArgs e)
at System.Windows.Forms.Timer.OnTick(EventArgs e)
at System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Log:
14-Feb-20 00:16:25.600 - Found valid process name of 'Pinball FX3'
14-Feb-20 00:16:25.610 - Setting FX3 process ID to :13468
14-Feb-20 00:16:25.628 - Activated by process name : 'Pinball FX3'
14-Feb-20 00:16:25.638 - Named process detected and startup commenced
14-Feb-20 00:16:26.167 - FX3 EXE name=F:\SteamLibrary\steamapps\common\Pinball FX3\Pinball FX3.exe Size=11022480 bytes, Dated 2/5/2020 2:55:07 PM
14-Feb-20 00:16:26.178 - Applying memory offsets for FX3 version circa 10/12/19
14-Feb-20 00:16:26.190 - FX3 full link active
14-Feb-20 00:16:26.201 - Using full colour palette
14-Feb-20 00:16:26.211 - 122 colours added to the palette
14-Feb-20 00:16:44.220 - Loading FX3 configuration file F:\DirectOutput\DOFLinx_FX3\ALL_PRE.FX3
14-Feb-20 00:16:44.237 - Loading FX3 configuration file F:\DirectOutput\DOFLinx_FX3\Jaws.FX3
14-Feb-20 00:16:45.789 - Loading FX3 configuration file F:\DirectOutput\DOFLinx_FX3\ALL_POST.FX3
14-Feb-20 00:16:45.796 - B2S file not found : Jaws
14-Feb-20 00:16:45.816 - Building restricted colour palette for game name = Jaws
14-Feb-20 00:16:45.824 - 8 colours added to the palette
14-Feb-20 00:16:45.831 - Cabinet Mode = 0 Backglass Mode = 0
14-Feb-20 00:16:45.853 - There are no OFF actions for GAMEMODE
14-Feb-20 00:16:47.356 - GAMEMODE mode=1 action #0 of 'FF_COLOUR,BLACK,RGB_DF,0'
14-Feb-20 00:16:47.365 - GAMEMODE mode=1 action #1 of 'FF_FLASHER,DV_FLOL,FL_FD,6,750,100,TEAL'
14-Feb-20 00:16:47.375 - GAMEMODE mode=1 action #2 of 'FF_FLASHER,DV_FLOR,FL_FD,6,750,100,DODGER_BLUE'
14-Feb-20 00:16:47.381 - GAMEMODE mode=1 action #3 of 'FF_FLASHER,DV_FLIL,FL_FD,6,750,100,TEAL'
14-Feb-20 00:16:47.389 - GAMEMODE mode=1 action #4 of 'FF_FLASHER,DV_FLIR,FL_FD,6,750,100,DODGER_BLUE'
14-Feb-20 00:16:47.398 - GAMEMODE mode=1 action #5 of 'FF_FLASHER,DV_FLCN,FL_FD,6,750,100,WHITE'
14-Feb-20 00:16:47.407 - GAMEMODE mode=1 action #6 of 'FF_DOF,E424,-1'
14-Feb-20 00:16:47.418 - LAUNCHMODE mode=1 action #0 of 'FF_BUTTON,BUT_LB,BA_FL,10000,500'
14-Feb-20 00:16:47.428 - LAUNCHMODE mode=1 action #1 of 'FF_DOF,E310,-1'
14-Feb-20 00:16:47.970 - There are no ON actions for LAUNCHBALL
14-Feb-20 00:16:48.095 - LAUNCHBALL mode=2 action #0 of 'FF_DEV,DV_MR,-1'
14-Feb-20 00:16:48.103 - LAUNCHBALL mode=2 action #1 of 'FF_DOF,E132,-1'
14-Feb-20 00:16:48.110 - LAUNCHBALL mode=2 action #2 of 'FF_B2S,B2SSTARTANIMATION,TITLE'
14-Feb-20 00:16:48.868 - There are no OFF actions for GAMEMODE
14-Feb-20 00:17:53.466 - Shutting down
14-Feb-20 00:17:53.488 - Program close
And... when exiting FP DOFLinx crashes with:
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.NullReferenceException: Object variable or With block variable not set.
at Microsoft.VisualBasic.CompilerServices.Symbols.Container..ctor(Object Instance)
at Microsoft.VisualBasic.CompilerServices.NewLateBinding.LateCall(Object Instance, Type Type, String MemberName, Object[] Arguments, String[] ArgumentNames, Type[] TypeArguments, Boolean[] CopyBack, Boolean IgnoreReturn)
at DOFLinx.MainForm.DoStop()
at DOFLinx.MainForm.SteamTimer_Tick(Object sender, EventArgs e)
at System.Windows.Forms.Timer.OnTick(EventArgs e)
at System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Loaded Assemblies **************
mscorlib
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4121.0 built by: NET48REL1LAST_C
----------------------------------------
DOFLinx
Assembly Version: 1.0.0.0
Win32 Version: 5.0.0.0
----------------------------------------
Microsoft.VisualBasic
Assembly Version: 10.0.0.0
Win32 Version: 14.8.3761.0 built by: NET48REL1
----------------------------------------
System
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4001.0 built by: NET48REL1LAST_C
----------------------------------------
System.Core
Edited by mrl72, 14 February 2020 - 05:20 AM.