Solved Alt launcher key assignment error - can't solve it
-
yes, yours is showing the same as mine.
-
@Jack-Daniels this is for the original problem report – the error message about array not big enough, when trying to do a key or button mapping – got it.
do you have any logs for the “fails to start at all” problem?
-
@airtex2019 Nope, but @Jambo ist right here, in TaskManager I see it’s still running. If I close it there I can restart.
-
@airtex2019 The fail to start issue is because even though we exit out of BMS and AL , it is still running in the background. So something is failing to close the app. The only way i can close it is to end task in Task Manager. Not sure how we can get a log for this.
-
Does anyone have the full installer for 4.37.2 or any other 4.37
I would like to try and install this version then do a incremental update to 4.37.3 to see if this fixes the issue.
-
@Jambo @airtex2019 and this is only after you tried to edit the keybindings and get the array error. If you don’t go to the settings, it’s closeing proper.
-
Also i just noticed that Max has posted a newer full installer. We should try this installer and see if the problem is resolved. I will in a couple of hours when i get home.
-
@Jambo I tried the new installer. Same issue.
-
@Jambo got it … interesting … thanks.
I believe you all, when you tell me this is a fresh install and you’re not updating an existing older BMS folder… or manually copying older XML files into your Config folder.
But I currently have no other theory. Obviously this isn’t happening for me or any of the beta testers…
I’m wondering, is there any other point of commonality? OS? (Win10 or 11?) Maybe some unusual device(s) that the code is not accounting for… can you share your DeviceSorting.txt contents?
Maybe more file/directory permissions problems? Can you share the full installation path of where
C:\Falcon BMS 4.37\Launcher\FalconBMS_Alternative_Launcher.exe
resides? -
I will do what i can when i get home.
i have Win11 pro
G:\Falcon BMS 4.37\Launcher\FalconBMS_Alternative_Launcher.exe -
@airtex2019 I have Windows 10 Pro
System Info:Betriebsystemname Microsoft Windows 10 Pro Version 10.0.19045 Build 19045 Zusätzliche Betriebsystembeschreibung Nicht verfügbar Betriebsystemhersteller Microsoft Corporation Systemname XXXXXX Systemhersteller Gigabyte Technology Co., Ltd. Systemmodell B450 GAMING X Systemtyp x64-basierter PC System-SKU Default string Prozessor AMD Ryzen 5 3600XT 6-Core Processor, 3793 MHz, 6 Kern(e), 12 logische(r) Prozessor(en) BIOS-Version/-Datum American Megatrends Inc. F50, 27.11.2019 SMBIOS-Version 3.2 Version des eingebetteten Controllers 255.255 BIOS-Modus Vorgängerversion BaseBoard-Hersteller Gigabyte Technology Co., Ltd. BaseBoard-Produkt B450 GAMING X BaseBoard-Version x.x Plattformrolle Desktop Sicherer Startzustand Nicht unterstützt PCR7-Konfiguration Bindung nicht möglich Windows-Verzeichnis C:\WINDOWS Systemverzeichnis C:\WINDOWS\system32 Startgerät \Device\HarddiskVolume1 Gebietsschema Deutschland Hardwareabstraktionsebene Version = "10.0.19041.3570" Benutzername XXXXXX Zeitzone Mitteleuropäische Sommerzeit Installierter physischer Speicher (RAM) 32,0 GB Gesamter physischer Speicher 31,9 GB Verfügbarer physischer Speicher 27,0 GB Gesamter virtueller Speicher 36,7 GB Verfügbarer virtueller Speicher 28,8 GB Größe der Auslagerungsdatei 4,75 GB Auslagerungsdatei C:\pagefile.sys Kernel-DMA-Schutz Aus Virtualisierungsbasierte Sicherheit Nicht aktiviert Unterstützung der Geräteverschlüsselung Ursachen dafür, dass die automatische Geräteverschlüsselung nicht erfolgreich war: Das TPM ist nicht verwendbar., Die PCR7-Bindung wird nicht unterstützt., Fehler bei der Schnittstelle für Hardwaresicherheitstests. Das Gerät unterstützt kein Modern-Standby., Unzulässige DMA-fähige Busse/Geräte erkannt, Das TPM ist nicht verwendbar. Hyper-V - VM-Monitormoduserweiterungen Ja Hyper-V - SLAT-Erweiterungen (Second Level Address Translation) Ja Hyper-V - Virtualisierung in Firmware aktiviert Nein Hyper-V - Datenausführungsverhinderung Ja
No existing “DeviceSorting.txt”, only “DeviceSorting_Example.txt” - under Path Z:\Falcon BMS 4.37\Hotas…
Install Path: Z:\Falcon BMS 4.37\Launcher\FalconBMS_Alternative_Launcher.exe
-
KI Answer to the Problem:
The error details indicate that the error occurs in the CopyButtonsAndHatsFromCurrentProfile method in the “JoyAssgn.cs” file. It seems that the length of the source array is insufficient to copy the desired data.
To fix this error, you would need to inspect the application’s source code and review the CopyButtonsAndHatsFromCurrentProfile method. Ensure that the size of the source array is sufficient and that data processing is done correctly. There might be a missing or incorrectly implemented check for the array’s length.
If you are not the developer of the application, you could report the error to the FalconBMS Launcher application’s developer or support team for assistance with troubleshooting. They may provide you with an updated version of the application that fixes this error.
-
@airtex2019 said in Alt launcher key assignment error - can't solve it:
1 Reply Last reply about an hour ago Reply
[2023-10-27 20:58:29] [INFO] :: Application Initialization starting. [2023-10-27 20:58:29] [INFO] :: Post_OnInitialized. [2023-10-27 20:58:29] [INFO] :: AutoUpdate-check initiated. [2023-10-27 20:58:29] [INFO] :: FalconBMS Launcher v2.4.0 [2023-10-27 20:58:29] [INFO] :: Start Reading Launcher Settings. [2023-10-27 20:58:29] [INFO] :: Finished Reading Launcher Settings. [2023-10-27 20:58:29] [INFO] :: Start Reading Registry. [2023-10-27 20:58:29] [INFO] :: Finished Reading Registry. [2023-10-27 20:58:29] [INFO] :: Start Init Devices. [2023-10-27 20:58:30] [INFO] :: Finished Init Devices. [2023-10-27 20:58:30] [INFO] :: Start VR Check. [2023-10-27 20:58:30] [INFO] :: Finished VR Check. [2023-10-27 20:58:30] [INFO] :: Start Timers. [2023-10-27 20:58:30] [INFO] :: Timers Started. [2023-10-27 20:58:30] [INFO] :: Post_OnInitialized complete. [2023-10-27 20:58:30] [INFO] :: Completed RSS fetch on background-thread. [2023-10-27 20:58:30] [INFO] :: RSS update finished. [2023-10-27 20:58:36] [EXCEPTION] Källmatrisen var inte tillräckligt lång. Kontrollera srcIndex och längd samt matrisens nedre gränser.:: Source: mscorlib Target Site: Void Copy(System.Array, Int32, System.Array, Int32, Int32, Boolean) Message: Källmatrisen var inte tillräckligt lång. Kontrollera srcIndex och längd samt matrisens nedre gränser. Details: Exception Data: System.Collections.ListDictionaryInternal Stack Trace: vid System.Array.Copy(Array sourceArray, Int32 sourceIndex, Array destinationArray, Int32 destinationIndex, Int32 length, Boolean reliable) vid System.Array.Copy(Array sourceArray, Array destinationArray, Int32 length) vid FalconBMS.Launcher.Input.JoyAssgn.CopyButtonsAndHatsFromCurrentProfile(JoyAssgn otherJoy) i C:\1\git\arithex\AltLauncher_develop\FalconBMS-Alternative-Launcher\Falcon BMS Alternative Launcher\Input\JoyAssgn.cs:rad 414 vid FalconBMS.Launcher.Input.JoyAssgn.MakeTempCloneForKeyMappingDialog() i C:\1\git\arithex\AltLauncher_develop\FalconBMS-Alternative-Launcher\Falcon BMS Alternative Launcher\Input\JoyAssgn.cs:rad 485 vid FalconBMS.Launcher.Windows.KeyMappingWindow.Reset() i C:\1\git\arithex\AltLauncher_develop\FalconBMS-Alternative-Launcher\Falcon BMS Alternative Launcher\Windows\KeyMappingWindow.xaml.cs:rad 88 vid FalconBMS.Launcher.Windows.KeyMappingWindow..ctor(DeviceControl deviceControl, KeyAssgn SelectedCallback) i C:\1\git\arithex\AltLauncher_develop\FalconBMS-Alternative-Launcher\Falcon BMS Alternative Launcher\Windows\KeyMappingWindow.xaml.cs:rad 54 vid FalconBMS.Launcher.Windows.KeyMappingWindow.ShowKeyMappingWindow(Window owner, DeviceControl deviceControl, KeyAssgn SelectedCallback) i C:\1\git\arithex\AltLauncher_develop\FalconBMS-Alternative-Launcher\Falcon BMS Alternative Launcher\Windows\KeyMappingWindow.xaml.cs:rad 59 vid FalconBMS.Launcher.Windows.MainWindow.DataGrid_MouseButtonDoubleClick(Object sender, MouseButtonEventArgs e) i C:\1\git\arithex\AltLauncher_develop\FalconBMS-Alternative-Launcher\Falcon BMS Alternative Launcher\Windows\MainWindowKeyMapping.cs:rad 132 vid System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget) vid System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target) vid System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs) vid System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised) vid System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args) vid System.Windows.UIElement.RaiseEvent(RoutedEventArgs e) vid System.Windows.Controls.Control.OnMouseDoubleClick(MouseButtonEventArgs e) vid System.Windows.Controls.Control.HandleDoubleClick(Object sender, MouseButtonEventArgs e) vid System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget) vid System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target) vid System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs) vid System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised) vid System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent) vid System.Windows.UIElement.OnMouseDownThunk(Object sender, MouseButtonEventArgs e) vid System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget) vid System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target) vid System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs) vid System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised) vid System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args) vid System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args) vid System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted) vid System.Windows.Input.InputManager.ProcessStagingArea() vid System.Windows.Input.InputManager.ProcessInput(InputEventArgs input) vid System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport) vid System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel) vid System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled) vid System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) vid MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) vid MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o) vid System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) vid System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler) ============ [2023-10-27 20:58:38] [EXCEPTION] Källmatrisen var inte tillräckligt lång. Kontrollera srcIndex och längd samt matrisens nedre gränser.:: Source: mscorlib Target Site: Void Copy(System.Array, Int32, System.Array, Int32, Int32, Boolean) Message: Källmatrisen var inte tillräckligt lång. Kontrollera srcIndex och längd samt matrisens nedre gränser. Details: Exception Data: System.Collections.ListDictionaryInternal Stack Trace: vid System.Array.Copy(Array sourceArray, Int32 sourceIndex, Array destinationArray, Int32 destinationIndex, Int32 length, Boolean reliable) vid System.Array.Copy(Array sourceArray, Array destinationArray, Int32 length) vid FalconBMS.Launcher.Input.JoyAssgn.CopyButtonsAndHatsFromCurrentProfile(JoyAssgn otherJoy) i C:\1\git\arithex\AltLauncher_develop\FalconBMS-Alternative-Launcher\Falcon BMS Alternative Launcher\Input\JoyAssgn.cs:rad 414 vid FalconBMS.Launcher.Input.JoyAssgn.MakeTempCloneForKeyMappingDialog() i C:\1\git\arithex\AltLauncher_develop\FalconBMS-Alternative-Launcher\Falcon BMS Alternative Launcher\Input\JoyAssgn.cs:rad 485 vid FalconBMS.Launcher.Windows.KeyMappingWindow.Reset() i C:\1\git\arithex\AltLauncher_develop\FalconBMS-Alternative-Launcher\Falcon BMS Alternative Launcher\Windows\KeyMappingWindow.xaml.cs:rad 88 vid FalconBMS.Launcher.Windows.KeyMappingWindow..ctor(DeviceControl deviceControl, KeyAssgn SelectedCallback) i C:\1\git\arithex\AltLauncher_develop\FalconBMS-Alternative-Launcher\Falcon BMS Alternative Launcher\Windows\KeyMappingWindow.xaml.cs:rad 54 vid FalconBMS.Launcher.Windows.KeyMappingWindow.ShowKeyMappingWindow(Window owner, DeviceControl deviceControl, KeyAssgn SelectedCallback) i C:\1\git\arithex\AltLauncher_develop\FalconBMS-Alternative-Launcher\Falcon BMS Alternative Launcher\Windows\KeyMappingWindow.xaml.cs:rad 59 vid FalconBMS.Launcher.Windows.MainWindow.DataGrid_MouseButtonDoubleClick(Object sender, MouseButtonEventArgs e) i C:\1\git\arithex\AltLauncher_develop\FalconBMS-Alternative-Launcher\Falcon BMS Alternative Launcher\Windows\MainWindowKeyMapping.cs:rad 132 vid System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget) vid System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target) vid System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs) vid System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised) vid System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args) vid System.Windows.UIElement.RaiseEvent(RoutedEventArgs e) vid System.Windows.Controls.Control.OnMouseDoubleClick(MouseButtonEventArgs e) vid System.Windows.Controls.Control.HandleDoubleClick(Object sender, MouseButtonEventArgs e) vid System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget) vid System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target) vid System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs) vid System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised) vid System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent) vid System.Windows.UIElement.OnMouseDownThunk(Object sender, MouseButtonEventArgs e) vid System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget) vid System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target) vid System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs) vid System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised) vid System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args) vid System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args) vid System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted) vid System.Windows.Input.InputManager.ProcessStagingArea() vid System.Windows.Input.InputManager.ProcessInput(InputEventArgs input) vid System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport) vid System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel) vid System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled) vid System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) vid MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) vid MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o) vid System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) vid System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler) ============
Here is my log.
I also cant restart the game when closing the the launcher i have to go to task manager.
-
@Jack-Daniels thx lol, yes I am the developer at fault.
I can harden this codepath, but I’m still at a loss to explain how this is happening to you, if it’s not loading old DX32-era XML files
-
@airtex2019 Ghost of the Machine maybe. If you can solve it, it doesn’t matter to me whether you can explain it or not.
-
@Jack-Daniels @Jambo tell me more about these G: and Z: drives
are they network drives? subst-aliases? or actual physical drives… NTFS?
can you show me the permissions – run this from the cmd prompt
>icacls "X:\Falcon BMS 4.37"
output should look like this
X:\Falcon BMS 4.37 BUILTIN\Administrators:(I)(OI)(CI)(F) NT AUTHORITY\SYSTEM:(I)(OI)(CI)(F) BUILTIN\Users:(I)(OI)(CI)(RX) NT AUTHORITY\Authenticated Users:(I)(M) NT AUTHORITY\Authenticated Users:(I)(OI)(CI)(IO)(M)
-
g:\falcon bms 4.37 BUILTIN\Administrators:(I)(F)
BUILTIN\Administrators:(I)(OI)(CI)(IO)(F)
NT AUTHORITY\SYSTEM:(I)(F)
NT AUTHORITY\SYSTEM:(I)(OI)(CI)(IO)(F)
NT AUTHORITY\Authenticated Users:(I)(M)
NT AUTHORITY\Authenticated Users:(I)(OI)(CI)(IO)(M)
BUILTIN\Users:(I)(RX)
BUILTIN\Users:(I)(OI)(CI)(IO)(GR,GE)mine is a m.2 SSD drive
-
@airtex2019 z: drive is a actual physical SSD Drive, with no other partitions
Output icacls
Z:\>icacls "z:\Falcon BMS 4.37" z:\Falcon BMS 4.37 VORDEFINIERT\Administratoren:(I)(F) VORDEFINIERT\Administratoren:(I)(OI)(CI)(IO)(F) NT-AUTORITÄT\SYSTEM:(I)(F) NT-AUTORITÄT\SYSTEM:(I)(OI)(CI)(IO)(F) NT-AUTORITÄT\Authentifizierte Benutzer:(I)(M) NT-AUTORITÄT\Authentifizierte Benutzer:(I)(OI)(CI)(IO)(M) VORDEFINIERT\Benutzer:(I)(RX) VORDEFINIERT\Benutzer:(I)(OI)(CI)(IO)(GR,GE) 1 Dateien erfolgreich verarbeitet, bei 0 Dateien ist ein Verarbeitungsfehler aufgetreten.
-
Oh dang, I think I realize what’s happening… new theory…
There is a “Stock” subfolder of default XML templates, for popular hotas devices. It appears many of those templates were never updated for the DX32->DX128 transition.
That’s where the 32-slot XML files are coming from. Those templates are loaded at first-time startup, if you haven’t already saved any mappings for that particular device.
(Older versions of AL must either have failed silently, or crashed later, when attempting to bind a button number >=32 … new version of AL is failing sooner)
If anyone is game to do a quick validation:
-
rename your
"...\Falcon BMS 4.37\Launcher\Stock"
folder … toStock_backup
or something -
delete (or better, move to a backup folder) any
"Setup\*.xml"
files in your...\Falcon BMS 4.37\user\Config
folder
Let me know if that helps.
-
-
@airtex2019 Thats it!!! Problem solved. Also closing after editing and restart works. Thank you so much.