Thanks Ill check that out. BTW Im assuming the crashes are due to it not having any outputs/toys defined and its crashing because it cant find them?
I believe it is. Yours is the first situation I've encountered with a Teensy and not other output device that DOFLinx supports. This makes DOFLinx think there are toys attached, but the list of output devices is actually empty - hence the crash. I suppose its because of the history where most people had output devices for toys, then added the new thing, addressable LEDs.
Okay, so I got my LedWiz clone up and running. I'm now getting LEDs lit up - woohoo!!
However, I'm still getting crashes: In FP, everything works fine. I get all the LEDs except I get that crash when I quit out of FP.
In FX3, I get the LEDs lit up during the intro of the game but as soon as the game starts it throws me to my desktop with the same crash/error that it gives when exiting FP.
In my INI file all I did is just add one toy as such:
L_FLIPPER_OUTPUT=101
Even though there is nothing physically connected (not sure if this is a problem or not).
From the log:
16-Feb-20 22:02:02.551 - DOF Linx for Pinball Emulators - DOFLinx by DDH69
16-Feb-20 22:02:02.557 - Starting up - version 7.04
16-Feb-20 22:02:02.563 - Pre-Reading DOFLinx.INI startup config file details
16-Feb-20 22:02:02.651 - DEBUG enabled with showing of window True
16-Feb-20 22:02:05.682 - Found Teensy controller named 'TeensyStripController'
16-Feb-20 22:02:05.701 - Joystick # 1 detected : 0 buttons
16-Feb-20 22:02:05.704 - Joystick # 2 detected : 12 buttons DPAD Z-Axis
16-Feb-20 22:02:05.706 - Joystick # 3 detected : 12 buttons DPAD Z-Axis
16-Feb-20 22:02:05.708 - Joystick # 4 detected : 8 buttons Z-Axis
16-Feb-20 22:02:05.712 - DOFLinx device: 1 Initializing as LEDWiz #4 with ID=0
16-Feb-20 22:02:05.715 - DOFLinx device:1 LEDWiz setup with 32 outputs
16-Feb-20 22:02:05.718 - Reading DOFLinx.INI startup config file details
16-Feb-20 22:02:05.720 - Reading DirectOutputConfig file named F:\DirectOutput\config\directoutputconfig.ini
16-Feb-20 22:02:05.728 - Turning DEBUG off
16-Feb-20 22:02:05.751 - DEBUG enabled with showing of window True
16-Feb-20 22:02:05.760 - Set Debug Privilege = Running as administrator so no action taken
16-Feb-20 22:02:07.717 - DOFLinx device: 1 Initializing as LEDWiz #4 with ID=0
16-Feb-20 22:02:07.728 - DOFLinx device:1 LEDWiz setup with 32 outputs
16-Feb-20 22:02:19.951 - Found valid process name of 'Pinball FX3'
16-Feb-20 22:02:19.955 - Setting FX3 process ID to :2700
16-Feb-20 22:02:19.971 - Activated by process name : 'Pinball FX3'
16-Feb-20 22:02:19.977 - Named process detected and startup commenced
16-Feb-20 22:02:20.503 - FX3 EXE name=F:\SteamLibrary\steamapps\common\Pinball FX3\Pinball FX3.exe Size=11022480 bytes, Dated 2/5/2020 2:55:07 PM
16-Feb-20 22:02:20.509 - Applying memory offsets for FX3 version circa 10/12/19
16-Feb-20 22:02:20.513 - FX3 full link active
16-Feb-20 22:02:20.517 - Using full colour palette
16-Feb-20 22:02:20.520 - 122 colours added to the palette
16-Feb-20 22:02:39.566 - Loading FX3 configuration file F:\DirectOutput\DOFLinx_FX3\ALL_PRE.FX3
16-Feb-20 22:02:39.575 - Loading FX3 configuration file F:\DirectOutput\DOFLinx_FX3\Jaws.FX3
16-Feb-20 22:02:42.633 - Loading FX3 configuration file F:\DirectOutput\DOFLinx_FX3\ALL_POST.FX3
16-Feb-20 22:02:42.635 -
B2S file not found : Jaws
16-Feb-20 22:02:42.654 - Building restricted colour palette for game name = Jaws
16-Feb-20 22:02:42.655 - 8 colours added to the palette
16-Feb-20 22:02:42.657 - Cabinet Mode = 0 Backglass Mode = 0
16-Feb-20 22:02:42.671 - There are no OFF actions for GAMEMODE
16-Feb-20 22:02:44.170 - GAMEMODE mode=1 action #0 of 'FF_COLOUR,BLACK,RGB_DF,0'
16-Feb-20 22:02:44.175 - GAMEMODE mode=1 action #1 of 'FF_FLASHER,DV_FLOL,FL_FD,6,750,100,TEAL'
16-Feb-20 22:02:44.179 - GAMEMODE mode=1 action #2 of 'FF_FLASHER,DV_FLOR,FL_FD,6,750,100,DODGER_BLUE'
16-Feb-20 22:02:44.180 - GAMEMODE mode=1 action #3 of 'FF_FLASHER,DV_FLIL,FL_FD,6,750,100,TEAL'
16-Feb-20 22:02:44.182 - GAMEMODE mode=1 action #4 of 'FF_FLASHER,DV_FLIR,FL_FD,6,750,100,DODGER_BLUE'
16-Feb-20 22:02:44.183 - GAMEMODE mode=1 action #5 of 'FF_FLASHER,DV_FLCN,FL_FD,6,750,100,WHITE'
16-Feb-20 22:02:44.184 - GAMEMODE mode=1 action #6 of 'FF_DOF,E424,-1'
16-Feb-20 22:02:46.570 - SENSOR_DROPTARGET_SAFE01 mode=1 action #0 of 'FF_B2S,B2SSTARTANIMATION,TARGET1'
16-Feb-20 22:02:46.666 - LAUNCHMODE mode=1 action #0 of 'FF_BUTTON,BUT_LB,BA_FL,10000,500'
16-Feb-20 22:02:46.668 - LAUNCHMODE mode=1 action #1 of 'FF_DOF,E310,-1'
16-Feb-20 22:02:47.311 - There are no OFF actions for GAMEMODE
Crash:
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.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)
************** 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
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4121.0 built by: NET48REL1LAST_C
----------------------------------------
System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4121.0 built by: NET48REL1LAST_C
----------------------------------------
System.Drawing
Assembly Version: 4.0.0.0
Win32 Version: 4.8.3761.0 built by: NET48REL1
----------------------------------------
System.Configuration
Assembly Version: 4.0.0.0
Win32 Version: 4.8.3761.0 built by: NET48REL1
----------------------------------------
System.Xml
Assembly Version: 4.0.0.0
Win32 Version: 4.8.3761.0 built by: NET48REL1
----------------------------------------
System.Runtime.Remoting
Assembly Version: 4.0.0.0
Win32 Version: 4.8.3761.0 built by: NET48REL1
----------------------------------------
DirectOutput
Assembly Version: 3.1.7011.27968
Win32 Version: 3.1.7011.27968
----------------------------------------
Extensions
Assembly Version: 3.1.7011.27968
Win32 Version: 3.1.7011.27968
----------------------------------------
Microsoft.GeneratedCode
Assembly Version: 1.0.0.0
Win32 Version: 4.8.3761.0 built by: NET48REL1
----------------------------------------
Microsoft.GeneratedCode
Assembly Version: 1.0.0.0
Win32 Version: 4.8.3761.0 built by: NET48REL1
----------------------------------------
System.Security
Assembly Version: 4.0.0.0
Win32 Version: 4.8.3761.0 built by: NET48REL1
----------------------------------------
Accessibility
Assembly Version: 4.0.0.0
Win32 Version: 4.8.3761.0 built by: NET48REL1
----------------------------------------
System.Data.SqlXml
Assembly Version: 4.0.0.0
Win32 Version: 4.8.3761.0 built by: NET48REL1
----------------------------------------
System.Web
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4075.0 built by: NET48REL1LAST
----------------------------------------
Microsoft.GeneratedCode
Assembly Version: 1.0.0.0
Win32 Version: 4.8.3761.0 built by: NET48REL1
----------------------------------------
System.Web.ApplicationServices
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4075.0
----------------------------------------
System.ComponentModel.DataAnnotations
Assembly Version: 4.0.0.0
Win32 Version: 4.8.3761.0
----------------------------------------
System.DirectoryServices.Protocols
Assembly Version: 4.0.0.0
Win32 Version: 4.8.3761.0 built by: NET48REL1
----------------------------------------
System.DirectoryServices
Assembly Version: 4.0.0.0
Win32 Version: 4.8.3761.0 built by: NET48REL1
----------------------------------------
System.Runtime.Caching
Assembly Version: 4.0.0.0
Win32 Version: 4.8.3761.0
----------------------------------------
Microsoft.Build.Framework
Assembly Version: 4.0.0.0
Win32 Version: 4.8.3761.0 built by: NET48REL1
----------------------------------------
Microsoft.GeneratedCode
Assembly Version: 1.0.0.0
Win32 Version: 4.8.3761.0 built by: NET48REL1
----------------------------------------
Microsoft.GeneratedCode
Assembly Version: 1.0.0.0
Win32 Version: 4.8.3761.0 built by: NET48REL1
----------------------------------------
Microsoft.GeneratedCode
Assembly Version: 1.0.0.0
Win32 Version: 4.8.3761.0 built by: NET48REL1
----------------------------------------
Microsoft.GeneratedCode
Assembly Version: 1.0.0.0
Win32 Version: 4.8.3761.0 built by: NET48REL1
----------------------------------------
Microsoft.GeneratedCode
Assembly Version: 1.0.0.0
Win32 Version: 4.8.3761.0 built by: NET48REL1
----------------------------------------
DOFLinxExt
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
----------------------------------------
************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.
For example:
<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>
When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
Edited by mrl72, 17 February 2020 - 03:25 AM.