From 7f3c49966bd405604c250833601206b92dbea430 Mon Sep 17 00:00:00 2001 From: Blu3train Date: Fri, 14 Apr 2023 23:23:31 +0200 Subject: [PATCH] Improved recognition TinkerBell engine --- texthook/engine/match32.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/texthook/engine/match32.cc b/texthook/engine/match32.cc index fffc4c7..7e548a7 100644 --- a/texthook/engine/match32.cc +++ b/texthook/engine/match32.cc @@ -281,8 +281,9 @@ bool DetermineEngineByFile2() InsertWaffleHook(); return true; } - if (Util::CheckFile(L"Arc00.dat") && InsertTinkerBellHook()) { - return true; + if (Util::CheckFile(L"Arc00.dat") || Util::SearchResourceString(L"TinkerBell")) { + if(InsertTinkerBellHook()) + return true; } if (Util::CheckFile(L"*.vfs")) { // jichi 7/6/2014: Better to test AoiLib.dll? ja.wikipedia.org/wiki/ソフトハウスキャラ InsertSystemAoiHook();