chihirobelmo / FalconBMS-Alternative-Launcher

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

BMS 4.37 + included Alternative Launcher not working with Proton/Wine on Linux #92

Closed SquadFM closed 1 year ago

SquadFM commented 1 year ago

FIXED (issue was on my end) - the command to start the AL on Linux had to be slightly modified:

STEAM_COMPAT_DATA_PATH="/home/x/.local/share/Steam/steamapps/compatdata/429530/" STEAM_COMPAT_CLIENT_INSTALL_PATH="/home/x/.local/share/Steam/steamapps/compatdata/429530/" "/home/x/.local/share/Steam/steamapps/common/Proton 7.0/proton" run "/home/x/.local/share/Steam/steamapps/compatdata/429530/pfx/drive_c/Falcon BMS 4.37/Launcher/FalconBMS_Alternative_Launcher.exe"

Old error description below (no longer relevant): Leaving this in case it helps someone else. Also, feel free to close this issue.

I understand that the AL was written for Windows and that Linux is not supported, however I am hoping that someone can help to investigate the issue and hopefully this can either be fixed in a future release to support AL on Linux or a workaround can be found.

I'm launching the in BMS 4.37 (update 1) included FalconBMS_Alternative_Launcher.exe with the terminal command below

STEAM_COMPAT_DATA_PATH="/home/x/.local/share/Steam/steamapps/compatdata/429530/pfx" STEAM_COMPAT_CLIENT_INSTALL_PATH="/home/x/.local/share/Steam/steamapps/compatdata/429530/" "/home/x/.local/share/Steam/steamapps/common/Proton 7.0/proton" run "/home/x/.local/share/Steam/steamapps/compatdata/429530/pfx/drive_c/Falcon BMS 4.37/Launcher/FalconBMS_Alternative_Launcher.exe"

and get the following error message in Launcher_Log.txt:

[2/20/2023 9:18:54 AM] [INFO] :: Application Initialization completed successfully.
[2/20/2023 9:18:58 AM] [INFO] :: Launcher Update Checked
[2/20/2023 9:18:58 AM] [INFO] :: FalconBMS Launcher v2.3.0
[2/20/2023 9:19:00 AM] [INFO] :: RSS Read and Write Finished
[2/20/2023 9:19:00 AM] [INFO] :: Start Reading Launcher Settings.
[2/20/2023 9:19:00 AM] [INFO] :: Finished Reading Launcher Settings.
[2/20/2023 9:19:00 AM] [INFO] :: Start Reading Registry.
[2/20/2023 9:19:12 AM] [EXCEPTION] Value cannot be null.
Parameter name: window:: 

 Source: PresentationFramework 
 Target Site: Void .ctor(System.Windows.Window) 
 Message: Value cannot be null.
Parameter name: window 
 Details:  

 Exception Data: System.Collections.ListDictionaryInternal 

 Stack Trace:   at System.Windows.Interop.WindowInteropHelper..ctor (System.Windows.Window window) [0x00010] in <f8fc562f7d244f8692d61d7bd2917f68>:0 
  at ControlzEx.Behaviors.WindowChromeBehavior.AssociatedObject_SourceInitialized (System.Object sender, System.EventArgs e) [0x00007] in <f7c18ee38c2940eb8f5ccb5ea1696e96>:0 
  at (wrapper delegate-invoke) <Module>.invoke_void_object_EventArgs(object,System.EventArgs)
  at System.Windows.Window.OnSourceInitialized (System.EventArgs e) [0x00026] in <f8fc562f7d244f8692d61d7bd2917f68>:0 
  at System.Windows.Window.CreateSourceWindow (System.Boolean duringShow) [0x00191] in <f8fc562f7d244f8692d61d7bd2917f68>:0 
  at System.Windows.Window.CreateSourceWindowDuringShow () [0x00001] in <f8fc562f7d244f8692d61d7bd2917f68>:0 
  at System.Windows.Window.SafeCreateWindowDuringShow () [0x0000c] in <f8fc562f7d244f8692d61d7bd2917f68>:0 
  at System.Windows.Window.ShowHelper (System.Object booleanBox) [0x00057] in <f8fc562f7d244f8692d61d7bd2917f68>:0 
  at System.Windows.Threading.ExceptionWrapper.InternalRealCall (System.Delegate callback, System.Object args, System.Int32 numArgs) [0x000c6] in <0c2ea07c5159415f97fb3ecb6b4aafeb>:0 
  at System.Windows.Threading.ExceptionWrapper.TryCatchWhen (System.Object source, System.Delegate callback, System.Object args, System.Int32 numArgs, System.Delegate catchHandler) [0x00004] in <0c2ea07c5159415f97fb3ecb6b4aafeb>:0  
 ============ 

Any idea what is happening here and why the FalconBMS_Alternative_Launcher.exe aborts?

For reference:

Appreciate any information/help anyone can provide.