#1  
Old 01-30-2006, 02:25 PM
Senior Member
 

Join Date: May 2005
Posts: 1,152
Default
this is a very easy tweak to allow xfire to detect when you're playing games you have cracked.

first, open up "xfire_games.ini" in your xfire directory. ctrl+f, and search for whatever game you're tweaking. for this example i'll use diablo 2:lod.

i searched for "diablo" and found this:


Code:
[4285] 
LongName=Diablo II - Lord of Destruction 
ShortName=d2lod 
LauncherDirKey=HKEY_LOCAL_MACHINE\SOFTWARE\Blizzard Entertainment\Diablo II\InstallPath 
LauncherExe=Diablo II.exe 
DetectExe=Diablo II.exe 
InstallHint=d2exp.mpq 
Launch=%UA_LAUNCHER_EXE_PATH% %UA_LAUNCHER_EXTRA_ARGS% %UA_LAUNCHER_NETWORK_ARGS% 
InGameRenderer=DDRAW 
ChangeTolerance=8

the 2 important lines are:


Code:
LauncherExe=Diablo II.exe 
DetectExe=Game.exe

the LauncherExe= line is the executable that xfire uses to launch the game from Tools->Launch (and is the default shortcut when you install the game).
the DetectExe= line is the exe xfire looks for to know when to change your status to playing the game and injects itself into it.

the problem with this is a lot of the time when you install a no-cd crack, the crack either overwrites the launcher so it doesn't point to the original "game.exe" or changes the "game.exe" to something completely different. however, you can fix this in a few easy steps.



-open xfire_games.ini and find the game you're wanting to tweak. again i'll be using d2:lod.
-run the game with the crack like you normally would, then alt-tab out, hit ctrl + alt +del and go to your processes tab.
-look for your game on the list. it'll either be like "game.exe" or "game name.exe" and it will probably be using more ram than anything else.
here's mine for d2:



-so the crack i installed overwrote d2's launcher and directed it at itself instead of the normal "Game.exe"
-go back into xfire_games.ini and look for the line:


Code:
DetectExe=

-replace whatever is there with the exe you saw in your processes. so my new d2:lod section looks like this:


Code:
[4285] 
LongName=Diablo II - Lord of Destruction 
ShortName=d2lod 
LauncherDirKey=HKEY_LOCAL_MACHINE\SOFTWARE\Blizzard Entertainment\Diablo II\InstallPath 
LauncherExe=Diablo II.exe 
DetectExe=Diablo II.exe 
InstallHint=d2exp.mpq 
Launch=%UA_LAUNCHER_EXE_PATH% %UA_LAUNCHER_EXTRA_ARGS% %UA_LAUNCHER_NETWORK_ARGS% 
InGameRenderer=DDRAW 
ChangeTolerance=8

-save xfire_games.ini and restart xfire. it will now pick up your cracked game.

source
__________________
Head of Advertising
Use one of these in your sig on other forums.
http://www.vgamingonline.net/forum/i...showtopic=3831
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 08:23 PM.


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.