https://bugs.winehq.org/show_bug.cgi?id=56324
Bug ID: 56324 Summary: Falcon BMS launcher fails to start (native .Net 4.6.1 needed) Product: Wine Version: 9.1 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: mscoree Assignee: wine-bugs@winehq.org Reporter: xeno@x-s.com.pl Distribution: ---
Created attachment 76056 --> https://bugs.winehq.org/attachment.cgi?id=76056 Interrnal log of the launcher.
Falcon 4 BMS new default launcher crashes at startup due to unimplemented functions of DotNet 4.6.1 with error message:
System.Windows.Markup.XamlParseException The invocation of the constructor on type 'FalconBMS.Launcher.Windows.MainWindow' that matches the specified binding constraints threw an exception
Steps to reproduce (in fresh Win64 bit prefix): - install original Falcon 4 (needed by Falcon BMS installer to proceed due legal agreement) - install Falcon BMS 4.37 with without optional DirectX installation (here Falcon BMS 4.37.3 full installer was used) - launch Falcon Alternative Launcher (new default) binary env WINEPREFIX="/home/<your_user>/.local/share/wineprefixes/<your_prefix_name>" wine <path_to_BMS-dir>/Launcher/FalconBMS_Alternative_Launcher.exe
Expected result: Launcher windows opens up with no error messagex.
Actual result: Instead of Launcher there's error message window displayed. Launcher error is stuck and has to be terminated manually.
Extra notes: Known workaround: installing native .Net 4.6.* runtime makes Launcher work fine, with small visual issues (see bug: #55850)
Alternative Launcher project page on github: https://github.com/chihirobelmo/FalconBMS-Alternative-Launcher
https://bugs.winehq.org/show_bug.cgi?id=56324
--- Comment #1 from Stan aka Xeno xeno@x-s.com.pl --- Created attachment 76057 --> https://bugs.winehq.org/attachment.cgi?id=76057 Terminal output
https://bugs.winehq.org/show_bug.cgi?id=56324
--- Comment #2 from Esme Povirk madewokherd@gmail.com --- Odd, Managed DirectX (the library with the missing field) should be installed into the Windows GAC by the DirectX installer, and we should be using it. Unless it's only in the application directory, in which case you'd need WINE_MONO_OVERRIDES=Microsoft.DirectX.*,MonoGac=n
(But we should implement this too, adding a GUID field seems easy enough, at least.)
https://bugs.winehq.org/show_bug.cgi?id=56324
--- Comment #3 from Esme Povirk madewokherd@gmail.com --- Looks like monoDX has this field, but it's not found because it's missing modopt(Microsoft.VisualC.IsConstModifier).
I checked the launcher's inports, and it also uses the following unimplemented methods from Microsoft.DirectX.DirectInput: new Device(System.Guid) KeyboardState Device.GetCurrentKeyboardState() bool KeyboardState.get_Item(Key) DeviceInstance Device.get_DeviceInformation() void Device.Acquire() void Device.Unacquire() Device.operator=(Device, Device) JoystickState Device.get_CurrentJoystickState() int JoystickState.get_X() int JoystickState.get_Y() int JoystickState.get_Z() int JoystickState.get_Rx() int JoystickState.get_Ry() int JoystickState.get_Rz() int[] JoystickState.GetSlider() new JoystickState() byte[] JoystickState.GetButtons() int[] JoystickState.GetPointOfView()
https://bugs.winehq.org/show_bug.cgi?id=56324
--- Comment #4 from Esme Povirk madewokherd@gmail.com --- I'm guessing this is going to need not just Falcon itself but a joystick device with force-feedback to test properly.
https://bugs.winehq.org/show_bug.cgi?id=56324
--- Comment #5 from Esme Povirk madewokherd@gmail.com --- I made a pull request for the first part in monoDX at least: https://github.com/alesliehughes/monoDX/pull/17
https://bugs.winehq.org/show_bug.cgi?id=56324
--- Comment #6 from Stan aka Xeno xeno@x-s.com.pl --- Thanks a lot, i'll try to do some testing once code all the missing bits will be committed and Fedora guys will package wine-mono 9.0. I'll be much easier to rebuild 9.0 RPM with your patches. Fo BMS Launcher I don't think force feedback stick is needed, regular one should do. IIRC force feedback lib made Falcon BMS crash in the past. I an't say what the current status is.
https://bugs.winehq.org/show_bug.cgi?id=56324
--- Comment #7 from Esme Povirk madewokherd@gmail.com --- Should be fixed by https://gitlab.winehq.org/wine-mono/wine-mono/-/commit/dda1d8c5cc7c33cb9d452...
Github should eventually put some binary downloads here that can be used for testing: https://github.com/madewokherd/wine-mono/actions/runs/8009964530 (haven't set that up on Winehq yet)
https://bugs.winehq.org/show_bug.cgi?id=56324
Esme Povirk madewokherd@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED Fixed by SHA1| |e00762b961b78b46be3a9ddaf0c | |fb74450de1427
--- Comment #8 from Esme Povirk madewokherd@gmail.com --- Resolving with Wine Mono 9.1.0 release.
https://bugs.winehq.org/show_bug.cgi?id=56324
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #9 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 9.8.