chihirobelmo / FalconBMS-Alternative-Launcher

Configure and save FalconBMS setup per Joysticks.
Other
130 stars 30 forks source link

alternative launcher crash if T.16000M is plugged in #126

Closed metaphys closed 7 months ago

metaphys commented 7 months ago

Steam installation on linux Falcon BMS 4.37.3.2 from scratch.

Anytime I start the alternative launcher with T.16000M plugged in, or plug it in after having started the alternative launcher, the launcher crashes with the following: error1 error2

Logfile:

[23/01/2024 12:58:52] [INFO] :: Application Initialization starting.
[23/01/2024 12:58:54] [INFO] :: Post_OnInitialized.
[23/01/2024 12:58:54] [INFO] :: FalconBMS Launcher v2.4.1.5
[23/01/2024 12:58:54] [INFO] :: Start Reading Launcher Settings.
[23/01/2024 12:58:54] [INFO] :: Finished Reading Launcher Settings.
[23/01/2024 12:58:54] [INFO] :: Start Reading Registry.
[23/01/2024 12:58:54] [INFO] :: Finished Reading Registry.
[23/01/2024 12:58:54] [INFO] :: Start Init Devices.
[23/01/2024 12:58:54] [EXCEPTION] Invalid IL code in Microsoft.DirectX.DirectInput.DeviceInstance:get_ProductName (): IL_000c: stloc.1   

:: 

 Source: FalconBMS_Alternative_Launcher 
 Target Site: Void SetDeviceInstance(Microsoft.DirectX.DirectInput.DeviceInstance) 
 Message: Invalid IL code in Microsoft.DirectX.DirectInput.DeviceInstance:get_ProductName (): IL_000c: stloc.1   

 Details:  

 Exception Data: System.Collections.ListDictionaryInternal 

 Stack Trace:   at FalconBMS.Launcher.Input.JoyAssgn.SetDeviceInstance (Microsoft.DirectX.DirectInput.DeviceInstance deviceInstance) [0x00000] in <118f25d5dae44879b7e5ad397b6d2bae>:0 
  at FalconBMS.Launcher.Input.JoyAssgn..ctor (Microsoft.DirectX.DirectInput.Device device) [0x00015] in <118f25d5dae44879b7e5ad397b6d2bae>:0 
  at FalconBMS.Launcher.Input.DeviceControl..ctor (FalconBMS.Launcher.AppRegInfo appReg) [0x00068] in <118f25d5dae44879b7e5ad397b6d2bae>:0 
  at FalconBMS.Launcher.Input.DeviceControl.EnumerateAttachedDevicesAndLoadXml (FalconBMS.Launcher.AppRegInfo appReg) [0x00000] in <118f25d5dae44879b7e5ad397b6d2bae>:0 
  at FalconBMS.Launcher.Windows.MainWindow.ReloadDevicesAndXmlMappings () [0x00000] in <118f25d5dae44879b7e5ad397b6d2bae>:0  
 ============ 

[23/01/2024 12:58:55] [INFO] :: Completed RSS fetch on background-thread.
[23/01/2024 12:58:55] [INFO] :: RSS update finished.
[23/01/2024 12:59:24] [EXCEPTION] Object reference not set to an instance of an object:: 

 Source: FalconBMS_Alternative_Launcher 
 Target Site: Void ReloadKeyfilesTheatersAndUpdateUI() 
 Message: Object reference not set to an instance of an object 
 Details:  

 Exception Data: System.Collections.ListDictionaryInternal 

 Stack Trace:   at FalconBMS.Launcher.Windows.MainWindow.ReloadKeyfilesTheatersAndUpdateUI () [0x0002f] in <118f25d5dae44879b7e5ad397b6d2bae>:0  
 ============ 

[23/01/2024 13:00:40] [INFO] :: Finished Init Devices.
[23/01/2024 13:00:40] [INFO] :: Start VR Check.
[23/01/2024 13:00:40] [INFO] :: Finished VR Check.
[23/01/2024 13:00:40] [INFO] :: Start Timers.
[23/01/2024 13:00:40] [INFO] :: Timers Started.
[23/01/2024 13:00:40] [INFO] :: Post_OnInitialized complete.
[23/01/2024 13:00:40] [INFO] :: Process exiting - closing logfile.

Launching with the regular launcher and configuring the joystick there works flawlessly.

arithex commented 7 months ago

Well we can't really test or support linux / wine / proton etc .. but I do think it is working for some. (Sorry I don't know which environments / distros.)

This is a weird error. I will say, the Microsoft.DirectX.DirectInput interop libraries we're using are ancient.. from .NET v1 era. They exhibit other reliability problems, even on Windows. It is high on my list of things to do, to replace those.

But it's a big task, won't happen for U4.

metaphys commented 7 months ago

after a lot of different reinstall it seems the issue is gone... not even sure why... :/