Page 1 of 1

Making xfire show other users you are playing project reality

Posted: 2010-08-06 23:36
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...

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

Posted: 2010-08-07 05:47
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.

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

Posted: 2010-08-07 08:21
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 ;)

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

Posted: 2010-08-07 08:52
by Spec
Mh. It does show it as PR for me, but not for others.

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

Posted: 2010-08-07 11:09
by sweedensniiperr
shouldn't there be a way for both PR and bf2 to show up? (not that i play vbf2 :-P )

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

Posted: 2010-08-07 11:42
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.

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

Posted: 2010-08-07 12:41
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"

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

Posted: 2010-08-07 12:59
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???

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

Posted: 2010-08-07 13:16
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!

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

Posted: 2010-10-10 17:56
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