PR is randomly crashing to desktop 2 minutes into a game. I've tried different maps and servers but it still crashes. I checked the prError file and it came up with...
"Error in writing screen aspect ratio file: c:\program files (x86)\ea games\battlefield 2\mods\pr\
System.IO.DirectoryNotFoundException: Could not find a part of the path 'c:\program files (x86)\ea games\battlefield 2\mods\pr\'.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)"
and...
"An error occurred while parsing video controls
System.IO.IOException: The process cannot access the file 'C:\Users\Documents\Battlefield 2\Profiles\Default\Video.con' because it is being used by another process."
Crashing to desktop
-
LITOralis.nMd
- Retired PR Developer
- Posts: 5658
- Joined: 2010-04-10 16:15
Re: Crashing to desktop
Its possible. Go to profiles in My Documents>Battlefield2>Profiles>000N where N is number from 1-N numbers of profiles you have. Might want to go trough all of them and edit file called video.con
Search for value "VideoSettings.setResolution" and change it something you want.
Example if you got 16:10WS monitor
Code:
Other solution would be to add this to your PR shortcut target line
Code:
Search for value "VideoSettings.setResolution" and change it something you want.
Example if you got 16:10WS monitor
Code:
Save the file and close it. You can edit this file with notepad or any text editor. I recommend Notepad++VideoSettings.setResolution 1440x900@60Hz
Other solution would be to add this to your PR shortcut target line
Code:
Note that if you add this your game will always start in this resolution no matter what you set in Video settings. Use it to temporary override video.con, change resolution in video settings, save it and restart the game, but remove this from your target line....\Battlefield 2\mods\pr\pr.exe" +szx 800 +szy 600
-
BButcher666
- Posts: 7
- Joined: 2012-04-06 13:28
Re: Crashing to desktop
thanks for the help, it seems to be working now.
