Page 1 of 1

cannot start launcher

Posted: 2018-05-05 09:26
by rastatchav
I installed Project Reality yesterday because Squad just isn't my cup of tea but when I attempt to load it I get this error message

Code: Select all

Project Reality Log File
PRLauncher.exe started at: 2018-05-05T11:25:18

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

Objektreferensen har inte angetts till en instans av ett objekt.

Further details can be found in the following file:

[url]E:\Games\pr\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.NullReferenceException: Objektreferensen har inte angetts till en instans av ett objekt.
   vid ??.?.()
   vid Reality.BF2.Settings.Video..(String )
   vid System.Linq.Enumerable.WhereEnumerableIterator`1.MoveNext()
   vid System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source)
   vid Reality.BF2.Settings.Video.GetDefaultResolution()
   vid Reality.BF2.Settings.Video.CreateDefault(UInt16 )
   vid -.f.a()
   vid -.f.OnStartup(StartupEventArgs a)
   vid System.Windows.Application.<.ctor>b__1_0(Object unused)
   vid System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   vid System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
I checked my Documents folder but there doesn't seem to be anything for PR there. Only a "default" profile, but nothing about "video".

Re: cannot start launcher

Posted: 2018-05-05 10:10
by AlonTavor
Delete the my documents PR folder and run PR as admin.

Re: cannot start launcher

Posted: 2018-05-05 12:31
by rastatchav
[R-DEV]AlonTavor wrote:Delete the my documents PR folder and run PR as admin.
I did that, but the ProjectReality folder keeps getting turned to "read only" when I start PR and I get the same error again

Re: cannot start launcher

Posted: 2018-05-14 09:25
by rastatchav
bump, still don't know what to do about the read-only folder

Re: cannot start launcher

Posted: 2018-05-14 10:40
by AlonTavor
There shouldn't be an issue with the folder being set to read-only. "Delete the ProjectReality My Documents folder and run as admin" is the only solution I can think of.

If that still really doesn't work and you're sure that you're running as admin, make a new Windows user and try there.

Re: cannot start launcher

Posted: 2018-05-14 12:11
by agus92
iWhat about asking a friend with same screen for their folder?

Not really a solution, but a possible workaround.

Re: cannot start launcher

Posted: 2018-05-16 14:40
by rastatchav
Solution found!

I downloaded the files here and added all of the missing ones to my Default folder

https://www.dropbox.com/sh/a0qm9ybeg3kl ... ?dl=0&lst=

then I started the launcher and made a new profile. Then I repeated adding the files into the new profile I just made (0001) in my case, set the video options and then put Video.con on "read only".

Re: cannot start launcher

Posted: 2018-12-24 13:56
by booterror3230
man you are a saint you helped me it worked