From aba1ecf738ca5e0019c342117f2fc2a5de09b516 Mon Sep 17 00:00:00 2001 From: Nicholas Hastings Date: Sat, 11 Jul 2026 14:06:38 -0400 Subject: [PATCH] gamedata: drop PVKII sv/gEntList sigs covered by GetIServer/VSERVERTOOLS003 --- gamedata/core.games/engine.pvkii.txt | 35 -------------------- gamedata/sdktools.games/engine.pvkii.txt | 41 ------------------------ 2 files changed, 76 deletions(-) diff --git a/gamedata/core.games/engine.pvkii.txt b/gamedata/core.games/engine.pvkii.txt index 243ac705..cd9eb96d 100644 --- a/gamedata/core.games/engine.pvkii.txt +++ b/gamedata/core.games/engine.pvkii.txt @@ -11,41 +11,6 @@ "Games" { - /* CGlobalEntityList */ - "#default" - { - "Offsets" - { - /* Offset into LevelShutdown (windows) / into the gEntList-reference - * signature below (windows64: position of the lea disp32) */ - "gEntList" - { - "windows" "11" - "windows64" "25" - "linux" "13" - } - } - - "Signatures" - { - "LevelShutdown" - { - "library" "server" - "windows" "\xE8\x2A\x2A\x2A\x2A\xE8\x2A\x2A\x2A\x2A\xB9\x2A\x2A\x2A\x2A\xE8\x2A\x2A\x2A\x2A\xE8" - /* Not the literal LevelShutdown; a unique function that references - * gEntList via "lea rcx, [rip+gEntList]" (disp32 at offset 25). */ - "windows64" "\x48\x89\x5C\x24\x08\x57\x48\x83\xEC\x20\x33\xFF\x48\x8D\x51\x10\x48\x85\xC9\x48\x8B\xD9\x48\x8D\x0D\x2A\x2A\x2A\x2A" - "linux" "\xE8\x2A\x2A\x2A\x2A\xE8\x2A\x2A\x2A\x2A\xC7\x2A\x2A\x2A\x2A\x2A\x2A\xE8\x2A\x2A\x2A\x2A\xE8" - } - "gEntList" - { - "library" "server" - "linux64" "@gEntList" - "mac" "@gEntList" - } - } - } - "#default" { "Keys" diff --git a/gamedata/sdktools.games/engine.pvkii.txt b/gamedata/sdktools.games/engine.pvkii.txt index 082d02e0..39d4625a 100644 --- a/gamedata/sdktools.games/engine.pvkii.txt +++ b/gamedata/sdktools.games/engine.pvkii.txt @@ -71,47 +71,6 @@ } } - /* IServer interface pointer */ - "#default" - { - "Keys" - { - /* Signature for the beginning of IVEngineServer::CreateFakeClient. - * - * The engine binary is not actually scanned in order to look for - * this. SourceHook is used to used to determine the address of the - * function and this signature is used to verify that it contains - * the expected code. A pointer to sv (IServer interface) is used - * here. - */ - "CreateFakeClient_Windows" "\x55\x8B\xEC\xFF\x75\x08\xB9\x2A\x2A\x2A\x2A\xE8\x2A\x2A\x2A\x2A\x85\xC0\x75" - "CreateFakeClient_Windows64" "\x48\x83\xEC\x28\x48\x8D\x0D\x2A\x2A\x2A\x2A\xE8\x2A\x2A\x2A\x2A\x48\x85\xC0\x75" - } - - "Offsets" - { - /* Offset into IVEngineServer::CreateFakeClient - * (windows: imm32 of "mov ecx, sv"; windows64: disp32 of "lea rcx, [rip+sv]") */ - "sv" - { - "windows" "7" - "windows64" "7" - } - } - - "Signatures" - { - /* CBaseServer object for IServer interface */ - "sv" - { - "library" "engine" - "linux" "@sv" - "linux64" "@sv" - "mac" "@sv" - } - } - } - /* SetUserInfo data */ "#default" {