|
PR Time:
|
||||||
| Register | Forum Rules | Developer Blogs | Project Reality | Members List | Search | Today's Posts | Mark Forums Read |
| PR:BF2 Bugs If you find a bug within Project Reality (including PRSP), please report it here. |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|
#71 |
![]() Join Date: Jan 2010
Location: CA
Posts: 71
|
Mine reads:
; Project Reality Launcher - Steam Helper ; ; This workaround helps launch Project Reality for users who purchased BF2 on Steam. ; ; Run this script to start Project Reality ; ; Launches PR.exe and waits for it to exit when BF2 performs Steam authentication. ; Relaunches PR.exe after Steam restarts BF2.exe after authentication. ; ; WARNING: The 2nd launch of PR.exe attempts to start BF2 again which will try start then quit. #NoTrayIcon #SingleInstance force #NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. SendMode Input ; Recommended for new scripts due to its superior speed and reliability. SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory. ; Get Path To Project Reality PR.EXE EnvGet ProgramFilesX86, ProgramFiles(x86) PREXE := ProgramFilesX86 . "\Steam\steamapps\common\battlefield 2\mods\pr\pr.exe" BF2 := ProgramFilesX86 . "\Steam\steamapps\common\battlefield 2\" ; Verify Path Correct IfNotExist %PREXE% { EnvGet ProgramFilesFolder, ProgramFiles PREXE := ProgramFilesFolder . "\Steam\steamapps\common\battlefield 2\mods\pr\pr.exe" IfNotExist %PREXE% { Msgbox PR.EXE (%PREXE%) NOT FOUND, PROJECT REALITY LAUNCHER FAILED ExitApp 1 } } ; Launch PR, Wait For It To Exit RunWait, %PREXE%, %BF2%, UseErrorLevel ; Wait For BF2 Relaunch (20 Sec Timeout) Process, Wait, BF2.exe, 20 ; Check Timeout Error if (ErrorLevel == 0) { Msgbox TIMEOUT WAITING FOR BF2 RELAUNCH, PROJECT REALITY LAUNCHER FAILED ExitApp } ; Relaunch PR.EXE Again Run, %PREXE%, %BF2%, UseErrorLevel ; Exit (Finished) ExitApp 0 Works fine, with the exception of being kicked about 90% of the time because of the MD5tool mismatch, something about PB restrictions, etc. In fact, I got so damned fed up with trying to deal with crappy Steam that I just ordered a regular retail copy of BF2 from Amazon for $10. |
|
|
|
|
#72 |
![]() |
Thanks Guys Worked Perfectly. +1.
|
|
UK FTW!
|
|
|
|
|
|
#73 | |
![]() Join Date: Jan 2010
Posts: 2
|
Quote:
| |
|
|
|
|
#74 | |
![]() Join Date: Sep 2008
Location: Sydney City
Posts: 315
|
Quote:
Can anyone edit this to make it launch the ADF mod through steam? | |
|
To view links or images in signatures your post count must be 1 or greater. You currently have 0 posts. " border="0" /> *14 sigs made for PR members Ingame name:supermannen6 Not making sigs anymore. Army life does not permit it! hah |
||
|
|
|
|
#75 |
|
Banned
![]() Join Date: Dec 2009
Location: Melbourne
Posts: 64
|
Oh I member when this kept on happening to me. Darkest days of my life!
|
|
|
|
|
|
|
|
|
|
|
#76 |
|
PR:BF2 Contributor
![]() Join Date: Nov 2008
Posts: 336
|
Won't have to do any of this with 0.9, since PR will support Steam installs.
|
|
|
|
|
|
|
|
|
![]() |
| Tags |
| battlefield, project, reality, steam |
| Thread Tools | |
| Display Modes | |
|
|