MCMrARM / mc-w10-version-launcher

Windows 10 Multi-Version launcher.
GNU General Public License v3.0
815 stars 144 forks source link

Linux Support? #265

Closed GreatNateDev closed 1 year ago

GreatNateDev commented 1 year ago

Does not run on wine runs with error

--ERROR-- Unhandled Exception: System.Windows.Markup.XamlParseException: The invocation of the constructor on type 'MCLauncher.MainWindow' that matches the specified binding constraints threw an exception. ---> System.TypeLoadException: Could not load type of field 'MCLauncher.MainWindow+<>c:<>924_0' (2) due to: Could not load file or assembly 'Windows.Foundation.FoundationContract, Version=3.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. at (wrapper managed-to-native) System.RuntimeMethodHandle.GetFunctionPointer(intptr) at System.RuntimeMethodHandle.GetFunctionPointer () [0x00000] in <69ebfd1fc56040acade074e61bd61307>:0 at System.Xaml.Schema.XamlTypeInvoker+DefaultCtorXamlActivator.EnsureConstructorDelegate (System.Xaml.Schema.XamlTypeInvoker type) [0x000fc] in <3fc53d513cff40b6aec672c4761de80d>:0 at System.Xaml.Schema.XamlTypeInvoker+DefaultCtorXamlActivator.CreateInstance (System.Xaml.Schema.XamlTypeInvoker type) [0x00001] in <3fc53d513cff40b6aec672c4761de80d>:0 at System.Xaml.Schema.XamlTypeInvoker.CreateInstance (System.Object[] arguments) [0x0002d] in <3fc53d513cff40b6aec672c4761de80d>:0 at MS.Internal.Xaml.Runtime.ClrObjectRuntime.CreateInstanceWithCtor (System.Xaml.XamlType xamlType, System.Object[] args) [0x00007] in <3fc53d513cff40b6aec672c4761de80d>:0 at MS.Internal.Xaml.Runtime.ClrObjectRuntime.CreateInstance (System.Xaml.XamlType xamlType, System.Object[] args) [0x0002e] in <3fc53d513cff40b6aec672c4761de80d>:0 --- End of inner exception stack trace --- at System.Windows.Markup.XamlReader.RewrapException (System.Exception e, System.Xaml.IXamlLineInfo lineInfo, System.Uri baseUri) [0x00009] in :0 at System.Windows.Markup.WpfXamlLoader.Load (System.Xaml.XamlReader xamlReader, System.Xaml.IXamlObjectWriterFactory writerFactory, System.Boolean skipJournaledProperties, System.Object rootObject, System.Xaml.XamlObjectWriterSettings settings, System.Uri baseUri) [0x00120] in :0 at System.Windows.Markup.WpfXamlLoader.LoadBaml (System.Xaml.XamlReader xamlReader, System.Boolean skipJournaledProperties, System.Object rootObject, System.Xaml.Permissions.XamlAccessLevel accessLevel, System.Uri baseUri) [0x00017] in :0 at System.Windows.Markup.XamlReader.LoadBaml (System.IO.Stream stream, System.Windows.Markup.ParserContext parserContext, System.Object parent, System.Boolean closeStream) [0x0013d] in :0 at System.Windows.Application.LoadBamlStreamWithSyncInfo (System.IO.Stream stream, System.Windows.Markup.ParserContext pc) [0x0003b] in :0 at System.Windows.Application.LoadComponent (System.Uri resourceLocator, System.Boolean bSkipJournaledProperties) [0x00052] in :0 at System.Windows.Application.DoStartup () [0x0008d] in :0 at System.Windows.Application.<.ctor>b__1_0 (System.Object unused) [0x00027] in :0 at System.Windows.Threading.ExceptionWrapper.InternalRealCall (System.Delegate callback, System.Object args, System.Int32 numArgs) [0x000c6] in <45f75a19b38c4545b1e5acf471ecc270>:0 at System.Windows.Threading.ExceptionWrapper.TryCatchWhen (System.Object source, System.Delegate callback, System.Object args, System.Int32 numArgs, System.Delegate catchHandler) [0x00004] in <45f75a19b38c4545b1e5acf471ecc270>:0 at System.Windows.Threading.Dispatcher.WrappedInvoke (System.Delegate callback, System.Object args, System.Int32 numArgs, System.Delegate catchHandler) [0x00001] in <45f75a19b38c4545b1e5acf471ecc270>:0 at System.Windows.Threading.DispatcherOperation.InvokeImpl () [0x00099] in <45f75a19b38c4545b1e5acf471ecc270>:0 at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext (System.Object state) [0x00008] in <45f75a19b38c4545b1e5acf471ecc270>:0 at MS.Internal.CulturePreservingExecutionContext.CallbackWrapper (System.Object obj) [0x0001d] in <45f75a19b38c4545b1e5acf471ecc270>:0 at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00071] in <69ebfd1fc56040acade074e61bd61307>:0 at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <69ebfd1fc56040acade074e61bd61307>:0 at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state) [0x0002b] in <69ebfd1fc56040acade074e61bd61307>:0 at MS.Internal.CulturePreservingExecutionContext.Run (MS.Internal.CulturePreservingExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state) [0x00047] in <45f75a19b38c4545b1e5acf471ecc270>:0 at System.Windows.Threading.DispatcherOperation.Invoke () [0x00016] in <45f75a19b38c4545b1e5acf471ecc270>:0 at System.Windows.Threading.Dispatcher.ProcessQueue () [0x00114] in <45f75a19b38c4545b1e5acf471ecc270>:0 at System.Windows.Threading.Dispatcher.WndProcHook (System.IntPtr hwnd, System.Int32 msg, System.IntPtr wParam, System.IntPtr lParam, System.Boolean& handled) [0x00061] in <45f75a19b38c4545b1e5acf471ecc270>:0 at MS.Win32.HwndWrapper.WndProc (System.IntPtr hwnd, System.Int32 msg, System.IntPtr wParam, System.IntPtr lParam, System.Boolean& handled) [0x0003a] in <45f75a19b38c4545b1e5acf471ecc270>:0 at MS.Win32.HwndSubclass.DispatcherCallbackOperation (System.Object o) [0x00042] in <45f75a19b38c4545b1e5acf471ecc270>:0 at System.Windows.Threading.ExceptionWrapper.InternalRealCall (System.Delegate callback, System.Object args, System.Int32 numArgs) [0x000c6] in <45f75a19b38c4545b1e5acf471ecc270>:0 at System.Windows.Threading.ExceptionWrapper.TryCatchWhen (System.Object source, System.Delegate callback, System.Object args, System.Int32 numArgs, System.Delegate catchHandler) [0x00004] in <45f75a19b38c4545b1e5acf471ecc270>:0 at System.Windows.Threading.Dispatcher.WrappedInvoke (System.Delegate callback, System.Object args, System.Int32 numArgs, System.Delegate catchHandler) [0x00001] in <45f75a19b38c4545b1e5acf471ecc270>: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 <45f75a19b38c4545b1e5acf471ecc270>:0 at System.Windows.Threading.Dispatcher.Invoke (System.Windows.Threading.DispatcherPriority priority, System.Delegate method, System.Object arg) [0x00011] in <45f75a19b38c4545b1e5acf471ecc270>:0 at MS.Win32.HwndSubclass.SubclassWndProc (System.IntPtr hwnd, System.Int32 msg, System.IntPtr wParam, System.IntPtr lParam) [0x00154] in <45f75a19b38c4545b1e5acf471ecc270>: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 <45f75a19b38c4545b1e5acf471ecc270>:0 at System.Windows.Threading.Dispatcher.PushFrameImpl (System.Windows.Threading.DispatcherFrame frame) [0x0004c] in <45f75a19b38c4545b1e5acf471ecc270>:0 at System.Windows.Threading.Dispatcher.PushFrame (System.Windows.Threading.DispatcherFrame frame) [0x00077] in <45f75a19b38c4545b1e5acf471ecc270>:0 at System.Windows.Threading.Dispatcher.Run () [0x00006] in <45f75a19b38c4545b1e5acf471ecc270>: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 MCLauncher.App.Main () [0x0000b] in <66f3a60824104b45a9ed029581b5ef31>:0 [ERROR] FATAL UNHANDLED EXCEPTION: System.Windows.Markup.XamlParseException: The invocation of the constructor on type 'MCLauncher.MainWindow' that matches the specified binding constraints threw an exception. ---> System.TypeLoadException: Could not load type of field 'MCLauncher.MainWindow+<>c:<>924_0' (2) due to: Could not load file or assembly 'Windows.Foundation.FoundationContract, Version=3.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. at (wrapper managed-to-native) System.RuntimeMethodHandle.GetFunctionPointer(intptr) at System.RuntimeMethodHandle.GetFunctionPointer () [0x00000] in <69ebfd1fc56040acade074e61bd61307>:0 at System.Xaml.Schema.XamlTypeInvoker+DefaultCtorXamlActivator.EnsureConstructorDelegate (System.Xaml.Schema.XamlTypeInvoker type) [0x000fc] in <3fc53d513cff40b6aec672c4761de80d>:0 at System.Xaml.Schema.XamlTypeInvoker+DefaultCtorXamlActivator.CreateInstance (System.Xaml.Schema.XamlTypeInvoker type) [0x00001] in <3fc53d513cff40b6aec672c4761de80d>:0 at System.Xaml.Schema.XamlTypeInvoker.CreateInstance (System.Object[] arguments) [0x0002d] in <3fc53d513cff40b6aec672c4761de80d>:0 at MS.Internal.Xaml.Runtime.ClrObjectRuntime.CreateInstanceWithCtor (System.Xaml.XamlType xamlType, System.Object[] args) [0x00007] in <3fc53d513cff40b6aec672c4761de80d>:0 at MS.Internal.Xaml.Runtime.ClrObjectRuntime.CreateInstance (System.Xaml.XamlType xamlType, System.Object[] args) [0x0002e] in <3fc53d513cff40b6aec672c4761de80d>:0 --- End of inner exception stack trace --- at System.Windows.Markup.XamlReader.RewrapException (System.Exception e, System.Xaml.IXamlLineInfo lineInfo, System.Uri baseUri) [0x00009] in :0 at System.Windows.Markup.WpfXamlLoader.Load (System.Xaml.XamlReader xamlReader, System.Xaml.IXamlObjectWriterFactory writerFactory, System.Boolean skipJournaledProperties, System.Object rootObject, System.Xaml.XamlObjectWriterSettings settings, System.Uri baseUri) [0x00120] in :0 at System.Windows.Markup.WpfXamlLoader.LoadBaml (System.Xaml.XamlReader xamlReader, System.Boolean skipJournaledProperties, System.Object rootObject, System.Xaml.Permissions.XamlAccessLevel accessLevel, System.Uri baseUri) [0x00017] in :0 at System.Windows.Markup.XamlReader.LoadBaml (System.IO.Stream stream, System.Windows.Markup.ParserContext parserContext, System.Object parent, System.Boolean closeStream) [0x0013d] in :0 at System.Windows.Application.LoadBamlStreamWithSyncInfo (System.IO.Stream stream, System.Windows.Markup.ParserContext pc) [0x0003b] in :0 at System.Windows.Application.LoadComponent (System.Uri resourceLocator, System.Boolean bSkipJournaledProperties) [0x00052] in :0 at System.Windows.Application.DoStartup () [0x0008d] in :0 at System.Windows.Application.<.ctor>b__1_0 (System.Object unused) [0x00027] in :0 at System.Windows.Threading.ExceptionWrapper.InternalRealCall (System.Delegate callback, System.Object args, System.Int32 numArgs) [0x000c6] in <45f75a19b38c4545b1e5acf471ecc270>:0 at System.Windows.Threading.ExceptionWrapper.TryCatchWhen (System.Object source, System.Delegate callback, System.Object args, System.Int32 numArgs, System.Delegate catchHandler) [0x00004] in <45f75a19b38c4545b1e5acf471ecc270>:0 at System.Windows.Threading.Dispatcher.WrappedInvoke (System.Delegate callback, System.Object args, System.Int32 numArgs, System.Delegate catchHandler) [0x00001] in <45f75a19b38c4545b1e5acf471ecc270>:0 at System.Windows.Threading.DispatcherOperation.InvokeImpl () [0x00099] in <45f75a19b38c4545b1e5acf471ecc270>:0 at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext (System.Object state) [0x00008] in <45f75a19b38c4545b1e5acf471ecc270>:0 at MS.Internal.CulturePreservingExecutionContext.CallbackWrapper (System.Object obj) [0x0001d] in <45f75a19b38c4545b1e5acf471ecc270>:0 at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00071] in <69ebfd1fc56040acade074e61bd61307>:0 at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <69ebfd1fc56040acade074e61bd61307>:0 at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state) [0x0002b] in <69ebfd1fc56040acade074e61bd61307>:0 at MS.Internal.CulturePreservingExecutionContext.Run (MS.Internal.CulturePreservingExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state) [0x00047] in <45f75a19b38c4545b1e5acf471ecc270>:0 at System.Windows.Threading.DispatcherOperation.Invoke () [0x00016] in <45f75a19b38c4545b1e5acf471ecc270>:0 at System.Windows.Threading.Dispatcher.ProcessQueue () [0x00114] in <45f75a19b38c4545b1e5acf471ecc270>:0 at System.Windows.Threading.Dispatcher.WndProcHook (System.IntPtr hwnd, System.Int32 msg, System.IntPtr wParam, System.IntPtr lParam, System.Boolean& handled) [0x00061] in <45f75a19b38c4545b1e5acf471ecc270>:0 at MS.Win32.HwndWrapper.WndProc (System.IntPtr hwnd, System.Int32 msg, System.IntPtr wParam, System.IntPtr lParam, System.Boolean& handled) [0x0003a] in <45f75a19b38c4545b1e5acf471ecc270>:0 at MS.Win32.HwndSubclass.DispatcherCallbackOperation (System.Object o) [0x00042] in <45f75a19b38c4545b1e5acf471ecc270>:0 at System.Windows.Threading.ExceptionWrapper.InternalRealCall (System.Delegate callback, System.Object args, System.Int32 numArgs) [0x000c6] in <45f75a19b38c4545b1e5acf471ecc270>:0 at System.Windows.Threading.ExceptionWrapper.TryCatchWhen (System.Object source, System.Delegate callback, System.Object args, System.Int32 numArgs, System.Delegate catchHandler) [0x00004] in <45f75a19b38c4545b1e5acf471ecc270>:0 at System.Windows.Threading.Dispatcher.WrappedInvoke (System.Delegate callback, System.Object args, System.Int32 numArgs, System.Delegate catchHandler) [0x00001] in <45f75a19b38c4545b1e5acf471ecc270>: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 <45f75a19b38c4545b1e5acf471ecc270>:0 at System.Windows.Threading.Dispatcher.Invoke (System.Windows.Threading.DispatcherPriority priority, System.Delegate method, System.Object arg) [0x00011] in <45f75a19b38c4545b1e5acf471ecc270>:0 at MS.Win32.HwndSubclass.SubclassWndProc (System.IntPtr hwnd, System.Int32 msg, System.IntPtr wParam, System.IntPtr lParam) [0x00154] in <45f75a19b38c4545b1e5acf471ecc270>: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 <45f75a19b38c4545b1e5acf471ecc270>:0 at System.Windows.Threading.Dispatcher.PushFrameImpl (System.Windows.Threading.DispatcherFrame frame) [0x0004c] in <45f75a19b38c4545b1e5acf471ecc270>:0 at System.Windows.Threading.Dispatcher.PushFrame (System.Windows.Threading.DispatcherFrame frame) [0x00077] in <45f75a19b38c4545b1e5acf471ecc270>:0 at System.Windows.Threading.Dispatcher.Run () [0x00006] in <45f75a19b38c4545b1e5acf471ecc270>: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

xAffan commented 1 year ago

Bro there's an actual linux launcher that is better and you're trying to use this? 🤣

GreatNateDev commented 1 year ago

I don't plan on spending money on Android minecraft and I think this would be nice

xAffan commented 1 year ago

I don't plan on spending money on Android minecraft and I think this would be nice

Dual boot or use VM. This launcher will never support wine or linux

Max-RM commented 1 year ago

wine

Dude Wine doesn't support UWP apps. This can't run MCBE UWP.

But MrARM also make "mcpe Linux launchee" You just need license in Google play to use this.

Max-RM commented 1 year ago

I don't plan on spending money on Android minecraft and I think this would be nice

Another way.

You can install Android x64 in dual boot Or install Windows in dual boot. You don't need to remove main OS, you will just have 2 OS on PC.

dktapps commented 1 year ago

I don't plan on spending time on supporting linux and I doubt @MCMrARM will either

GreatNateDev commented 1 year ago

I'll go with something like proxmox