Page 1 of 2

Changing shortcuts

Posted: 2009-06-19 19:02
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!!!

Re: Changing shortcuts

Posted: 2009-06-19 19:05
by samspon71
Same for me, I posted in the PR support forum.

Re: Changing shortcuts

Posted: 2009-06-19 19:06
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..

Re: Changing shortcuts

Posted: 2009-06-19 19:15
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).

Re: Changing shortcuts

Posted: 2009-06-19 19:20
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 :)

Re: Changing shortcuts

Posted: 2009-06-19 19:58
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?

Re: Changing shortcuts

Posted: 2009-06-19 21:10
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)

Re: Changing shortcuts

Posted: 2009-06-19 23:15
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

Re: Changing shortcuts

Posted: 2009-06-20 01:46
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.

Re: Changing shortcuts

Posted: 2009-06-20 02:19
by killa-element
i really need help on why the shortcut wont do anything

Re: Changing shortcuts

Posted: 2009-06-20 08:04
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....

Re: Changing shortcuts

Posted: 2009-06-20 09:37
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.

Re: Changing shortcuts

Posted: 2009-06-20 09:41
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.

Re: Changing shortcuts

Posted: 2009-06-20 09:43
by LionEyez
E4$Y wrote:Still doesn't work.
Hmm. So what does the pr.txt say now?

Re: Changing shortcuts

Posted: 2009-06-20 09:44
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

Re: Changing shortcuts

Posted: 2009-06-20 09:46
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.

Re: Changing shortcuts

Posted: 2009-06-20 09:47
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?

Re: Changing shortcuts

Posted: 2009-06-20 09:49
by E4$Y
Copying the file didn't helped me, so i guess now i need to reinstal.

Re: Changing shortcuts

Posted: 2009-06-20 09:49
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.