CTD, Invisible trees, black weapons etc...

Help and support regarding PR:BF2 installation and in-game issues
Post Reply
Ltn.Charles
Posts: 21
Joined: 2009-06-23 23:10

CTD, Invisible trees, black weapons etc...

Post by Ltn.Charles »

So, I have just installed Windows 7 Ultimate x86 (32bit). And i reinstalled my BF2 from scratch, except the PR 0.95 parts, which I had on my secondary hard drive, and i could play a map or two fine, then these errors started showing up:
1. I could not see buildings or vehicles (sometimes not even players), just terrain
2. After the map loaded i could see before i got my map up (squad assignment, spawn), that the ground was completely black, and then when i try pressing ESC, the game CTD.
3. When i go into the game my gun is completely black, also hand grenades...
4. Effects on screen go fuzzy after something happens (3D sights zoom, explosions, bleeding)

One odd thing is that Kokan seems to be working just fine, with no errors?!

Specs:
Windows 7 x86(32bit) Ultimate
Intel Core 2 Duo E7300
4GB RAM
Radeon HD 4670 Series 1GB Video Memory
Display Mode 1280 x 1024


Error codes:
den 8 november 2010 20:04:06
---------------------------------
An error occurred while parsing video controls
System.IO.IOException: The process cannot access the file 'C:\Users\Charles\Documents\Battlefield 2\Profiles\Default\Video.con' because it is being used by another process.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at 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)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
at System.IO.StreamReader..ctor(String path, Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize)
at System.IO.StreamReader..ctor(String path)
at System.IO.File.OpenText(String path)
at c.g()

den 8 november 2010 20:04:06
---------------------------------
Error in writing screen aspect ratio file: c:\program files\ea games\battlefield 2\mods\pr\

System.IO.DirectoryNotFoundException: Could not find a part of the path 'c:\program files\ea games\battlefield 2\mods\pr\'.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at 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)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
at k.a(String A_0)

den 8 november 2010 20:36:49
---------------------------------
An error occurred while parsing video controls
System.IO.IOException: The process cannot access the file 'C:\Users\Charles\Documents\Battlefield 2\Profiles\Default\Video.con' because it is being used by another process.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at 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)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
at System.IO.StreamReader..ctor(String path, Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize)
at System.IO.StreamReader..ctor(String path)
at System.IO.File.OpenText(String path)
at c.g()

den 8 november 2010 20:36:49
---------------------------------
Error in writing screen aspect ratio file: c:\program files\ea games\battlefield 2\mods\pr\

System.IO.DirectoryNotFoundException: Could not find a part of the path 'c:\program files\ea games\battlefield 2\mods\pr\'.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at 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)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
at k.a(String A_0)

den 8 november 2010 21:10:35
---------------------------------
An error occurred while parsing video controls
System.IO.IOException: The process cannot access the file 'C:\Users\Charles\Documents\Battlefield 2\Profiles\Default\Video.con' because it is being used by another process.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at 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)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
at System.IO.StreamReader..ctor(String path, Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize)
at System.IO.StreamReader..ctor(String path)
at System.IO.File.OpenText(String path)
at c.g()

den 8 november 2010 21:10:35
---------------------------------
Error in writing screen aspect ratio file: c:\program files\ea games\battlefield 2\mods\pr\

System.IO.DirectoryNotFoundException: Could not find a part of the path 'c:\program files\ea games\battlefield 2\mods\pr\'.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at 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)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
at k.a(String A_0)

den 8 november 2010 21:20:03
---------------------------------
An error occurred while parsing video controls
System.IO.IOException: The process cannot access the file 'C:\Users\Charles\Documents\Battlefield 2\Profiles\Default\Video.con' because it is being used by another process.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at 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)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
at System.IO.StreamReader..ctor(String path, Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize)
at System.IO.StreamReader..ctor(String path)
at System.IO.File.OpenText(String path)
at c.g()

den 8 november 2010 21:20:03
---------------------------------
Error in writing screen aspect ratio file: c:\program files\ea games\battlefield 2\mods\pr\

System.IO.DirectoryNotFoundException: Could not find a part of the path 'c:\program files\ea games\battlefield 2\mods\pr\'.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at 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)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
at k.a(String A_0)

den 8 november 2010 21:20:18
---------------------------------
An error occurred while parsing video controls
System.IO.IOException: The process cannot access the file 'C:\Users\Charles\Documents\Battlefield 2\Profiles\Default\Video.con' because it is being used by another process.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at 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)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
at System.IO.StreamReader..ctor(String path, Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize)
at System.IO.StreamReader..ctor(String path)
at System.IO.File.OpenText(String path)
at c.g()

den 8 november 2010 21:20:18
---------------------------------
Error in writing screen aspect ratio file: c:\program files\ea games\battlefield 2\mods\pr\

System.IO.DirectoryNotFoundException: Could not find a part of the path 'c:\program files\ea games\battlefield 2\mods\pr\'.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at 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)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
at k.a(String A_0)

den 8 november 2010 21:21:02
---------------------------------
An error occurred while parsing video controls
System.IO.IOException: The process cannot access the file 'C:\Users\Charles\Documents\Battlefield 2\Profiles\Default\Video.con' because it is being used by another process.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at 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)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
at System.IO.StreamReader..ctor(String path, Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize)
at System.IO.StreamReader..ctor(String path)
at System.IO.File.OpenText(String path)
at c.g()

den 8 november 2010 21:21:02
---------------------------------
Error in writing screen aspect ratio file: c:\program files\ea games\battlefield 2\mods\pr\

System.IO.DirectoryNotFoundException: Could not find a part of the path 'c:\program files\ea games\battlefield 2\mods\pr\'.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at 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)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
at k.a(String A_0)

den 8 november 2010 21:22:43
---------------------------------
An error occurred while parsing video controls
System.IO.IOException: The process cannot access the file 'C:\Users\Charles\Documents\Battlefield 2\Profiles\Default\Video.con' because it is being used by another process.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at 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)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
at System.IO.StreamReader..ctor(String path, Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize)
at System.IO.StreamReader..ctor(String path)
at System.IO.File.OpenText(String path)
at c.g()

den 8 november 2010 21:22:43
---------------------------------
Error in writing screen aspect ratio file: c:\program files\ea games\battlefield 2\mods\pr\

System.IO.DirectoryNotFoundException: Could not find a part of the path 'c:\program files\ea games\battlefield 2\mods\pr\'.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at 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)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
at k.a(String A_0)
Please help me!
Greetings Ltn.Charles
qsmith
Posts: 70
Joined: 2009-04-26 14:21

Re: CTD, Invisible trees, black weapons etc...

Post by qsmith »

a friend of myn is having the same problem with windows 7, no one has and trouble shooting ideas?
Metal_militia_103
Posts: 37
Joined: 2009-05-14 17:49

Re: CTD, Invisible trees, black weapons etc...

Post by Metal_militia_103 »

Have you guys tried updating to the latest drivers for your graphics card?

"An error occurred while parsing video controls" I would start with driver updates for your graphics card and perhaps your motherboard.

Also what settings do you have set in PR? Does your refresh rate in game match your standard rate?
"That was a lesson in natural selection" said moments after a technical hit a friendly marked mine.
Ltn.Charles
Posts: 21
Joined: 2009-06-23 23:10

Re: CTD, Invisible trees, black weapons etc...

Post by Ltn.Charles »

I did download drivers for my graphics card, but not sure about my motherboard.
But one thing that has worked for me today is clearing my cache just before I start my game, haven't had any of these errors since I did that :o
TheBear_74
Posts: 2
Joined: 2010-11-15 00:16

Re: CTD, Invisible trees, black weapons etc...

Post by TheBear_74 »

Ltn.Charles wrote:I did download drivers for my graphics card, but not sure about my motherboard.
But one thing that has worked for me today is clearing my cache just before I start my game, haven't had any of these errors since I did that :o
I am having the exact same problem, but I have cleared my cache and it has nor resolved the issue any other ideas?
drtaru
Posts: 14
Joined: 2010-11-02 02:47

Re: CTD, Invisible trees, black weapons etc...

Post by drtaru »

disable antivirus scanning on your BF2 directory. as soon as I disabled scanning my pr-err.log file stopped showing the exact same errors you show. the AV scans the files as they are accessed, essentially locking them on the disk, and BF2 isnt smart enough to know to just retry, so you get errors.


as for the black textures, clean out your caches folder, and make sure to run Bf2 and PR as an admin.

Or just disable UAC and never see a run as admin prompt ever again.
TheBear_74
Posts: 2
Joined: 2010-11-15 00:16

Re: CTD, Invisible trees, black weapons etc...

Post by TheBear_74 »

drtaru wrote:disable antivirus scanning on your BF2 directory. as soon as I disabled scanning my pr-err.log file stopped showing the exact same errors you show. the AV scans the files as they are accessed, essentially locking them on the disk, and BF2 isnt smart enough to know to just retry, so you get errors.


as for the black textures, clean out your caches folder, and make sure to run Bf2 and PR as an admin.

Or just disable UAC and never see a run as admin prompt ever again.
disabled the AV no joy :sad: what is UAC?
Ltn.Charles
Posts: 21
Joined: 2009-06-23 23:10

Re: CTD, Invisible trees, black weapons etc...

Post by Ltn.Charles »

What i did was always clear my cache before i started playing, this is how you do it:

C:\Users\(Your username)\Documents\Battlefield 2\mods\bf2\cache

And delete everything in there! (It will replace itself so no problems in doing that!)

Hope this helps you!
Post Reply

Return to “PR:BF2 Support”