mirror of
https://github.com/Artikash/Textractor.git
synced 2024-12-23 17:04:12 +08:00
update engine matching code
This commit is contained in:
parent
5e630f76f5
commit
cf29840c1a
@ -100,7 +100,7 @@ bool DetermineEngineByFile1()
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Artikash 8/9/2018: Renpy - sample game https://vndb.org/v19843
|
// Artikash 8/9/2018: Renpy - sample game https://vndb.org/v19843
|
||||||
if (GetModuleHandleW(L"python27"))
|
if (Util::CheckFile(L"*.py"))
|
||||||
{
|
{
|
||||||
InsertRenpyHook();
|
InsertRenpyHook();
|
||||||
return true;
|
return true;
|
||||||
@ -164,7 +164,7 @@ bool DetermineEngineByFile1()
|
|||||||
}
|
}
|
||||||
// jichi 10/12/2013: Restore wolf engine
|
// jichi 10/12/2013: Restore wolf engine
|
||||||
// jichi 10/18/2013: Check for data/*.wolf
|
// jichi 10/18/2013: Check for data/*.wolf
|
||||||
if (Util::CheckFile(L"data.wolf") || Util::CheckFile(L"data\\*.wolf")) {
|
if (Util::CheckFile(L"data.wolf") || Util::CheckFile(L"data\\*.wolf") || Util::CheckFile(L"data\\basicdata\\cdatabase.dat")) {
|
||||||
InsertWolfHook();
|
InsertWolfHook();
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user