|
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 |
|
|
#21 | |
![]() Join Date: Oct 2009
Posts: 3
|
Encountering the same problem as described in the initial post.
When launching the pr.exe the only relevant processes displayed in my task manager is the "BF2.exe", steam .exe is running anyway. Somehow there isn't a pr.exe displayed. the log reads: Quote:
Hope that helps! Cheers | |
|
|
|
|
#22 |
![]() Join Date: Oct 2009
Posts: 3
|
I just realized that if you create a shortcut for BF2 on your desktop via steam the two command lines read like that:
target: "C:\Program Files\Steam\Steam.exe" -applaunch 24860 sart in: "C:\Program Files\Steam" any relevance? |
|
|
|
|
#23 |
![]() Join Date: Feb 2007
Location: Costa Mesa, CA
Posts: 35
|
This is what happens for me:
pr.exe starts. pr.exe closes. bf2.exe starts. You try to login and you get the "please launch via pr.exe" error. bf2.exe closes. |
|
A signature would go here if I had one.
|
|
|
|
|
|
#24 |
![]() Join Date: Oct 2009
Posts: 92
|
Steam sucks i really dont like it , Lags your comp, at least me.
I only use it for America Army 3 |
|
|
|
|
#25 |
![]() Join Date: Oct 2009
Posts: 3
|
I have built a workaround to allow Steam players to get Project Reality to launch correctly. The problem is BF2.exe from Steam quits when you 1st launch it to perform some sort of Steam authentication. Steam relaunches BF2 after the authentication. This script launches PR.exe, waits for it to close when BF2 closes, then waits for BF2 to be restarted, then relaunches PR.exe so it is running with BF2. This has the side effect of PR.exe starting BF2 again which try to start but it will exit because the existing BF2 process is running.
The PR developers should be able to update the PR.exe to detect steam and wait for BF2 to relaunch instead of exiting but this will let you run the game until they do. Please post any questions or problems here. AUTOHOTKEY REQUIRED - FREE You will need to have Autohotkey installed on your system to use this script. Download Autohotkey: http://www.autohotkey.com AUTOHOTKEY REQUIRED - FREE To Use Script: Copy & Paste Method
Download Method
Project Reality Launcher - Steam Helper Code:
; 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
|
|
|
Last edited by VBNight; 10-13-2009 at 03:11 PM..
Reason: Update Script For 32Bit
|
|
|
|
|
|
|
|
|
#26 |
![]() Join Date: Oct 2009
Posts: 3
|
Excellent!!
It seems it works perfect. I currently don't have the time to actually play as I have to work, however the error does not occur and I can access the server list etc.! I will give more feedback this evening! Many thanks.... |
|
|
|
|
#27 |
![]() Join Date: Oct 2009
Posts: 2
|
|
|
|
|
|
#28 | ||||
![]() Join Date: Oct 2009
Posts: 1
|
@VBNight
Great that did the trick for me, thanks. @Andrea h2o I had the same problem like you, because my game is not installed in the ProgramFiles folder. Just edit this script and remove/change: Quote:
Quote:
Quote:
Quote:
| ||||
|
|
|
|
#29 |
![]() Join Date: May 2009
Location: Nice, France
Posts: 1,481
|
I hate DL'ed games - disc or nothing for me (when a disc exists not in the case or PR). Seems to bring extra problems.
|
|
|
|
|
#30 |
![]() Join Date: Oct 2009
Posts: 2
|
mmmm i edited but doesn't work...
C:\Program Files\Steam\steamapps\common\battlefield 2\mods\pr C:\Program Files\Steam\steamapps\common\battlefield 2 here where are located my files, hope to get some help :P edit: it's work now something was wrong on editing :P |
|
|
|
|
|
|
|
|
![]() |
| Tags |
| battlefield, project, reality, steam |
| Thread Tools | |
| Display Modes | |
|
|