gamedata/sdktools.games/game.nucleardawn.txt
author Nicholas Hastings <skamonkey@gmail.com>
Mon Jul 08 16:10:55 2013 -0400 (2013-07-08)
changeset 3936 47835546d849
parent 3933 8d3a17d0da7d
child 4323 142b0c03e6bb
permissions -rw-r--r--
Updated L4D2 IServer gamedata for Windows.
     1 "Games"
     2 {
     3 	/* Nuclear Dawn */
     4 
     5 	/* General Temp Entities */
     6 	"#default"
     7 	{
     8 		"Offsets"
     9 		{
    10 			/* Offset into CBaseTempEntity constructor */
    11 			"s_pTempEntities"
    12 			{
    13 				"windows"	"17"
    14 			}
    15 			"GetTEName"
    16 			{
    17 				"windows"	"4"
    18 				"linux"		"4"
    19 				"mac"		"4"
    20 			}
    21 			"GetTENext"
    22 			{
    23 				"windows"	"8"
    24 				"linux"		"8"
    25 				"mac"		"8"
    26 			}
    27 			"TE_GetServerClass"
    28 			{
    29 				"windows"	"0"
    30 				"linux"		"0"
    31 				"mac"		"0"
    32 			}
    33 		}
    34 
    35 		"Signatures"
    36 		{
    37 			"CBaseTempEntity"
    38 			{
    39 				"library"	"server"
    40 				"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"
    41 			}
    42 			"s_pTempEntities"
    43 			{
    44 				"library"	"server"
    45 				"linux"		"@_ZN15CBaseTempEntity15s_pTempEntitiesE"
    46 				"mac"		"@_ZN15CBaseTempEntity15s_pTempEntitiesE"
    47 			}
    48 		}
    49 	}
    50 	
    51 	/* CGlobalEntityList */
    52 	"#default"
    53 	{
    54 		"#supported"
    55 		{
    56 			"game"		"left4dead2"
    57 			"game"		"nucleardawn"
    58 		}
    59 			
    60 		"Signatures"
    61 		{
    62 			/* Functions in CGlobalEntityList */
    63 			"FindEntityByClassname"
    64 			{
    65 				"library"	"server"
    66 				"windows"	"\x53\x55\x56\x8B\xF1\x8B\x4C\x24\x10\x85\xC9\x57\x74\x19\x8B\x01\x8B\x50\x08\xFF\xD2\x8B\x00\x25\xFF\x0F\x00\x00\x83\xC0\x01\xC1\xE0\x04\x8B\x3C\x30\xEB\x06\x8B\xBE\x2A\x2A\x2A\x2A\x85\xFF\x74\x39\x8B\x5C\x24\x18\x8B\x2D\x2A\x2A\x2A\x2A\xEB\x03"
    67 				"linux"		"@_ZN17CGlobalEntityList21FindEntityByClassnameEP11CBaseEntityPKc"
    68 				"mac"		"@_ZN17CGlobalEntityList21FindEntityByClassnameEP11CBaseEntityPKc"
    69 			}
    70 		}
    71 	}
    72 	
    73 	/* IServer interface pointer */
    74 	"#default"
    75 	{
    76 		"Keys"
    77 		{
    78 			/* Signature for the beginning of IVEngineServer::CreateFakeClient.
    79 			 *
    80 			 * The engine binary is not actually scanned in order to look for
    81 			 * this. SourceHook is used to used to determine the address of the
    82 			 * function and this signature is used to verify that it contains
    83 			 * the expected code. A pointer to sv (IServer interface) is used
    84 			 * here.
    85 			 */
    86 			"CreateFakeClient_Windows"	"\x8B\x44\x24\x2A\x50\xB9\x2A\x2A\x2A\x2A\xE8"
    87 		}
    88 		
    89 		"Offsets"
    90 		{
    91 			/* Offset into IVEngineServer::CreateFakeClient */
    92 			"sv"
    93 			{
    94 				"windows"	"6"
    95 			}
    96 		}
    97 
    98 		"Signatures"
    99 		{
   100 			/* CBaseServer object for IServer interface */
   101 			"sv"
   102 			{
   103 				"library"	"engine"
   104 				"linux"		"@sv"
   105 				"mac"		"@sv"
   106 			}
   107 		}
   108 	}
   109 	
   110 	"nucleardawn"
   111 	{		
   112 		"Offsets"
   113 		{
   114 			"GiveNamedItem"
   115 			{
   116 				"windows"	"442"
   117 				"linux"		"443"
   118 				"mac"		"443"
   119 			}
   120 			"RemovePlayerItem"
   121 			{
   122 				"windows"	"300"
   123 				"linux"		"301"
   124 				"mac"		"301"
   125 			}
   126 			"Weapon_GetSlot"
   127 			{
   128 				"windows"	"298"
   129 				"linux"		"299"
   130 				"mac"		"299"
   131 			}
   132 			"Ignite"
   133 			{
   134 				"windows"	"233"
   135 				"linux"		"234"
   136 				"mac"		"234"
   137 			}
   138 			"Extinguish"
   139 			{
   140 				"windows"	"236"
   141 				"linux"		"237"
   142 				"mac"		"237"
   143 			}
   144 			"Teleport"
   145 			{
   146 				"windows"	"128"
   147 				"linux"		"129"
   148 				"mac"		"129"
   149 			}
   150 			"CommitSuicide"
   151 			{
   152 				"windows"	"487"
   153 				"linux"		"487"
   154 				"mac"		"487"
   155 			}
   156 			"GetVelocity"
   157 			{
   158 				"windows"	"160"
   159 				"linux"		"161"
   160 				"mac"		"161"
   161 			}
   162 			"EyeAngles"
   163 			{
   164 				"windows"	"151"
   165 				"linux"		"152"
   166 				"mac"		"152"
   167 			}
   168 			"AcceptInput"
   169 			{
   170 				"windows"	"44"
   171 				"linux"		"45"
   172 				"mac"		"45"
   173 			}
   174 			"SetEntityModel"
   175 			{
   176 				"windows"	"27"
   177 				"linux"		"28"
   178 				"mac"		"28"
   179 			}
   180 			"WeaponEquip"
   181 			{
   182 				"windows"	"291"
   183 				"linux"		"292"
   184 				"mac"		"292"
   185 			}
   186 			"Activate"
   187 			{
   188 				"windows"	"36"
   189 				"linux"		"37"
   190 				"mac"		"37"
   191 			}
   192 			"PlayerRunCmd"
   193 			{
   194 				"windows"	"465"
   195 				"linux"		"466"
   196 				"mac"		"466"
   197 			}
   198 		}
   199 		
   200 		"Keys"
   201 		{
   202 			"GameRulesProxy"	"CNuclearDawnRulesProxy"
   203 		}
   204 		
   205 		"Signatures"
   206 		{
   207 			"FireOutput"
   208 			{
   209 				"library"	"server"
   210 				"windows"	"\x81\x2A\x2A\x2A\x2A\x2A\x53\x55\x56\x8B\x2A\x2A\x85"
   211 				"linux"		"@_ZN17CBaseEntityOutput10FireOutputE9variant_tP11CBaseEntityS2_f"
   212 				"mac"		"@_ZN17CBaseEntityOutput10FireOutputE9variant_tP11CBaseEntityS2_f"
   213 			}
   214 		}
   215 	}
   216 }