ruarai / CompilePal

A tool to assist in the compiling of source engine maps
GNU General Public License v3.0
224 stars 26 forks source link

Pink window at launch while using wine on mac #128

Closed Twelvethousandths closed 1 year ago

Twelvethousandths commented 4 years ago

Describe the bug After launching CompilePal 027 or 027.12 with wine Stable, all there is in the window is a solid bright pink. This also happens while in fullscreen mode.

Steps to reproduce

  1. Download wine Stable 5.0 with 64bit compatibility.
  2. Download Compile Pal 027 (and/or 027.12) and try to launch the .exe file (this one I downloaded with The Unarchiver).

Expected behavior A small rectangular screen at the top left corner of the screen named "Game Selector" with no menu whatsoever with a solid R:225 G:64 B:254(Generic RGB) or R:205 G:100 B:250(Adobe RGB) appears. Nothing changes at fullscreen, and there seems to be no buttons I can press that would just be visually hidden.

Debug.log (Only appeared in the 027.12 version, but when I replicated the actions with both versions, no crashlog appeared) (Wall of text below, I don't know how to link files here)

Crash logs (Same deal as above)x2

Additional context I know this isn't supposed to work on mac and would be very time-consuming to create compatibility, but it would be very helpful if it can just work with wine. Thanks for the continued support!

Debug.log An exception was caught by the ExceptionHandler: Newtonsoft.Json.JsonReaderException: After parsing a value an unexpected character was encountered: V. Path '[0].VBSP', line 5, position 5. at Newtonsoft.Json.JsonTextReader.ParsePostValue (System.Boolean ignoreComments) [0x0019a] in :0 at Newtonsoft.Json.JsonTextReader.Read () [0x0005a] in :0 at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject (System.Object newObject, Newtonsoft.Json.JsonReader reader, Newtonsoft.Json.Serialization.JsonObjectContract contract, Newtonsoft.Json.Serialization.JsonProperty member, System.String id) [0x002a7] in :0 at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject (Newtonsoft.Json.JsonReader reader, System.Type objectType, Newtonsoft.Json.Serialization.JsonContract contract, Newtonsoft.Json.Serialization.JsonProperty member, Newtonsoft.Json.Serialization.JsonContainerContract containerContract, Newtonsoft.Json.Serialization.JsonProperty containerMember, System.Object existingValue) [0x00161] in :0 at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal (Newtonsoft.Json.JsonReader reader, System.Type objectType, Newtonsoft.Json.Serialization.JsonContract contract, Newtonsoft.Json.Serialization.JsonProperty member, Newtonsoft.Json.Serialization.JsonContainerContract containerContract, Newtonsoft.Json.Serialization.JsonProperty containerMember, System.Object existingValue) [0x0006d] in :0 at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateList (System.Collections.IList list, Newtonsoft.Json.JsonReader reader, Newtonsoft.Json.Serialization.JsonArrayContract contract, Newtonsoft.Json.Serialization.JsonProperty containerProperty, System.String id) [0x00173] in :0 at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateList (Newtonsoft.Json.JsonReader reader, System.Type objectType, Newtonsoft.Json.Serialization.JsonContract contract, Newtonsoft.Json.Serialization.JsonProperty member, System.Object existingValue, System.String id) [0x000dc] in :0 at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal (Newtonsoft.Json.JsonReader reader, System.Type objectType, Newtonsoft.Json.Serialization.JsonContract contract, Newtonsoft.Json.Serialization.JsonProperty member, Newtonsoft.Json.Serialization.JsonContainerContract containerContract, Newtonsoft.Json.Serialization.JsonProperty containerMember, System.Object existingValue) [0x0007f] in :0 at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize (Newtonsoft.Json.JsonReader reader, System.Type objectType, System.Boolean checkAdditionalContent) [0x000db] in :0 at Newtonsoft.Json.JsonSerializer.DeserializeInternal (Newtonsoft.Json.JsonReader reader, System.Type objectType) [0x00054] in :0 at Newtonsoft.Json.JsonSerializer.Deserialize (Newtonsoft.Json.JsonReader reader, System.Type objectType) [0x00000] in :0 at Newtonsoft.Json.JsonConvert.DeserializeObject (System.String value, System.Type type, Newtonsoft.Json.JsonSerializerSettings settings) [0x0002d] in :0 at Newtonsoft.Json.JsonConvert.DeserializeObject[T] (System.String value, Newtonsoft.Json.JsonSerializerSettings settings) [0x00000] in :0 at Newtonsoft.Json.JsonConvert.DeserializeObject[T] (System.String value) [0x00000] in :0 at CompilePalX.LaunchWindow..ctor () [0x00063] in <342c8f3f18c841e9962eec87e34f69e8>:0 An exception was caught by the ExceptionHandler: System.NullReferenceException: Object reference not set to an instance of an object at CompilePalX.ProgressManager.ErrorProgress () [0x00001] in <342c8f3f18c841e9962eec87e34f69e8>:0 at CompilePalX.ExceptionHandler.LogException (System.Exception e, System.Boolean crash) [0x00111] in <342c8f3f18c841e9962eec87e34f69e8>:0 at System.Runtime.CompilerServices.AsyncMethodBuilderCore+<>c.b__7_0 (System.Object state) [0x00000] in <084b4366b7b24485afe7dc701f3d4323>:0 at System.Windows.Threading.ExceptionWrapper.InternalRealCall (System.Delegate callback, System.Object args, System.Int32 numArgs) [0x000e7] in <4e9e425f1cb8433db4ccdc96d738dd07>:0 at System.Windows.Threading.ExceptionWrapper.TryCatchWhen (System.Object source, System.Delegate callback, System.Object args, System.Int32 numArgs, System.Delegate catchHandler) [0x00004] in <4e9e425f1cb8433db4ccdc96d738dd07>:0 An exception was caught by the ExceptionHandler: System.NullReferenceException: Object reference not set to an instance of an object at CompilePalX.ProgressManager.ErrorProgress () [0x00001] in <342c8f3f18c841e9962eec87e34f69e8>:0 at CompilePalX.ExceptionHandler.LogException (System.Exception e, System.Boolean crash) [0x00111] in <342c8f3f18c841e9962eec87e34f69e8>:0 at System.Runtime.CompilerServices.AsyncMethodBuilderCore+<>c.b__7_0 (System.Object state) [0x00000] in <084b4366b7b24485afe7dc701f3d4323>:0 at System.Windows.Threading.ExceptionWrapper.InternalRealCall (System.Delegate callback, System.Object args, System.Int32 numArgs) [0x000e7] in <4e9e425f1cb8433db4ccdc96d738dd07>:0 at System.Windows.Threading.ExceptionWrapper.TryCatchWhen (System.Object source, System.Delegate callback, System.Object args, System.Int32 numArgs, System.Delegate catchHandler) [0x00042] in <4e9e425f1cb8433db4ccdc96d738dd07>:0 at System.Windows.Threading.Dispatcher.WrappedInvoke (System.Delegate callback, System.Object args, System.Int32 numArgs, System.Delegate catchHandler) [0x00001] in <4e9e425f1cb8433db4ccdc96d738dd07>:0 at System.Windows.Threading.DispatcherOperation.InvokeImpl () [0x00099] in <4e9e425f1cb8433db4ccdc96d738dd07>:0 at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext (System.Object state) [0x00008] in <4e9e425f1cb8433db4ccdc96d738dd07>:0 at MS.Internal.CulturePreservingExecutionContext.CallbackWrapper (System.Object obj) [0x0001d] in <4e9e425f1cb8433db4ccdc96d738dd07>:0 at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00071] in <084b4366b7b24485afe7dc701f3d4323>:0 at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <084b4366b7b24485afe7dc701f3d4323>:0 at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state) [0x0002b] in <084b4366b7b24485afe7dc701f3d4323>:0 at MS.Internal.CulturePreservingExecutionContext.Run (MS.Internal.CulturePreservingExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state) [0x00047] in <4e9e425f1cb8433db4ccdc96d738dd07>:0 at System.Windows.Threading.DispatcherOperation.Invoke () [0x00016] in <4e9e425f1cb8433db4ccdc96d738dd07>:0 at System.Windows.Threading.Dispatcher.ProcessQueue () [0x00114] in <4e9e425f1cb8433db4ccdc96d738dd07>:0 at System.Windows.Threading.Dispatcher.WndProcHook (System.IntPtr hwnd, System.Int32 msg, System.IntPtr wParam, System.IntPtr lParam, System.Boolean& handled) [0x00061] in <4e9e425f1cb8433db4ccdc96d738dd07>:0 at MS.Win32.HwndWrapper.WndProc (System.IntPtr hwnd, System.Int32 msg, System.IntPtr wParam, System.IntPtr lParam, System.Boolean& handled) [0x0003a] in <4e9e425f1cb8433db4ccdc96d738dd07>:0 at MS.Win32.HwndSubclass.DispatcherCallbackOperation (System.Object o) [0x00042] in <4e9e425f1cb8433db4ccdc96d738dd07>:0 at System.Windows.Threading.ExceptionWrapper.InternalRealCall (System.Delegate callback, System.Object args, System.Int32 numArgs) [0x000c6] in <4e9e425f1cb8433db4ccdc96d738dd07>:0 at System.Windows.Threading.ExceptionWrapper.TryCatchWhen (System.Object source, System.Delegate callback, System.Object args, System.Int32 numArgs, System.Delegate catchHandler) [0x00004] in <4e9e425f1cb8433db4ccdc96d738dd07>:0 at System.Windows.Threading.Dispatcher.WrappedInvoke (System.Delegate callback, System.Object args, System.Int32 numArgs, System.Delegate catchHandler) [0x00001] in <4e9e425f1cb8433db4ccdc96d738dd07>:0 at System.Windows.Threading.Dispatcher.LegacyInvokeImpl (System.Windows.Threading.DispatcherPriority priority, System.TimeSpan timeout, System.Delegate method, System.Object args, System.Int32 numArgs) [0x000fc] in <4e9e425f1cb8433db4ccdc96d738dd07>:0 at System.Windows.Threading.Dispatcher.Invoke (System.Windows.Threading.DispatcherPriority priority, System.Delegate method, System.Object arg) [0x00011] in <4e9e425f1cb8433db4ccdc96d738dd07>:0 at MS.Win32.HwndSubclass.SubclassWndProc (System.IntPtr hwnd, System.Int32 msg, System.IntPtr wParam, System.IntPtr lParam) [0x00154] in <4e9e425f1cb8433db4ccdc96d738dd07>:0 at (wrapper native-to-managed) MS.Win32.HwndSubclass.SubclassWndProc(intptr,int,intptr,intptr) at (wrapper managed-to-native) MS.Win32.UnsafeNativeMethods.DispatchMessage(System.Windows.Interop.MSG&) at System.Windows.Threading.Dispatcher.TranslateAndDispatchMessage (System.Windows.Interop.MSG& msg) [0x0001a] in <4e9e425f1cb8433db4ccdc96d738dd07>:0 at System.Windows.Threading.Dispatcher.PushFrameImpl (System.Windows.Threading.DispatcherFrame frame) [0x0004c] in <4e9e425f1cb8433db4ccdc96d738dd07>:0 at System.Windows.Threading.Dispatcher.PushFrame (System.Windows.Threading.DispatcherFrame frame) [0x00077] in <4e9e425f1cb8433db4ccdc96d738dd07>:0 at System.Windows.Threading.Dispatcher.Run () [0x00006] in <4e9e425f1cb8433db4ccdc96d738dd07>:0 at System.Windows.Application.RunDispatcher (System.Object ignore) [0x00023] in :0 at System.Windows.Application.RunInternal (System.Windows.Window window) [0x0010d] in :0 at System.Windows.Application.Run (System.Windows.Window window) [0x00008] in :0 at System.Windows.Application.Run () [0x00009] in :0 at CompilePalX.App.Main () [0x0000e] in <342c8f3f18c841e9962eec87e34f69e8>:0

Crash Log Newtonsoft.Json.JsonReaderException: After parsing a value an unexpected character was encountered: V. Path '[0].VBSP', line 5, position 5. at Newtonsoft.Json.JsonTextReader.ParsePostValue (System.Boolean ignoreComments) [0x0019a] in :0 at Newtonsoft.Json.JsonTextReader.Read () [0x0005a] in :0 at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject (System.Object newObject, Newtonsoft.Json.JsonReader reader, Newtonsoft.Json.Serialization.JsonObjectContract contract, Newtonsoft.Json.Serialization.JsonProperty member, System.String id) [0x002a7] in :0 at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject (Newtonsoft.Json.JsonReader reader, System.Type objectType, Newtonsoft.Json.Serialization.JsonContract contract, Newtonsoft.Json.Serialization.JsonProperty member, Newtonsoft.Json.Serialization.JsonContainerContract containerContract, Newtonsoft.Json.Serialization.JsonProperty containerMember, System.Object existingValue) [0x00161] in :0 at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal (Newtonsoft.Json.JsonReader reader, System.Type objectType, Newtonsoft.Json.Serialization.JsonContract contract, Newtonsoft.Json.Serialization.JsonProperty member, Newtonsoft.Json.Serialization.JsonContainerContract containerContract, Newtonsoft.Json.Serialization.JsonProperty containerMember, System.Object existingValue) [0x0006d] in :0 at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateList (System.Collections.IList list, Newtonsoft.Json.JsonReader reader, Newtonsoft.Json.Serialization.JsonArrayContract contract, Newtonsoft.Json.Serialization.JsonProperty containerProperty, System.String id) [0x00173] in :0 at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateList (Newtonsoft.Json.JsonReader reader, System.Type objectType, Newtonsoft.Json.Serialization.JsonContract contract, Newtonsoft.Json.Serialization.JsonProperty member, System.Object existingValue, System.String id) [0x000dc] in :0 at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal (Newtonsoft.Json.JsonReader reader, System.Type objectType, Newtonsoft.Json.Serialization.JsonContract contract, Newtonsoft.Json.Serialization.JsonProperty member, Newtonsoft.Json.Serialization.JsonContainerContract containerContract, Newtonsoft.Json.Serialization.JsonProperty containerMember, System.Object existingValue) [0x0007f] in :0 at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize (Newtonsoft.Json.JsonReader reader, System.Type objectType, System.Boolean checkAdditionalContent) [0x000db] in :0 at Newtonsoft.Json.JsonSerializer.DeserializeInternal (Newtonsoft.Json.JsonReader reader, System.Type objectType) [0x00054] in :0 at Newtonsoft.Json.JsonSerializer.Deserialize (Newtonsoft.Json.JsonReader reader, System.Type objectType) [0x00000] in :0 at Newtonsoft.Json.JsonConvert.DeserializeObject (System.String value, System.Type type, Newtonsoft.Json.JsonSerializerSettings settings) [0x0002d] in :0 at Newtonsoft.Json.JsonConvert.DeserializeObject[T] (System.String value, Newtonsoft.Json.JsonSerializerSettings settings) [0x00000] in :0 at Newtonsoft.Json.JsonConvert.DeserializeObject[T] (System.String value) [0x00000] in :0 at CompilePalX.LaunchWindow..ctor () [0x00063] in <342c8f3f18c841e9962eec87e34f69e8>:0

Exactol commented 3 years ago

Sorry for the late reply, I must have missed the email notification. Can you send the gameConfigs.json located in the GameConfiguration folder inside the Compile Pal folder?

Exactol commented 1 year ago

Closing stale issues, please try the latest prerelease and if the issue is still happening feel free to reopen