Page 1 of 1

PR closes even before the game starts

Posted: 2014-03-13 23:46
by Pvt.Skwalker
My Project Reality is closing in different moments when I start the game.
The game was closing without any error message, just showing the "PR was closed, cleaning caches" that usually appears after you quit the game.
I've already searched in the forum about this problem and I found someone saying that if I clean up the shader cache it would probably solve the problem and it has solved for a moment. I started the game and I played a full round. But, when the next map has loaded and I was going to click the "squad assignment", the game has closed and it showed the message "PR was closed, cleaning cache".

Any suggestions?

Re: PR closes even before the game starts

Posted: 2014-03-14 01:36
by Gracler
I'm not that good at troubleshooting but can you read something from the prlauncher.log in your Battlefield2/mods/pr/bin folder?

Re: PR closes even before the game starts

Posted: 2014-03-14 03:03
by Pvt.Skwalker

Code: Select all

Project Reality Log File
PRLauncher.exe started at: 2014-03-12T18:49:52

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

Viewmodel is not referenced by any registered View.

Further details can be found in the following file:

[url]C:\Program Files (x86)\Origin Games\Battlefield 2 Complete Collection\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.ArgumentException: Viewmodel is not referenced by any registered View.
   em Reality.Utils.WPF.Service.DialogService.ShowMessageBox(Object ownerViewModel, String messageBoxText, String caption, RealityMessageBoxButton button, RealityMessageBoxImage icon, RealityMessageBoxResult defaultResult, Int32 width)
   em PRLauncher.WPF.ViewModel.SupportWindowViewModel..()
   em System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   em MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
There it is.

Re: PR closes even before the game starts

Posted: 2014-03-14 10:16
by LITOralis.nMd
Thanks for posting the error log.

Can you post your system specs please.
Start PRLauncher->Support button->'Copy to Clipboard' button,
then paste everything to this thread.

Re: PR closes even before the game starts

Posted: 2014-03-15 00:31
by Pvt.Skwalker

Code: Select all

System Information
------------------
  Operating System: Microsoft Windows 7 Home Premium  (6.1.7601)
      Architecture: 64-bit
   Current Culture: Portuguese (Brazil)
       Motherboard: SAMSUNG ELECTRONICS CO., LTD. RV411/RV511/E3511/S3511/RV711/E3411
         Processor: Intel(R) Core(TM) i5 CPU       M 480  @ 2.67GHz (Physical: 2, Logical: 4)
            Memory: 4,00 GB
      DIMM Modules: M1: 2,00 GB @ 1334 MHz
                    M2: 2,00 GB @ 1334 MHz
         Page File: 3,80 GB
    .NET Framework: 4.5, Runtime: 4.0.30319.17929

Display Information
-------------------
 Display Device(s): Generic PnP Monitor on Intel(R) HD Graphics
   Display Mode(s): 1366 x 768 (32 bit) @ 60 Hz
    Driver Version: 8.15.10.2993
    Display Memory: 1,68 GB
     Multisampling: 
               DPI: 96 (100%)

Audio Information
-----------------
  Primary Playback: Speakers (Realtek High Definiti
 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:\Program Files (x86)\Origin Games\Battlefield 2 Complete Collection
                    Free: 51,64 GB, Total: 231,00 GB, FS: NTFS, SSD: False
          Mod Path: C:\Program Files (x86)\Origin Games\Battlefield 2 Complete Collection\mods\pr
                    Free: 51,64 GB, Total: 231,00 GB, FS: NTFS, SSD: False
     Profiles Path: C:\Users\Lukas\Documents\ProjectReality\Profiles
                    Free: 51,64 GB, Total: 231,00 GB, FS: NTFS, SSD: False
    Update DL Path: C:\Users\Lukas\AppData\Local\Project Reality\Project Reality BF2\Downloads
                    Free: 51,64 GB, Total: 231,00 GB, FS: NTFS, SSD: False
   Update Log Path: C:\Users\Lukas\AppData\Local\Project Reality\Project Reality BF2\UpdateLogs
                    Free: 51,64 GB, Total: 231,00 GB, FS: NTFS, SSD: False

Game Information
----------------
      CD Key Valid: True
       CD Key Type: Dashless (Normal)
    Installed Mods: bf2, pr, xpack
       Current Mod: pr
       BF2 Version: BF2 1.5
        PR Version: 1.1.1.0
          Language: portuguesebr
   Debug Available: False
     Large Address: True
Supported Hardware: None

Profile Information
-------------------
      Profile 0001: -FARE-LukasSnipes
              Type: Online
        View Intro: True
        Fullscreen: True
      Display Mode: 1366x768@60Hz
Display Mode Valid: True
   Graphics Scheme: Custom
     Multisampling: Off
             VSync: False
   Terrain Quality: Low
   Effects Quality: Low
  Geometry Quality: Low
   Texture Quality: Low
  Lighting Quality: Low
   Dynamic Shadows: Off
    Dynamic Lights: Off
 Texture Filtering: Low
    Audio Provider: Software
    Provider Valid: True
     Audio Quality: Medium
               EAX: True

      Profile 0002: Pvt.Skwalker
              Type: Online
 Last Used Profile: True
        View Intro: True
        Fullscreen: True
      Display Mode: 1366x768@60Hz
Display Mode Valid: True
   Graphics Scheme: Custom
     Multisampling: Off
             VSync: False
   Terrain Quality: Low
   Effects Quality: Low
  Geometry Quality: Low
   Texture Quality: Low
  Lighting Quality: Low
   Dynamic Shadows: Off
    Dynamic Lights: Off
 Texture Filtering: Low
    Audio Provider: Software
    Provider Valid: True
     Audio Quality: Medium
               EAX: True
Here it is. Note that I have changed everything to "Low" settings. I also noticed that the first time that I download the map, the game closes and show the message "PR was closed, cleaning resources". But, If I open the game again and join the same server that has loaded before, I can play it without any problems.

Re: PR closes even before the game starts

Posted: 2014-03-15 03:26
by LITOralis.nMd
Display Device(s): Generic PnP Monitor on Intel(R) HD Graphics

I think you are running out of RAM/virtual memory . Your integrated graphics shares the system RAM, sounds like you are just out of RAM when loading a map.

Try running Razer Gamebooster to automate shutting down background processes to free up system RAM/virtual memory.

Does vanilla BF2 online multiplayer work?

Re: PR closes even before the game starts

Posted: 2014-03-15 21:38
by Pvt.Skwalker
Yeah it works. I think that I'm getting problems with the PR because of the amount of things to render.
Yesterday, I tried something new: I changed the priority to "High" of the PRBF2.exe in the task manager and I joined the CIA and played 4 full rounds in different maps without any problems. But today, the problem seems to have "returned".
Pretty confusing. I'll try the Gamebooster tip.

Re: PR closes even before the game starts

Posted: 2014-03-16 10:47
by LITOralis.nMd
Try Razer gamebooster

also, download bitsum ProcessLasso Free. Make sure you download the 64 bit version.
Process Lasso - Automate and optimize process priorities, CPU affinities, power profiles, and more!

It automates setting the PRBF2.exe executable to High priority, it can also do a few other neat tricks to improve gaming performance for all your games.