From 9c2bb3af4358a44d71d45d05278b2f34313de0e2 Mon Sep 17 00:00:00 2001 From: Willian Henrique Date: Tue, 20 Jun 2023 20:53:09 +0100 Subject: Add more GetEngineBuildNumber offsets --- gamedata/engine.kv | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/gamedata/engine.kv b/gamedata/engine.kv index e72fa3f..383fe3c 100644 --- a/gamedata/engine.kv +++ b/gamedata/engine.kv @@ -33,10 +33,19 @@ vtidx_GetGameDirectory { Client012 37 // dmomm, ep1, ... } vtidx_GetEngineBuildNumber { - L4D2 { - Client013 99 - //Client014 ??? // TODO(compat): find out what this is (maybe 136?) + Client013 { + L4D2 99 + Portal2 100 + } + Client014 { + L4D2 31 + 2013 98 } + Portal1_3420 91 + // TODO(compat): we'll need these... but need to detect first + //Portal1_5135 102 + //L4D1_1005 99 + //L4D1_Steam 97 } // IGameUIFuncs -- cgit v1.2.3