Falcon BMS Alternative Launcher (Easy Setup, Keep Joystick Assignments)
-
I wrote yesterday a longer post with a stacktrace to the .net error, but it seems it didn’t get through moderation yet.
I’ll try to post the stacktrace again today, btw. deleting your mentioned files didn’t help, neither is rebooting. -
Ok here is the stacktrace:
Application: Hub.exe Framework Version: v4.0.30319 Description: The process was terminated due to an unhandled exception. Exception Info: System.IndexOutOfRangeException at FalconBMS_Alternative_Launcher_Cs.KeyAssgn..ctor(System.String) at FalconBMS_Alternative_Launcher_Cs.MainWindow.ReadKeyFile(System.String) at DynamicClass.CallSite.Target(System.Runtime.CompilerServices.Closure, System.Runtime.CompilerServices.CallSite, FalconBMS_Alternative_Launcher_Cs.MainWindow, System.Object) at System.Dynamic.UpdateDelegates.UpdateAndExecuteVoid2[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](System.Runtime.CompilerServices.CallSite, System.__Canon, System.__Canon) at FalconBMS_Alternative_Launcher_Cs.MainWindow.Window_Loaded(System.Object, System.Windows.RoutedEventArgs) at System.Windows.RoutedEventHandlerInfo.InvokeHandler(System.Object, System.Windows.RoutedEventArgs) at System.Windows.EventRoute.InvokeHandlersImpl(System.Object, System.Windows.RoutedEventArgs, Boolean) at System.Windows.UIElement.RaiseEventImpl(System.Windows.DependencyObject, System.Windows.RoutedEventArgs) at System.Windows.UIElement.RaiseEvent(System.Windows.RoutedEventArgs) at System.Windows.BroadcastEventHelper.BroadcastEvent(System.Windows.DependencyObject, System.Windows.RoutedEvent) at System.Windows.BroadcastEventHelper.BroadcastLoadedEvent(System.Object) at MS.Internal.LoadedOrUnloadedOperation.DoWork() at System.Windows.Media.MediaContext.FireLoadedPendingCallbacks() at System.Windows.Media.MediaContext.FireInvokeOnRenderCallbacks() at System.Windows.Media.MediaContext.RenderMessageHandlerCore(System.Object) at System.Windows.Media.MediaContext.RenderMessageHandler(System.Object) at System.Windows.Media.MediaContext.Resize(System.Windows.Media.ICompositionTarget) at System.Windows.Interop.HwndTarget.OnResize() at System.Windows.Interop.HwndTarget.HandleMessage(MS.Internal.Interop.WindowMessage, IntPtr, IntPtr) at System.Windows.Interop.HwndSource.HwndTargetFilterMessage(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef) at MS.Win32.HwndWrapper.WndProc(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef) at MS.Win32.HwndSubclass.DispatcherCallbackOperation(System.Object) at System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32) at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate) at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(System.Windows.Threading.DispatcherPriority, System.TimeSpan, System.Delegate, System.Object, Int32) at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr, Int32, IntPtr, IntPtr) at MS.Win32.UnsafeNativeMethods.CallWindowProc(IntPtr, IntPtr, Int32, IntPtr, IntPtr) at MS.Win32.HwndSubclass.DefWndProcWrapper(IntPtr, Int32, IntPtr, IntPtr) at MS.Win32.UnsafeNativeMethods.CallWindowProc(IntPtr, IntPtr, Int32, IntPtr, IntPtr) at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr, Int32, IntPtr, IntPtr)
-
Another problem that I’m facing during the use of the Launcher - the App is crashing somtimes after shuting down falcon and somtimes its just do not open on the first attempt to open it. I’m afraid that the App will start to “collect” errors like the last time i used it ,and stop working at some point (somthing that will force me to reinstall falcon).
-
@erpe thx, I PMed you a debug version.
I also checked where the error is happening but seems it is occurring even before Window.load event starts…something wrong with WPF codes???
-
Thanks a lot for making this program.
I seemed to have run into a bug with the PinkyShift command. I can switch to the Shifted DX map but I can not switch back. This appears to be because the SimHotasPinkyShift is only mapped in the normal space when it also needs to be mapped in the shifted space, as per the Key File documentation. Is this correct or am I missing something?
-
Treated @erpe’s problem by restoring BMS - FULL.key to the default.
The app might generate a broken key file in some cases and I need to know how can I reproduce this.Currently, I am developing v1.10 auto-generating backup files for its first use and restore BMS - FULL.key when its broken.
I can switch to the Shifted DX map but I can not switch back.
Do you mean you cannot switch back at my app key mapping page? or at BMS 3D?
If later, that’s BMS glitch and you have to map SimHotasPinkyShift to shifted layer too.STICK: Pinky Button (DX Shift) | DX3, SHIFT DX3
-
@AsafBoy:
Another problem that I’m facing during the use of the Launcher - the App is crashing somtimes after shuting down falcon and somtimes its just do not open on the first attempt to open it. I’m afraid that the App will start to “collect” errors like the last time i used it ,and stop working at some point (somthing that will force me to reinstall falcon).
That was also happening at erpe’s case which made broken BMS - FULL.key stucking alternative launcher…
BTW, Did you launch BMS in window mode or fullscreen? -
For reference I have Falcon running in window mode
-
That was also happening at erpe’s case which made broken BMS - FULL.key stucking alternative launcher…
BTW, Did you launch BMS in window mode or fullscreen?So the problem is the Key file in the first place ?
Ummm, i think it happened both in windowed mod and full screen, its appearing randomly i guess -
What preventing the launcher to start, was a broken key file.
What braking key file, might be an app crashing when closing BMS…(but not sure) -
When you have a chance i would like help. the app works great it really does but window mode screws something up because i only get 60% of the screen.
if you look at the screenshot, that is what it looks like at all times. In full window mode it works fine though.
-
Does anyone have problem setting shifted keys in the launcher? When I use Keycombo / Pinkyshift and try to bind something, it unbinds previous same key bind.
-
@aarena52
Can you check Cockpit Display Extraction -> Adjust Window Rectangle -> Top/Left values?
DX(n)
DX(n) REL
DX(n) SHIFT
DX(n) REL SHIFTThese can be assigned at the same time without unbinding, but you cannot bind each assignment 2 or more times.
-
I am going to release v1.03
- Fixed "Mapping" Column not being fixed while scrolling DataGrid Horizontally. - Now the launcher auto generates backups of following files when using it for the first time. * User/Config/axismapping.dat * User/Config/BMS - Full.key * User/Config/DeviceSorting.txt * User/Config/Falcon bms.cfg * User/Config/joystick.cal * User/Config/<callsign>.pop - Added key mapping search function. - Added "MFD: LEFT" and "MFD: RIGHT" to the category search drop-down list.</callsign>
New key mapping search function only searches first discovered callback name which contains the input keyword you entered.
I wanted to make it only showing callbacks containing search keyword by dynamically changing each rows visibility, but System.Windows.Data Error: 4 collapses WPF Datagrid and I could not solve the problem… -
I still can’t figure out how do I do DX modifier
I bind a key I want to act as modifier to DX shift
And I try to press keycombo and bind on something I want to work only with modifier pressed, but then it unbinds a bind which uses same key but without modifier -
You can only use a key you bind STICK: PINKY SHIFT(DX SHIFT) as a DX shift key.
If you assign DX3 a pinky shift(dx shift), try assigning DX1 SHIFT something and in BMS press DX1 while holding DX3, then the callback you assigned to DX1 SHIFT will be activated.
Also, don’t forget to assign STICK: PINKY SHIFT(DX SHIFT) to “shifted layer” too (like STICK: PINKY SHIFT(DX SHIFT) DX3 & DX3 SHIFT) as BMS has a glitch to keep layer shifting.Docs\Key Files & Input\BMS Key File Manual.pdf: 7.4.3 DirectX Button Shifting
-
Or, Do you mean when you assign “DX1 SHIFT” somehow “DX1” disappears from the other cell?
That must be a glitch I have to check my code… -
Or, Do you mean when you assign “DX1 SHIFT” somehow “DX1” disappears from the other cell?
That must be a glitch I have to check my code…Yeah this
-
Could you show me screenshots or capture video?
-
I would, but I re-installed windows(Windows 7) and I get this…
Btw, did you release it to github yet?