PRLauncher.exe won't work via Wine on Ubuntu

Help and support regarding PR:BF2 installation and in-game issues
Post Reply
ILikeFPS
Posts: 2
Joined: 2025-01-05 04:05

PRLauncher.exe won't work via Wine on Ubuntu

Post by ILikeFPS »

Hi,

I'm using Wine on Ubuntu 22.04 LTS, I tried wine 9, wine-staging 10, and wine-devel 10 but I'm not having much luck.

When I try launching PRBF2.exe directly, it tells me to run the launcher. When I try to run the launcher and click play offline, I get the following error when trying to run PRLauncher.exe on Ubuntu 22.04 LTS:
Image

Here is my launcher log:

Code: Select all

Project Reality Log File
PRLauncher.exe started at: 2025-01-04T23:00:52

Critical Error: An unhandled exception has occured. Details are as follows:

'mainButtonTextTranslation-1540953532' name is not valid for identifier.

Further details can be found in the following file:

[url]Z:\home\ken\Desktop\Project Reality BF2\mods\pr\bin\PRLauncher.log[/url]

Please report this error to the Project Reality Team, and include the log file in your report.

[url="https://www.realitymod.com/forum/forumdisplay.php?f=27"]Visit Support Forum[/url]

 > System.ArgumentException: 'mainButtonTextTranslation-1540953532' name is not valid for identifier.
  at System.Xaml.NameScope.RegisterName (System.String name, System.Object scopedElement) [0x00066] in <040e1e41a73c42378e5805616bca4e24>:0 
  at System.Windows.FrameworkElement.RegisterName (System.String name, System.Object scopedElement) [0x00011] in <a3cd1564993142bb9f3396a9f9b699c3>:0 
  at Reality.UI.MainButton.p () [0x000ad] in <8390df80acfe40bcca0ed4dcad86069d>:0 
  at Reality.UI.MainButton.OnApplyTemplate () [0x00071] in <8390df80acfe40bcca0ed4dcad86069d>:0 
  at System.Windows.FrameworkElement.ApplyTemplate () [0x00050] in <a3cd1564993142bb9f3396a9f9b699c3>:0 
  at System.Windows.FrameworkElement.MeasureCore (System.Windows.Size availableSize) [0x00037] in <a3cd1564993142bb9f3396a9f9b699c3>:0 
  at System.Windows.UIElement.Measure (System.Windows.Size availableSize) [0x001d1] in <fe1fede30a9f4d4c90c8b1cb24f913fa>:0 
  at System.Windows.Controls.StackPanel.StackMeasureHelper (System.Windows.Controls.IStackMeasure measureElement, System.Windows.Controls.IStackMeasureScrollData scrollData, System.Windows.Size constraint) [0x0012e] in <a3cd1564993142bb9f3396a9f9b699c3>:0 
  at System.Windows.Controls.StackPanel.MeasureOverride (System.Windows.Size constraint) [0x00038] in <a3cd1564993142bb9f3396a9f9b699c3>:0 
  at System.Windows.FrameworkElement.MeasureCore (System.Windows.Size availableSize) [0x002ab] in <a3cd1564993142bb9f3396a9f9b699c3>:0 
  at System.Windows.UIElement.Measure (System.Windows.Size availableSize) [0x001d1] in <fe1fede30a9f4d4c90c8b1cb24f913fa>:0 
  at System.Windows.Controls.Grid.MeasureOverride (System.Windows.Size constraint) [0x00058] in <a3cd1564993142bb9f3396a9f9b699c3>:0 
  at System.Windows.FrameworkElement.MeasureCore (System.Windows.Size availableSize) [0x002ab] in <a3cd1564993142bb9f3396a9f9b699c3>:0 
  at System.Windows.UIElement.Measure (System.Windows.Size availableSize) [0x001d1] in <fe1fede30a9f4d4c90c8b1cb24f913fa>:0 
  at System.Windows.Controls.Grid.MeasureOverride (System.Windows.Size constraint) [0x00058] in <a3cd1564993142bb9f3396a9f9b699c3>:0 
  at System.Windows.FrameworkElement.MeasureCore (System.Windows.Size availableSize) [0x002ab] in <a3cd1564993142bb9f3396a9f9b699c3>:0 
  at System.Windows.UIElement.Measure (System.Windows.Size availableSize) [0x001d1] in <fe1fede30a9f4d4c90c8b1cb24f913fa>:0 
  at System.Windows.Controls.Grid.MeasureOverride (System.Windows.Size constraint) [0x00058] in <a3cd1564993142bb9f3396a9f9b699c3>:0 
  at System.Windows.FrameworkElement.MeasureCore (System.Windows.Size availableSize) [0x002ab] in <a3cd1564993142bb9f3396a9f9b699c3>:0 
  at System.Windows.UIElement.Measure (System.Windows.Size availableSize) [0x001d1] in <fe1fede30a9f4d4c90c8b1cb24f913fa>:0 
  at MS.Internal.Helper.MeasureElementWithSingleChild (System.Windows.UIElement element, System.Windows.Size constraint) [0x00023] in <a3cd1564993142bb9f3396a9f9b699c3>:0 
  at System.Windows.Controls.ContentPresenter.MeasureOverride (System.Windows.Size constraint) [0x00001] in <a3cd1564993142bb9f3396a9f9b699c3>:0 
  at System.Windows.FrameworkElement.MeasureCore (System.Windows.Size availableSize) [0x002ab] in <a3cd1564993142bb9f3396a9f9b699c3>:0 
  at System.Windows.UIElement.Measure (System.Windows.Size availableSize) [0x001d1] in <fe1fede30a9f4d4c90c8b1cb24f913fa>:0 
  at System.Windows.Controls.Decorator.MeasureOverride (System.Windows.Size constraint) [0x00011] in <a3cd1564993142bb9f3396a9f9b699c3>:0 
  at System.Windows.Documents.AdornerDecorator.MeasureOverride (System.Windows.Size constraint) [0x00001] in <a3cd1564993142bb9f3396a9f9b699c3>:0 
  at System.Windows.FrameworkElement.MeasureCore (System.Windows.Size availableSize) [0x002ab] in <a3cd1564993142bb9f3396a9f9b699c3>:0 
  at System.Windows.UIElement.Measure (System.Windows.Size availableSize) [0x001d1] in <fe1fede30a9f4d4c90c8b1cb24f913fa>:0 
  at System.Windows.Controls.Border.MeasureOverride (System.Windows.Size constraint) [0x00115] in <a3cd1564993142bb9f3396a9f9b699c3>:0 
  at System.Windows.FrameworkElement.MeasureCore (System.Windows.Size availableSize) [0x002ab] in <a3cd1564993142bb9f3396a9f9b699c3>:0 
  at System.Windows.UIElement.Measure (System.Windows.Size availableSize) [0x001d1] in <fe1fede30a9f4d4c90c8b1cb24f913fa>:0 
  at System.Windows.Window.MeasureOverrideHelper (System.Windows.Size constraint) [0x000f4] in <a3cd1564993142bb9f3396a9f9b699c3>:0 
  at System.Windows.Window.MeasureOverride (System.Windows.Size availableSize) [0x0006e] in <a3cd1564993142bb9f3396a9f9b699c3>:0 
  at System.Windows.FrameworkElement.MeasureCore (System.Windows.Size availableSize) [0x0004b] in <a3cd1564993142bb9f3396a9f9b699c3>:0 
  at System.Windows.UIElement.Measure (System.Windows.Size availableSize) [0x001d1] in <fe1fede30a9f4d4c90c8b1cb24f913fa>:0 
  at System.Windows.Interop.HwndSource.SetLayoutSize () [0x000cb] in <fe1fede30a9f4d4c90c8b1cb24f913fa>:0 
  at System.Windows.Interop.HwndSource.set_RootVisualInternal (System.Windows.Media.Visual value) [0x00156] in <fe1fede30a9f4d4c90c8b1cb24f913fa>:0 
  at System.Windows.Interop.HwndSource.set_RootVisual (System.Windows.Media.Visual value) [0x00009] in <fe1fede30a9f4d4c90c8b1cb24f913fa>:0 
  at System.Windows.Window+SourceWindowHelper.set_RootVisual (System.Windows.Media.Visual value) [0x00001] in <a3cd1564993142bb9f3396a9f9b699c3>:0 
  at System.Windows.Window.SetRootVisual () [0x00016] in <a3cd1564993142bb9f3396a9f9b699c3>:0 
  at System.Windows.Window.SetRootVisualAndUpdateSTC () [0x00001] in <a3cd1564993142bb9f3396a9f9b699c3>:0 
  at System.Windows.Window.SetupInitialState (System.Double requestedTop, System.Double requestedLeft, System.Double requestedWidth, System.Double requestedHeight) [0x003cc] in <a3cd1564993142bb9f3396a9f9b699c3>:0 
  at System.Windows.Window.CreateSourceWindow (System.Boolean duringShow) [0x00186] in <a3cd1564993142bb9f3396a9f9b699c3>:0 
  at System.Windows.Window.CreateSourceWindowDuringShow () [0x00001] in <a3cd1564993142bb9f3396a9f9b699c3>:0 
  at System.Windows.Window.SafeCreateWindowDuringShow () [0x0000c] in <a3cd1564993142bb9f3396a9f9b699c3>:0 
  at System.Windows.Window.ShowHelper (System.Object booleanBox) [0x00057] in <a3cd1564993142bb9f3396a9f9b699c3>:0 
  at System.Windows.Window.Show () [0x00025] in <a3cd1564993142bb9f3396a9f9b699c3>:0 
  at -.C+x.p (System.Object p, System.EventArgs f) [0x0005b] in <8ffddf1ef65847cd5a6c24d1e6b35350>:0 
  at PRLauncher.WPF.ViewModel.LoginWindowViewModel.TriggerFinish (System.Object p) [0x0001a] in <8ffddf1ef65847cd5a6c24d1e6b35350>:0 
  at PRLauncher.WPF.ViewModel.Pages.LoginPageViewModel.OnOffline (System.Object p) [0x0000f] in <8ffddf1ef65847cd5a6c24d1e6b35350>:0 
  at Reality.Utils.WPF.RelayCommand.Execute (System.Object ) [0x00000] in <7bfb761f9c8446645ee9367c56774d6c>:0 
  at MS.Internal.Commands.CommandHelpers.CriticalExecuteCommandSource (System.Windows.Input.ICommandSource commandSource, System.Boolean userInitiated) [0x00073] in <a3cd1564993142bb9f3396a9f9b699c3>:0 
  at MS.Internal.Commands.CommandHelpers.ExecuteCommandSource (System.Windows.Input.ICommandSource commandSource) [0x00001] in <a3cd1564993142bb9f3396a9f9b699c3>:0 
  at System.Windows.Documents.Hyperlink.OnClick () [0x0003d] in <a3cd1564993142bb9f3396a9f9b699c3>:0 
  at System.Windows.Documents.Hyperlink.DispatchNavigation (System.Object sender) [0x00011] in <a3cd1564993142bb9f3396a9f9b699c3>:0 
  at System.Windows.Documents.Hyperlink.DoUserInitiatedNavigation (System.Object sender) [0x00001] in <a3cd1564993142bb9f3396a9f9b699c3>:0 
  at System.Windows.Documents.Hyperlink.OnMouseLeftButtonUp (System.Object sender, System.Windows.Input.MouseButtonEventArgs e) [0x0005e] in <a3cd1564993142bb9f3396a9f9b699c3>:0 
  at System.Windows.Documents.Hyperlink.OnMouseLeftButtonUp (System.Windows.Input.MouseButtonEventArgs e) [0x00009] in <a3cd1564993142bb9f3396a9f9b699c3>:0 
  at System.Windows.UIElement.OnMouseLeftButtonUpThunk (System.Object sender, System.Windows.Input.MouseButtonEventArgs e) [0x00041] in <fe1fede30a9f4d4c90c8b1cb24f913fa>:0 
  at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler (System.Delegate genericHandler, System.Object genericTarget) [0x00008] in <fe1fede30a9f4d4c90c8b1cb24f913fa>:0 
  at System.Windows.RoutedEventArgs.InvokeHandler (System.Delegate handler, System.Object target) [0x0000a] in <fe1fede30a9f4d4c90c8b1cb24f913fa>:0 
  at System.Windows.RoutedEventHandlerInfo.InvokeHandler (System.Object target, System.Windows.RoutedEventArgs routedEventArgs) [0x00041] in <fe1fede30a9f4d4c90c8b1cb24f913fa>:0 
  at System.Windows.RouteItem.InvokeHandler (System.Windows.RoutedEventArgs routedEventArgs) [0x00001] in <fe1fede30a9f4d4c90c8b1cb24f913fa>:0 
  at System.Windows.EventRoute.InvokeHandlersImpl (System.Object source, System.Windows.RoutedEventArgs args, System.Boolean reRaised) [0x00137] in <fe1fede30a9f4d4c90c8b1cb24f913fa>:0 
  at System.Windows.EventRoute.ReInvokeHandlers (System.Object source, System.Windows.RoutedEventArgs args) [0x00001] in <fe1fede30a9f4d4c90c8b1cb24f913fa>:0 
  at System.Windows.UIElement.ReRaiseEventAs (System.Windows.DependencyObject sender, System.Windows.RoutedEventArgs args, System.Windows.RoutedEvent newEvent) [0x0006e] in <fe1fede30a9f4d4c90c8b1cb24f913fa>:0 
  at System.Windows.UIElement.CrackMouseButtonEventAndReRaiseEvent (System.Windows.DependencyObject sender, System.Windows.Input.MouseButtonEventArgs e) [0x00011] in <fe1fede30a9f4d4c90c8b1cb24f913fa>:0 
  at System.Windows.UIElement.OnMouseUpThunk (System.Object sender, System.Windows.Input.MouseButtonEventArgs e) [0x00059] in <fe1fede30a9f4d4c90c8b1cb24f913fa>:0 
  at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler (System.Delegate genericHandler, System.Object genericTarget) [0x00008] in <fe1fede30a9f4d4c90c8b1cb24f913fa>:0 
  at System.Windows.RoutedEventArgs.InvokeHandler (System.Delegate handler, System.Object target) [0x0000a] in <fe1fede30a9f4d4c90c8b1cb24f913fa>:0 
  at System.Windows.RoutedEventHandlerInfo.InvokeHandler (System.Object target, System.Windows.RoutedEventArgs routedEventArgs) [0x00041] in <fe1fede30a9f4d4c90c8b1cb24f913fa>:0 
  at System.Windows.RouteItem.InvokeHandler (System.Windows.RoutedEventArgs routedEventArgs) [0x00001] in <fe1fede30a9f4d4c90c8b1cb24f913fa>:0 
  at System.Windows.EventRoute.InvokeHandlersImpl (System.Object source, System.Windows.RoutedEventArgs args, System.Boolean reRaised) [0x00137] in <fe1fede30a9f4d4c90c8b1cb24f913fa>:0 
  at System.Windows.EventRoute.InvokeHandlers (System.Object source, System.Windows.RoutedEventArgs args) [0x00001] in <fe1fede30a9f4d4c90c8b1cb24f913fa>:0 
  at System.Windows.UIElement.RaiseEventImpl (System.Windows.DependencyObject sender, System.Windows.RoutedEventArgs args) [0x00060] in <fe1fede30a9f4d4c90c8b1cb24f913fa>:0 
  at System.Windows.ContentElement.RaiseTrustedEvent (System.Windows.RoutedEventArgs args) [0x0001d] in <fe1fede30a9f4d4c90c8b1cb24f913fa>:0 
  at System.Windows.ContentElement.RaiseEvent (System.Windows.RoutedEventArgs args, System.Boolean trusted) [0x0001b] in <fe1fede30a9f4d4c90c8b1cb24f913fa>:0 
  at System.Windows.Input.InputManager.ProcessStagingArea () [0x00290] in <fe1fede30a9f4d4c90c8b1cb24f913fa>:0 
  at System.Windows.Input.InputManager.ProcessInput (System.Windows.Input.InputEventArgs input) [0x0002c] in <fe1fede30a9f4d4c90c8b1cb24f913fa>:0 
  at System.Windows.Input.InputProviderSite.ReportInput (System.Windows.Input.InputReport inputReport) [0x0004b] in <fe1fede30a9f4d4c90c8b1cb24f913fa>:0 
  at System.Windows.Interop.HwndMouseInputProvider.ReportInput (System.IntPtr hwnd, System.Windows.Input.InputMode mode, System.Int32 timestamp, System.Windows.Input.RawMouseActions actions, System.Int32 x, System.Int32 y, System.Int32 wheel) [0x002d5] in <fe1fede30a9f4d4c90c8b1cb24f913fa>:0 
  at System.Windows.Interop.HwndMouseInputProvider.FilterMessage (System.IntPtr hwnd, MS.Internal.Interop.WindowMessage msg, System.IntPtr wParam, System.IntPtr lParam, System.Boolean& handled) [0x002c3] in <fe1fede30a9f4d4c90c8b1cb24f913fa>:0 
  at System.Windows.Interop.HwndSource.InputFilterMessage (System.IntPtr hwnd, System.Int32 msg, System.IntPtr wParam, System.IntPtr lParam, System.Boolean& handled) [0x00069] in <fe1fede30a9f4d4c90c8b1cb24f913fa>:0 
  at MS.Win32.HwndWrapper.WndProc (System.IntPtr hwnd, System.Int32 msg, System.IntPtr wParam, System.IntPtr lParam, System.Boolean& handled) [0x0003a] in <874e95d0ca6046b2b6768eab9374fc5f>:0 
  at MS.Win32.HwndSubclass.DispatcherCallbackOperation (System.Object o) [0x00042] in <874e95d0ca6046b2b6768eab9374fc5f>:0 
  at System.Windows.Threading.ExceptionWrapper.InternalRealCall (System.Delegate callback, System.Object args, System.Int32 numArgs) [0x000c6] in <874e95d0ca6046b2b6768eab9374fc5f>:0 
  at System.Windows.Threading.ExceptionWrapper.TryCatchWhen (System.Object source, System.Delegate callback, System.Object args, System.Int32 numArgs, System.Delegate catchHandler) [0x00004] in <874e95d0ca6046b2b6768eab9374fc5f>:0 
Critical Error: An unhandled exception has occured. Details are as follows:

Invalid handle.


Further details can be found in the following file:

[url]Z:\home\ken\Desktop\Project Reality BF2\mods\pr\bin\PRLauncher.log[/url]

Please report this error to the Project Reality Team, and include the log file in your report.

[url="https://www.realitymod.com/forum/forumdisplay.php?f=27"]Visit Support Forum[/url]

 > System.ComponentModel.Win32Exception (0x80004005): Invalid handle.

  at System.Diagnostics.Process.StartWithShellExecuteEx (System.Diagnostics.ProcessStartInfo startInfo) [0x00102] in <74a7bd850bc844d98d5efdfc0361d0d0>:0 
  at System.Diagnostics.Process.Start () [0x00032] in <74a7bd850bc844d98d5efdfc0361d0d0>:0 
  at (wrapper remoting-invoke-with-check) System.Diagnostics.Process.Start()
  at System.Diagnostics.Process.Start (System.Diagnostics.ProcessStartInfo startInfo) [0x0001b] in <74a7bd850bc844d98d5efdfc0361d0d0>:0 
  at System.Diagnostics.Process.Start (System.String fileName) [0x00006] in <74a7bd850bc844d98d5efdfc0361d0d0>:0 
  at Reality.UI.MessageBox.RealityMessageBoxWindow.p (System.Object p, System.Windows.Navigation.RequestNavigateEventArgs f) [0x0002a] in <8390df80acfe40bcca0ed4dcad86069d>:0 
  at System.Windows.Navigation.RequestNavigateEventArgs.InvokeEventHandler (System.Delegate genericHandler, System.Object genericTarget) [0x00026] in <a3cd1564993142bb9f3396a9f9b699c3>:0 
  at System.Windows.RoutedEventArgs.InvokeHandler (System.Delegate handler, System.Object target) [0x0000a] in <fe1fede30a9f4d4c90c8b1cb24f913fa>:0 
  at System.Windows.RoutedEventHandlerInfo.InvokeHandler (System.Object target, System.Windows.RoutedEventArgs routedEventArgs) [0x00041] in <fe1fede30a9f4d4c90c8b1cb24f913fa>:0 
  at System.Windows.RouteItem.InvokeHandler (System.Windows.RoutedEventArgs routedEventArgs) [0x00001] in <fe1fede30a9f4d4c90c8b1cb24f913fa>:0 
  at System.Windows.EventRoute.InvokeHandlersImpl (System.Object source, System.Windows.RoutedEventArgs args, System.Boolean reRaised) [0x00137] in <fe1fede30a9f4d4c90c8b1cb24f913fa>:0 
  at System.Windows.EventRoute.InvokeHandlers (System.Object source, System.Windows.RoutedEventArgs args) [0x00001] in <fe1fede30a9f4d4c90c8b1cb24f913fa>:0 
  at System.Windows.UIElement.RaiseEventImpl (System.Windows.DependencyObject sender, System.Windows.RoutedEventArgs args) [0x00060] in <fe1fede30a9f4d4c90c8b1cb24f913fa>:0 
  at System.Windows.ContentElement.RaiseEvent (System.Windows.RoutedEventArgs e) [0x0001c] in <fe1fede30a9f4d4c90c8b1cb24f913fa>:0 
  at System.Windows.Documents.Hyperlink.NavigateToUri (System.Windows.IInputElement sourceElement, System.Uri targetUri, System.String targetWindow) [0x00069] in <a3cd1564993142bb9f3396a9f9b699c3>:0 
  at System.Windows.Documents.Hyperlink.RaiseNavigate (System.Windows.IInputElement element, System.Uri targetUri, System.String targetWindow) [0x0000d] in <a3cd1564993142bb9f3396a9f9b699c3>:0 
  at System.Windows.Documents.Hyperlink.DoNavigation (System.Object sender) [0x00032] in <a3cd1564993142bb9f3396a9f9b699c3>:0 
  at System.Windows.Documents.Hyperlink.OnClick () [0x00024] in <a3cd1564993142bb9f3396a9f9b699c3>:0 
  at System.Windows.Documents.Hyperlink.DispatchNavigation (System.Object sender) [0x00011] in <a3cd1564993142bb9f3396a9f9b699c3>:0 
  at System.Windows.Documents.Hyperlink.DoUserInitiatedNavigation (System.Object sender) [0x00001] in <a3cd1564993142bb9f3396a9f9b699c3>:0 
  at System.Windows.Documents.Hyperlink.OnMouseLeftButtonUp (System.Object sender, System.Windows.Input.MouseButtonEventArgs e) [0x0005e] in <a3cd1564993142bb9f3396a9f9b699c3>:0 
  at System.Windows.Documents.Hyperlink.OnMouseLeftButtonUp (System.Windows.Input.MouseButtonEventArgs e) [0x00009] in <a3cd1564993142bb9f3396a9f9b699c3>:0 
  at System.Windows.UIElement.OnMouseLeftButtonUpThunk (System.Object sender, System.Windows.Input.MouseButtonEventArgs e) [0x00041] in <fe1fede30a9f4d4c90c8b1cb24f913fa>:0 
  at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler (System.Delegate genericHandler, System.Object genericTarget) [0x00008] in <fe1fede30a9f4d4c90c8b1cb24f913fa>:0 
  at System.Windows.RoutedEventArgs.InvokeHandler (System.Delegate handler, System.Object target) [0x0000a] in <fe1fede30a9f4d4c90c8b1cb24f913fa>:0 
  at System.Windows.RoutedEventHandlerInfo.InvokeHandler (System.Object target, System.Windows.RoutedEventArgs routedEventArgs) [0x00041] in <fe1fede30a9f4d4c90c8b1cb24f913fa>:0 
  at System.Windows.RouteItem.InvokeHandler (System.Windows.RoutedEventArgs routedEventArgs) [0x00001] in <fe1fede30a9f4d4c90c8b1cb24f913fa>:0 
  at System.Windows.EventRoute.InvokeHandlersImpl (System.Object source, System.Windows.RoutedEventArgs args, System.Boolean reRaised) [0x00137] in <fe1fede30a9f4d4c90c8b1cb24f913fa>:0 
  at System.Windows.EventRoute.ReInvokeHandlers (System.Object source, System.Windows.RoutedEventArgs args) [0x00001] in <fe1fede30a9f4d4c90c8b1cb24f913fa>:0 
  at System.Windows.UIElement.ReRaiseEventAs (System.Windows.DependencyObject sender, System.Windows.RoutedEventArgs args, System.Windows.RoutedEvent newEvent) [0x0006e] in <fe1fede30a9f4d4c90c8b1cb24f913fa>:0 
  at System.Windows.UIElement.CrackMouseButtonEventAndReRaiseEvent (System.Windows.DependencyObject sender, System.Windows.Input.MouseButtonEventArgs e) [0x00011] in <fe1fede30a9f4d4c90c8b1cb24f913fa>:0 
  at System.Windows.UIElement.OnMouseUpThunk (System.Object sender, System.Windows.Input.MouseButtonEventArgs e) [0x00059] in <fe1fede30a9f4d4c90c8b1cb24f913fa>:0 
  at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler (System.Delegate genericHandler, System.Object genericTarget) [0x00008] in <fe1fede30a9f4d4c90c8b1cb24f913fa>:0 
  at System.Windows.RoutedEventArgs.InvokeHandler (System.Delegate handler, System.Object target) [0x0000a] in <fe1fede30a9f4d4c90c8b1cb24f913fa>:0 
  at System.Windows.RoutedEventHandlerInfo.InvokeHandler (System.Object target, System.Windows.RoutedEventArgs routedEventArgs) [0x00041] in <fe1fede30a9f4d4c90c8b1cb24f913fa>:0 
  at System.Windows.RouteItem.InvokeHandler (System.Windows.RoutedEventArgs routedEventArgs) [0x00001] in <fe1fede30a9f4d4c90c8b1cb24f913fa>:0 
  at System.Windows.EventRoute.InvokeHandlersImpl (System.Object source, System.Windows.RoutedEventArgs args, System.Boolean reRaised) [0x00137] in <fe1fede30a9f4d4c90c8b1cb24f913fa>:0 
  at System.Windows.EventRoute.InvokeHandlers (System.Object source, System.Windows.RoutedEventArgs args) [0x00001] in <fe1fede30a9f4d4c90c8b1cb24f913fa>:0 
  at System.Windows.UIElement.RaiseEventImpl (System.Windows.DependencyObject sender, System.Windows.RoutedEventArgs args) [0x00060] in <fe1fede30a9f4d4c90c8b1cb24f913fa>:0 
  at System.Windows.ContentElement.RaiseTrustedEvent (System.Windows.RoutedEventArgs args) [0x0001d] in <fe1fede30a9f4d4c90c8b1cb24f913fa>:0 
  at System.Windows.ContentElement.RaiseEvent (System.Windows.RoutedEventArgs args, System.Boolean trusted) [0x0001b] in <fe1fede30a9f4d4c90c8b1cb24f913fa>:0 
  at System.Windows.Input.InputManager.ProcessStagingArea () [0x00290] in <fe1fede30a9f4d4c90c8b1cb24f913fa>:0 
  at System.Windows.Input.InputManager.ProcessInput (System.Windows.Input.InputEventArgs input) [0x0002c] in <fe1fede30a9f4d4c90c8b1cb24f913fa>:0 
  at System.Windows.Input.InputProviderSite.ReportInput (System.Windows.Input.InputReport inputReport) [0x0004b] in <fe1fede30a9f4d4c90c8b1cb24f913fa>:0 
  at System.Windows.Interop.HwndMouseInputProvider.ReportInput (System.IntPtr hwnd, System.Windows.Input.InputMode mode, System.Int32 timestamp, System.Windows.Input.RawMouseActions actions, System.Int32 x, System.Int32 y, System.Int32 wheel) [0x002d5] in <fe1fede30a9f4d4c90c8b1cb24f913fa>:0 
  at System.Windows.Interop.HwndMouseInputProvider.FilterMessage (System.IntPtr hwnd, MS.Internal.Interop.WindowMessage msg, System.IntPtr wParam, System.IntPtr lParam, System.Boolean& handled) [0x002c3] in <fe1fede30a9f4d4c90c8b1cb24f913fa>:0 
  at System.Windows.Interop.HwndSource.InputFilterMessage (System.IntPtr hwnd, System.Int32 msg, System.IntPtr wParam, System.IntPtr lParam, System.Boolean& handled) [0x00069] in <fe1fede30a9f4d4c90c8b1cb24f913fa>:0 
  at MS.Win32.HwndWrapper.WndProc (System.IntPtr hwnd, System.Int32 msg, System.IntPtr wParam, System.IntPtr lParam, System.Boolean& handled) [0x0003a] in <874e95d0ca6046b2b6768eab9374fc5f>:0 
  at MS.Win32.HwndSubclass.DispatcherCallbackOperation (System.Object o) [0x00042] in <874e95d0ca6046b2b6768eab9374fc5f>:0 
  at System.Windows.Threading.ExceptionWrapper.InternalRealCall (System.Delegate callback, System.Object args, System.Int32 numArgs) [0x000c6] in <874e95d0ca6046b2b6768eab9374fc5f>:0 
  at System.Windows.Threading.ExceptionWrapper.TryCatchWhen (System.Object source, System.Delegate callback, System.Object args, System.Int32 numArgs, System.Delegate catchHandler) [0x00004] in <874e95d0ca6046b2b6768eab9374fc5f>:0 
PvtNewb
Support Technician
Posts: 131
Joined: 2018-04-26 23:50

Re: PRLauncher.exe won't work via Wine on Ubuntu

Post by PvtNewb »

ILikeFPS wrote: 2025-01-05 04:15 Hi,

I'm using Wine on Ubuntu 22.04 LTS, I tried wine 9, wine-staging 10, and wine-devel 10 but I'm not having much luck.
We don't officially support WINE & Linux, personally, the furthest I've gotten was after replacing Mono with Dotnet, the launcher booted but it still won't hook to the game. Anyways, have fun trying to make PR work with Linux, let me know if you get things working!
Image
ILikeFPS
Posts: 2
Joined: 2025-01-05 04:05

Re: PRLauncher.exe won't work via Wine on Ubuntu

Post by ILikeFPS »

PvtNewb wrote: 2025-01-05 12:43
ILikeFPS wrote: 2025-01-05 04:15 Hi,

I'm using Wine on Ubuntu 22.04 LTS, I tried wine 9, wine-staging 10, and wine-devel 10 but I'm not having much luck.
We don't officially support WINE & Linux, personally, the furthest I've gotten was after replacing Mono with Dotnet, the launcher booted but it still won't hook to the game. Anyways, have fun trying to make PR work with Linux, let me know if you get things working!
Well that's not encouraging sounding...

Is there any way to bypass the launcher so I can just play this offline without bots?

If it's not officially supported/tested, I fully expect that I won't be able to get this working and then this is just another game that isn't working on Linux to add to the list. :(
User avatar
bad_nade
Support Technician
Posts: 1373
Joined: 2008-04-06 18:26
Location: Finland

Re: PRLauncher.exe won't work via Wine on Ubuntu

Post by bad_nade »

ILikeFPS wrote: 2025-01-05 15:31 Is there any way to bypass the launcher so I can just play this offline without bots?

If it's not officially supported/tested, I fully expect that I won't be able to get this working and then this is just another game that isn't working on Linux to add to the list. :(
Some of the features are actually implemented with the help of the launcher, like crouch toggle and some others. So, it must be running on the background, and the only way to start PR is to use the launcher, even if you plan to play only only offline.

Modding BF2 at the level where PR currently sits requires lots and lots and lots of reverse engineering, and it's hard enough to keep PR running even on Windows.
PvtNewb
Support Technician
Posts: 131
Joined: 2018-04-26 23:50

Re: PRLauncher.exe won't work via Wine on Ubuntu

Post by PvtNewb »

ILikeFPS wrote: 2025-01-05 15:31
PvtNewb wrote: 2025-01-05 12:43
ILikeFPS wrote: 2025-01-05 04:15 Hi,

I'm using Wine on Ubuntu 22.04 LTS, I tried wine 9, wine-staging 10, and wine-devel 10 but I'm not having much luck.
We don't officially support WINE & Linux, personally, the furthest I've gotten was after replacing Mono with Dotnet, the launcher booted but it still won't hook to the game. Anyways, have fun trying to make PR work with Linux, let me know if you get things working!
Well that's not encouraging sounding...

Is there any way to bypass the launcher so I can just play this offline without bots?

If it's not officially supported/tested, I fully expect that I won't be able to get this working and then this is just another game that isn't working on Linux to add to the list. :(
Hey there, just wanna give you a heads up that I'm restarting the PR on Linux effort (had enough with Windows so I have to make it work in Linux), jump to our Discord server and see our v2 guide that I recently posted.
Image
Post Reply

Return to “PR:BF2 Support”