bugfix engine some more
This commit is contained in:
parent
7353a95a7e
commit
2fcdf141c5
@ -16435,6 +16435,13 @@ bool InsertAdobeFlash10Hook()
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/** Artikash 8/10/2018: Ren'py
|
||||||
|
*
|
||||||
|
* Sample games: https://vndb.org/v19843 https://vndb.org/v12038 and many more OELVNs
|
||||||
|
*
|
||||||
|
* Uses CPython, and links to python27.dll. PyUicodeUCS2_Format is the function used to process text.
|
||||||
|
* seems to use __thiscall convention, so ecx points to string class. offset 0xc from that is a wchar_t* to the actual string
|
||||||
|
*/
|
||||||
bool InsertRenpyHook()
|
bool InsertRenpyHook()
|
||||||
{
|
{
|
||||||
HookParam hp = {};
|
HookParam hp = {};
|
||||||
@ -16444,7 +16451,7 @@ bool InsertRenpyHook()
|
|||||||
ConsoleOutput("NextHooker: Ren'py failed: failed to find python27.dll or PyUnicodeUCS2_Format");
|
ConsoleOutput("NextHooker: Ren'py failed: failed to find python27.dll or PyUnicodeUCS2_Format");
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
hp.offset = pusha_eax_off - 4;
|
hp.offset = pusha_ecx_off - 4;
|
||||||
hp.index = 0xc;
|
hp.index = 0xc;
|
||||||
hp.length_offset = 0;
|
hp.length_offset = 0;
|
||||||
hp.split = pusha_ebx_off - 4;
|
hp.split = pusha_ebx_off - 4;
|
||||||
|
@ -721,7 +721,7 @@ bool DetermineNoEngine()
|
|||||||
}
|
}
|
||||||
|
|
||||||
// jichi 2/14/2015: Guilty+ RIN×SEN (PK)
|
// jichi 2/14/2015: Guilty+ RIN×SEN (PK)
|
||||||
if (Util::CheckFile(L"rio.ini") || Util::CheckFile(L"*.war")) {
|
if (/*Util::CheckFile(L"rio.ini") || */Util::CheckFile(L"*.war")) {
|
||||||
ConsoleOutput("vnreng: IGNORE unknown ShinaRio");
|
ConsoleOutput("vnreng: IGNORE unknown ShinaRio");
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user