Page 1 of 1

cant launch the game

Posted: 2013-08-13 02:17
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)

Re: cant launch the game

Posted: 2013-08-13 04:15
by LITOralis.nMd
I don't know what happened here, AncientMan, the Developer for PRlauncher will have to answer this for you.

Re: cant launch the game

Posted: 2013-08-13 04:21
by AncientMan
Try restarting your computer.

Re: cant launch the game

Posted: 2013-08-13 14:10
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

Re: cant launch the game

Posted: 2013-08-13 19:36
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?

Re: cant launch the game

Posted: 2013-08-13 21:32
by fastrate
its C:\Program Files\Origin Games\Battlefield 2
Complete Collection\mods\pr\bin\Reality.Utils.dll.patchold must had typed it wrong

Re: cant launch the game

Posted: 2013-08-14 17:55
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.