Making xfire show other users you are playing project reality

General discussion of the Project Reality: BF2 modification.
Post Reply
jimbo8098
Posts: 7
Joined: 2010-08-06 23:21

Making xfire show other users you are playing project reality

Post by jimbo8098 »

This does NOT show your friends that you are playing PR. I may have a workaround for that however. If you implant that part of code onto all of your friends games_xfire then they CAN see that you are playing pr. THAT HAS been proven!

BUT a way may be on its way because it is possible for others to see a custom status so if i can make the custom status change to project reality then the the problem woulod be solved. I have done coding which would do such a thing in c# (find the pr.exe process in your current running processes) but i think wed be looking at a download of an installer

Ill have a look at it cos white hat hacking is what I do best :)


Go to xfire_games.ini (search for it on the drive you installed xfire on) I found the file in C:\ProgramData\Xfire\xfire_games.ini on Windows 7 Home Premium 64 Bit

In that file search "[4578]" and where it says long name delete battlefield 2 and put project reality there. Save the file then restart xfire.

If you want to launch Project Reality from xfire then

Open xfire_games.ini and go to the very bottom and paste the following

If you do both of thee steps then you will need to change the long name to a different name from Project Reality such as PR or PR2 or Project_Reality etc

[6255]
LongName=Project Reality
ShortName=pr
LauncherExe=pr.exe
Launch=%UA_LAUNCHER_EXE_PATH%
_LAUNCHER_NETWORK_ARGS%
_LAUNCHER_EXTRA_ARGS%
InGameRenderer=D3D9
InGameFlags=DISABLE_RELEASE|BLOCK_ASYNC|USE_PRESENT|USE_SWAPCHAIN|ENABLE_MOUSE|USE_DINPUT_MOUSE
ExcludeIPPorts=29900,29901,29902,29903,29904
RunElevated=1

When you have done that you may need to change the number 6255 to the next number in the list. You can find the last number by looking up and the first game above is the last game. so the one above mine is 6254 (actually its 6254_3 but thats another matter , if this applies to you then just go the next number before the _.

After that save and restart xfire.

After that you will have to make xfire detect the game so go to tools/launch/detect games/find project reality on the not installed list (its a drop down arrow in the listbox) and click it. Then choose manual detect on the right hand side panel and click browse. Browse to where you have bf2 installed and go to mods/pr/pr.exe in that directory.

Now select pr.exe and click open. Then click apply. You should now be able to launch project reality via xfire...
Last edited by jimbo8098 on 2010-08-08 20:36, edited 4 times in total.
dtacs
Posts: 5512
Joined: 2008-12-07 23:30

Re: Making xfire show other users you are playing project reality

Post by dtacs »

Are you saying that OTHER people will see me playing PR?

Is it possible to get the PR icon up in Xfire too?

If this works, thanks so much, awesome find.
OSOK1LL3R
Posts: 22
Joined: 2010-01-27 14:52

Re: Making xfire show other users you are playing project reality

Post by OSOK1LL3R »

Copy pr.ico from C:\Program Files\EA GAMES\Battlefield 2\mods\pr\readme\icons to C:\ProgramData\Xfire\Icons and you get the icon ;)
Spec
Retired PR Developer
Posts: 8439
Joined: 2007-09-01 22:42

Re: Making xfire show other users you are playing project reality

Post by Spec »

Mh. It does show it as PR for me, but not for others.
Image
--- currently reduced activity ---
Thanks to [R-MOD]IINoddyII for the signature!
_____________________________
Propriety is an adequate basis for behavior towards strangers, honesty is the only respectful way to treat friends.
sweedensniiperr
Posts: 2784
Joined: 2009-09-18 10:27

Re: Making xfire show other users you are playing project reality

Post by sweedensniiperr »

shouldn't there be a way for both PR and bf2 to show up? (not that i play vbf2 :-P )
Image
myles
Posts: 1614
Joined: 2008-11-09 14:34

Re: Making xfire show other users you are playing project reality

Post by myles »

sweedensniiperr wrote:shouldn't there be a way for both PR and bf2 to show up? (not that i play vbf2 :-P )
Xfire said that some mods and games were like unable to be idnetfiyed when trying to seprate the mod from the game.
Check out my Project Reaity gamplay here http://www.youtube.com/user/Projectreality1

Image
AnimalMother.
Posts: 2476
Joined: 2007-02-25 15:38

Re: Making xfire show other users you are playing project reality

Post by AnimalMother. »

its because iirc the PR.exe starts then boots bf2.exe with xfire it'll read the most recently started game exe so if it did recognise pr.exe it'd get replace when bf2 boots up. notr 100% sure on this, but it think thats why


one way to show everyone is to just set a custom status before you play. So it'll read "Project Reality - Battlefield 2"
ex |TG-31st|
AnimalMotherUK - YouTube

vistamaster01: "I just dont get people with girl usernames/pics/sigs lol,
for example I thought AnimalMother was a girl :o ops:"

Arte et Marte
PatrickLA_CA
Posts: 2243
Joined: 2009-07-14 09:31

Re: Making xfire show other users you are playing project reality

Post by PatrickLA_CA »

Will this show that im playing PR to other people, and if I play or some of my xfire friends play vbf2 or any other bf2 mod, will it still show PR for the other mods and vbf2???
In-game: Cobra-PR
jimbo8098
Posts: 7
Joined: 2010-08-06 23:21

Re: Making xfire show other users you are playing project reality

Post by jimbo8098 »

This does NOT show your friends that you are playing PR. I may have a workaround for that however. If you implant that part of code onto all of your friends games_xfire then they CAN see that you are playing pr. THAT HAS been proven!
its because iirc the PR.exe starts then boots bf2.exe with xfire it'll read the most recently started game exe so if it did recognise pr.exe it'd get replace when bf2 boots up. notr 100% sure on this, but it think thats why


one way to show everyone is to just set a custom status before you play. So it'll read "Project Reality - Battlefield 2"
This is exactly why it shows as bf2 BUT if you do as i say i think it shows other people but ill have to check when someone comes online. If it works ill tell you all. The icon is simple and is just as OSO said
Copy pr.ico from C:\Program Files\EA GAMES\Battlefield 2\mods\pr\readme\icons to C:\ProgramData\Xfire\Icons and you get the icon
Looked at that just there and your gonna need to resize that file or else ittle look weird/generate and error. You can use paint or something to do that tho...

AHHHH but then you have the problem of changing the bf2 shortname to pr which would also mean bf2 will show up as pr


That should work.

Doing these steps will mean if xfire sees bf2.exe open it will say Project Reality is open BUT i suppose its possible to get it to show the mod by finding the startup properties from the command line parameters of the shortcut if it were any other mod. I still dont know why pr used a seperate ee rather than using a shortcut. Might be due to something resource related but idk.

when i did it myself last night i made the long name of bf2 Project Reality/Battlefield 2 but you could leave this long name as projec reality , mercenaries , allied intent extended whatever and it would show that.

O and btw i did this myself , no guide needed but im sure someone will have made a guide on this too...
This does NOT show your friends that you are playing PR. I may have a workaround for that however. If you implant that part of code onto all of your friends games_xfire then they CAN see that you are playing pr. THAT HAS been proven!
Last edited by jimbo8098 on 2010-08-07 19:48, edited 3 times in total.
jimbo8098
Posts: 7
Joined: 2010-08-06 23:21

Re: Making xfire show other users you are playing project reality

Post by jimbo8098 »

Hmmm but i might be able to send a request to xfire :) or ill upload a modded version of the code for all games plus pr mod
Post Reply

Return to “PR:BF2 General Discussion”