Changing shortcuts

General discussion of the Project Reality: BF2 modification.
Cpl. Mallard
Posts: 69
Joined: 2009-01-25 00:38

Changing shortcuts

Post by Cpl. Mallard »

When i clicked my old PR shortcut it took me to a new PR screen, but said the shortcut had to go from

C:\Program Files\EA games\ Battlefield 2\bf2.exe'

to

C:\Program Files\EA games\ Battlefield 2\\mods\pr\pr.exe'

and i have no idea how to to this!!!
samspon71
Posts: 6
Joined: 2009-04-08 02:20

Re: Changing shortcuts

Post by samspon71 »

Same for me, I posted in the PR support forum.
ExoDuUs
Posts: 69
Joined: 2008-08-05 09:19

Re: Changing shortcuts

Post by ExoDuUs »

Im guessing as it took you to a new PR screen; it works? an old saying ''if it aint broke...'' springs to mind. As long as its working for you m8..


Image
Image
samspon71
Posts: 6
Joined: 2009-04-08 02:20

Re: Changing shortcuts

Post by samspon71 »

But the thing is, it doesn't work. it either puts up an error screen forcing you to restart and change the shortcut, or it just takes you to old .856(depending on which shortcut you use).
Scot
Posts: 9270
Joined: 2008-01-20 19:45

Re: Changing shortcuts

Post by Scot »

Right click on you shortcut

Click Properties

your Target should read:
"C:\Program Files\EA GAMES\Battlefield 2\mods\pr\pr.exe"
Your Start in should read:
"C:\Program Files\EA GAMES\Battlefield 2\mods\pr"
Hope that helps :)
Image
E4$Y
Posts: 136
Joined: 2008-08-08 07:38

Re: Changing shortcuts

Post by E4$Y »

When i try to launch PR via shortcut or .exe itself, the game doesn't start, but instead, the file named pr.txt appears in PR folders. Heres what is said inside of it:
"C:\Program Files\EA GAMES\Battlefield 2
PR command line args sent to BF2: +modPath mods/pr +menu 1


gloryhoundz.com directory not found, deletion confirmed

Saved original BF2 splash screen as 00000000.256.original

Copy PR Splash screen 00000000.256 to main BF2 directory

Launching BF2
Error in running BF2 : --> System.ComponentModel.Win32Exception: The system cannot find the file specified
at System.Diagnostics.Process.StartWithShellExecuteEx(ProcessStartInfo startInfo)
at System.Diagnostics.Process.Start()
at Launcher.Run(String[] args)
BF2 Exiting

PR Splash screen stored at C:\Program Files\EA GAMES\Battlefield 2/mods/pr/00000000.256 , moved copy deleted

Saved original BF2 splash screen as 00000000.256
Deleted back up splash screen

gloryhoundz.com directory not found, deletion confirmed"

Any help guys?...

EDIT: There's definitely something wrong with spalsh screen, no?
LionEyez
Posts: 12
Joined: 2009-06-19 16:08

Re: Changing shortcuts

Post by LionEyez »

Yeah I get the same error txt, only it launches vBF2 for me.

I try to switch to PR using the ingame menu (community > mod ) but I CTD pretty much right as soon as I click a menu button.


EDIT: I've done it! The correct shortcut should be:
(YOUR BF2 Directory)\mods\pr\pr.exe +modPath mods/pr +menu 1
(example: D:\Games\BF 2\mods\pr\pr.exe +modPath mods/pr +menu 1)
Last edited by LionEyez on 2009-06-19 21:26, edited 3 times in total.
666PROTECTOR
Posts: 87
Joined: 2008-12-15 21:27

Re: Changing shortcuts

Post by 666PROTECTOR »

wtf?
my bf is on D: not on F:
also i used
"www.Gameupdates.org" version


f:\Battlefield 2
PR command line args sent to BF2: +modPath mods/pr +menu 1


gloryhoundz.com directory not found, deletion confirmed

Error in MovingSplashScreen: --> System.IO.FileNotFoundException: Nie można odnaleźć pliku 'f:\Battlefield 2\00000000.256'.
Nazwa pliku: 'f:\Battlefield 2\00000000.256'
w System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
w System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite)
w System.IO.FileInfo.CopyTo(String destFileName, Boolean overwrite)
w System.IO.FileInfo.CopyTo(String destFileName)
w FileMover.CopySplashScreen()
w Launcher.Run(String[] args)

Copy PR Splash screen 00000000.256 to main BF2 directory

Launching BF2
Error in running BF2 : --> System.ComponentModel.Win32Exception: Nie można odnaleźć określonego pliku
w System.Diagnostics.Process.StartWithShellExecuteEx(ProcessStartInfo startInfo)
w System.Diagnostics.Process.Start()
w Launcher.Run(String[] args)
BF2 Exiting

PR Splash screen stored at f:\Battlefield 2/mods/pr/00000000.256 , moved copy deleted

Error in ReturningPRSplashScreen: --> System.NullReferenceException: Odwołanie do obiektu nie zostało ustawione na wystąpienie obiektu.
w System.IO.FileInfo.CopyTo(String destFileName, Boolean overwrite)
w System.IO.FileInfo.CopyTo(String destFileName)
w FileMover.ReturnSplashScreen()
w Launcher.Run(String[] args)

gloryhoundz.com directory not found, deletion confirmed
Last edited by 666PROTECTOR on 2009-06-19 23:22, edited 1 time in total.
Playing Battlefield series since 2002 & Studing Antropology :gamestudies
samspon71
Posts: 6
Joined: 2009-04-08 02:20

Re: Changing shortcuts

Post by samspon71 »

Scot wrote:Right click on you shortcut

Click Properties

your Target should read:
Your Start in should read:

Hope that helps :)
Nope, that's just the path that leads to the strange .856 version.
killa-element
Posts: 36
Joined: 2009-06-19 16:09

Re: Changing shortcuts

Post by killa-element »

i really need help on why the shortcut wont do anything
E4$Y
Posts: 136
Joined: 2008-08-08 07:38

Re: Changing shortcuts

Post by E4$Y »

Well i can't start PR even from pr.exe itself. It just doesn't start whatever i do. That's not the shortcut problem i have, it's something more complicated....
LionEyez
Posts: 12
Joined: 2009-06-19 16:08

Re: Changing shortcuts

Post by LionEyez »

Guys, listen

Go to your start button or whatever it's called in your version of Windows (down and to the left)

Go to Run Program, and type: [Your BF2 Directory]\mods\pr\pr.exe +modPath mods/pr +menu 1
Replace [Your BF2 Directory] with the correct path. Doesn't matter if it's on C:, D:, or whatever.

This launches PR correctly. I don't know how to change the shortcut icon to get it working properly, but this command does the trick.
Last edited by LionEyez on 2009-06-20 09:44, edited 1 time in total.
Reason: start button is actually on the left..duh ^^
E4$Y
Posts: 136
Joined: 2008-08-08 07:38

Re: Changing shortcuts

Post by E4$Y »

LionEyez wrote:Guys, listen

Go to your start button or whatever it's called in your version of Windows (down and to the right)

Go to Run Program, and type: [Your BF2 Directory]\mods\pr\pr.exe +modPath mods/pr +menu 1
Replace [Your BF2 Directory] with the correct path. Doesn't matter if it's on C:, D:, or whatever.

This launches PR correctly. I don't know how to change the shortcut icon to get it working properly, but this command does the trick.
Still doesn't work.
LionEyez
Posts: 12
Joined: 2009-06-19 16:08

Re: Changing shortcuts

Post by LionEyez »

E4$Y wrote:Still doesn't work.
Hmm. So what does the pr.txt say now?
E4$Y
Posts: 136
Joined: 2008-08-08 07:38

Re: Changing shortcuts

Post by E4$Y »

Same as before:

C:\Program Files\EA GAMES\Battlefield 2
PR command line args sent to BF2: +modPath mods/pr +menu 1


gloryhoundz.com directory not found, deletion confirmed

Saved original BF2 splash screen as 00000000.256.original

Copy PR Splash screen 00000000.256 to main BF2 directory

Launching BF2
Error in running BF2 : --> System.ComponentModel.Win32Exception: The system cannot find the file specified
at System.Diagnostics.Process.StartWithShellExecuteEx(ProcessStartInfo startInfo)
at System.Diagnostics.Process.Start()
at Launcher.Run(String[] args)
BF2 Exiting

PR Splash screen stored at C:\Program Files\EA GAMES\Battlefield 2/mods/pr/00000000.256 , moved copy deleted

Saved original BF2 splash screen as 00000000.256
Deleted back up splash screen

gloryhoundz.com directory not found, deletion confirmed
AncientMan
Retired PR Developer
Posts: 5111
Joined: 2007-05-22 07:42

Re: Changing shortcuts

Post by AncientMan »

Error in running BF2 : --> System.ComponentModel.Win32Exception: The system cannot find the file specified
It can't find bf2.exe. Ie, your registry is screwed.

Uninstall BF2 completely, then reinstall BF2, patch to 1.41, then install 0.856 core + levels + 0.860 patch, or just 0.860 core + levels.
Image
LionEyez
Posts: 12
Joined: 2009-06-19 16:08

Re: Changing shortcuts

Post by LionEyez »

Alright.

So did you try copying 00000000.256 to your main BF2 directory, as the file says?

That's actually the first thing I did, so maybe you were right earlier when you said it's all caused by the splashscreen. Do you actually get the new splashscreen to display?
E4$Y
Posts: 136
Joined: 2008-08-08 07:38

Re: Changing shortcuts

Post by E4$Y »

Copying the file didn't helped me, so i guess now i need to reinstal.
AncientMan
Retired PR Developer
Posts: 5111
Joined: 2007-05-22 07:42

Re: Changing shortcuts

Post by AncientMan »

The splash screen (0000000.256) has nothing really to do with it, it doesn't output an error in the log (it outputs the error on Launching BF2), nor would it failing to copy break pr.exe.
Image
Post Reply

Return to “PR:BF2 General Discussion”