Mumble + PR in a single executable?

General discussion of the Project Reality: BF2 modification.
Post Reply
Bluedrake42
Posts: 1933
Joined: 2009-07-23 17:52

Mumble + PR in a single executable?

Post by Bluedrake42 »

Is it possible? To essentially be able to have mumble and PR start simultaneously by clicking a single shortcut or exe. Of course not having to choose a server and having it all be automated would be nice too... but I don't think that's gonna happen.
Bluedrake42
Posts: 1933
Joined: 2009-07-23 17:52

Re: Mumble + PR in a single executable?

Post by Bluedrake42 »

That and how do I keep mumble from force turning down volume to BF2, I hate that
Rudd
Retired PR Developer
Posts: 21225
Joined: 2007-08-15 14:32

Re: Mumble + PR in a single executable?

Post by Rudd »

thats probably something in your audio mixer, right click your volume control to access it

mumble is already in the PR installer (part 3)

edit, sorry didn't realise you meant to run it
Last edited by Rudd on 2011-06-17 14:02, edited 1 time in total.
Image
Brainlaag
Posts: 3923
Joined: 2009-09-20 12:36

Re: Mumble + PR in a single executable?

Post by Brainlaag »

Too lazy to click 2 icons eh?
Ford_Jam
Posts: 458
Joined: 2009-06-19 01:06

Re: Mumble + PR in a single executable?

Post by Ford_Jam »

Bluedrake42 wrote:That and how do I keep mumble from force turning down volume to BF2, I hate that
Windows 7?

Right click the audio icon bottom on the end of your task bar
Sounds
Communications tab
Tick "Do Nothing"
Apply
Blargh.o
Posts: 6
Joined: 2010-11-22 14:55

Re: Mumble + PR in a single executable?

Post by Blargh.o »

I did this a while ago.

1. Go to "C:\Program Files (x86)\EA GAMES\Battlefield 2\mods\pr"
2. Create new text file in that location containing:

Code: Select all

start "" "C:\Program Files (x86)\Mumble(PR Edition)\PRmumble(0.5beta).exe"
start "" "C:\Program Files (x86)\EA GAMES\Battlefield 2\mods\pr\pr.exe"
3. Save, then rename to PR.bat
4. Copy your PR Desktop shortcut, name it what you want, right click it and go into its properties.
5. change "pr.exe" in the target line to "PR.bat", it should now read:

Code: Select all

"C:\Program Files (x86)\EA GAMES\Battlefield 2\mods\pr\PR.bat"
6. Click OK and test the shortcut

Im on Windows 7 64 bit so you may need to adjust the paths to match your OS and install location but I'm sure you'll figure that out :-)
And yes 2 clicks are more satisfying than 4. ;-)

Edit: and no, I've never been good at explaining in steps.
Last edited by Blargh.o on 2011-06-17 14:07, edited 1 time in total.
KiloJules
Posts: 792
Joined: 2011-03-17 18:03

Re: Mumble + PR in a single executable?

Post by KiloJules »

*.bat is your way to go. Had it with other applications in the past aswell.

But does anyone know if and how it would be possible to have a "wait" or "delay" command?
Situation is this:
I have to start PR, Mumble, Fraps, D3DOverrider. Problem being that PR wont start if D3DO is already running. So i have to start it after PR launched. So I need a wait command to start D3DO let's say 30 seconds after PR, Mumble and Fraps.

Thanks for hopefully positive answers.

Kind regards,
KiloJules
Doc.Pock
Posts: 2899
Joined: 2010-08-23 14:53

Re: Mumble + PR in a single executable?

Post by Doc.Pock »

Code: Select all

start "" "C:\Program Files (x86)\Mumble(PR Edition)\PRmumble(0.5beta).exe"
start "" "C:\Program Files (x86)\EA GAMES\Battlefield 2\mods\pr\pr.exe"
start "" "C:\Program Files (x86)\whatever\FRAPS.exe"
start "" "C:\Program Files (x86)\whatever\the program you need to run after PR"
this should launch then one after another AFAIK
Bufl4x
Posts: 252
Joined: 2009-05-05 03:37

Re: Mumble + PR in a single executable?

Post by Bufl4x »

KiloJules wrote: But does anyone know if and how it would be possible to have a "wait" or "delay" command?
Check this out.
Megagoth1702
Posts: 510
Joined: 2009-01-31 20:19

Re: Mumble + PR in a single executable?

Post by Megagoth1702 »

How do I add parameters into the batch file? Just add as normal? For example:

Code: Select all

start "" "D:\Spiele\Battlefield 2\mods\pr\pr.exe" start /AFFINITY 2 +menu 1 +restart +szx 1796 +szy 1010 +widescreen 1 +fullscreen 0 +playerName Megagoth1702 +playerPassword sneaky123
??#


Yes you do.

Thank you so much! Love saving clicks!
Bluedrake42
Posts: 1933
Joined: 2009-07-23 17:52

Re: Mumble + PR in a single executable?

Post by Bluedrake42 »

Awesome guys! thanks so much =D
Cassius
Posts: 3958
Joined: 2008-04-14 17:37

Re: Mumble + PR in a single executable?

Post by Cassius »

Bluedrake42 wrote:Is it possible? To essentially be able to have mumble and PR start simultaneously by clicking a single shortcut or exe. Of course not having to choose a server and having it all be automated would be nice too... but I don't think that's gonna happen.
Yes it is. You fiddle yourself a bat and it starts both. If your computer/harddrive isnt too fast you can connect with mumble before PR Loads up. Let me look it up. I disabled it because I like to see what is going on in mumble before taking a server join decision, so I would have that extra step of alttabbing back to mumble. Might as well just start em separately.
|TG|cap_Kilgore
Image
Post Reply

Return to “PR:BF2 General Discussion”