Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crashes on Linux #14

Open
CyberSaintPlaysRL opened this issue Apr 11, 2023 · 5 comments
Open

Crashes on Linux #14

CyberSaintPlaysRL opened this issue Apr 11, 2023 · 5 comments

Comments

@CyberSaintPlaysRL
Copy link

parameterbDPI_AWARENESS_CONTEXT_UNSPECIFIED when i press main in modder

@AvinashReddy3108
Copy link

Same here, I've got some lines from the MainLog.txt file to help debug.

Binary : Unknown Exception
05/14/2023 20:48
--------------------------
Exception: dpiContext (Parameter 'DPI_AWARENESS_CONTEXT_UNSPECIFIED')
HResult: -2147024809
StackTrace:    at System.Windows.Forms.CommonUnsafeNativeMethods.TrySetThreadDpiAwarenessContext(DpiAwarenessContext dpiContext)
   at System.Windows.Forms.DpiHelper.DpiAwarenessScope.Dispose()
   at System.Windows.Forms.ToolStripManager.ModalMenuFilter.PreFilterMessage(Message& m)
   at System.Windows.Forms.Application.ThreadContext.ProcessFilters(MSG& msg, Boolean& modified)
   at System.Windows.Forms.Application.ThreadContext.PreTranslateMessage(MSG& msg)
   at System.Windows.Forms.Application.ThreadContext.System.Windows.Forms.UnsafeNativeMethods.IMsoComponent.FPreTranslateMessage(MSG& msg)
   at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
   at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
   at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
   at System.Windows.Forms.Application.RunDialog(Form form)
   at System.Windows.Forms.Form.ShowDialog(IWin32Window owner)
   at System.Windows.Forms.Form.ShowDialog()
   at Binary.IntroUI.ModderInteract()
   at Binary.IntroUI.IntroPictureModder_Click(Object sender, EventArgs e)
   at System.Windows.Forms.Control.OnClick(EventArgs e)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
TargetSite: System.Windows.Forms.DpiAwarenessContext TrySetThreadDpiAwarenessContext(System.Windows.Forms.DpiAwarenessContext)
Source: System.Windows.Forms

@xrtxn
Copy link

xrtxn commented Jul 18, 2023

I use bottles, I switched the wine version to windows 7 and it works correctly.

@AvinashReddy3108
Copy link

I use bottles, I switched to windows 7 and it works correctly.

You mean you have set the "Windows version" setting in your bottle to Windows 7, right?

PS: for vanilla WINE, you can use the winecfg to set the Windows version of your prefix.
Screenshot_20230719_084520

Will test this out, hope this works for me as it has done for you..

@xrtxn
Copy link

xrtxn commented Jul 19, 2023

You mean you have set the "Windows version" setting in your bottle to Windows 7, right?

yes, sorry for not being clear

@AvinashReddy3108
Copy link

Sorry for being (extremely) late, but I just want to let everyone know that setting the "Windows version" of the WINE prefix to "Windows 7" fixes this issue..

Screenshot_20230801_164043

Read this on how to do it..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants