Page 1 of 1

Launcher error

Posted: 2016-03-21 08:52
by Painmace
Been trying to fix my game after mumble went weird. Reinstalled and got a new problem after another (basically one without error name then 13322, 13323 and 13324)
So i decided to delete all the folders (documents as well) to make a completely fresh install, but of course i probably missed something cause i still get an error.

Cant launch the launcher

Code: Select all

[url=https://www.realitymod.com/forum/f27-pr-bf2-support]Visit Support Forum[/url]

 > System.NullReferenceException: Object reference not set to an instance of an object.
   vid Ya.h.a()
   vid Reality.BF2.Settings.Video.a.a(String a)
   vid System.Linq.Enumerable.WhereEnumerableIterator`1.MoveNext()
   vid System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source)
   vid Reality.BF2.Settings.Video.GetDefaultResolution()
   vid Reality.BF2.Settings.Video.CreateDefault(UInt16 a)
   vid -.f.a()
   vid -.f.OnStartup(StartupEventArgs a)
   vid System.Windows.Application.<_ctor>b__0(Object unused)
   vid System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   vid System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

Re: Launcher error

Posted: 2016-03-21 18:28
by FlOwMaKeRs
I'll be honest, a couple of weeks ago I upgrade to Windows 10, And since then, I dont have any problems.

Re: Launcher error

Posted: 2016-03-21 18:36
by FlOwMaKeRs
Make sure that when the game is being installed no error is displayed, my brother felt the same way when installing the game, showed errors during installation, some hard drives have problems/ (DVD`s OS damaged or PC`s require a full format).

At the end of all, He had to buy another hard drive.

Re: Launcher error

Posted: 2016-03-21 18:36
by Painmace
Ill have to look

Edit: Still the same error, didnt notice anything while installing.

Re: Launcher error

Posted: 2016-03-22 01:41
by PLODDITHANLEY
Your problem ls with the config files in mydocuments project reality.
Are they there?

Re: Launcher error

Posted: 2016-03-22 01:47
by FlOwMaKeRs
u tried to delete the PR folder in my documents?

C:\Users\User\Documents\ProjectReality

Re: Launcher error

Posted: 2016-03-22 11:36
by Painmace
PLODDITHANLEY wrote:Your problem ls with the config files in mydocuments project reality.
Are they there?
I was lacking some files, i had a made sure I saved some stuff. I only had the Profile.con file in the Default folder. I moved Video, server settings and audio in.
I could now launch the launcher and it gave me the option to create or retrive account.
Since I already have an account I tried to retrive and it gave me this error:

Code: Select all

> System.NullReferenceException: Objektreferensen har inte angetts till en instans av ett objekt.
   vid Ya.h.a()
   vid Reality.BF2.Settings.Video.a.a(String a)
   vid System.Linq.Enumerable.WhereEnumerableIterator`1.MoveNext()
   vid System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source)
   vid Reality.BF2.Settings.Video.GetDefaultResolution()
   vid Reality.BF2.Settings.Video.CreateDefault(UInt16 a)
   vid Reality.BF2.Settings.Profile.CreateNewProfile(UInt16 a)
   vid Reality.BF2.Settings.Profile.CreateNewProfile()
   vid PRLauncher.WPF.ViewModel.Pages.FirstTimeRetrieveAccountPageViewModel.f.a(Object a, GameSpyRetrieveSuccessEventArgs b)
   vid Reality.BF2.GameSpy.GameSpyConnection.a(GameSpyRetrieveSuccessEventArgs a)
   vid Reality.BF2.GameSpy.GameSpyConnection.b.a(Object a, RealitySocketReceivedDataEventArgs b)
   vid Reality.Net.RealitySocket.a(RealitySocketReceivedDataEventArgs a)
   vid Reality.Net.RealitySocket.b(IAsyncResult a)
   vid System.Net.LazyAsyncResult.Complete(IntPtr userToken)
   vid System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   vid System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   vid System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   vid System.Net.ContextAwareResult.Complete(IntPtr userToken)
   vid System.Net.LazyAsyncResult.ProtectedInvokeCallback(Object result, IntPtr userToken)
   vid System.Net.Sockets.BaseOverlappedAsyncResult.CompletionPortCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* nativeOverlapped)
   vid System.Threading._IOCompletionCallback.PerformIOCompletionCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* pOVERLAP)

However when I launched the launcher again it allowed me to login on the account and start downloading updates.
When finished and I tried to login and play again i get the 1324 error message. I go to options to change my display mode but it dosent save.
Looked in Documents\ProjectReality\Profiles\0001 and I only had the Profile file so I once again moved the Audio, ServerSettings and Video files in.

Now the Options i choose save, but when trying to launch I get the error 1323 message.
"1323: Error verifying profile settings. Please confirm the profile file does not contain any invalid commands and try again. If the problem continues, try resetting all profiles to default in the "Options" menu."
C:\Users\myname\Documents\ProjectReality\Profiles\0001\ServerSettings.con

Edit: I removed the ServerSettings.con file completely and now i could launch the game. But I only get a black screen and then go back to desktop with the error message "1103: There was an error linking to the game process."
Followed by:

Code: Select all

 > System.InvalidOperationException: Ingen process har associerats med det h?r objektet.
   vid System.Diagnostics.Process.EnsureState(State state)
   vid System.Diagnostics.Process.get_HasExited()
   vid Reality.BF2.Game.WhileRunning.a.d()
   vid System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   vid System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   vid System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   vid System.Threading.ThreadHelper.ThreadStart()

I remembered I had downloaded another persons profile earlier when i tried to fix my game. I apparently missed some more stuff. I now have following files in my profile folder. Audio, Controls, General, Launcher, MapList, Profile and Video. When I launch the game now I get to the Intro video and then I CTD seeing PR message "Cleaning up processes"

Edit2: Looked around for solutions, tried launching the "PRBF2.exe" and then the "PRLauncher.exe" (didnt work).
Also read that someone was missing alot of ".con" files. Tried adding ServerSettings back and I got the same problem.
Tried reseting all proflies to default and got a new error message....

Code: Select all

 > System.NullReferenceException: Objektreferensen har inte angetts till en instans av ett objekt.
   vid Ya.h.a()
   vid Reality.BF2.Settings.Video.a.a(String a)
   vid System.Linq.Enumerable.WhereEnumerableIterator`1.MoveNext()
   vid System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source)
   vid Reality.BF2.Settings.Video.GetDefaultResolution()
   vid Reality.BF2.Settings.Video.CreateDefault(UInt16 a)
   vid Reality.BF2.Settings.Profile.CreateNewProfile(UInt16 a)
   vid PRLauncher.WPF.ViewModel.OptionsWindowViewModel.OnResetProfiles(Object a)
   vid Reality.Utils.WPF.RelayCommand.Execute(Object a)
   vid MS.Internal.Commands.CommandHelpers.CriticalExecuteCommandSource(ICommandSource commandSource, Boolean userInitiated)
   vid System.Windows.Controls.Primitives.ButtonBase.OnClick()
   vid System.Windows.Controls.Button.OnClick()
   vid System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e)
   vid System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
   vid System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
   vid System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   vid System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)
   vid System.Windows.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e)
   vid System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
   vid System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
   vid System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   vid System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
   vid System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
   vid System.Windows.Input.InputManager.ProcessStagingArea()
   vid System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
   vid System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
   vid System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   vid System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   vid MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   vid MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
   vid System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   vid System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

Re: Launcher error

Posted: 2016-03-22 20:13
by PLODDITHANLEY
It seems you've done most things to troubleshoot - is it not an issue with read only files it certainly seems to do with those mydox files in some way.

Sorry I can't be more help but you're finding and doing all the stuff buried in the forums.

Are you able to post your specs from the launcher please. I keep seeing that video settings thing amongst others.

Re: Launcher error

Posted: 2016-03-23 11:28
by Painmace
Am I missing any of the "con" files?
I got: Audio, Controls, General, Launcher, MapList, Profile, ServerSettings and Video.

Code: Select all

System Information
------------------
  Operating System: Microsoft Windows 10 Pro (10.0.10240)
      Architecture: 64 bitar
   Current Culture: Swedish (Sweden)
       Motherboard: ASUSTeK COMPUTER INC. Z87-PRO
         Processor: Intel(R) Core(TM) i7-4770K CPU @ 3.50GHz (Physical: 4, Logical: 8)
            Memory: 12,00 GB
      DIMM Modules: ChannelA-DIMM1: 4,00 GB @ 1600 MHz
                    ChannelB-DIMM0: 4,00 GB @ 1600 MHz
                    ChannelB-DIMM1: 4,00 GB @ 1600 MHz
         Page File: 3,25 GB
    .NET Framework: 4.6, Runtime: 4.0.30319.42000

Display Information
-------------------
 Display Device(s): 
   Display Mode(s): 
    Driver Version: 10.18.13.6451 (364.51)
    Display Memory: 4,00 GB
     Multisampling: 2, 4, 8
               DPI: 96 (100%)

Audio Information
-----------------
  Primary Playback: H?gtalare (Realtek High Definit
 Primary Recording: Mikrofon (Realtek High Definiti
  Open AL Renderer: Software
               EAX: True
           EAX 1.0: False
           EAX 2.0: True
           EAX 3.0: False
           EAX 4.0: False
           EAX 5.0: False
             X-RAM: False

Disk Information
----------------
      Install Path: D:\Program\Project Reality\Project Reality BF2
                    Free: 129,89 GB, Total: 1,36 TB, FS: NTFS, SSD: False
          Mod Path: D:\Program\Project Reality\Project Reality BF2\mods\pr
                    Free: 129,89 GB, Total: 1,36 TB, FS: NTFS, SSD: False
     Profiles Path: C:\Users\Oscar\Documents\ProjectReality\Profiles
                    Free: 23,90 GB, Total: 232,35 GB, FS: NTFS, SSD: True
    Update DL Path: C:\Users\Oscar\AppData\Local\Project Reality\Project Reality BF2\Downloads
                    Free: 23,90 GB, Total: 232,35 GB, FS: NTFS, SSD: True
   Update Log Path: C:\Users\Oscar\AppData\Local\Project Reality\Project Reality BF2\UpdateLogs
                    Free: 23,90 GB, Total: 232,35 GB, FS: NTFS, SSD: True

Game Information
----------------
    Installed Mods: pr
       Current Mod: pr
           Version: Standalone - 1.0
        PR Version: 1.3.9.0
          Language: english
   Debug Available: False
     Large Address: True
Supported Hardware: None

Profile Information
-------------------
      Profile 0001: Painmace
              Type: Online
        View Intro: True
        Fullscreen: True
      Display Mode: 1920x1080@60Hz
Display Mode Valid: True
   Graphics Scheme: High
     Multisampling: 8x
             VSync: False
   Terrain Quality: High
   Effects Quality: High
  Geometry Quality: High
   Texture Quality: High
  Lighting Quality: High
   Dynamic Shadows: High
    Dynamic Lights: High
 Texture Filtering: High
    Audio Provider: Hardware
    Provider Valid: True
     Audio Quality: High
               EAX: True

Re: Launcher error

Posted: 2016-03-24 02:21
by PLODDITHANLEY
Display device and display mode being blank is not correct for a start.

We don't have the same .NET version either

Check your video settings on the PC.

Mine has this:

Code: Select all

System Information
------------------
  Operating System: Microsoft Windows 10 Home (10.0.10586)
      Architecture: 64-bit
   Current Culture: English (United Kingdom)
       Motherboard: ASUSTeK Computer INC. P8Z68-V
         Processor: Intel(R) Core(TM) i5-2500K CPU @ 3.30GHz (Physical: 4, Logical: 4)
            Memory: 8.00 GB
      DIMM Modules: ChannelA-DIMM0: 4.00 GB @ 1867 MHz
                    ChannelB-DIMM0: 4.00 GB @ 1867 MHz
         Page File: 1.25 GB
    .NET Framework: 4.6+ Release Build:[color=Red] 394254[/color], Runtime: 4.0.30319.42000

Display Information
-------------------
 [color=Red]Display Device(s): Generic PnP Monitor on NVIDIA GeForce GTX 970
   Display Mode(s): 1824 x 1026 (32 bit) @ 60 Hz
[/color]    Driver Version: 10.18.13.5382 (353.82)
    Display Memory: 4.00 GB
     Multisampling: 2, 4, 8
               DPI: 96 (100%)

Audio Information
-----------------
  Primary Playback: Headphones (Realtek High Defini
 Primary Recording: Microphone (Realtek High Defini
  Open AL Renderer: Software
               EAX: True
           EAX 1.0: False
           EAX 2.0: True
           EAX 3.0: False
           EAX 4.0: False
           EAX 5.0: False
             X-RAM: False

Disk Information
----------------
      Install Path: C:\Games\PR
                    Free: 147.36 GB, Total: 231.66 GB, FS: NTFS, SSD: True
          Mod Path: C:\Games\PR\mods\pr
                    Free: 147.36 GB, Total: 231.66 GB, FS: NTFS, SSD: True
     Profiles Path: C:\Users\Patrick\Documents\ProjectReality\Profiles
                    Free: 147.36 GB, Total: 231.66 GB, FS: NTFS, SSD: True
    Update DL Path: C:\Users\Patrick\AppData\Local\Project Reality\Project Reality BF2\Downloads
                    Free: 147.36 GB, Total: 231.66 GB, FS: NTFS, SSD: True
   Update Log Path: C:\Users\Patrick\AppData\Local\Project Reality\Project Reality BF2\UpdateLogs
                    Free: 147.36 GB, Total: 231.66 GB, FS: NTFS, SSD: True

Game Information
----------------
    Installed Mods: pr
       Current Mod: pr
           Version: Standalone - 1.0
        PR Version: 1.3.9.0
          Language: english
   Debug Available: False
     Large Address: True
Supported Hardware: None

Profile Information
-------------------
      Profile 0001: Ploddit
              Type: Online
 Last Used Profile: True
        View Intro: False
        Fullscreen: True
      Display Mode: 1824x1026@60Hz
Display Mode Valid: True
   Graphics Scheme: High
     Multisampling: 2x
             VSync: False
   Terrain Quality: High
   Effects Quality: High
  Geometry Quality: High
   Texture Quality: High
  Lighting Quality: High
   Dynamic Shadows: High
    Dynamic Lights: High
 Texture Filtering: High
    Audio Provider: Software
    Provider Valid: True
     Audio Quality: High
               EAX: True

     

Re: Launcher error

Posted: 2016-03-24 23:12
by Painmace
Im not sure where to look for that. Is it the stuff in DxDiag?
And what am i looking for in there cause there is quite alot of text.

Re: Launcher error

Posted: 2016-03-25 02:23
by PLODDITHANLEY
My red bits?

Check dxdiag for video card set.

Re: Launcher error

Posted: 2016-03-25 09:58
by Painmace
I know you meant the red bits. But in DxDiag its not formelated in the save way. I can give you my grapichs card name but I guess thats not what you want.

Code: Select all

 Card name: NVIDIA GeForce GTX 980 Ti
       Manufacturer: NVIDIA
          Chip type: GeForce GTX 980 Ti
           DAC type: Integrated RAMDAC
        Device Type: Full Device
         Device Key: Enum\PCI\VEN_10DE&DEV_17C8&SUBSYS_85481043&REV_A1
     Display Memory: 12160 MB
   Dedicated Memory: 6047 MB
      Shared Memory: 6112 MB
       Current Mode: 1920 x 1080 (32 bit) (60Hz)
        Driver Name: nvd3dumx.dll,nvwgf2umx.dll,nvwgf2umx.dll,nvwgf2umx.dll,nvd3dum,nvwgf2um,nvwgf2um,nvwgf2um
Driver File Version: 10.18.0013.6451 (English)
     Driver Version: 10.18.13.6451
        DDI Version: 12
     Feature Levels: 12.1,12.0,11.1,11.0,10.1,10.0,9.3,9.2,9.1
       Driver Model: WDDM 2.0
Graphics Preemption: DMA
 Compute Preemption: DMA
           Miracast: Not Supported
Hybrid Graphics GPU: Not Supported
     Power P-states: Not Supported
  Driver Attributes: Final Retail
   Driver Date/Size: 3/8/2016 11:27:23, 17368424 bytes
        WHQL Logo'd: Yes
    WHQL Date Stamp: 
  Device Identifier: {D7B71E3E-5488-11CF-C06A-45A51CC2C735}
          Vendor ID: 0x10DE
          Device ID: 0x17C8
          SubSys ID: 0x85481043
        Revision ID: 0x00A1
 Driver Strong Name: oem37.inf:0f066de3672d1ed2:Section045:10.18.13.6451 :p ci\ven_10de&dev_17c8
     Rank Of Driver: 00D12001
        Video Accel: 
        DXVA2 Modes: DXVA2_ModeMPEG2_VLD  DXVA2_ModeVC1_D2010  DXVA2_ModeVC1_VLD  DXVA2_ModeH264_VLD_Stereo_Progressive_NoFGT  DXVA2_ModeH264_VLD_Stereo_NoFGT  DXVA2_ModeH264_VLD_NoFGT  DXVA2_ModeHEVC_VLD_Main  DXVA2_ModeMPEG4pt2_VLD_Simple  DXVA2_ModeMPEG4pt2_VLD_AdvSimple_NoGMC  

Re: Launcher error

Posted: 2016-03-26 00:04
by PLODDITHANLEY
Sorry what I ran to say is first update your.net so it says the same as me and everyone else. For some reason PR is not seeing your GPU.

Re: Launcher error

Posted: 2016-03-26 15:27
by Painmace
Well the .NET Framework is updated, but it seems to be a newer build

Code: Select all

System Information
------------------
  Operating System: Microsoft Windows 10 Pro (10.0.10240)
      Architecture: 64 bitar
   Current Culture: Swedish (Sweden)
       Motherboard: ASUSTeK COMPUTER INC. Z87-PRO
         Processor: Intel(R) Core(TM) i7-4770K CPU @ 3.50GHz (Physical: 4, Logical: 8)
            Memory: 12,00 GB
      DIMM Modules: ChannelA-DIMM1: 4,00 GB @ 1600 MHz
                    ChannelB-DIMM0: 4,00 GB @ 1600 MHz
                    ChannelB-DIMM1: 4,00 GB @ 1600 MHz
         Page File: 3,38 GB
    .NET Framework: 4.6+ Release Build: 394271, Runtime: 4.0.30319.42000

Display Information
-------------------
 Display Device(s): 
   Display Mode(s): 
    Driver Version: 10.18.13.6451 (364.51)
    Display Memory: 4,00 GB
     Multisampling: 2, 4, 8
               DPI: 96 (100%)

Re: Launcher error

Posted: 2016-03-28 00:25
by Painmace
Error code is now reduced to a few lines only

Code: Select all

 > System.InvalidOperationException: Ingen process har associerats med det h?r objektet.
   vid System.Diagnostics.Process.EnsureState(State state)
   vid System.Diagnostics.Process.get_HasExited()
   vid Reality.BF2.Game.WhileRunning.a.d()
   vid System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   vid System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   vid System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   vid System.Threading.ThreadHelper.ThreadStart()

Re: Launcher error

Posted: 2016-03-28 08:19
by PLODDITHANLEY
The lack of info in Display Device and mode is the root of this:

This threadhas big similarities.

I'm sorry I can't help more.

Re: Launcher error

Posted: 2016-04-15 14:06
by Painmace
Admin can lock thread now.

The last fix:
TheRoko121 wrote: I've made it work!
It took an Odysey to get there, though. I had to reinstall BF2, make a singleplayer profile there, and then copy all the files from Battlefield 2\Profiles\Default to ProjectReality\Profiles\Default. Then the Launcher started, but it refused to proceed retrieving my account completely again, so I just clicked Retrieve once, and closed it. Then i copied the files from Battlefield 2\Profiles\0001 to ProjectReality\Profiles\0001, except for Profile.con and mapList.con. Wasn't sure if mapList would interfere with PR, and Profile.con would change my profile in PR. Then I started up the launcher again, I could normally change all settings and play the game. Happy times. Thanks for trying to help anyway. I'll try to redirect anyone with similar problems to my solution, hopefully it helps them too.

Re: Launcher error

Posted: 2016-05-26 08:17
by ^CORPORAL
guys can someone help me... i have a serious problem on my game... i played PR last night and it is all good.. and then suddenly this morning when im about to open it something unusual pop up and it says "there was an error linking to the game process. please try again" thank you in advance!!