Xfire coding

From Pilot_51's Wiki
Revision as of 23:48, 1 August 2009 by Pilot 51 (talk | contribs)
Jump to navigation Jump to search

Codes for xfire_games.ini
Provided by Pilot_51 (Xfire username: pilot51)
For more information about the codes, provided by Joonas Lehtolahti (aka GODJonez - Xfire username: godjonez), go to http://xfireplus.com/xfireplus/xfcgs/xfire_games.xhtml
All descriptions are made by me through my own research unless enclosed in quotes and/or signed with a different name.
Feel free to do whatever you want with this as long as you don't remove my credit for descriptions.
For anyone who adds descriptions and wants to keep credit, put your signature on it.


Coding tips

dev_games.ini can be used for a single entry, but if it replaces an entry already in xfire_games.ini it does not entirely overwrite the original entry. (Thanks GODjonez!)


Codes

AlwaysFullScreen [***NEEDS DESCRIPTION***]
CanBeUpForGame [Specifies if Xfire can include the game in the Up For Game menu. ***OBSOLETE***]

FALSE
TRUE


CanaryFlags [***NEEDS DESCRIPTION***]

SONYSTATION


ChangeTolerance [***NEEDS DESCRIPTION***]

6
8


CommandLineMustContain[0] [Specifies what must be included in the command line for the game to be detected.]

%UA_LAUNCHER_EXE_DIR% [Refers to LauncherDirKey.]


CommandLineMustNotContain[0] [Specifies what must not be included in the command line for the game to be detected.]

%UA_LAUNCHER_EXE_DIR% [Refers to LauncherDirKey.]


DetectDirDefault [***NEEDS DESCRIPTION***]
DetectDirKey [***NEEDS DESCRIPTION***]
DetectExe [***NEEDS DESCRIPTION***]
DetectServer [***NEEDS DESCRIPTION***]

FALSE
TRUE


DisableRawUpload [***NEEDS DESCRIPTION***]

1


DisconnectTolerance [***NEEDS DESCRIPTION***]

3
5


ExcludeIPPorts [***NEEDS DESCRIPTION***]
External [***NEEDS DESCRIPTION***]

1


GameClientDataType [***NEEDS DESCRIPTION***]

BF2
COH
GAMESTATS
Q3
JAMP
MAME32
WET
WOW


GameUrl [Used for web games]
Icon [Filename of the game icon stored in Xfire. ***OBSOLETE (replaced by ShortName)***]
IdGameStatsClass [***NEEDS DESCRIPTION***]

CoD United Offensive WinConsole
CoD WinConsole
ET WinConsole
JAMP WinConsole
MOHAA WinConsole
MOHTA WinConsole
Q3 WinConsole
Quake 4 WinConsole


IdGameStatsCmd [***NEEDS DESCRIPTION***]

name;


IdGameStatsTimer [***NEEDS DESCRIPTION***]

60000


IdLogFileModDir [***NEEDS DESCRIPTION***]
IdLogFileName [***NEEDS DESCRIPTION***]

xfire_stats.log


InGameDelay [***NEEDS DESCRIPTION***]

10000
40000
70000


InGameFlags [Special fixes and options for XIG.]
InGameFlags[#] [# corresponds to the # of the InGameRenderer that you want the flags to apply to.]

BLOCK_ASYNC [***NEEDS DESCRIPTION***]
CHECK_LISTENER [***NEEDS DESCRIPTION***]
DDRAW_FLIP_MODE [***NEEDS DESCRIPTION***]
DISABLE_BROWSER  [Disables the Xfire In-Game browser feature]
DISABLE_DIRECT_INPUT_HOOK [Disables all DirectInput for XIG]
DISABLE_FOR_VISTA [Disables XIG in Vista]
DISABLE_LSP [***NEEDS DESCRIPTION***]
DISABLE_RELEASE [Try this if In-Game works in the menus, but not during gameplay.]
DISABLE_SCREENSHOTS [Disables the Xfire screenshot feature]
DISABLE_VIDEO_CAPTURE [Disables the Xfire video recording feature]
DISPATCH_CONURE_MESSAGES [Try this if the game crashes when you try using XIG or if XIG doesn't work.]
ENABLE_BROWSER [Enables XIG web browser - introduced in v1.101]
ENABLE_MOUSE [Enables mouse to work with XIG]
MULTIPLE_WINDOWS [***NEEDS DESCRIPTION***]
NO_DINPUT_KEYCHECK [Disables XIG keyboard detection.]
NO_HIDE_CURSOR [***NEEDS DESCRIPTION***]
OGL_EXTRA_HOOKS [***NEEDS DESCRIPTION***]
REINSTALL_KEYBOARD_HOOK [***NEEDS DESCRIPTION***]
SKIP_DEVICE_RELEASE [***NEEDS DESCRIPTION***]
SUBCLASS_WNDPROC [***NEEDS DESCRIPTION***]
USE_DINPUT1 [Try this if you have no control of the game but can open the XIG window or if the keyboard controls both the game and XIG at the same time.]
USE_DINPUT_MOUSE [Try this if the mouse controls both XIG and the game at the same time.]
USE_PRESENT [Disables XIG for some games?]
USE_SWAPCHAIN [***NEEDS DESCRIPTION***]
USE_WINDOWS_INPUT [Try this if you have no control of the game but can open the XIG window. Might not release control completely to XIG (both game and XIG are controlled by keyboard), in which case you should try USE_DINPUT1. Might disable mouse in XIG2.0]
VALIDATE_USING_EXE_NAME [***NEEDS DESCRIPTION***]
VERIFY_THREADID [***NEEDS DESCRIPTION***]
WGLSWAPLAYERBUFFERS [***NEEDS DESCRIPTION***]
WOLF_ETPRO [Used to fix a Wolfenstein: Enemy Territory bug.]


InGameOGLTextureOffset [***NEEDS DESCRIPTION***]

32000


InGamePaletteIgnore [Something to do with the colors of the Xfire In-Game window.]

1-13,248-254


InGameRenderer [The rendering engine the game uses, adds support for Xfire In-Game.]
InGameRenderer[#] [# is used in sequence starting at 0, used with games that have support for multiple renderers.]

DDRAW
DDRAW2
DDRAW4
D3D7
D3D8
D3D9
D3D10
OGL


InGameBrowserWindow.AlignX [X position of the In-Game browser.*x*] InGameBrowserWindow.AlignY [Y position of the In-Game browser.*y*] InGameBrowserWindow.Alpha [Opacity of the In-Game browser, 0-255.] InGameClockWindow.AlignX [X position of the In-Game clock.*x*] InGameClockWindow.AlignY [Y position of the In-Game clock.*y*] InGameClockWindow.Alpha [Opacity of the In-Game clock, 0-255.] InGameEditOptionsWindow.AlignX [X position of the In-Game options.*x*] InGameEditOptionsWindow.AlignY [Y position of the In-Game options.*y*] InGameEditOptionsWindow.Alpha [Opacity of the In-Game options, 0-255.] InGameEscapeKey [Key pressed to close the In-Game window.]
InGameFPSWindow.AlignX [X position of the In-Game FPS counter.*x*] InGameFPSWindow.AlignY [Y position of the In-Game FPS counter.*y*] InGameFPSWindow.Alpha [Opacity of the In-Game FPS counter, 0-255.] InGameInfoWindow.AlignX [X position of the In-Game notification.*x*]
InGameInfoWindow.AlignY [Y position of the In-Game notification.*y*]
InGameInfoWindow.Alpha [Opacity of the In-Game notification, 0-255.]
InGameInfoWindow.DisplayTime [Time in ms the In-Game notification is displayed.]
InGameInfoWindow.Height [Height of the In-Game notification.]
InGameInfoWindow.Hide [Direction the In-Game notification goes to hide.]
InGameInfoWindow.HideTime [Time in ms the In-Game notification takes to hide.]
InGameInfoWindow.Width [Width of the In-Game notification.]
InGameInfoWindow.X [X position offset of the In-Game notification.]
InGameInfoWindow.Y [Y position offset of the In-Game notification.]
InGameMainWindow.AlignX [X position of the In-Game main.*x*]
InGameMainWindow.AlignY [Y position of the In-Game main.*y*]
InGameMainWindow.Alpha [Opacity of the In-Game main, 0-255.]
InGameMainWindow.Height [Height of the In-Game main.]
InGameMainWindow.Width [Width of the In-Game main.]
InGameMainWindow.X [X position offset of the In-Game main.]
InGameMainWindow.Y [Y position offset of the In-Game main.]
InGameToggleKey1 [First key pressed to open the In-Game main window.]
InGameToggleKey2 [Second key pressed to open the In-Game main window.]
InGameVoiceWindow.AlignX [X position of the In-Game voice chat.*x*] InGameVoiceWindow.AlignY [Y position of the In-Game voice chat.*y*] InGameVoiceWindow.Alpha [Opacity of the In-Game voice chat, 0-255.] [*x* = RIGHT, CENTER, or LEFT.]
[*y* = TOP, CENTER, or BOTTOM.]

InstallHint [***NEEDS DESCRIPTION***]
Launch [This is the game launch string which depends heavily on the variables shown below]

%UA_LAUNCHER_EXE_DIR% [***NEEDS DESCRIPTION***]
%UA_LAUNCHER_EXE_PATH% [Refers to LauncherDirKey+LauncherExe.]
%UA_LAUNCHER_EXTRA_ARGS% [***NEEDS DESCRIPTION***]
%UA_LAUNCHER_LOGIN_ARGS% [***NEEDS DESCRIPTION***]
%UA_LAUNCHER_NETWORK_ARGS% [Refers to LauncherNetworkArgs.]
%UA_LAUNCHER_URL% [Refers to LauncherUrl.]


LauncherDirAppend [Adds to the end of the directory provided by the registry.]
LauncherDirDefault [***NEEDS DESCRIPTION***]
LauncherDirKey [Registry key pointing to the game installation.]
LauncherDirShortcut [Uses a shortcut (.lnk) file instead of the registry to find the directory.]

CSIDL_PROGRAMS [Variable for the Start Menu Programs directory. ***UNCONFIRMED***]


LauncherDirTruncAt [Removes from the end of the directory provided by the registry.]
LauncherExe [Location of the game exe starting from the directory specified in the reg key.]
LauncherLoginArgs [***NEEDS DESCRIPTION***]

%UA_GAME_LOGIN_NAME% [***NEEDS DESCRIPTION***]
%UA_GAME_LOGIN_PASSWORD% [***NEEDS DESCRIPTION***]


LauncherNetworkArgs [Connection details such as server IP, port, username, and password as used in the command line.]

%UA_GAME_HOST_NAME% [Server IP as detected by Xfire or entered in server favorites.]
%UA_GAME_HOST_PORT% [Server port as detected by Xfire or entered in server favorites.]
%UA_LAUNCHER_PASSWORD_ARGS% [Refers to LauncherPasswordArgs.]
%UA_LAUNCHER_RCON_ARGS% [Refers to LauncherRconArgs.]
%UA_LAUNCHER_USERNAME_ARGS% [Refers to LauncherUsernameArgs.]


LauncherPasswordArgs [Password used to join a server as used in the command line.]

%UA_GAME_HOST_PASSWORD% [Password typed in Xfire before joining a passworded server.]


LauncherRconArgs [***NEEDS DESCRIPTION***]

%UA_GAME_RCON_PASSWORD%


LauncherUrl [***NEEDS DESCRIPTION***]
LauncherUsernameArgs [Username used to join a server as used in the command line.]

%UA_GAME_HOST_USERNAME% [Nickname used in Xfire.]


Locale [***NEEDS DESCRIPTION***]

WoW


LobbyGUID [***NEEDS DESCRIPTION***]
LobbyType [***NEEDS DESCRIPTION***]

DP [DirectPlay]
DP8 [DirectPlay8]


LongName [Full name of the game as displayed in Xfire.]
MatchExe [***NEEDS DESCRIPTION***]
ParseIdClientSide [***NEEDS DESCRIPTION***]

1


PlayingDetectType [Tells Xfire how to detect ProcessWindowTitle.]

ByProcessWindow
ByWindow
ByWindowSubstr


ProcessWindowTitle [Title of the game window that Xfire uses for identification.]
RunElevated [***NEEDS DESCRIPTION***]

1


ServerBroadcastPort [***NEEDS DESCRIPTION***]

20100:4
22000:11
2302:10
27960:4
27015:6,4242
27910
28004:4
28070:4
28960:4
29070:10,21000
29900:51
37010
7787,7778


ServerEncodingType [***NEEDS DESCRIPTION***]

UTF8


ServerGameName ["A regular expression to differentiate between multiple games that have the same server info type and port (such as the various Source games)"]

.*
battlefield2
bfield1942
bfvietnam
Call of Duty$
Call of Duty 2
CoD:United Offensive
Condition Zero
Counter-Strike$
Counter-Strike
Counter-Strike: Source
Day of Defeat
Digital Paintball
DMC
ET
Half-Life
JAmp,(internal)JAmp
JK2MP
NS v3
OpFor Teamplay
OpFor Teamplay,Opposing Force
Q3
Quake4 Final
Ricochet
sc2007
SOF2MP
SvenCoop
Team Fortress Classic
TS
ut2004


ServerStatusType [Server status type used to show proper server information, pre-configured in Xfire.]

AA [America's Army]
ASE [All Seeing Eye]
BF1942 [Battlefield 1942]
BFVIETNAM
COD [Call Of Duty]
DEUSEX
DOOM3
FL
DH2K5 [Deer Hunter 2005]
GHOSTR
GORE
GS
GS2
HL [Half-Life]
HLSTEAM [Steam]
HND2
LITH
MOHAA [Medal Of Honor: Allied Assault]
NWN [NeverWinter Nights]
OPFLASH
PAINKILLER
Q2 [Quake 2]
Q3A [Quake 3 Arena]
QW [Quake Worlds]
R63 [Rainbow Six 3]
RNG
SAVAGE
SCRTK
SOURCE
THPS3 [Tony Hawk's Pro Skater 3]
TRIBES
TRIBES2
TRIBESV
U2 [Unreal 2]
UT [Unreal Tournament]
UT2K3 [Unreal Tournament 2003]
VCG
WOLFET [Wolfensein: Enemy Territory]


Shortname [Short name of the game, usually abbreviated. Used as the identfier.]
SoftwareType [Used to identify non-game programs so Xfire deals with them differently.]

VoiceChat