diff --git a/sourcetvmanager.games.txt b/sourcetvmanager.games.txt index ebeeb16..90def65 100644 --- a/sourcetvmanager.games.txt +++ b/sourcetvmanager.games.txt @@ -14,6 +14,7 @@ "linux" { "signature" "host_client" + "read" "31" } } @@ -21,13 +22,13 @@ { "windows" { - "signature" "CHLTVServer::GetRecordingDemoFilename" + "signature" "CHLTVServer_DemoRecorderRef" "read" "2" } "linux" { - "signature" "CHLTVServer::GetRecordingDemoFilename" - "read" "8" + "signature" "CHLTVServer_DemoRecorderRef" + "read" "34" } } } @@ -97,10 +98,12 @@ "windows" "52" "linux" "52" } + + // This gets subtracted from the offset looked up by the "CHLTVServer::m_DemoRecorder" address "CHLTVDemoRecorder_BaseOffset" { "windows" "0" - "linux" "12" + "linux" "4" } } "Signatures" @@ -108,15 +111,16 @@ "host_client" { "library" "engine" - "linux" "@host_client" // ping(CCommand const&) "Client ping times:\n" + "linux" "\x55\x89\xE5\x57\x56\x53\x83\xEC\x3C\x8B\x45\x08\x83\xB8\x08\x05\x00\x00\x03" "windows" "\x55\x8B\xEC\x83\xE4\xC0\x8B\x4D\x08\x83\xEC\x34" } "CHLTVServer::BroadcastEventLocal" { "library" "engine" - "linux" "@_ZN11CHLTVServer19BroadcastEventLocalEP10IGameEventb" + // _ZN11CHLTVServer19BroadcastEventLocalEP10IGameEventb + "linux" "\x55\x89\xE5\x57\x56\x8D\x45\xB0\x53\x83\xEC\x6C" // "SourceTV broadcast local event: %s\n" "windows" "\x55\x8B\xEC\x83\xEC\x4C\x53\x8B\xD9\xC7\x45\xB4\x2A\x2A\x2A\x2A\x56\x8D" } @@ -124,15 +128,18 @@ "CHLTVServer::BroadcastLocalChat" { "library" "engine" - "linux" "@_ZN11CHLTVServer18BroadcastLocalChatEPKcS1_" + // _ZN11CHLTVServer18BroadcastLocalChatEPKcS1_ + "linux" "\x55\x89\xE5\x57\x56\x53\x83\xEC\x6C\x8B\x15\x2A\x2A\x2A\x2A\x8B\x02" // "hltv_chat" "windows" "\x55\x8B\xEC\x83\xEC\x54\xA1\x2A\x2A\x2A\x2A\x53" } - "CHLTVServer::GetRecordingDemoFilename" + "CHLTVServer_DemoRecorderRef" { "library" "engine" - "linux" "@_ZN11CHLTVServer24GetRecordingDemoFilenameEv" + // _ZN11CHLTVServer26StopRecordingAndFreeFramesEbPK9CGameInfo + "linux" "\x55\x89\xE5\x57\x56\x53\x83\xEC\x3C\x8B\x5D\x08\x8B\x55\x10\x0F\xB6\x7D\x0C" + // _ZN11CHLTVServer11IsRecordingEv "windows" "\x8B\x81\x2A\x2A\x2A\x2A\x81\xC1\x2A\x2A\x2A\x2A\x8B\x40\x2A\xFF\xE0" } @@ -141,13 +148,17 @@ "CHLTVDemoRecorder::StartRecording" { "library" "engine" - "linux" "@_ZN17CHLTVDemoRecorder14StartRecordingEPKcb" + // "StartRecording: couldn't open demo file %s.\n" + // _ZN17CHLTVDemoRecorder14StartRecordingEPKcb + "linux" "\x55\x89\xE5\x83\xEC\x18\x89\x5D\xF8\x8B\x5D\x08\x89\x75\xFC\x8B\x75\x0C\x8B\x03\xC7\x44\x24\x04\x00\x00\x00\x00" } "CHLTVDemoRecorder::StopRecording" { "library" "engine" - "linux" "@_ZN17CHLTVDemoRecorder13StopRecordingEPK9CGameInfo" + // "Completed GOTV demo \"%s\", recording time %.1f\n" + // _ZN17CHLTVDemoRecorder13StopRecordingEPK9CGameInfo + "linux" "\x55\x89\xE5\x56\x53\x83\xEC\x30\x8B\x5D\x08\x80\xBB\x40\x05\x00\x00\x00" } } }