UInt32 launcher bug

Help and support regarding PR:BF2 installation and in-game issues
Post Reply
wilifal
Posts: 4
Joined: 2014-03-25 22:57

UInt32 launcher bug

Post by wilifal »

So I recently switched over graphics cards.

Now when I try to change the graphics settings in the launcher the bug:

"An unhandled exception has occurred. Details are as follows:

Value was either too large or too small for UInt32."

wut

There was another thread on it for Win7 (I'm on Win 8) with the same problem but there were only some suggestions as to how to possibly fix the problem in very vague detail. I've been looking all around for a solution but I can't seem to find a fix.

plz
LITOralis.nMd
Retired PR Developer
Posts: 5658
Joined: 2010-04-10 16:15

Re: UInt32 launcher bug

Post by LITOralis.nMd »

Hiya,
more likely than not the uninstaller for your prior video card drivers left some "crumbs" on your PC.

Download the newest drivers for your new GPU.
Download and install Treexy's Driverfusion free. Driver Fusion - Update, manage and monitor drivers & devices
Run Driverfusion.
uninstall just your old graphics card's drivers.
REBOOT PC.

Run Driverfusion.
uninstall just your oNEW graphics card's drivers.
REBOOT PC.

On Win8 you might get the "new hardware wizard to isntall your GPU drivers on reboot, do NOT let the auto install option start.

Install your newest drivers for your new GPU.

then go Play PR
User avatar
captainfuture
PR:BF2 QA Tester
Posts: 84
Joined: 2010-10-21 00:36
Location: Germany

Re: UInt32 launcher bug

Post by captainfuture »

Got the same here.

Running Win XP

I cannot change video settings due to Critical error if I press "apply" in launcher. Happens also if I even dont change any settings and just press "apply".

Anyone knows if the "DRIVER FUSION" solution fixed it? Thanks for helping.




Here comes the log:

Code: Select all

Project Reality Log File
PRLauncher.exe started at: 2014-05-26T05:05:42

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

Der Wert f?r einen UInt32 war zu gro? oder zu klein.

Further details can be found in the following file:

[url]D:\EA GAMES\Battlefield 2\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/f27-pr-bf2-support]Visit Support Forum[/url]

 > System.OverflowException: Der Wert f?r einen UInt32 war zu gro? oder zu klein.
   bei System.Convert.ToUInt32(Int32 value)
   bei System.Int32.System.IConvertible.ToUInt32(IFormatProvider provider)
   bei System.Convert.ToUInt32(Object value)
   bei Reality.BF2.Settings.PRMumble..(String )
   bei System.Linq.Enumerable.WhereArrayIterator`1.MoveNext()
   bei System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source)
   bei Reality.BF2.Settings.PRMumble.ModifyKey(Actions action, ButtonList newButtons)
   bei PRLauncher.WPF.ViewModel.OptionsWindowViewModel.SavePRMumbleKeybinds()
   bei PRLauncher.WPF.ViewModel.OptionsWindowViewModel.OnApply(Object obj)
   bei Reality.Utils.WPF.RelayCommand.Execute(Object parameter)
   bei MS.Internal.Commands.CommandHelpers.CriticalExecuteCommandSource(ICommandSource commandSource, Boolean userInitiated)
   bei System.Windows.Controls.Primitives.ButtonBase.OnClick()
   bei System.Windows.Controls.Button.OnClick()
   bei System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e)
   bei System.Windows.UIElement.OnMouseLeftButtonUpThunk(Object sender, MouseButtonEventArgs e)
   bei System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
   bei System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
   bei System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
   bei System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   bei System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)
   bei System.Windows.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e)
   bei System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
   bei System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
   bei System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
   bei System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   bei System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
   bei System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
   bei System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted)
   bei System.Windows.Input.InputManager.ProcessStagingArea()
   bei System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
   bei System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
   bei System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
   bei System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   bei System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   bei MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   bei MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
   bei System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   bei MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
Image
LITOralis.nMd
Retired PR Developer
Posts: 5658
Joined: 2010-04-10 16:15

Re: UInt32 launcher bug

Post by LITOralis.nMd »

PRLauncher->Options-.Bottom Left Reset All Profiles button.
Click Apply.

If it crashes again, you have your Documents\ProjectReality\Profiles directory and subdirectories set to Read ONly. You need to remove the Read only option by right clicking the directories and removing the Read ONly tickbox, click 'Apply or OK' and then restart PRlauncher and try again.
User avatar
captainfuture
PR:BF2 QA Tester
Posts: 84
Joined: 2010-10-21 00:36
Location: Germany

Re: UInt32 launcher bug

Post by captainfuture »

[R-COM]LITOralis.nMd wrote:PRLauncher->Options-.Bottom Left Reset All Profiles button.
Click Apply.
I tried...doesnt help


"DRIVER FUSION"
I tried...also doesnt help

[R-COM]LITOralis.nMd wrote:If it crashes again, you have your Documents\ProjectReality\Profiles directory and subdirectories set to Read ONly. You need to remove the Read only option by right clicking the directories and removing the Read ONly tickbox, click 'Apply or OK' and then restart PRlauncher and try again.
In XP it is not possible. The files and folders are not explicitly ReadOnly. Instead there is a green Square. If you google that everybody writes, that you cannot get rid of that. It doenst also mean they are readonly. It is Windows-specific and will always be there whatever you do (I even installed Software to override that and eliminate it, but it is not possible.)

I just want to change my graphic settings. I have a 1920*1080 screen which is correctly set in the launcher but the game menus and maps look vertically distorted. So I want to reduce the resolution hoping to get a display that is not vertically distorted. Is there another way to do so? If I would do it in BF2 vanilla would that change the PR video settings as well?

Thanks for the help
Last edited by captainfuture on 2014-05-26 23:26, edited 1 time in total.
Image
User avatar
captainfuture
PR:BF2 QA Tester
Posts: 84
Joined: 2010-10-21 00:36
Location: Germany

Re: UInt32 launcher bug

Post by captainfuture »

OK I found a workaround:

1.Adjust video settings in launcher.
2. Select "Close".
3. Launcher asks if you want to save the changes. Click Yes (Save)
4.Critical error will happen, but values are saved and next time launcher is started the new selected values are used.
Image
Post Reply

Return to “PR:BF2 Support”