Some errors in the log

Help and support regarding PR:BF2 installation and in-game issues
Post Reply
Larriar
Posts: 2
Joined: 2010-10-16 10:28

Some errors in the log

Post by Larriar »

I downloaded the new version and installed yesterday, I was playing with my friends and the game was more laggy than other days, I decided to see the log in the mod folder and i found this:

An error occurred while parsing video controls
System.IO.IOException: The process can't acces the file 'G:\...\Battlefield 2\Profiles\Default\Video.con' Because it is being used by another program.(I have translate this line but i don?t know if i have done it well).
en System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
en System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy)
en System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)
en System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
en System.IO.StreamReader..ctor(String path, Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize)
en System.IO.StreamReader..ctor(String path, Boolean detectEncodingFromByteOrderMarks)
en System.IO.File.OpenText(String path)
en c.g()


---------------------------------
Error in writing screen aspect ratio file: g:\program files (x86)\ea games\battlefield 2\mods\pr\

System.IO.DirectoryNotFoundException: Can't find part of the path: 'g:\program files (x86)\ea games\battlefield 2\mods\pr\'.
en System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
en System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy)
en System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)
en System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
en k.a(String A_0)

I run the game as administrador, SO win 7 64 bit, I thoug the lag problem was because this errors, can be a problem for have the game instaled in the program files (x86) folder?
sorry if i wrote something bad, I am not english.
Last edited by Larriar on 2010-10-16 10:56, edited 2 times in total.
Twisted Helix
Retired PR Developer
Posts: 5145
Joined: 2008-11-03 04:18

Re: Some errors in the log

Post by Twisted Helix »

An error occurred while parsing video controls
System.IO.IOException: The process can't acces the file 'G:\...\Battlefield 2\Profiles\Default\Video.con' Because it is being used by another program.(I have translate this line but i don?t know if i have done it well).
Yeah thats not a problem. Its just an error that is reported because a file gets accessed twice in quick succession, the second time round it happens too quick and the file is still open. All happens before the game even loads.
---------------------------------
Error in writing screen aspect ratio file: g:\program files (x86)\ea games\battlefield 2\mods\pr\

System.IO.DirectoryNotFoundException: Can't find part of the path: 'g:\program files (x86)\ea games\battlefield 2\mods\pr\'.
Hmmm ... that ones a bit more worrying though. Is that where your PR is installed ?

Again though it will not be a cause of lag (although it might end up with some weird shader effects).


The object of war is not to die for your country but to make the other ******* die for his.
--George Patton--
Larriar
Posts: 2
Joined: 2010-10-16 10:28

Re: Some errors in the log

Post by Larriar »

Yes it is the path where i have the game installed, the two errors has the same time, so i thoug, the second error is caused by the first error, and it appears many times, i only played two or three maps i hace more than twenty errors and are separated by minutes.
Twisted Helix
Retired PR Developer
Posts: 5145
Joined: 2008-11-03 04:18

Re: Some errors in the log

Post by Twisted Helix »

Odd. Anyway, it won't be causing lag.


The object of war is not to die for your country but to make the other ******* die for his.
--George Patton--
Post Reply

Return to “PR:BF2 Support”