gamedata/sdktools.games.txt
author David Anderson <dvander@alliedmods.net>
Sun Jul 08 02:59:08 2007 +0000 (2007-07-08)
changeset 1056 78c16f695f24
parent 1031 d9cf44ddcd9c
child 1062 c6fd62f429fc
permissions -rw-r--r--
- added radiomenu support for insurgency
- added dod, dystopia, hl2mp, and insurgency support to sdktools
     1 "Games"
     2 {
     3 	/* General Temp Entities */
     4 	"#default"
     5 	{
     6 		"#supported"
     7 		{
     8 			"game"		"cstrike"
     9 			"game"		"dod"
    10 			"game"		"hl2mp"
    11 			"game"		"insurgency"
    12 			"game"		"dystopia_v1"
    13 		}
    14 
    15 		"Offsets"
    16 		{
    17 			/* Offset into CBaseTempEntity constructor */
    18 			"s_pTempEntities"
    19 			{
    20 				"windows"	"17"
    21 				"linux"		"27"
    22 			}
    23 			"GetTEName"
    24 			{
    25 				"windows"	"4"
    26 				"linux"		"4"
    27 			}
    28 			"GetTENext"
    29 			{
    30 				"windows"	"8"
    31 				"linux"		"8"
    32 			}
    33 			"TE_GetServerClass"
    34 			{
    35 				"windows"	"1"
    36 				"linux"		"1"
    37 			}
    38 		}
    39 
    40 		"Signatures"
    41 		{
    42 			"CBaseTempEntity"
    43 			{
    44 				"library"	"server"
    45 				"windows"	"\x8B\xC1\x8B\x4C\x24\x04\xC7\x00\x2A\x2A\x2A\x2A\x89\x48\x04\x8B\x15\x2A\x2A\x2A\x2A\x89\x50\x08\xA3\x2A\x2A\x2A\x2A\xC2\x04\x00"
    46 				"linux"		"@_ZN15CBaseTempEntityC2EPKc"
    47 			}
    48 		}
    49 	}
    50 
    51 	/* HL2MP */
    52 	"hl2mp"
    53 	{
    54 		"Offsets"
    55 		{
    56 			"GiveNamedItem"
    57 			{
    58 				"windows"	"327"
    59 				"linux"		"328"
    60 			}
    61 			"RemovePlayerItem"
    62 			{
    63 				"windows"	"225"
    64 				"linux"		"226"
    65 			}
    66 			"Weapon_GetSlot"
    67 			{
    68 				"windows"	"223"
    69 				"linux"		"224"
    70 			}
    71 			"Ignite"
    72 			{
    73 				"windows"	"187"
    74 				"linux"		"188"
    75 			}
    76 			"Extinguish"
    77 			{
    78 				"windows"	"188"
    79 				"linux"		"189"
    80 			}
    81 			"Teleport"
    82 			{
    83 				"windows"	"97"
    84 				"linux"		"98"
    85 			}
    86 		}
    87 	}
    88 
    89 	/* Counter-Strike: Source */
    90 	"cstrike"
    91 	{
    92 		"Offsets"
    93 		{
    94 			"GiveNamedItem"
    95 			{
    96 				"windows"	"329"
    97 				"linux"		"330"
    98 			}
    99 			"RemovePlayerItem"
   100 			{
   101 				"windows"	"226"
   102 				"linux"		"227"
   103 			}
   104 			"Weapon_GetSlot"
   105 			{
   106 				"windows"	"224"
   107 				"linux"		"225"
   108 			}
   109 			"Ignite"
   110 			{
   111 				"windows"	"188"
   112 				"linux"		"189"
   113 			}
   114 			"Extinguish"
   115 			{
   116 				"windows"	"189"
   117 				"linux"		"190"
   118 			}
   119 			"Teleport"
   120 			{
   121 				"windows"	"98"
   122 				"linux"		"99"
   123 			}
   124 		}
   125 	}
   126 
   127 	/* Day of Defeat */
   128 	"dod"
   129 	{
   130 		"Offsets"
   131 		{
   132 			"GiveNamedItem"
   133 			{
   134 				"windows"	"328"
   135 				"linux"		"330"
   136 			}
   137 			"RemovePlayerItem"
   138 			{
   139 				"windows"	"226"
   140 				"linux"		"227"
   141 			}
   142 			"Weapon_GetSlot"
   143 			{
   144 				"windows"	"224"
   145 				"linux"		"225"
   146 			}
   147 			"Ignite"
   148 			{
   149 				"windows"	"188"
   150 				"linux"		"189"
   151 			}
   152 			"Extinguish"
   153 			{
   154 				"windows"	"189"
   155 				"linux"		"190"
   156 			}
   157 			"Teleport"
   158 			{
   159 				"windows"	"98"
   160 				"linux"		"99"
   161 			}
   162 		}
   163 	}
   164 
   165 	/* Insurgency */
   166 	"insurgency"
   167 	{
   168 		"Offsets"
   169 		{
   170 			/* CBasePlayer */
   171 			"Ignite"
   172 			{
   173 				"windows"	"174"
   174 				"linux"		"175"
   175 			}
   176 			"Extinguish"
   177 			{
   178 				"windows"	"175"
   179 				"linux"		"176"
   180 			}
   181 			"Teleport"
   182 			{
   183 				"windows"	"90"
   184 				"linux"		"91"
   185 			}
   186 
   187 			/* Temp Entities */
   188 			"s_pTempEntities"
   189 			{
   190 				"linux"		"28"
   191 			}
   192 		}
   193 	}
   194 
   195 	/* Dsytopia */
   196 	"dystopia_v1"
   197 	{
   198 
   199 		"Offsets"
   200 		{
   201 			/* Offset into CBaseTempEntity constructor.
   202 			 * On Windows Dsytopia is heavily inlined; we use the function 
   203 			 * surrounding "aCouldnTFindTem" in IDA instead.
   204 			 */
   205 			"s_pTempEntities"
   206 			{
   207 				"windows"	"70"
   208 				"linux"		"29"
   209 			}
   210 		}
   211 
   212 		"Signatures"
   213 		{
   214 			"CBaseTempEntity"
   215 			{
   216 				"library"	"server"
   217 				"windows"	"\x81\xEC\x84\x00\x00\x00\x56\x8B\xF1\x8B\x46\x6C\x57\x8D\x7E\x6C\x8D\x4C\x24\x08\x83\xC8\x20\x51\x89\x44\x24\x0C\xE8\x2A\x2A\x2A"
   218 			}
   219 		}
   220 	}
   221 }