LaughingLeader / BG3ModManager

A mod manager for Baldur's Gate 3.
MIT License
1.27k stars 189 forks source link

[Bug]: UI issue with Crossover #140

Open kyledrew opened 1 year ago

kyledrew commented 1 year ago

Operating System

MacOS with Crossover Windows 10 Bottle

BG3 Mod Manager Version

1.0.9.7

BG3 Game Version

Full Release Patch 3

Bug Summary

When loading the application - the window fails to show. Its looking like there may be missing libraries necessary for the program to fully function.

i've gone in and marked lslib.dll as native but others may be missing for this to fully function on crossover.

I've added the d3dcompiler_47 to native

Running latest version of crossover with wine 8.0.2

Pulled this from the log file

[MainWindow.xaml.cs:OnUIException(117)] An exception in the UI occurred. The program will close. System.Runtime.InteropServices.COMException (0x88980406): Exception from HRESULT: 0x88980406 at System.Windows.Media.Composition.DUCE.Channel.SyncFlush() at System.Windows.Interop.HwndTarget.UpdateWindowSettings(Boolean enableRenderTarget, Nullable`1 channelSet) at System.Windows.Interop.HwndTarget.UpdateWindowPos(IntPtr lParam) at System.Windows.Interop.HwndTarget.HandleMessage(WindowMessage msg, IntPtr wparam, IntPtr lparam) at System.Windows.Interop.HwndSource.HwndTargetFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o) at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

Links

No response

dev-asya commented 6 months ago

Hi there, I believe I had the same issue. I fixed it by moving all of the files that weren't in the original .zip file. After that it worked completely fine.

Within the "BG3ModManager.exe" root folder, I had 2 additional folders. One folder contained .pak files for some Hireling customisation mods, and the other folder contained the entirety of Norbyte's "lslib".