Difference between revisions of "Xfire coding"

From Pilot_51's Wiki
Jump to navigation Jump to search
Line 1: Line 1:
Codes for xfire_games.ini<br>
+
Code properties for xfire_games.ini<br />
Provided by Pilot_51 (Xfire username: pilot51)<br>
+
Provided by Pilot_51 (Xfire username: pilot51).<br />
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<br>
+
All descriptions are made by me through my own testing and research unless enclosed in quotes and/or signed with a different name.<br />
All descriptions are made by me through my own research unless enclosed in quotes and/or signed with a different name.<br>
+
^ = Xfire's official description.<br />
Feel free to do whatever you want with this as long as you don't remove my credit for descriptions. <br>
+
Feel free to use this content elsewhere as long as you don't remove credit for descriptions.<br />
For anyone who adds descriptions and wants to keep credit, put your signature on it.<br>
+
If you add descriptions and wants to keep credit, put your signature on it.<br />
<br>
+
<br />
<br>
+
<br />
 
 
 
== Coding tips ==
 
== 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!)<br />
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!)<br>
+
<br />
<br>
+
<br />
<br>
 
 
 
 
== Codes ==
 
== Codes ==
 
 
AlwaysFullScreen [***NEEDS DESCRIPTION***]
 
AlwaysFullScreen [***NEEDS DESCRIPTION***]
<br>
+
<br />
 
CanBeUpForGame [Specifies if Xfire can include the game in the Up For Game menu. '''***OBSOLETE***''']
 
CanBeUpForGame [Specifies if Xfire can include the game in the Up For Game menu. '''***OBSOLETE***''']
 
  FALSE
 
  FALSE
 
  TRUE
 
  TRUE
<br>
+
<br />
 
CanaryFlags [***NEEDS DESCRIPTION***]
 
CanaryFlags [***NEEDS DESCRIPTION***]
 
  SONYSTATION
 
  SONYSTATION
<br>
+
<br />
 
ChangeTolerance [***NEEDS DESCRIPTION***]
 
ChangeTolerance [***NEEDS DESCRIPTION***]
 
  6
 
  6
 
  8
 
  8
<br>
+
<br />
 
CommandLineMustContain[0] [Specifies what must be included in the command line for the game to be detected.]
 
CommandLineMustContain[0] [Specifies what must be included in the command line for the game to be detected.]
 
  %UA_LAUNCHER_EXE_DIR% [Refers to LauncherDirKey.]
 
  %UA_LAUNCHER_EXE_DIR% [Refers to LauncherDirKey.]
<br>
+
<br />
 
CommandLineMustNotContain[0] [Specifies what must not be included in the command line for the game to be detected.]
 
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.]
 
  %UA_LAUNCHER_EXE_DIR% [Refers to LauncherDirKey.]
<br>
+
<br />
 
DetectDirDefault [***NEEDS DESCRIPTION***]
 
DetectDirDefault [***NEEDS DESCRIPTION***]
<br>
+
<br />
 
DetectDirKey [***NEEDS DESCRIPTION***]
 
DetectDirKey [***NEEDS DESCRIPTION***]
<br>
+
<br />
 
DetectExe [***NEEDS DESCRIPTION***]
 
DetectExe [***NEEDS DESCRIPTION***]
<br>
+
<br />
 
DetectServer [***NEEDS DESCRIPTION***]
 
DetectServer [***NEEDS DESCRIPTION***]
 
  FALSE
 
  FALSE
 
  TRUE
 
  TRUE
<br>
+
<br />
 
DisableRawUpload [***NEEDS DESCRIPTION***]
 
DisableRawUpload [***NEEDS DESCRIPTION***]
 
  1
 
  1
<br>
+
<br />
 
DisconnectTolerance [***NEEDS DESCRIPTION***]
 
DisconnectTolerance [***NEEDS DESCRIPTION***]
 
  3
 
  3
 
  5
 
  5
<br>
+
<br />
 
ExcludeIPPorts [***NEEDS DESCRIPTION***]
 
ExcludeIPPorts [***NEEDS DESCRIPTION***]
<br>
+
<br />
 
External [***NEEDS DESCRIPTION***]
 
External [***NEEDS DESCRIPTION***]
 
  1
 
  1
<br>
+
<br />
 
ForceJoinPasswordedServer [***NEEDS DESCRIPTION***]
 
ForceJoinPasswordedServer [***NEEDS DESCRIPTION***]
 
  1
 
  1
<br>
+
<br />
 
GameClientDataType [***NEEDS DESCRIPTION***]
 
GameClientDataType [***NEEDS DESCRIPTION***]
 
  BF2
 
  BF2
Line 69: Line 65:
 
  WET
 
  WET
 
  WOW
 
  WOW
<br>
+
<br />
 
GameUrl [Used for web games]
 
GameUrl [Used for web games]
<br>
+
<br />
 
Icon [Filename of the game icon stored in Xfire.  '''***OBSOLETE (replaced by ShortName)***''']
 
Icon [Filename of the game icon stored in Xfire.  '''***OBSOLETE (replaced by ShortName)***''']
<br>
+
<br />
 
IdGameStatsClass [***NEEDS DESCRIPTION***]
 
IdGameStatsClass [***NEEDS DESCRIPTION***]
 
  CoD United Offensive WinConsole
 
  CoD United Offensive WinConsole
Line 83: Line 79:
 
  Q3 WinConsole
 
  Q3 WinConsole
 
  Quake 4 WinConsole
 
  Quake 4 WinConsole
<br>
+
<br />
 
IdGameStatsCmd [***NEEDS DESCRIPTION***]
 
IdGameStatsCmd [***NEEDS DESCRIPTION***]
 
  name;
 
  name;
<br>
+
<br />
 
IdGameStatsTimer [***NEEDS DESCRIPTION***]
 
IdGameStatsTimer [***NEEDS DESCRIPTION***]
 
  60000
 
  60000
<br>
+
<br />
 
IdLogFileModDir [***NEEDS DESCRIPTION***]
 
IdLogFileModDir [***NEEDS DESCRIPTION***]
<br>
+
<br />
 
IdLogFileName [***NEEDS DESCRIPTION***]
 
IdLogFileName [***NEEDS DESCRIPTION***]
 
  xfire_stats.log
 
  xfire_stats.log
<br>
+
<br />
 
InGameDelay [***NEEDS DESCRIPTION***]
 
InGameDelay [***NEEDS DESCRIPTION***]
 
  10000
 
  10000
 
  40000
 
  40000
 
  70000
 
  70000
<br>
+
<br />
 
InGameFlags [Special fixes and options for XIG.]
 
InGameFlags [Special fixes and options for XIG.]
<br>
+
<br />
 
InGameFlags[#] [# corresponds to the # of the InGameRenderer that you want the flags to apply to.]
 
InGameFlags[#] [# corresponds to the # of the InGameRenderer that you want the flags to apply to.]
 
  ACTIVATE_APP [***NEEDS DESCRIPTION***]
 
  ACTIVATE_APP [***NEEDS DESCRIPTION***]
Line 107: Line 103:
 
  CHECK_LISTENER [***NEEDS DESCRIPTION***]
 
  CHECK_LISTENER [***NEEDS DESCRIPTION***]
 
  CLEAR_CLIP_CURSOR [***NEEDS DESCRIPTION***]
 
  CLEAR_CLIP_CURSOR [***NEEDS DESCRIPTION***]
  DDRAW_FLIP_MODE [***NEEDS DESCRIPTION***]
+
  DDRAW_FLIP_MODE ["Flips the DDRAW (Direct Draw) 1 and 2 buffers to be 2 and 1." ^]
 
  DISABLE_BROWSER  [Disables the Xfire In-Game browser feature]
 
  DISABLE_BROWSER  [Disables the Xfire In-Game browser feature]
 
  DISABLE_DIRECT_INPUT_HOOK [Disables all DirectInput for XIG]
 
  DISABLE_DIRECT_INPUT_HOOK [Disables all DirectInput for XIG]
 
  DISABLE_FOR_VISTA [Disables XIG in Vista]
 
  DISABLE_FOR_VISTA [Disables XIG in Vista]
 
  DISABLE_LSP [***NEEDS DESCRIPTION***]
 
  DISABLE_LSP [***NEEDS DESCRIPTION***]
  DISABLE_RELEASE [Try this if In-Game works in the menus, but not during gameplay.]
+
  DISABLE_RELEASE ["Common problems in games. Release gets called to scrap textures and information. Usually happens when the game closes or is alt+tabbled, if not handled properly can crash the game or Xfire. This corrects the crash." ^ | Try this if In-Game works in the menus, but not during gameplay.]
 
  DISABLE_SCREENSHOTS [Disables the Xfire screenshot feature]
 
  DISABLE_SCREENSHOTS [Disables the Xfire screenshot feature]
 
  DISABLE_VIDEO_CAPTURE [Disables the Xfire video recording 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.]
+
  DISPATCH_CONURE_MESSAGES ["Used when messages are not being sent between the game and Xfire. It re-establishes the communication between XIG and Xfire." ^ | 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_BROWSER [Enables XIG web browser - introduced in v1.101]
 
  ENABLE_MOUSE [Enables mouse to work with XIG]
 
  ENABLE_MOUSE [Enables mouse to work with XIG]
Line 130: Line 126:
 
  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_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_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_PRESENT ["Used in D3D (Direct 3D) games. It prevents XIG from drawing our Graphical User Interface on the game's textures, like floors and walls." ^]
 
  USE_SWAPCHAIN [***NEEDS DESCRIPTION***]
 
  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]
 
  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]
Line 138: Line 134:
 
  WGLSWAPLAYERBUFFERS [***NEEDS DESCRIPTION***]
 
  WGLSWAPLAYERBUFFERS [***NEEDS DESCRIPTION***]
 
  WOLF_ETPRO [Used to fix a Wolfenstein: Enemy Territory bug.]
 
  WOLF_ETPRO [Used to fix a Wolfenstein: Enemy Territory bug.]
<br>
+
<br />
 
InGameOGLTextureOffset [***NEEDS DESCRIPTION***]
 
InGameOGLTextureOffset [***NEEDS DESCRIPTION***]
 
  32000
 
  32000
<br>
+
<br />
 
InGamePaletteIgnore [Something to do with the colors of the Xfire In-Game window.]
 
InGamePaletteIgnore [Something to do with the colors of the Xfire In-Game window.]
 
  1-13,248-254
 
  1-13,248-254
<br>
+
<br />
 
InGameRenderer [The rendering engine the game uses, adds support for Xfire In-Game.]
 
InGameRenderer [The rendering engine the game uses, adds support for Xfire In-Game.]
<br>
+
<br />
 
InGameRenderer[#] [# is used in sequence starting at 0, used with games that have support for multiple renderers.]
 
InGameRenderer[#] [# is used in sequence starting at 0, used with games that have support for multiple renderers.]
 
  DDRAW
 
  DDRAW
Line 156: Line 152:
 
  D3D10
 
  D3D10
 
  OGL
 
  OGL
<br>
+
<br />
InGameBrowserWindow.AlignX [X position of the In-Game browser.*x*]<br>
+
InGameBrowserWindow.AlignX [X position of the In-Game browser.*x*]<br />
InGameBrowserWindow.AlignY [Y position of the In-Game browser.*y*]<br>
+
InGameBrowserWindow.AlignY [Y position of the In-Game browser.*y*]<br />
InGameBrowserWindow.Alpha [Opacity of the In-Game browser, 0-255.]<br>
+
InGameBrowserWindow.Alpha [Opacity of the In-Game browser, 0-255.]<br />
InGameClockWindow.AlignX [X position of the In-Game clock.*x*]<br>
+
InGameClockWindow.AlignX [X position of the In-Game clock.*x*]<br />
InGameClockWindow.AlignY [Y position of the In-Game clock.*y*]<br>
+
InGameClockWindow.AlignY [Y position of the In-Game clock.*y*]<br />
InGameClockWindow.Alpha [Opacity of the In-Game clock, 0-255.]<br>
+
InGameClockWindow.Alpha [Opacity of the In-Game clock, 0-255.]<br />
InGameEditOptionsWindow.AlignX [X position of the In-Game options.*x*]<br>
+
InGameEditOptionsWindow.AlignX [X position of the In-Game options.*x*]<br />
InGameEditOptionsWindow.AlignY [Y position of the In-Game options.*y*]<br>
+
InGameEditOptionsWindow.AlignY [Y position of the In-Game options.*y*]<br />
InGameEditOptionsWindow.Alpha [Opacity of the In-Game options, 0-255.]<br>
+
InGameEditOptionsWindow.Alpha [Opacity of the In-Game options, 0-255.]<br />
InGameEscapeKey [Key pressed to close the In-Game window.]<br>
+
InGameEscapeKey [Key pressed to close the In-Game window.]<br />
InGameFPSWindow.AlignX [X position of the In-Game FPS counter.*x*]<br>
+
InGameFPSWindow.AlignX [X position of the In-Game FPS counter.*x*]<br />
InGameFPSWindow.AlignY [Y position of the In-Game FPS counter.*y*]<br>
+
InGameFPSWindow.AlignY [Y position of the In-Game FPS counter.*y*]<br />
InGameFPSWindow.Alpha [Opacity of the In-Game FPS counter, 0-255.]<br>
+
InGameFPSWindow.Alpha [Opacity of the In-Game FPS counter, 0-255.]<br />
InGameInfoWindow.AlignX [X position of the In-Game notification.*x*]<br>
+
InGameInfoWindow.AlignX [X position of the In-Game notification.*x*]<br />
InGameInfoWindow.AlignY [Y position of the In-Game notification.*y*]<br>
+
InGameInfoWindow.AlignY [Y position of the In-Game notification.*y*]<br />
InGameInfoWindow.Alpha [Opacity of the In-Game notification, 0-255.]<br>
+
InGameInfoWindow.Alpha [Opacity of the In-Game notification, 0-255.]<br />
InGameInfoWindow.DisplayTime [Time in ms the In-Game notification is displayed.]<br>
+
InGameInfoWindow.DisplayTime [Time in ms the In-Game notification is displayed.]<br />
InGameInfoWindow.Height [Height of the In-Game notification.]<br>
+
InGameInfoWindow.Height [Height of the In-Game notification.]<br />
InGameInfoWindow.Hide [Direction the In-Game notification goes to hide.]<br>
+
InGameInfoWindow.Hide [Direction the In-Game notification goes to hide.]<br />
InGameInfoWindow.HideTime [Time in ms the In-Game notification takes to hide.]<br>
+
InGameInfoWindow.HideTime [Time in ms the In-Game notification takes to hide.]<br />
InGameInfoWindow.Width [Width of the In-Game notification.]<br>
+
InGameInfoWindow.Width [Width of the In-Game notification.]<br />
InGameInfoWindow.X [X position offset of the In-Game notification.]<br>
+
InGameInfoWindow.X [X position offset of the In-Game notification.]<br />
InGameInfoWindow.Y [Y position offset of the In-Game notification.]<br>
+
InGameInfoWindow.Y [Y position offset of the In-Game notification.]<br />
InGameMainWindow.AlignX [X position of the In-Game main.*x*]<br>
+
InGameMainWindow.AlignX [X position of the In-Game main.*x*]<br />
InGameMainWindow.AlignY [Y position of the In-Game main.*y*]<br>
+
InGameMainWindow.AlignY [Y position of the In-Game main.*y*]<br />
InGameMainWindow.Alpha [Opacity of the In-Game main, 0-255.]<br>
+
InGameMainWindow.Alpha [Opacity of the In-Game main, 0-255.]<br />
InGameMainWindow.Height [Height of the In-Game main.]<br>
+
InGameMainWindow.Height [Height of the In-Game main.]<br />
InGameMainWindow.Width [Width of the In-Game main.]<br>
+
InGameMainWindow.Width [Width of the In-Game main.]<br />
InGameMainWindow.X [X position offset of the In-Game main.]<br>
+
InGameMainWindow.X [X position offset of the In-Game main.]<br />
InGameMainWindow.Y [Y position offset of the In-Game main.]<br>
+
InGameMainWindow.Y [Y position offset of the In-Game main.]<br />
InGameToggleKey1 [First key pressed to open the In-Game main window.]<br>
+
InGameToggleKey1 [First key pressed to open the In-Game main window.]<br />
InGameToggleKey2 [Second key pressed to open the In-Game main window.]<br>
+
InGameToggleKey2 [Second key pressed to open the In-Game main window.]<br />
InGameVoiceWindow.AlignX [X position of the In-Game voice chat.*x*]<br>
+
InGameVoiceWindow.AlignX [X position of the In-Game voice chat.*x*]<br />
InGameVoiceWindow.AlignY [Y position of the In-Game voice chat.*y*]<br>
+
InGameVoiceWindow.AlignY [Y position of the In-Game voice chat.*y*]<br />
InGameVoiceWindow.Alpha [Opacity of the In-Game voice chat, 0-255.]<br>
+
InGameVoiceWindow.Alpha [Opacity of the In-Game voice chat, 0-255.]<br />
[*x* = RIGHT, CENTER, or LEFT.]<br>
+
[*x* = RIGHT, CENTER, or LEFT.]<br />
[*y* = TOP, CENTER, or BOTTOM.]<br>
+
[*y* = TOP, CENTER, or BOTTOM.]<br />
<br>
+
<br />
 
InstallHint [***NEEDS DESCRIPTION***]
 
InstallHint [***NEEDS DESCRIPTION***]
<br>
+
<br />
 
Launch [This is the game launch string which depends heavily on the variables shown below]
 
Launch [This is the game launch string which depends heavily on the variables shown below]
 
  %UA_LAUNCHER_EXE_DIR% [***NEEDS DESCRIPTION***]
 
  %UA_LAUNCHER_EXE_DIR% [***NEEDS DESCRIPTION***]
Line 204: Line 200:
 
  %UA_LAUNCHER_NETWORK_ARGS% [Refers to LauncherNetworkArgs.]
 
  %UA_LAUNCHER_NETWORK_ARGS% [Refers to LauncherNetworkArgs.]
 
  %UA_LAUNCHER_URL% [Refers to LauncherUrl.]
 
  %UA_LAUNCHER_URL% [Refers to LauncherUrl.]
<br>
+
<br />
 
LauncherDirAppend [Adds to the end of the directory provided by the registry.]
 
LauncherDirAppend [Adds to the end of the directory provided by the registry.]
<br>
+
<br />
 
LauncherDirDefault [***NEEDS DESCRIPTION***]
 
LauncherDirDefault [***NEEDS DESCRIPTION***]
<br>
+
<br />
 
LauncherDirKey [Registry key pointing to the game installation.]
 
LauncherDirKey [Registry key pointing to the game installation.]
<br>
+
<br />
 
LauncherDirShortcut [Uses a shortcut (.lnk) file instead of the registry to find the directory.]
 
LauncherDirShortcut [Uses a shortcut (.lnk) file instead of the registry to find the directory.]
 
  CSIDL_PROGRAMS [Variable for the Start Menu Programs directory. ***UNCONFIRMED***]
 
  CSIDL_PROGRAMS [Variable for the Start Menu Programs directory. ***UNCONFIRMED***]
<br>
+
<br />
 
LauncherDirTruncAt [Removes from the end of the directory provided by the registry.]
 
LauncherDirTruncAt [Removes from the end of the directory provided by the registry.]
<br>
+
<br />
 
LauncherExe [Location of the game exe starting from the directory specified in the reg key.]
 
LauncherExe [Location of the game exe starting from the directory specified in the reg key.]
<br>
+
<br />
 
LauncherLoginArgs [***NEEDS DESCRIPTION***]
 
LauncherLoginArgs [***NEEDS DESCRIPTION***]
 
  %UA_GAME_LOGIN_NAME% [***NEEDS DESCRIPTION***]
 
  %UA_GAME_LOGIN_NAME% [***NEEDS DESCRIPTION***]
 
  %UA_GAME_LOGIN_PASSWORD% [***NEEDS DESCRIPTION***]
 
  %UA_GAME_LOGIN_PASSWORD% [***NEEDS DESCRIPTION***]
<br>
+
<br />
 
LauncherNetworkArgs [Connection details such as server IP, port, username, and password as used in the command line.]
 
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_NAME% [Server IP as detected by Xfire or entered in server favorites.]
Line 228: Line 224:
 
  %UA_LAUNCHER_RCON_ARGS% [Refers to LauncherRconArgs.]
 
  %UA_LAUNCHER_RCON_ARGS% [Refers to LauncherRconArgs.]
 
  %UA_LAUNCHER_USERNAME_ARGS% [Refers to LauncherUsernameArgs.]
 
  %UA_LAUNCHER_USERNAME_ARGS% [Refers to LauncherUsernameArgs.]
<br>
+
<br />
 
LauncherPasswordArgs [Password used to join a server as used in the command line.]
 
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.]
 
  %UA_GAME_HOST_PASSWORD% [Password typed in Xfire before joining a passworded server.]
<br>
+
<br />
 
LauncherRconArgs [***NEEDS DESCRIPTION***]
 
LauncherRconArgs [***NEEDS DESCRIPTION***]
 
  %UA_GAME_RCON_PASSWORD%
 
  %UA_GAME_RCON_PASSWORD%
<br>
+
<br />
 
LauncherUrl [***NEEDS DESCRIPTION***]
 
LauncherUrl [***NEEDS DESCRIPTION***]
<br>
+
<br />
 
LauncherUsernameArgs [Username used to join a server as used in the command line.]
 
LauncherUsernameArgs [Username used to join a server as used in the command line.]
 
  %UA_GAME_HOST_USERNAME% [Nickname used in Xfire.]
 
  %UA_GAME_HOST_USERNAME% [Nickname used in Xfire.]
<br>
+
<br />
 
Locale [***NEEDS DESCRIPTION***]
 
Locale [***NEEDS DESCRIPTION***]
 
  WoW
 
  WoW
<br>
+
<br />
 
LobbyGUID [***NEEDS DESCRIPTION***]
 
LobbyGUID [***NEEDS DESCRIPTION***]
<br>
+
<br />
 
LobbyType [***NEEDS DESCRIPTION***]
 
LobbyType [***NEEDS DESCRIPTION***]
 
  DP [DirectPlay]
 
  DP [DirectPlay]
 
  DP8 [DirectPlay8]
 
  DP8 [DirectPlay8]
<br>
+
<br />
 
LongName [Full name of the game as displayed in Xfire.]
 
LongName [Full name of the game as displayed in Xfire.]
<br>
+
<br />
 
MatchExe [***NEEDS DESCRIPTION***]
 
MatchExe [***NEEDS DESCRIPTION***]
<br>
+
<br />
 
ParseIdClientSide [***NEEDS DESCRIPTION***]
 
ParseIdClientSide [***NEEDS DESCRIPTION***]
 
  1
 
  1
<br>
+
<br />
 
PlayingDetectType [Tells Xfire how to detect ProcessWindowTitle.]
 
PlayingDetectType [Tells Xfire how to detect ProcessWindowTitle.]
 
  ByProcessWindow
 
  ByProcessWindow
 
  ByWindow
 
  ByWindow
 
  ByWindowSubstr
 
  ByWindowSubstr
<br>
+
<br />
 
ProcessWindowTitle [Title of the game window that Xfire uses for identification.]
 
ProcessWindowTitle [Title of the game window that Xfire uses for identification.]
<br>
+
<br />
 
RunElevated [***NEEDS DESCRIPTION***]
 
RunElevated [***NEEDS DESCRIPTION***]
 
  1
 
  1
<br>
+
<br />
 
ServerBroadcastPort [***NEEDS DESCRIPTION***]
 
ServerBroadcastPort [***NEEDS DESCRIPTION***]
 
  20100:4
 
  20100:4
Line 280: Line 276:
 
  37010
 
  37010
 
  7787,7778
 
  7787,7778
<br>
+
<br />
 
ServerEncodingType [***NEEDS DESCRIPTION***]
 
ServerEncodingType [***NEEDS DESCRIPTION***]
 
  UTF8
 
  UTF8
<br>
+
<br />
 
ServerGameName ["A regular expression to differentiate between multiple games that have the same server info type and port (such as the various Source games)"]
 
ServerGameName ["A regular expression to differentiate between multiple games that have the same server info type and port (such as the various Source games)"]
 
  .*
 
  .*
Line 315: Line 311:
 
  TS
 
  TS
 
  ut2004
 
  ut2004
<br>
+
<br />
 
ServerStatusType [Server status type used to show proper server information, pre-configured in Xfire.]
 
ServerStatusType [Server status type used to show proper server information, pre-configured in Xfire.]
 
  AA [America's Army]
 
  AA [America's Army]
Line 355: Line 351:
 
  VCG
 
  VCG
 
  WOLFET [Wolfensein: Enemy Territory]
 
  WOLFET [Wolfensein: Enemy Territory]
<br>
+
<br />
 
Shortname [Short name of the game, usually abbreviated.  Used as the identfier.]
 
Shortname [Short name of the game, usually abbreviated.  Used as the identfier.]
<br>
+
<br />
 
SoftwareType [Used to identify non-game programs so Xfire deals with them differently.]
 
SoftwareType [Used to identify non-game programs so Xfire deals with them differently.]
 
  VoiceChat
 
  VoiceChat

Revision as of 23:38, 1 November 2010

Code properties for xfire_games.ini
Provided by Pilot_51 (Xfire username: pilot51).
All descriptions are made by me through my own testing and research unless enclosed in quotes and/or signed with a different name.
^ = Xfire's official description.
Feel free to use this content elsewhere as long as you don't remove credit for descriptions.
If you add 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


ForceJoinPasswordedServer [***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.]

ACTIVATE_APP [***NEEDS DESCRIPTION***]
BLOCK_ASYNC [***NEEDS DESCRIPTION***]
CHECK_LISTENER [***NEEDS DESCRIPTION***]
CLEAR_CLIP_CURSOR [***NEEDS DESCRIPTION***]
DDRAW_FLIP_MODE ["Flips the DDRAW (Direct Draw) 1 and 2 buffers to be 2 and 1." ^]
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 ["Common problems in games. Release gets called to scrap textures and information. Usually happens when the game closes or is alt+tabbled, if not handled properly can crash the game or Xfire. This corrects the crash." ^ | 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 ["Used when messages are not being sent between the game and Xfire. It re-establishes the communication between XIG and Xfire." ^ | 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]
FIX_FLICKER [***NEEDS DESCRIPTION***]
FORCE_REHOOK [***NEEDS DESCRIPTION***]
HIDE_CURSOR [***NEEDS DESCRIPTION***]
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 ["Used in D3D (Direct 3D) games. It prevents XIG from drawing our Graphical User Interface on the game's textures, like floors and walls." ^]
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***]
WEBGAME [Used for web games.]
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

VistaInGameFlags [A separate set of InGameFlags for Vista]