From 41fcefad5fb01c22e1edc10bc7f1eb71a1d75ffd Mon Sep 17 00:00:00 2001 From: Nicholas Hastings Date: Tue, 24 Aug 2010 19:24:09 -0400 Subject: [PATCH] Updated Gmod gamedata, including linux support (bug 4569, r=fyren). --- gamedata/sdktools.games/game.garrysmod.txt | 46 +++++++++++++++++----- 1 file changed, 37 insertions(+), 9 deletions(-) diff --git a/gamedata/sdktools.games/game.garrysmod.txt b/gamedata/sdktools.games/game.garrysmod.txt index beafa4d8..6143576c 100644 --- a/gamedata/sdktools.games/game.garrysmod.txt +++ b/gamedata/sdktools.games/game.garrysmod.txt @@ -11,82 +11,100 @@ "Games" { - /* Garry's Mod - Windows only */ + /* Garry's Mod - No symbol names in linux bin */ "garrysmod" { "Offsets" { "GiveNamedItem" { - "windows" "426" + "windows" "427" + "linux" "428" } "RemovePlayerItem" { - "windows" "300" + "windows" "301" + "linux" "302" } "Weapon_GetSlot" { - "windows" "298" + "windows" "299" + "linux" "300" } "Ignite" { - "windows" "237" + "windows" "238" + "linux" "239" } "Extinguish" { - "windows" "241" + "windows" "242" + "linux" "243" } "Teleport" { "windows" "106" + "linux" "107" } "CommitSuicide" { - "windows" "464" + "windows" "465" + "linux" "465" } "GetVelocity" { "windows" "138" + "linux" "139" } "EyeAngles" { "windows" "129" + "linux" "130" } "AcceptInput" { "windows" "34" + "linux" "35" } "DispatchKeyValue" { "windows" "29" + "linux" "28" } "DispatchKeyValueFloat" { "windows" "28" + "linux" "29" } "DispatchKeyValueVector" { "windows" "27" + "linux" "30" } "SetEntityModel" { "windows" "23" + "linux" "24" } "WeaponEquip" { - "windows" "291" + "windows" "292" + "linux" "293" } "Activate" { "windows" "31" + "linux" "32" } "PlayerRunCmd" { - "windows" "444" + "windows" "445" + "linux" "446" } "FireOutputBackup" { "windows" "6" + "linux" "6" } } "Signatures" @@ -95,21 +113,31 @@ { "library" "server" "windows" "\x53\x55\x56\x8B\x74\x24\x10\x57\x85\xF6\x0F\x84\x2A\x2A\x2A\x2A\x8B\x1D\x2A\x2A\x2A\x2A\x8B\x03\x8B\x50\x64\x8B\xCB" + "linux" "\x55\x89\xE5\x57\x56\x53\x83\xEC\x2A\xE8\x2A\x2A\x2A\x2A\x81\xC3\x2A\x2A\x2A\x2A\x31\xC0\x8B\x75\x2A\x85\xF6\x0F" } "CreateEntityByName" { "library" "server" "windows" "\x56\x8B\x74\x24\x0C\x57\x8B\x7C\x24\x0C\x83\xFE\xFF\x74\x27\x8B\x0D\x2A\x2A\x2A\x2A\x8B\x01\x8B\x50\x54\x56\xFF\xD2" + "linux" "\x55\x89\xE5\x57\x56\x53\x83\xEC\x2A\xE8\x2A\x2A\x2A\x2A\x81\xC3\x2A\x2A\x2A\x2A\x8B\x75\x2A\x83\xFE\xFF\x74\x2A\x8B\x2A\x2A\x2A\x2A\x2A\x8B\x00\x8B" } "FindEntityByClassname" { "library" "server" "windows" "\x53\x55\x56\x8B\xF1\x8B\x4C\x24\x10\x57\x85\xC9\x74\x2A\x8B\x01\x8B\x50\x08\xFF\xD2\x8B\x00\x25\xFF\x0F\x00\x00\x40\xC1\xE0\x04\x8B\x3C\x30\xEB\x06\x8B\xBE\x2A\x2A\x2A\x2A\x85\xFF\x74\x2A\x8B\x5C\x24\x18\x8B\x2D\x2A\x2A\x2A\x2A\x8D\xA4\x24\x00\x00\x00\x00\x8B\x37\x85\xF6\x75\x2A\x68\x2A\x2A\x2A\x2A\xFF\x2A\x83\xC4\x04\xEB\x2A\x39\x2A\x2A\x74\x2A\x53" + "linux" "\x55\x89\xE5\x57\x56\x53\x83\xEC\x2A\xE8\x2A\x2A\x2A\x2A\x81\xC3\x2A\x2A\x2A\x2A\x8B\x55\x2A\x85\xD2\x74\x75" } "FireOutput" { "library" "server" "windows" "\x81\xEC\x2A\x2A\x2A\x2A\x53\x55\x56\x8B\x71\x2A\x57\x89" + "linux" "\x55\x89\xE5\x57\x56\x53\x81\xEC\x2A\x2A\x2A\x2A\xE8\x2A\x2A\x2A\x2A\x81\xC3\x2A\x2A\x2A\x2A\x8B\x45\x2A\x8B\x78\x2A\x85\xFF\x0F" + } + + "EntityFactory" + { + "library" "server" + "linux" "\x55\x89\xE5\x57\x56\x53\x83\xEC\x2A\xE8\x2A\x2A\x2A\x2A\x81\xC3\x2A\x2A\x2A\x2A\x8D\x2A\x2A\x2A\x2A\x2A\x80\x2A\x2A\x2A\x2A\x2A\x2A\x74\x2A\x8D\x83\x2A\x2A\x2A\x2A\x83" } } }