cant launch the game

Help and support regarding PR:BF2 installation and in-game issues
Post Reply
fastrate
Posts: 3
Joined: 2013-08-13 02:12

cant launch the game

Post by fastrate »

when i try to launch the game it gives me an error and closes heres the log file i recieved

Code: Select all

Project Reality Log File
PRLauncher.exe started at: 2013-08-12T19:13:20

Critical Error: An unhandled exception has occured. Details are as follows:

Access to the path 'C:\Program Files\Origin Games\Battlefield 2 Complete Collection\mods\pr\localization\english\prlauncher.utxt.patchold' is denied.

Further details can be found in the following file:

[url]C:\Program Files\Origin Games\Battlefield 2 Complete Collection\mods\pr\bin\PRLauncher.log[/url]

Please report this error to the Project Reality Team, and include the log file in your report.

[url=https://www.realitymod.com/forum/f27-pr-bf2-support]Visit Support Forum[/url]

 > System.UnauthorizedAccessException: Access to the path 'C:\Program Files\Origin Games\Battlefield 2 Complete Collection\mods\pr\localization\english\prlauncher.utxt.patchold' is denied.
   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, Boolean useLongPath)
   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, Encoding encoding)
   at System.IO.File.InternalReadAllText(String path, Encoding encoding)
   at System.IO.File.ReadAllText(String path, Encoding encoding)
   at Reality.BF2.Localization.Initialize()
   at PRLauncher.App.OnStartup(StartupEventArgs )
   at System.Windows.Application.<.ctor>b__1(Object unused)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
LITOralis.nMd
Retired PR Developer
Posts: 5658
Joined: 2010-04-10 16:15

Re: cant launch the game

Post by LITOralis.nMd »

I don't know what happened here, AncientMan, the Developer for PRlauncher will have to answer this for you.
AncientMan
Retired PR Developer
Posts: 5111
Joined: 2007-05-22 07:42

Re: cant launch the game

Post by AncientMan »

Try restarting your computer.
Image
fastrate
Posts: 3
Joined: 2013-08-13 02:12

Re: cant launch the game

Post by fastrate »

Restarted Computer and it worked ty
EDIT: Now when i try to update the game i get this new error

Code: Select all

 62:Access to the path 'C:\Program Files\Origin Games]Battlefield 2 
Complete Collection\mods\pr\bin\Reality.Utils.dll.patchold' is denied.
bin\Reality.utils.dll
Last edited by fastrate on 2013-08-13 14:23, edited 1 time in total.
LITOralis.nMd
Retired PR Developer
Posts: 5658
Joined: 2010-04-10 16:15

Re: cant launch the game

Post by LITOralis.nMd »

Origin Games]Battlefield 2
Complete Collection
What the heck is that ] doing there?
Did you insert that typo or did it show up exactly like that?
fastrate
Posts: 3
Joined: 2013-08-13 02:12

Re: cant launch the game

Post by fastrate »

its C:\Program Files\Origin Games\Battlefield 2
Complete Collection\mods\pr\bin\Reality.Utils.dll.patchold must had typed it wrong
LITOralis.nMd
Retired PR Developer
Posts: 5658
Joined: 2010-04-10 16:15

Re: cant launch the game

Post by LITOralis.nMd »

Are you running the PRLauncher.exe on an admin account?

SECURITY_ATTRIBUTES secAttrs
Go to
C:\Program Files\Origin Games\Battlefield 2
Complete Collection\mods\

Right click the \PR folder, select Properties, select the security TAB,

See if your security options look like this:

Image

For group EVERYONE, all the boxes should be ticked for Allow,
except for Special Permissions, which should not be ticked at all.
Post Reply

Return to “PR:BF2 Support”