diff --git a/gamedata/core.games/common.games.txt b/gamedata/core.games/common.games.txt index 78a68d9a..56ebe33a 100644 --- a/gamedata/core.games/common.games.txt +++ b/gamedata/core.games/common.games.txt @@ -135,6 +135,7 @@ "game" "gesource" "game" "NeotokyoSource" "game" "bg2" + "game" "cspromod" } "Keys" @@ -154,6 +155,7 @@ "game" "empires" "game" "NeotokyoSource" "game" "bg2" + "game" "cspromod" } "Keys" @@ -177,6 +179,7 @@ "game" "zombie_master" "game" "bg2" "game" "insurgency" + "game" "cspromod" } "Keys" diff --git a/gamedata/core.games/engine.ep1.txt b/gamedata/core.games/engine.ep1.txt index b9f06681..0f3b69e5 100644 --- a/gamedata/core.games/engine.ep1.txt +++ b/gamedata/core.games/engine.ep1.txt @@ -28,6 +28,7 @@ "game" "hidden" "game" "zombie_master" "game" "NeotokyoSource" + "game" "cspromod" } "Offsets" diff --git a/gamedata/sdktools.games/engine.ep1.txt b/gamedata/sdktools.games/engine.ep1.txt index 8dad899a..b1a4251d 100644 --- a/gamedata/sdktools.games/engine.ep1.txt +++ b/gamedata/sdktools.games/engine.ep1.txt @@ -28,6 +28,7 @@ "game" "hidden" "game" "zombie_master" "game" "NeotokyoSource" + "game" "cspromod" } "Offsets" diff --git a/gamedata/sdktools.games/game.cspromod.txt b/gamedata/sdktools.games/game.cspromod.txt new file mode 100644 index 00000000..be0ab562 --- /dev/null +++ b/gamedata/sdktools.games/game.cspromod.txt @@ -0,0 +1,127 @@ +"Games" +{ + /* CSpromod 1.04 */ + "cspromod" + { + "Offsets" + { + "GiveNamedItem" + { + "windows" "330" + "linux" "331" + } + "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" + } + "CommitSuicide" + { + "windows" "358" + "linux" "359" + } + "GetVelocity" + { + "windows" "126" + "linux" "127" + } + "EyeAngles" + { + "windows" "118" + "linux" "119" + } + "AcceptInput" + { + "windows" "35" + "linux" "36" + } + "DispatchKeyValue" + { + "windows" "31" + "linux" "30" + } + "DispatchKeyValueFloat" + { + "windows" "30" + "linux" "31" + } + "DispatchKeyValueVector" + { + "windows" "29" + "linux" "32" + } + "SetEntityModel" + { + "windows" "25" + "linux" "26" + } + "WeaponEquip" + { + "windows" "217" + "linux" "218" + } + "Activate" + { + "windows" "32" + "linux" "33" + } + "PlayerRunCmd" + { + "windows" "348" + "linux" "349" + } + "FireOutputBackup" + { + "windows" "6" + "linux" "6" + } + } + "Signatures" + { + "FireOutput" + { + "library" "server" + "windows" "\x81\xEC\x2A\x2A\x2A\x2A\x53\x55\x56\x8B\x71\x2A\x85\xF6" + "linux" "@_ZN17CBaseEntityOutput10FireOutputE9variant_tP11CBaseEntityS2_f" + } + "DispatchSpawn" + { + "library" "server" + "linux" "@_Z13DispatchSpawnP11CBaseEntity" + "windows" "\x53\x55\x56\x8B\x74\x2A\x2A\x85\xF6\x57\x0F\x84\x2A\x2A\x2A\x2A\x8B\x1D\x2A\x2A\x2A\x2A\x8B\x03\x8B\x2A\x2A\x8B\xCB\xFF" + } + "CreateEntityByName" + { + "library" "server" + "linux" "@_Z18CreateEntityByNamePKci" + "windows" "\x56\x8B\x74\x2A\x2A\x83\xFE\xFF\x57\x8B\x7C\x2A\x2A\x74\x2A\x8B\x0D\x2A\x2A\x2A\x2A\x8B\x01\x8B\x2A\x2A\x56\xFF\xD2" + } + "FindEntityByClassname" + { + "library" "server" + "windows" "\x53\x55\x56\x8B\xF1\x8B\x4C\x24\x2A\x85\xC9\x57\x74\x2A\x8B\x01\x8B\x50\x2A\xFF\xD2\x8B\x00\x25\xFF\x2A\x2A\x2A\x83\xC0\x2A\xC1\xE0\x2A\x8B\x3C\x30\xEB\x2A\x8B\xBE\x2A\x2A\x2A\x2A\x85\xFF\x74\x2A\x8B\x5C\x2A\x2A\x8B\x2D\x2A\x2A\x2A\x2A\xEB\x2A\x8D\x2A\x2A\x8B\x37\x85\xF6\x75\x2A\x68\x2A\x2A\x2A\x2A\xFF\x2A\x83\xC4\x2A\xEB\x11\x39" + "linux" "@_ZN17CGlobalEntityList21FindEntityByClassnameEP11CBaseEntityPKc" + } + } + } +}