From 1573ea03bfa26180047d69a62e1e41c0e7184139 Mon Sep 17 00:00:00 2001 From: CookieCat <81494827+CookieCat45@users.noreply.github.com> Date: Thu, 18 Apr 2024 23:07:37 -0400 Subject: [PATCH 1/5] x32 Windows Gamedata Update for 4/18/2024 TF2 Update This fixes the following Windows signatures that were changed: Studio_LookupSequence Studio_SelectWeightedSequence SimThink_EntityChanged CBaseEntity::PhysicsMarkEntitiesAsTouching CBaseEntity::TakeDamage CBaseAnimating::SetPoseParameter --- gamedata/cbasenpc.txt | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/gamedata/cbasenpc.txt b/gamedata/cbasenpc.txt index 0a48c3b..10596dd 100644 --- a/gamedata/cbasenpc.txt +++ b/gamedata/cbasenpc.txt @@ -209,13 +209,13 @@ "Studio_LookupSequence" { "library" "server" - "windows" "\x55\x8B\xEC\x56\x8B\x75\x08\x85\xF6\x75\x2A\x33\xC0\x5E\x5D\xC3\x8B\xCE\xE8\x2A\x2A\x2A\x2A\x84\xC0\x74\x2A\x53" + "windows" "\x55\x8B\xEC\x83\xEC\x14\x80\x3D\x2A\x2A\x2A\x2A\x00\x0F\x85\x2A\x2A\x2A\x2A\x56\x57\x6A\x00\xC6\x05\x2A\x2A\x2A\x2A\x01\xC7\x05\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x2A\xC7\x05\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x2A\xC7\x05\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x2A\xE8\x2A\x2A\x2A\x2A\x83\xC4\x04\xA3\x2A\x2A\x2A\x2A\xE8\x2A\x2A\x2A\x2A\xFF\x35\x2A\x2A\x2A\x2A\xB9\x2A\x2A\x2A\x2A\xA3\x2A\x2A\x2A\x2A\xE8\x2A\x2A\x2A\x2A\x8B\xC8\xC1\xE1\x04\x2B\xC8\xA1\x2A\x2A\x2A\x2A\x8D\x34\x88\xC7\x46\x08\x2A\x2A\x2A\x2A\xC7\x06\x2A\x2A\x2A\x2A\xC7\x46\x04\x2A\x2A\x2A\x2A\xC7\x46\x0C\x05\x00\x00\x00" "linux" "@_Z14LookupSequenceP10CStudioHdrPKc" } "Studio_SelectWeightedSequence" { "library" "server" - "windows" "\x55\x8B\xEC\x56\x8B\x75\x08\x85\xF6\x75\x2A\x33\xC0\x5E\x5D\xC3\x8B\xCE\xE8\x2A\x2A\x2A\x2A\x84\xC0\x74\x2A\x8B\xCE" + "windows" "\x55\x8B\xEC\x83\xEC\x10\x53\x8B\x5D\x08\x56\x57\x53" "linux" "@_Z22SelectWeightedSequenceP10CStudioHdrii" } // Find "placementOrigin" first subroutine call below it @@ -229,7 +229,7 @@ "SimThink_EntityChanged" { "library" "server" - "windows" "\x55\x8B\xEC\x56\x57\x8B\x7D\x08\x8B\xF1\xF6\x87\x3C\x01\x00\x00\x01" + "windows" "\x55\x8B\xEC\x51\x53\x8B\x5D\x08\x56\x8B\xF1\xF6\x83\x3C\x01\x00\x00\x01" "linux" "@_Z22SimThink_EntityChangedP11CBaseEntity" } // Find ".?AVCRallyPoint@@" to get to CRallyPoint's type descriptor -> complete object locator -> vtable @@ -246,7 +246,7 @@ "CBaseEntity::PhysicsMarkEntitiesAsTouching" { "library" "server" - "windows" "\x55\x8B\xEC\x56\x8B\x75\x0C\x57\x8B\xF9\xB9\x2A\x2A\x2A\x2A\x56\xE8\x2A\x2A\x2A\x2A\xF3\x0F\x10\x46\x38\x8B\xCF\xF3\x0F\x11\x05\x2A\x2A\x2A\x2A\x8B\x46\x3C\xA3\x2A\x2A\x2A\x2A\x8B\x46\x40\xA3\x2A\x2A\x2A\x2A\x8B\x46\x44\xA3\x2A\x2A\x2A\x2A\x66\x8B\x46\x48\x66\xA3\x2A\x2A\x2A\x2A\x8B\x46\x4C\xA3\x2A\x2A\x2A\x2A\x8B\x46\x50\x8B\x75\x08\x56\xA3\x2A\x2A\x2A\x2A\xE8\x2A\x2A\x2A\x2A" + "windows" "\x55\x8B\xEC\x56\x57\xFF\x75\x0C\x8B\xF1" "linux" "@_ZN11CBaseEntity29PhysicsMarkEntitiesAsTouchingEPS_R10CGameTrace" } // Find "m_CalcAbsolutePositionMutex" to find CBaseEntity::CalcAbsolutePosition @@ -272,7 +272,7 @@ "CBaseEntity::TakeDamage" { "library" "server" - "windows" "\x55\x8B\xEC\x81\xEC\x98\x00\x00\x00\x53\x8B\xD9" + "windows" "\x55\x8B\xEC\x81\xEC\x98\x00\x00\x00\x53\x56\x57\x8B\xF9\x8B\x0D\x2A\x2A\x2A\x2A" "linux" "@_ZN11CBaseEntity10TakeDamageERK15CTakeDamageInfo" } // "g_EntityListPool" @@ -285,7 +285,7 @@ "CBaseAnimating::SetPoseParameter" { "library" "server" - "windows" "\x55\x8B\xEC\x8B\x45\x08\xD9\x45\x10" + "windows" "\x55\x8B\xEC\x51\x8B\x45\x08\xD9\x45\x10" "linux" "@_ZN14CBaseAnimating16SetPoseParameterEP10CStudioHdrif" } "CBaseAnimating::GetPoseParameter" @@ -297,7 +297,7 @@ "CBaseAnimating::LookupPoseParameter" { "library" "server" - "windows" "\x55\x8B\xEC\x57\x8B\x7D\x08\x85\xFF\x75\x2A\x33\xC0\x5F\x5D\xC2\x08\x00" + "windows" "\x55\x8B\xEC\x57\x8B\x7D\x08\x85\xFF\x74\x2A\x8B\xCF\xE8\x2A\x2A\x2A\x2A\x84\xC0" "linux" "@_ZN14CBaseAnimating19LookupPoseParameterEP10CStudioHdrPKc" } "CBaseAnimating::SequenceDuration" @@ -309,7 +309,7 @@ "CBaseAnimating::ResetSequence" { "library" "server" - "windows" "\x55\x8B\xEC\xA1\x2A\x2A\x2A\x2A\x53\x56\x57\x83\x78\x30\x00\x8B\xD9\x8B\x7D\x08" + "windows" "\x55\x8B\xEC\x51\xA1\x2A\x2A\x2A\x2A\x53\x56\x57\x83\x78\x30\x00\x8B\xD9\x8B\x7D\x08" "linux" "@_ZN14CBaseAnimating13ResetSequenceEi" } "NextBotGroundLocomotion::NextBotGroundLocomotion" @@ -340,4 +340,4 @@ } } } -} \ No newline at end of file +} From 2bac56143e7464af180546f879557074712fd45f Mon Sep 17 00:00:00 2001 From: CookieCat <81494827+CookieCat45@users.noreply.github.com> Date: Fri, 19 Apr 2024 00:42:04 -0400 Subject: [PATCH 2/5] Update gamedata/cbasenpc.txt Co-authored-by: Kit o' Rifty --- gamedata/cbasenpc.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gamedata/cbasenpc.txt b/gamedata/cbasenpc.txt index 10596dd..7906e5a 100644 --- a/gamedata/cbasenpc.txt +++ b/gamedata/cbasenpc.txt @@ -246,7 +246,7 @@ "CBaseEntity::PhysicsMarkEntitiesAsTouching" { "library" "server" - "windows" "\x55\x8B\xEC\x56\x57\xFF\x75\x0C\x8B\xF1" + "windows" "\x55\x8B\xEC\x57\xFF\x75\x2A\x8B\xF9\xB9" "linux" "@_ZN11CBaseEntity29PhysicsMarkEntitiesAsTouchingEPS_R10CGameTrace" } // Find "m_CalcAbsolutePositionMutex" to find CBaseEntity::CalcAbsolutePosition From 850fe8e8f094a5893f8fe98bb0c80c9a3c057dba Mon Sep 17 00:00:00 2001 From: CookieCat <81494827+CookieCat45@users.noreply.github.com> Date: Fri, 19 Apr 2024 00:42:32 -0400 Subject: [PATCH 3/5] Update gamedata/cbasenpc.txt Co-authored-by: Kit o' Rifty --- gamedata/cbasenpc.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gamedata/cbasenpc.txt b/gamedata/cbasenpc.txt index 7906e5a..ce61e59 100644 --- a/gamedata/cbasenpc.txt +++ b/gamedata/cbasenpc.txt @@ -285,7 +285,7 @@ "CBaseAnimating::SetPoseParameter" { "library" "server" - "windows" "\x55\x8B\xEC\x51\x8B\x45\x08\xD9\x45\x10" + "windows" "\x55\x8B\xEC\x51\x8B\x45\x2A\xD9\x45" "linux" "@_ZN14CBaseAnimating16SetPoseParameterEP10CStudioHdrif" } "CBaseAnimating::GetPoseParameter" From 4a767bd3951f68e133e0d0942ba34abdfa8a3b09 Mon Sep 17 00:00:00 2001 From: CookieCat <81494827+CookieCat45@users.noreply.github.com> Date: Fri, 19 Apr 2024 00:42:38 -0400 Subject: [PATCH 4/5] Update gamedata/cbasenpc.txt Co-authored-by: Kit o' Rifty --- gamedata/cbasenpc.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gamedata/cbasenpc.txt b/gamedata/cbasenpc.txt index ce61e59..dae59d4 100644 --- a/gamedata/cbasenpc.txt +++ b/gamedata/cbasenpc.txt @@ -309,7 +309,7 @@ "CBaseAnimating::ResetSequence" { "library" "server" - "windows" "\x55\x8B\xEC\x51\xA1\x2A\x2A\x2A\x2A\x53\x56\x57\x83\x78\x30\x00\x8B\xD9\x8B\x7D\x08" + "windows" "\x55\x8B\xEC\x51\xA1\x2A\x2A\x2A\x2A\x53\x56\x57\x83\x78\x2A\x00\x8B\xD9\x8B\x7D" "linux" "@_ZN14CBaseAnimating13ResetSequenceEi" } "NextBotGroundLocomotion::NextBotGroundLocomotion" From 89161e6dabd171fe15e894f630c7971e34eed119 Mon Sep 17 00:00:00 2001 From: CookieCat <81494827+CookieCat45@users.noreply.github.com> Date: Fri, 19 Apr 2024 03:34:05 -0400 Subject: [PATCH 5/5] Update gamedata/cbasenpc.txt Co-authored-by: Kit o' Rifty --- gamedata/cbasenpc.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gamedata/cbasenpc.txt b/gamedata/cbasenpc.txt index dae59d4..af65bca 100644 --- a/gamedata/cbasenpc.txt +++ b/gamedata/cbasenpc.txt @@ -209,7 +209,7 @@ "Studio_LookupSequence" { "library" "server" - "windows" "\x55\x8B\xEC\x83\xEC\x14\x80\x3D\x2A\x2A\x2A\x2A\x00\x0F\x85\x2A\x2A\x2A\x2A\x56\x57\x6A\x00\xC6\x05\x2A\x2A\x2A\x2A\x01\xC7\x05\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x2A\xC7\x05\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x2A\xC7\x05\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x2A\xE8\x2A\x2A\x2A\x2A\x83\xC4\x04\xA3\x2A\x2A\x2A\x2A\xE8\x2A\x2A\x2A\x2A\xFF\x35\x2A\x2A\x2A\x2A\xB9\x2A\x2A\x2A\x2A\xA3\x2A\x2A\x2A\x2A\xE8\x2A\x2A\x2A\x2A\x8B\xC8\xC1\xE1\x04\x2B\xC8\xA1\x2A\x2A\x2A\x2A\x8D\x34\x88\xC7\x46\x08\x2A\x2A\x2A\x2A\xC7\x06\x2A\x2A\x2A\x2A\xC7\x46\x04\x2A\x2A\x2A\x2A\xC7\x46\x0C\x05\x00\x00\x00" + "windows" "\x55\x8B\xEC\x56\x8B\x75\x2A\x85\xF6\x0F\x84\x2A\x2A\x2A\x2A\x8B\xCE" "linux" "@_Z14LookupSequenceP10CStudioHdrPKc" } "Studio_SelectWeightedSequence"