PR:BF2 general error (game won't open)

Help and support regarding PR:BF2 installation and in-game issues
Post Reply
Pastel
Posts: 8
Joined: 2018-02-13 18:09

PR:BF2 general error (game won't open)

Post by Pastel »

Hello,

So i updated the game from v1.6.3.0 to v1.6.3.2 and i just can't run the game. Also, concurrently, updated Windows 10 to 20H2, and i'm running AMD Radeon 20.9.1 (current stable branch).

I can normally run PRLauncher and change the settings, but as i click PLAY, PRBF2 never pops up and eventually i get the "PR:BF2 has closed, cleaning up resources".

At first it didn't even generated the PRLauncher.log but after tinkering with some settings (specially, disabling Dynamic Super Resolution on Radeon, changing Windows Refresh Rate to 60.000 Hz (new feature on 20H2) and disabling Fullscreen and VSync on game settings) i manage to get 2 different error logs:
(logs and events generated on Brazilian Portuguese, posting it translated by me).

Code: Select all

Project Reality Log File
PRLauncher.exe started at: 2020-10-26T21:40:32

Warning: Error in game thread: 2

 > Directory name C:\Program Files (x86)\Project Reality\Project Reality BF2\mods\pr\vars is invalid.
And after some time (and running PRLauncher from the folder instead of the shortcut):

Code: Select all

Project Reality Log File
PRLauncher.exe started at: 2020-10-26T21:53:28

Warning: No game process found.
Warning: Error hooking game
Error: 1103: There was an error linking to the game process. Please try again.
Windows is registering the following event (also translated):

Code: Select all

Faulting application name: prbf2.exe, version: 0.0.0.0, time stamp: 0x4a8d6629
Faulting module name: prbf2.exe, version: 0.0.0.0, time stamp: 0x4a8d6629
Exception code: 0xc0000005
Fault offset: 0x004547b5
Faulting process id: 0x21f4
Faulting application start time: 0x01d6abfbaaa2fb68
Faulting application path: C:\Program Files (x86)\Project Reality\Project Reality BF2\prbf2.exe
Faulting module path: C:\Program Files (x86)\Project Reality\Project Reality BF2\prbf2.exe
Things i already tried without success:
  • Every combination of game and driver settings (got the game to open Main Menu once, but after it closed it never opened again);
  • Deleting Documents/Project Reality folder and/or resetting profile;
  • Reinstalling all kinds of Redists (all C++ Redists, Directx and others);
  • Running in some compatibility modes;
  • Clean Windows install (literally, i thought my system was the problem).
So, i have no ideas left, if any of you have some idea on how to fix it.

Thanks in advance.

This is my SysInfo from PRLauncher:

Code: Select all

System Information
------------------
  Operating System: Microsoft Windows 10 Pro (10.0.19042)
      Architecture: 64 bits
   Current Culture: Portuguese (Brazil)
       Motherboard: Gigabyte Technology Co., Ltd. B85M-D3PH
         Processor: Intel(R) Core(TM) i3-4160 CPU @ 3.60GHz (Physical: 2, Logical: 4)
            Memory: 8,00 GB
      DIMM Modules: ChannelB-DIMM0: 8,00 GB @ 1600 MHz
         Page File: 1,88 GB
    .NET Framework: 4.6+ Release Build: 528372, Runtime: 4.0.30319.42000

Display Information
-------------------
 Display Device(s): Generic PnP Monitor on Radeon RX 570 Series
   Display Mode(s): 1920 x 1080 (32 bit) @ 60 Hz
    Driver Version: 27.20.12029.1000
    Display Memory: 4,00 GB
     Multisampling: 2, 4, 8
               DPI: 96 (100%)

Audio Information
-----------------
  Primary Playback: Microsoft Sound Mapper
 Primary Recording: Microfone (Realtek High Definit
  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)\Project Reality\Project Reality BF2
                    Free: 121,04 GB, Total: 173,86 GB, FS: NTFS, SSD: True
          Mod Path: C:\Program Files (x86)\Project Reality\Project Reality BF2\mods\pr
                    Free: 121,04 GB, Total: 173,86 GB, FS: NTFS, SSD: True
     Profiles Path: C:\Users\Pastel\Documents\ProjectReality\Profiles
                    Free: 121,04 GB, Total: 173,86 GB, FS: NTFS, SSD: True
    Update DL Path: C:\Users\Pastel\AppData\Local\Project Reality\Project Reality BF2\Downloads
                    Free: 121,04 GB, Total: 173,86 GB, FS: NTFS, SSD: True
   Update Log Path: C:\Users\Pastel\AppData\Local\Project Reality\Project Reality BF2\UpdateLogs
                    Free: 121,04 GB, Total: 173,86 GB, FS: NTFS, SSD: True

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

Profile Information
-------------------
      Profile 0001: Pastel
              Type: Online
        View Intro: True
        Fullscreen: True
      Display Mode: 1920x1080@60Hz
Display Mode Valid: True
   Graphics Scheme: Medium
     Multisampling: Off
             VSync: False
            NoLods: False
   Terrain Quality: Low
   Effects Quality: High
  Geometry Quality: Low
   Texture Quality: Medium
  Lighting Quality: Low
   Dynamic Shadows: Medium
    Dynamic Lights: Medium
 Texture Filtering: Medium
    Audio Provider: Software
    Provider Valid: True
     Audio Quality: Medium
               EAX: True
Last edited by Pastel on 2020-10-27 15:39, edited 1 time in total.
User avatar
Mats391
PR:BF2 Lead Developer
Posts: 7636
Joined: 2010-08-06 18:06

Re: PR:BF2 general error (game won't open)

Post by Mats391 »

This looks like a PRBF2.exe is not starting correctly. Try attaching ProcDump to get more info https://www.realitymod.com/forum/showth ... p?t=147961
Other than that the Windows update might have broken prbf2. Sadly updates regularly break old applications, but usually Microsoft fixes that eventually. If you can try reverting the Windows Update.
Image

Mineral: TIL that Wire-guided missiles actually use wire
AlonTavor
PR:BF2 Developer
Posts: 2991
Joined: 2009-08-10 18:58

Re: PR:BF2 general error (game won't open)

Post by AlonTavor »

The "Fault offset" looks like stuff related to creating a windows window. I could probably get more info if you get me a dump
Pastel
Posts: 8
Joined: 2018-02-13 18:09

Re: PR:BF2 general error (game won't open)

Post by Pastel »

First of all, thanks for the support, guys,

I've been trying procdump for a while, but usually it gives me the "Multiple processes match the specified name." or simply doesn't get the exception ("The process has exited;
Dump count not reached.").
So i got ProcDumpEx(https://github.com/tedyyu/ProcDumpEx) and run it as

Code: Select all

procdumpex.exe -b -e 1 -g -mm -t -w prbf2.exe
and successfully got a dump: https://anonfiles.com/B6L6i7kap2/PRBF2. ... 104518_dmp.

I took i quick look in WinDbg but i couldn't understand much.

Windows 10 20H2 probably just broke the game.
AlonTavor
PR:BF2 Developer
Posts: 2991
Joined: 2009-08-10 18:58

Re: PR:BF2 general error (game won't open)

Post by AlonTavor »

File host not working. Just use google drive
AlonTavor
PR:BF2 Developer
Posts: 2991
Joined: 2009-08-10 18:58

Re: PR:BF2 general error (game won't open)

Post by AlonTavor »

Get another dump with 32bit procdump, not 64bit. My visual studio is unable to work with this
Pastel
Posts: 8
Joined: 2018-02-13 18:09

Re: PR:BF2 general error (game won't open)

Post by Pastel »

Here it is, 32 bit procdump: https://drive.google.com/file/d/1z_rOiU ... sp=sharing

Indeed, i think this is the proper dump, it generated a bit more information.
AlonTavor
PR:BF2 Developer
Posts: 2991
Joined: 2009-08-10 18:58

Re: PR:BF2 general error (game won't open)

Post by AlonTavor »

This doesn't look like a crash dump.
maybe that "-t" flag is not what we want.

Come to discord, quicker to discuss there.
AlonTavor
PR:BF2 Developer
Posts: 2991
Joined: 2009-08-10 18:58

Re: PR:BF2 general error (game won't open)

Post by AlonTavor »

Looks like PRBF2.exe is being loaded to a dynamic address, did you enable any windows option to do that?
AlonTavor
PR:BF2 Developer
Posts: 2991
Joined: 2009-08-10 18:58

Re: PR:BF2 general error (game won't open)

Post by AlonTavor »

Pastel
Posts: 8
Joined: 2018-02-13 18:09

Re: PR:BF2 general error (game won't open)

Post by Pastel »

AlonTavor wrote:Looks like PRBF2.exe is being loaded to a dynamic address, did you enable any windows option to do that?
Oh man, indeed, that's what was happening. After some malware incident, i just got all Exploit Protection options on Windows Defender forced to the safe side, but forgot that Mandatory ASLR (address space layout randomization) could cause problems. Disabling Mandatory ASLR or adding a Program-specific rule to PRBF2.exe on Windows Defender Exploit Protection seems to work, it now runs perfectly.

Thanks a lot AlonTavor, you and all R-DEVs are what makes this game awesome.
Last edited by Pastel on 2020-10-27 15:38, edited 1 time in total.
Post Reply

Return to “PR:BF2 Support”