diff --git a/gamedata/core.games.txt b/gamedata/core.games.txt index d155ff89..23ad9f15 100644 --- a/gamedata/core.games.txt +++ b/gamedata/core.games.txt @@ -37,4 +37,12 @@ "HudRadioMenuMsg" "ShowMenu" } } + + "insurgency" + { + "Keys" + { + "HudRadioMenuMsg" "ShowMenu" + } + } } diff --git a/gamedata/sdktools.games.txt b/gamedata/sdktools.games.txt index bdeda297..0d5c3908 100644 --- a/gamedata/sdktools.games.txt +++ b/gamedata/sdktools.games.txt @@ -1,48 +1,6 @@ "Games" { - "#default" - { - "#supported" - { - "game" "cstrike" - } - - "Offsets" - { - "GiveNamedItem" - { - "windows" "329" - "linux" "330" - } - "RemovePlayerItem" - { - "windows" "226" - "linux" "227" - } - "Weapon_GetSlot" - { - "windows" "224" - "linux" "225" - } - "Ignite" - { - "windows" "188" - "linux" "189" - } - "Extinguish" - { - "windows" "189" - "linux" "190" - } - "Teleport" - { - "windows" "98" - "linux" "99" - } - } - } - - /* Temp Entities Section */ + /* General Temp Entities */ "#default" { "#supported" @@ -50,6 +8,8 @@ "game" "cstrike" "game" "dod" "game" "hl2mp" + "game" "insurgency" + "game" "dystopia_v1" } "Offsets" @@ -87,4 +47,175 @@ } } } + + /* HL2MP */ + "hl2mp" + { + "Offsets" + { + "GiveNamedItem" + { + "windows" "327" + "linux" "328" + } + "RemovePlayerItem" + { + "windows" "225" + "linux" "226" + } + "Weapon_GetSlot" + { + "windows" "223" + "linux" "224" + } + "Ignite" + { + "windows" "187" + "linux" "188" + } + "Extinguish" + { + "windows" "188" + "linux" "189" + } + "Teleport" + { + "windows" "97" + "linux" "98" + } + } + } + + /* Counter-Strike: Source */ + "cstrike" + { + "Offsets" + { + "GiveNamedItem" + { + "windows" "329" + "linux" "330" + } + "RemovePlayerItem" + { + "windows" "226" + "linux" "227" + } + "Weapon_GetSlot" + { + "windows" "224" + "linux" "225" + } + "Ignite" + { + "windows" "188" + "linux" "189" + } + "Extinguish" + { + "windows" "189" + "linux" "190" + } + "Teleport" + { + "windows" "98" + "linux" "99" + } + } + } + + /* Day of Defeat */ + "dod" + { + "Offsets" + { + "GiveNamedItem" + { + "windows" "328" + "linux" "330" + } + "RemovePlayerItem" + { + "windows" "226" + "linux" "227" + } + "Weapon_GetSlot" + { + "windows" "224" + "linux" "225" + } + "Ignite" + { + "windows" "188" + "linux" "189" + } + "Extinguish" + { + "windows" "189" + "linux" "190" + } + "Teleport" + { + "windows" "98" + "linux" "99" + } + } + } + + /* Insurgency */ + "insurgency" + { + "Offsets" + { + /* CBasePlayer */ + "Ignite" + { + "windows" "174" + "linux" "175" + } + "Extinguish" + { + "windows" "175" + "linux" "176" + } + "Teleport" + { + "windows" "90" + "linux" "91" + } + + /* Temp Entities */ + "s_pTempEntities" + { + "linux" "28" + } + } + } + + /* Dsytopia */ + "dystopia_v1" + { + + "Offsets" + { + /* Offset into CBaseTempEntity constructor. + * On Windows Dsytopia is heavily inlined; we use the function + * surrounding "aCouldnTFindTem" in IDA instead. + */ + "s_pTempEntities" + { + "windows" "70" + "linux" "29" + } + } + + "Signatures" + { + "CBaseTempEntity" + { + "library" "server" + "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" + } + } + } }