gamedata/sdktools.games.ep2.txt
changeset 1728 cde0118b6291
parent 1727 3c6ac0a0756f
child 1752 7c0c5acb5fb4
     1.1 --- a/gamedata/sdktools.games.ep2.txt	Tue Nov 27 01:58:05 2007 +0000
     1.2 +++ b/gamedata/sdktools.games.ep2.txt	Tue Nov 27 01:59:38 2007 +0000
     1.3 @@ -138,6 +138,46 @@
     1.4  		}
     1.5  	}
     1.6  
     1.7 +	/* General GameRules */
     1.8 +	"#default"
     1.9 +	{
    1.10 +		"#supported"
    1.11 +		{
    1.12 +			"game"		"tf"
    1.13 +		}
    1.14 +		
    1.15 +		"Offsets"
    1.16 +		{
    1.17 +			/* Offset into CreateGameRulesObject */
    1.18 +			"g_pGameRules"
    1.19 +			{
    1.20 +				"windows"	"2"
    1.21 +			}
    1.22 +		}
    1.23 +		
    1.24 +		"Signatures"
    1.25 +		{
    1.26 +			/* This signature sometimes has multiple matches, but this
    1.27 +			 * does not matter as g_pGameRules is involved in all of them.
    1.28 +			 * The same g_pGameRules offset applies to each match.
    1.29 +			 *
    1.30 +			 * Sometimes this block of bytes is at the beginning of the static
    1.31 +			 * CreateGameRulesObject function and sometimes it is in the middle
    1.32 +			 * of an entirely different function. This depends on the game.
    1.33 +			 */
    1.34 +			"CreateGameRulesObject"
    1.35 +			{
    1.36 +				"library"	"server"
    1.37 +				"windows"	"\x8B\x0D\x2A\x2A\x2A\x2A\x85\xC9\x74\x2A\x8B\x01\x8B\x50\x2A\x6A\x01\xFF\xD2"
    1.38 +			}
    1.39 +			"g_pGameRules"
    1.40 +			{
    1.41 +				"library"	"server"
    1.42 +				"linux"		"@g_pGameRules"
    1.43 +			}
    1.44 +		}
    1.45 +	}
    1.46 +
    1.47  	/* Team Fortress 2 Offsets */
    1.48  	"tf"
    1.49  	{