From 0c6274058e718d142189d331aae9b288b351360a Mon Sep 17 00:00:00 2001 From: Asher Baker Date: Wed, 22 Jun 2022 08:41:22 +0000 Subject: [PATCH] Fix tf2 gamedata not being used When this was split out from the legacy obv gamedata in 5678c55 the new block accidentally used the engine name for tf2 instead of the gamedir in a gamedir match. Change it to use the same #supported rules as the others to fix the gamedata loading and avoid future confusion. --- connect.games.txt | 29 +++++++++++++++++------------ 1 file changed, 17 insertions(+), 12 deletions(-) diff --git a/connect.games.txt b/connect.games.txt index aca6182..843de8b 100644 --- a/connect.games.txt +++ b/connect.games.txt @@ -18,7 +18,7 @@ "mac" "29" "windows" "29" } - + "ISteamGameServer__EndAuthSession" { "linux" "30" @@ -34,7 +34,7 @@ "library" "engine" "windows" "\xE8\x2A\x2A\x2A\x2A\x83\x78\x04\x00\x74\x2A\xE8\x2A\x2A\x2A\x2A\x8B\x48\x04\x8B\x01\x8B\x40\x2C\xFF\xD0\x84\xC0\x74\x2A\x56" } - + "Steam3Server" { "library" "engine" @@ -43,7 +43,7 @@ } } } - + "#default" { "#supported" @@ -52,7 +52,7 @@ "engine" "css" "engine" "hl2dm" } - + "Signatures" { "CBaseServer__ConnectClient" @@ -62,7 +62,7 @@ "mac" "@_ZN11CBaseServer13ConnectClientER8netadr_siiiiPKcS3_S3_i" "windows" "\x55\x8B\xEC\x81\xEC\x04\x05\x00\x00\x56\x68\x2A\x2A\x2A\x2A\x8B\xF1" } - + "CBaseServer__RejectConnection" { "library" "engine" @@ -70,7 +70,7 @@ "mac" "@_ZN11CBaseServer16RejectConnectionERK8netadr_siPKc" "windows" "\x55\x8B\xEC\x81\xEC\x04\x05\x00\x00\x56\x6A\xFF" } - + "CBaseClient__SetSteamID" { "library" "engine" @@ -78,7 +78,7 @@ "mac" "@_ZN11CBaseClient10SetSteamIDERK8CSteamID" "windows" "\x55\x8B\xEC\x8B\x55\x08\x8B\x02\x89\x41\x59\x8B\x42\x04" } - + "CBaseServer__CheckChallengeType" { "library" "engine" @@ -88,9 +88,14 @@ } } } - - "tf2" + + "#default" { + "#supported" + { + "engine" "tf2" + } + "Signatures" { "CBaseServer__ConnectClient" @@ -100,7 +105,7 @@ "mac" "@_ZN11CBaseServer13ConnectClientER8netadr_siiiiPKcS3_S3_i" "windows" "\x55\x8B\xEC\x81\xEC\x24\x05\x00\x00" } - + "CBaseServer__RejectConnection" { "library" "engine" @@ -108,7 +113,7 @@ "mac" "@_ZN11CBaseServer16RejectConnectionERK8netadr_siPKc" "windows" "\x55\x8B\xEC\x81\xEC\x04\x05\x00\x00\x57" } - + "CBaseClient__SetSteamID" { "library" "engine" @@ -116,7 +121,7 @@ "mac" "@_ZN11CBaseClient10SetSteamIDERK8CSteamID" "windows" "\x55\x8B\xEC\x56\x57\x8B\x7D\x08\x8B\xF1\x8D\x4E\x04" } - + "CBaseServer__CheckChallengeType" { "library" "engine"