From 69f694d47c9c513146d0a739ba529e0d17e2c0ef Mon Sep 17 00:00:00 2001 From: Nicholas Hastings Date: Thu, 4 Dec 2025 19:17:34 -0500 Subject: [PATCH] Fix some blade gamedata --- gamedata/core.games/engine.blade.txt | 29 ++++-------------------- gamedata/sdktools.games/engine.blade.txt | 3 +-- 2 files changed, 6 insertions(+), 26 deletions(-) diff --git a/gamedata/core.games/engine.blade.txt b/gamedata/core.games/engine.blade.txt index 403e85351..3621256f9 100644 --- a/gamedata/core.games/engine.blade.txt +++ b/gamedata/core.games/engine.blade.txt @@ -21,32 +21,13 @@ "Offsets" { - /* Offset into LevelShutdown */ - "gEntList" - { - "windows" "11" - } - + /* Blade Symphony has VSERVERTOOLS003, so we already have gEntList and only need the EntInfo offset from it */ + /* It's the first member after the vtable */ "EntInfo" { - "windows" "4" - "linux" "4" - "mac" "4" - } - } - - "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" - } - "gEntList" - { - "library" "server" - "linux" "@gEntList" - "mac" "@gEntList" + "windows" "4" + "windows64" "8" + "linux64" "8" } } } diff --git a/gamedata/sdktools.games/engine.blade.txt b/gamedata/sdktools.games/engine.blade.txt index c8fd46b3a..ddd246b8d 100644 --- a/gamedata/sdktools.games/engine.blade.txt +++ b/gamedata/sdktools.games/engine.blade.txt @@ -66,9 +66,8 @@ { "library" "server" "windows" "\x55\x8B\xEC\x81\xEC\x44\x01\x00\x00\x8B\xC1" - "windows64" "\x4C\x89\x4C\x24\x20\x4C\x89\x44\x24\x18\x48\x89\x54\x24\x10\x48\x89\x4C\x24\x08\x48\x81\xEC\x78\x04\x00\x00" + "windows64" "\x4C\x8B\xDC\x49\x89\x53\x10\x49\x89\x4B\x08\x55\x41\x55" "linux64" "\x55\x48\x89\xE5\x41\x57\x41\x56\x41\x55\x41\x54\x53\x48\x81\xEC\x88\x01\x00\x00\xF3\x0F\x11\x85\x94\xFE\xFF\xFF" - "mac64" "\x55\x48\x89\xE5\x41\x57\x41\x56\x41\x55\x41\x54\x53\x48\x81\xEC\x78\x01\x00\x00\xF3\x0F\x11\x85\x9C\xFE\xFF\xFF" } } }