Solved Error in Alternate Launcher when modifying Keymapping
-
Hello Guys,
Long time F4 and BMS user here, although mostly Single Player.
Now that VR is available I reinstalled BMS and yesterday it worked fine in V 4.37.0 after seting up my X-52 Pro with the Basic BMS X52 Pro Keyfile and mapping DX buttons in Alternate Launcher via the Keymapping section.
I updated this morning to 4.37.3 by removing everything (using the installer) and reinstalling clean from the full 4.37.3 installer.
Now I can launch the sim in VR and everything works except when I try to edit the keymappings in alternate Laucnher, when double clicking to open a keymapping window I get this error message:
I have no clue how to fix this… And I already uninstalled everything and reinstalled from the 4.37.3 full installer.
The french translation
Source array was not long enough. Check srcIndex and length, and the array’s lower bounds.
Please find attached the corresponding log file, I would be very gratefull If someone could help me pinpoint the issue.
[26/10/2023 16:24:57] [INFO] :: Application Initialization starting. [26/10/2023 16:24:58] [INFO] :: Post_OnInitialized. [26/10/2023 16:24:58] [INFO] :: AutoUpdate-check initiated. [26/10/2023 16:24:58] [INFO] :: FalconBMS Launcher v2.4.0 [26/10/2023 16:24:58] [INFO] :: Start Reading Launcher Settings. [26/10/2023 16:24:58] [INFO] :: Finished Reading Launcher Settings. [26/10/2023 16:24:58] [INFO] :: Start Reading Registry. [26/10/2023 16:24:58] [INFO] :: Completed RSS fetch on background-thread. [26/10/2023 16:24:59] [INFO] :: Finished Reading Registry. [26/10/2023 16:24:59] [INFO] :: Start Init Devices. [26/10/2023 16:25:00] [INFO] :: Finished Init Devices. [26/10/2023 16:25:00] [INFO] :: Start VR Check. [26/10/2023 16:25:00] [INFO] :: Finished VR Check. [26/10/2023 16:25:00] [INFO] :: Start Timers. [26/10/2023 16:25:00] [INFO] :: Timers Started. [26/10/2023 16:25:00] [INFO] :: Post_OnInitialized complete. [26/10/2023 16:25:00] [INFO] :: RSS update finished. [26/10/2023 16:25:22] [EXCEPTION] Le tableau source n'est pas assez long. Vérifiez srcIndex et la longueur, ainsi que les limites inférieures du tableau.:: Source: mscorlib Target Site: Void Copy(System.Array, Int32, System.Array, Int32, Int32, Boolean) Message: Le tableau source n'est pas assez long. Vérifiez srcIndex et la longueur, ainsi que les limites inférieures du tableau. Details: Exception Data: System.Collections.ListDictionaryInternal Stack Trace: à System.Array.Copy(Array sourceArray, Int32 sourceIndex, Array destinationArray, Int32 destinationIndex, Int32 length, Boolean reliable) à System.Array.Copy(Array sourceArray, Array destinationArray, Int32 length) à FalconBMS.Launcher.Input.JoyAssgn.CopyButtonsAndHatsFromCurrentProfile(JoyAssgn otherJoy) dans C:\1\git\arithex\AltLauncher_develop\FalconBMS-Alternative-Launcher\Falcon BMS Alternative Launcher\Input\JoyAssgn.cs:ligne 414 à FalconBMS.Launcher.Input.JoyAssgn.MakeTempCloneForKeyMappingDialog() dans C:\1\git\arithex\AltLauncher_develop\FalconBMS-Alternative-Launcher\Falcon BMS Alternative Launcher\Input\JoyAssgn.cs:ligne 485 à FalconBMS.Launcher.Windows.KeyMappingWindow.Reset() dans C:\1\git\arithex\AltLauncher_develop\FalconBMS-Alternative-Launcher\Falcon BMS Alternative Launcher\Windows\KeyMappingWindow.xaml.cs:ligne 88 à FalconBMS.Launcher.Windows.KeyMappingWindow..ctor(DeviceControl deviceControl, KeyAssgn SelectedCallback) dans C:\1\git\arithex\AltLauncher_develop\FalconBMS-Alternative-Launcher\Falcon BMS Alternative Launcher\Windows\KeyMappingWindow.xaml.cs:ligne 54 à FalconBMS.Launcher.Windows.KeyMappingWindow.ShowKeyMappingWindow(Window owner, DeviceControl deviceControl, KeyAssgn SelectedCallback) dans C:\1\git\arithex\AltLauncher_develop\FalconBMS-Alternative-Launcher\Falcon BMS Alternative Launcher\Windows\KeyMappingWindow.xaml.cs:ligne 59 à FalconBMS.Launcher.Windows.MainWindow.DataGrid_MouseButtonDoubleClick(Object sender, MouseButtonEventArgs e) dans C:\1\git\arithex\AltLauncher_develop\FalconBMS-Alternative-Launcher\Falcon BMS Alternative Launcher\Windows\MainWindowKeyMapping.cs:ligne 132 à System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget) à System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target) à System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs) à System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised) à System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args) à System.Windows.UIElement.RaiseEvent(RoutedEventArgs e) à System.Windows.Controls.Control.OnMouseDoubleClick(MouseButtonEventArgs e) à System.Windows.Controls.Control.HandleDoubleClick(Object sender, MouseButtonEventArgs e) à System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget) à System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target) à System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs) à System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised) à System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent) à System.Windows.UIElement.OnMouseDownThunk(Object sender, MouseButtonEventArgs e) à System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget) à System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target) à System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs) à System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised) à System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args) à System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args) à System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted) à System.Windows.Input.InputManager.ProcessStagingArea() à System.Windows.Input.InputManager.ProcessInput(InputEventArgs input) à System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport) à System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel) à System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled) à System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) à MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) à MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o) à System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) à System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler) ============
-
Merging threads … workaround here => https://forum.falcon-bms.com/post/383401
-
@Aesaehtr thanks – believe this is old bug https://github.com/chihirobelmo/FalconBMS-Alternative-Launcher/issues/62 resurfacing … happens when forward-porting an older XML file that only has 32 button slots. BMS uses up to 128 buttons per device, now.
we’re working on a fix … only workaround, for now, is to delete (backup first) those old XML files, and recreate them from scratch.
-
I did a complete uninstall and reinstall from the 4.37.3 full installer. and opened AL and got the same error. I would have thought everything would have already defaulted. What xml files need to be deleted?
I tried deleting all the setup.xxxx . xml files in the User config folder and that still didn’t work.
-
Hey, just posted about the same error (sorry)
https://forum.falcon-bms.com/topic/25920/alt-launcher-key-assignment-error-can-t-solve-itI also reinstalled from scratch and no luck. What can we do?
-
I also get the error when trying to map the f16 controls. I can map the F15 controls though without a problem.
-
So no BMS this weekend and i was anticipating the patch so much
-
@Aesaehtr can you reinstall with the new full installer?
I’m wondering if the reg issues might be an underlying cause of all this…
Cheers
-
I did a complete uninstall and reinstall (FULL) and same issue.
-
Yeah reinstalled it 4 times no luck:/ I can fly the f15 and bind keys though
-
Merging threads … workaround here => https://forum.falcon-bms.com/post/383401
-