gamedata/sm-cstrike.games/game.csgo.txt
author Scott Ehlert <ds@alliedmods.net>
Sat Aug 25 11:28:52 2012 -0500 (2012-08-25)
changeset 3628 d2ab961b0f75
parent 3602 1b0eeb2823ad
child 3635 14e7af400bcc
permissions -rw-r--r--
Added support for CS:GO on Mac OS X (bug 5459, r=psychonic).
rgr_02@3519
     1
/**
rgr_02@3519
     2
 * Do not edit this file.  Any changes will be overwritten by the gamedata
rgr_02@3519
     3
 * updater or by upgrading your SourceMod install.
rgr_02@3519
     4
 *
rgr_02@3519
     5
 * To override data in this file, create a subdirectory named "custom" and
rgr_02@3519
     6
 * place your own gamedata file(s) inside of it.  Such files will be parsed
rgr_02@3519
     7
 * after SM's own.
rgr_02@3519
     8
 *
rgr_02@3519
     9
 * For more information, see http://wiki.alliedmods.net/Gamedata_Updating_(SourceMod)
rgr_02@3519
    10
 */
rgr_02@3519
    11
rgr_02@3519
    12
"Games"
rgr_02@3519
    13
{
rgr_02@3519
    14
	"csgo"
rgr_02@3519
    15
	{
rgr_02@3519
    16
		"Offsets"
rgr_02@3519
    17
		{
rgr_02@3519
    18
			//Offset of szClassName in CCSWeaponInfo 
rgr_02@3519
    19
			"WeaponName"
rgr_02@3519
    20
			{
rgr_02@3519
    21
				"windows"		"6"
rgr_02@3519
    22
				"linux"			"6"
ds@3628
    23
				"mac"			"6"
rgr_02@3519
    24
			}
rgr_02@3519
    25
			"WeaponPrice"
rgr_02@3519
    26
			{
rgr_02@3519
    27
				"windows"		"2700"
rgr_02@3519
    28
				"linux"			"2700"
ds@3628
    29
				"mac"			"2700"
rgr_02@3519
    30
			}
rgr_02@3530
    31
			//Offset into CheckRestartRound
rgr_02@3530
    32
			"CTTeamScoreOffset"
rgr_02@3530
    33
			{
rgr_02@3534
    34
				"windows"	"97"
rgr_02@3545
    35
				"linux"		"124"
ds@3628
    36
				"mac"		"150"
rgr_02@3530
    37
			}
rgr_02@3530
    38
			//Offset into CheckRestartRound
rgr_02@3530
    39
			"TTeamScoreOffset"
rgr_02@3530
    40
			{
rgr_02@3534
    41
				"windows"	"119"
rgr_02@3545
    42
				"linux"		"159"
ds@3628
    43
				"mac"		"185"
rgr_02@3530
    44
			}
rgr_02@3530
    45
			//Offset into IncrementNumMVPs to find MVP count offset from player
rgr_02@3530
    46
			"MVPCountOffset"
rgr_02@3530
    47
			{
rgr_02@3534
    48
				"windows"	"46"
rgr_02@3534
    49
				"linux"		"47"
ds@3628
    50
				"mac"		"61"
rgr_02@3530
    51
			}
rgr_02@3519
    52
		}
rgr_02@3519
    53
		"Signatures"
rgr_02@3519
    54
		{
rgr_02@3519
    55
			"RoundRespawn"
rgr_02@3519
    56
			{
rgr_02@3519
    57
				"library"	"server"
skamonkey@3602
    58
				"windows"	"\x55\x8B\xEC\x83\xEC\x2A\x56\x8B\xF1\x8B\x0D\x2A\x2A\x2A\x2A\x57\xE8\x2A\x2A\x2A\x2A\x84\xC0\x75"
rgr_02@3519
    59
				"linux"		"@_ZN9CCSPlayer12RoundRespawnEv"
ds@3628
    60
				"mac"		"@_ZN9CCSPlayer12RoundRespawnEv"
rgr_02@3519
    61
			}
rgr_02@3519
    62
			"SwitchTeam"
rgr_02@3519
    63
			{
rgr_02@3519
    64
				"library"	"server"
rgr_02@3519
    65
				"windows"	"\x55\x8B\xEC\x83\xEC\x2A\x56\x57\x8B\x7D\x2A\x57\x8B\xF1\xE8\x2A\x2A\x2A\x2A\x83\xC4"
rgr_02@3519
    66
				"linux"		"@_ZN9CCSPlayer10SwitchTeamEi"
ds@3628
    67
				"mac"		"@_ZN9CCSPlayer10SwitchTeamEi"
rgr_02@3519
    68
			}
rgr_02@3519
    69
			"HandleCommand_Buy_Internal"
rgr_02@3519
    70
			{
rgr_02@3519
    71
				"library"		"server"
rgr_02@3519
    72
				"windows"		"\x55\x8B\xEC\x81\xEC\x2A\x2A\x00\x00\x53\x56\x8B\xF1\x80\xBE\x2A\x2A\x00\x00\x00"
rgr_02@3519
    73
				"linux"			"@_ZN9CCSPlayer26HandleCommand_Buy_InternalEPKc"
ds@3628
    74
				"mac"			"@_ZN9CCSPlayer26HandleCommand_Buy_InternalEPKc"
rgr_02@3519
    75
			}
rgr_02@3519
    76
			"CSWeaponDrop"//Wildcard first 6 bytes for CS:S DM
rgr_02@3519
    77
			{
rgr_02@3519
    78
				"library"		"server"
rgr_02@3519
    79
				"windows"		"\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x53\x56\x8B\x2A\x2A\x32\xDB\x57\x8B\xF9\x85\xF6\x0F\x84"
rgr_02@3519
    80
				"linux"			"@_ZN9CCSPlayer12CSWeaponDropEP17CBaseCombatWeaponbb"
ds@3628
    81
				"mac"			"@_ZN9CCSPlayer12CSWeaponDropEP17CBaseCombatWeaponbb"
rgr_02@3519
    82
			}
rgr_02@3519
    83
			"TerminateRound"
rgr_02@3519
    84
			{
rgr_02@3519
    85
				"library"		"server"
rgr_02@3519
    86
				"windows"		"\x55\x8B\xEC\x83\xEC\x2A\x53\x8B\x2A\x2A\x56\x57\x33\xFF"
rgr_02@3519
    87
				"linux"			"@_ZN12CCSGameRules14TerminateRoundEfi"
ds@3628
    88
				"mac"			"@_ZN12CCSGameRules14TerminateRoundEfi"
rgr_02@3519
    89
			}
rgr_02@3519
    90
			"GetTranslatedWeaponAlias"
rgr_02@3519
    91
			{
rgr_02@3519
    92
				"library"		"server"
rgr_02@3519
    93
				"windows"		"\x55\x8B\xEC\x56\x57\x8B\x2A\x2A\x33\xF6\x8D\x9B\x2A\x2A\x2A\x2A\x8B\x04\xF5\x2A\x2A\x2A\x2A\x57\x50\xE8\x2A\x2A\x2A\x2A\x83\xC4\x2A\x85\xC0\x74\x2A\x46\x83\xFE\x2A\x72\x2A\x8B\xC7\x5F\x5E\x5D\xC3"
rgr_02@3519
    94
				"linux"			"@_Z24GetTranslatedWeaponAliasPKc"
ds@3628
    95
				"mac"			"@_Z24GetTranslatedWeaponAliasPKc"
rgr_02@3519
    96
			}
rgr_02@3519
    97
			"GetWeaponInfo"
rgr_02@3519
    98
			{
rgr_02@3519
    99
				"library"		"server"
rgr_02@3519
   100
				"windows"		"\x55\x8B\xEC\x8B\x4D\x2A\x33\xC0\x85\xC9\x74"
rgr_02@3519
   101
				"linux"			"@_Z13GetWeaponInfo10CSWeaponID"
ds@3628
   102
				"mac"			"@_Z13GetWeaponInfo10CSWeaponID"
rgr_02@3519
   103
			}
rgr_02@3530
   104
			//In CS:GO this is actually CCSGameRules::CheckRestartRound(void) but to keep same gamedata as cs:s.
rgr_02@3530
   105
			"CheckWinLimit"
rgr_02@3530
   106
			{
rgr_02@3530
   107
				"library"	"server"
rgr_02@3534
   108
				"windows"	"\x55\x8B\xEC\x83\xEC\x2A\x56\x57\x8B\xF9\x8B\x0D\x2A\x2A\x2A\x2A\x81\xF9\x2A\x2A\x2A\x2A\x75\x2A\x8B"
rgr_02@3530
   109
				"linux"		"@_ZN12CCSGameRules17CheckRestartRoundEv"
ds@3628
   110
				"mac"		"@_ZN12CCSGameRules17CheckRestartRoundEv"
rgr_02@3530
   111
			}
rgr_02@3530
   112
			"IncrementNumMVPs"
rgr_02@3530
   113
			{
rgr_02@3530
   114
				"library"	"server"
rgr_02@3534
   115
				"windows"	"\x55\x8B\xEC\xA1\x2A\x2A\x2A\x2A\x8B\x50\x2A\x57\x8B\xF9\xB9\x2A\x2A\x2A\x2A\xFF\xD2\x85\xC0\x74\x2A\x68"
rgr_02@3530
   116
				"linux"		"@_ZN9CCSPlayer16IncrementNumMVPsE13CSMvpReason_t"
ds@3628
   117
				"mac"		"@_ZN9CCSPlayer16IncrementNumMVPsE13CSMvpReason_t"
rgr_02@3530
   118
			}
rgr_02@3519
   119
			"AliasToWeaponID"
rgr_02@3519
   120
			{
rgr_02@3519
   121
				"library"	"server"
rgr_02@3519
   122
				"windows"	"\x55\x8B\xEC\x56\x57\x8B\x2A\x2A\x85\xFF\x74\x2A\x33\xF6\x8B\xFF"
rgr_02@3519
   123
				"linux"		"@_Z15AliasToWeaponIDPKc"
ds@3628
   124
				"mac"		"@_Z15AliasToWeaponIDPKc"
rgr_02@3519
   125
			}
rgr_02@3519
   126
		}
rgr_02@3519
   127
	}
rgr_02@3519
   128
}