Page 1 of 1

Co-Operative Crash to Desktop?

Posted: 2012-12-14 04:23
by Josh131313
Hey guys. I'd really like to create a local co-operative game to practice so I don't make people mad, but I've encountered a problem. When I click "create local" and set the information, as soon as I press the button to start it, I crash to desktop. Instantly. Keep in mind that I can play multiplayer just fine. I checked the error log and these were the entries made at the time.

Code: Select all

Thursday, December 13, 2012 10:16:01 PM
---------------------------------
An error occurred while parsing video controls
System.IO.IOException: The process cannot access the file 'C:\Users\Josh\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, 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, Boolean detectEncodingFromByteOrderMarks)
   at System.IO.File.OpenText(String path)
   at d.g()

Thursday, December 13, 2012 10:16:01 PM
---------------------------------
Error in writing screen aspect ratio file: c:\program files (x86)\origin games\battlefield 2 complete collection\mods\pr\

System.IO.DirectoryNotFoundException: Could not find a part of the path 'c:\program files (x86)\origin games\battlefield 2 complete collection\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, String msgPath, Boolean bFromProxy)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
   at n.a(String A_0)
I just need someone to translate that for me. :P Let me know if you need more information, I'd just like to get it fixed.

Re: Co-Operative Crash to Desktop?

Posted: 2012-12-14 04:34
by LITOralis.nMd
Your aspect ratio and screen size is incorrectly set, simple problem to fix.
Also, make sure to run PR.exe as an admin.

Edit your PR shortcut and put this in it:

Code:
Code:
"C:\Program Files\Battlefield 2\mods\pr\pr.exe" +restart +menu 1 +fullscreen 0 +szx 1280 +szy 720
Dont just copy paste this, but adjust to your install location. Make sure you dont omit quotation marks or it wont work.
If you start in windowed mode and it CTDs, a Message will pop up telling you the problem. Take a screenshot or write this down and post it to this thread.

Re: Co-Operative Crash to Desktop?

Posted: 2012-12-14 05:01
by Josh131313
Okay I believe I did what you said right.. Like this?

Image

And it did run windowed. This is the error I got.

Image

Re: Co-Operative Crash to Desktop?

Posted: 2012-12-15 05:11
by Josh131313
Bump? Can I do that?

Re: Co-Operative Crash to Desktop?

Posted: 2012-12-15 11:27
by LITOralis.nMd
Which map are you trying to use for co-op server?

DO you have PRVietnam minimod installed?

I'm not sure the PRV has co-op player mode.

Re: Co-Operative Crash to Desktop?

Posted: 2012-12-15 13:25
by Josh131313
I thought I did. I can try to reinstall it. I'm trying to use Muttrah City.

Re: Co-Operative Crash to Desktop?

Posted: 2012-12-15 14:08
by AfterDune

Re: Co-Operative Crash to Desktop?

Posted: 2012-12-16 01:53
by Josh131313
'[R-DEV wrote:AfterDune;1843317']Do this: https://www.realitymod.com/forum/f27-pr ... ost1822367
That fixed it right up. Thanks so much! Now I can try to learn to fly stuff without ruining anyone's day. :P