mireado

update Escude searching method

New Astronauts game, ダンジョン オブ レガリアス 背徳の都イシュガリア.
Using escude engine without 'configure.exe'.

See also:
http://sakuradite.com/topic/1300
...@@ -84,7 +84,7 @@ bool DeterminePCEngine() ...@@ -84,7 +84,7 @@ bool DeterminePCEngine()
84 84
85 // 3/20/2015 jichi 85 // 3/20/2015 jichi
86 // Always insert GDI hooks even for Mono games 86 // Always insert GDI hooks even for Mono games
87 - // For example: ?? need GetGlyphOutlineA 87 + // For example: ãæá¦?ãÆ? need GetGlyphOutlineA
88 PcHooks::hookGDIFunctions(); 88 PcHooks::hookGDIFunctions();
89 return true; 89 return true;
90 } 90 }
...@@ -269,7 +269,7 @@ bool DetermineEngineByFile2() ...@@ -269,7 +269,7 @@ bool DetermineEngineByFile2()
269 InsertTinkerBellHook(); 269 InsertTinkerBellHook();
270 return true; 270 return true;
271 } 271 }
272 - if (IthFindFile(L"*.vfs")) { // jichi 7/6/2014: Better to test AoiLib.dll? ja.wikipedia.org/wiki/իȫϫ 272 + if (IthFindFile(L"*.vfs")) { // jichi 7/6/2014: Better to test AoiLib.dll? ja.wikipedia.org/wiki/«½«Õ«È«Ï«¦«¹«­«ã«é
273 InsertSystemAoiHook(); 273 InsertSystemAoiHook();
274 return true; 274 return true;
275 } 275 }
...@@ -279,7 +279,7 @@ bool DetermineEngineByFile2() ...@@ -279,7 +279,7 @@ bool DetermineEngineByFile2()
279 } 279 }
280 // jichi 8/1/2014: YU-RIS engine, lots of clockup game also has this pattern 280 // jichi 8/1/2014: YU-RIS engine, lots of clockup game also has this pattern
281 if (IthFindFile(L"pac\\*.ypf") || IthFindFile(L"*.ypf")) { 281 if (IthFindFile(L"pac\\*.ypf") || IthFindFile(L"*.ypf")) {
282 - // jichi 8/14/2013: CLOCLUP: "?֫쫹֫?" would crash the game. 282 + // jichi 8/14/2013: CLOCLUP: "«Î?«Ö«ì«¹«ª«Ö«ê?«¸«å" would crash the game.
283 if (!IthCheckFile(L"noblesse.exe")) 283 if (!IthCheckFile(L"noblesse.exe"))
284 InsertYurisHook(); 284 InsertYurisHook();
285 return true; 285 return true;
...@@ -333,7 +333,7 @@ bool DetermineEngineByFile3() ...@@ -333,7 +333,7 @@ bool DetermineEngineByFile3()
333 InsertTriangleHook(); 333 InsertTriangleHook();
334 return true; 334 return true;
335 } 335 }
336 - // jichi 2/28/2015: No longer work for "᡿??꫹ episode I" from Primula 336 + // jichi 2/28/2015: No longer work for "ÓÞïá¡¿??«¢«ê«¹ episode I" from Primula
337 //if (IthCheckFile(L"PSetup.exe")) { 337 //if (IthCheckFile(L"PSetup.exe")) {
338 // InsertPensilHook(); 338 // InsertPensilHook();
339 // return true; 339 // return true;
...@@ -398,7 +398,7 @@ bool DetermineEngineByFile4() ...@@ -398,7 +398,7 @@ bool DetermineEngineByFile4()
398 InsertExpHook(); 398 InsertExpHook();
399 return true; 399 return true;
400 } 400 }
401 - // jichi 2/6/2015 401 + // jichi 2/6/2015 øÁäÌïÍ
402 // dPi.dat, dPih.dat, dSc.dat, dSch.dat, dSo.dat, dSoh.dat, dSy.dat 402 // dPi.dat, dPih.dat, dSc.dat, dSch.dat, dSo.dat, dSoh.dat, dSy.dat
403 //if (IthCheckFile(L"dSoh.dat")) { // no idea why this file does not work 403 //if (IthCheckFile(L"dSoh.dat")) { // no idea why this file does not work
404 if (IthCheckFile(L"dSch.dat")) { 404 if (IthCheckFile(L"dSch.dat")) {
...@@ -407,7 +407,7 @@ bool DetermineEngineByFile4() ...@@ -407,7 +407,7 @@ bool DetermineEngineByFile4()
407 } 407 }
408 408
409 // jichi 2/28/2015: Delay checking Pensil in case something went wrong 409 // jichi 2/28/2015: Delay checking Pensil in case something went wrong
410 - // File pattern observed in [Primula] ᡿??꫹ episode I 410 + // File pattern observed in [Primula] ÓÞïá¡¿??«¢«ê«¹ episode I
411 // - PSetup.exe no longer exists 411 // - PSetup.exe no longer exists
412 // - MovieTexture.dll information shows MovieTex dynamic library, copyright Pensil 2013 412 // - MovieTexture.dll information shows MovieTex dynamic library, copyright Pensil 2013
413 // - ta_trial.exe information shows 2XT - Primula Adventure Engine 413 // - ta_trial.exe information shows 2XT - Primula Adventure Engine
...@@ -429,7 +429,7 @@ bool DetermineEngineByProcessName() ...@@ -429,7 +429,7 @@ bool DetermineEngineByProcessName()
429 return true; 429 return true;
430 } 430 }
431 431
432 - // jichi 8/19/2013: DO NOT WORK for games likeϫԫ᫢ 432 + // jichi 8/19/2013: DO NOT WORK for games like¡¸«Ï«Ô«á«¢¡¹
433 //if (wcsstr(str,L"cmvs32") || wcsstr(str,L"cmvs64")) { 433 //if (wcsstr(str,L"cmvs32") || wcsstr(str,L"cmvs64")) {
434 // InsertCMVSHook(); 434 // InsertCMVSHook();
435 // return true; 435 // return true;
...@@ -506,7 +506,7 @@ bool DetermineEngineByProcessName() ...@@ -506,7 +506,7 @@ bool DetermineEngineByProcessName()
506 return true; 506 return true;
507 507
508 // jichi 7/23/2015 It also has gameexe.bin existed 508 // jichi 7/23/2015 It also has gameexe.bin existed
509 - if (IthCheckFile(L"configure.exe") && IthCheckFile(L"configure.cfg") && IthCheckFile(L"gfx.bin")) { 509 + if (IthCheckFile(L"configure.cfg") && IthCheckFile(L"gfx.bin")) {
510 InsertEscudeHook(); 510 InsertEscudeHook();
511 return true; 511 return true;
512 } 512 }
...@@ -575,7 +575,7 @@ bool DetermineEngineOther() ...@@ -575,7 +575,7 @@ bool DetermineEngineOther()
575 // Put the patterns that might break other games at last 575 // Put the patterns that might break other games at last
576 bool DetermineEngineAtLast() 576 bool DetermineEngineAtLast()
577 { 577 {
578 - if (IthCheckFile(L"MovieTexture.dll") && (InsertPensilHook() || Insert2RMHook())) // MovieTexture.dll also exists in 2RM games such as ٽ2??, which is checked first 578 + if (IthCheckFile(L"MovieTexture.dll") && (InsertPensilHook() || Insert2RMHook())) // MovieTexture.dll also exists in 2RM games such as Ù½í­äñ2??÷ú, which is checked first
579 return true; 579 return true;
580 if (IthFindFile(L"system") && IthFindFile(L"system.dat")) { // jichi 7/31/2015 580 if (IthFindFile(L"system") && IthFindFile(L"system.dat")) { // jichi 7/31/2015
581 InsertAbelHook(); 581 InsertAbelHook();
...@@ -643,7 +643,7 @@ bool DetermineEngineGeneric() ...@@ -643,7 +643,7 @@ bool DetermineEngineGeneric()
643 ret = true; 643 ret = true;
644 } 644 }
645 //} else if (IthFindFile(L"image\\*.po2") || IthFindFile(L"image\\*.jo2")) { 645 //} else if (IthFindFile(L"image\\*.po2") || IthFindFile(L"image\\*.jo2")) {
646 - // ConsoleOutput("vnreng: HarukaKanata, INSERT WideChar hooks"); // Ϫ몫ʪ 646 + // ConsoleOutput("vnreng: HarukaKanata, INSERT WideChar hooks"); // ªÏªëª«ª«ªÊª¿
647 // ret = true; 647 // ret = true;
648 //} 648 //}
649 if (ret) 649 if (ret)
...@@ -668,7 +668,7 @@ bool DetermineNoEngine() ...@@ -668,7 +668,7 @@ bool DetermineNoEngine()
668 return true; 668 return true;
669 } 669 }
670 670
671 - // jichi 11/22/2015: NECRO ?? 671 + // jichi 11/22/2015: ÔÐÌÈNECRO ??÷ú
672 if (IthFindFile(L"*.npk")) { 672 if (IthFindFile(L"*.npk")) {
673 ConsoleOutput("vnreng: IGNORE new Nitroplus"); 673 ConsoleOutput("vnreng: IGNORE new Nitroplus");
674 return true; 674 return true;
...@@ -686,7 +686,7 @@ bool DetermineNoEngine() ...@@ -686,7 +686,7 @@ bool DetermineNoEngine()
686 return true; 686 return true;
687 } 687 }
688 688
689 - // jichi 2/14/2015: Guilty+ ңɣΡӣţ (PK) 689 + // jichi 2/14/2015: Guilty+ £Ò£É£Î¡¿£Ó£Å£Î (PK)
690 if (IthCheckFile(L"rio.ini") || IthFindFile(L"*.war")) { 690 if (IthCheckFile(L"rio.ini") || IthFindFile(L"*.war")) {
691 ConsoleOutput("vnreng: IGNORE unknown ShinaRio"); 691 ConsoleOutput("vnreng: IGNORE unknown ShinaRio");
692 return true; 692 return true;
...@@ -707,7 +707,7 @@ bool DetermineNoEngine() ...@@ -707,7 +707,7 @@ bool DetermineNoEngine()
707 return true; 707 return true;
708 } 708 }
709 709
710 - // jichi 4/30/2015: Skip games made from 骹, such as ȪΫͫȫ 710 + // jichi 4/30/2015: Skip games made from ªéª¹ª³ª¦, such as ªÈª¢ªëìÑô£ªÎ«Í«È«é«ìÞÀï×
711 // It has garbage from lstrlenW. Correct text is supposed to be in TabbedTextOutA. 711 // It has garbage from lstrlenW. Correct text is supposed to be in TabbedTextOutA.
712 if (IthCheckFile(L"data_cg.dpm")) { 712 if (IthCheckFile(L"data_cg.dpm")) {
713 ConsoleOutput("vnreng: IGNORE DPM data_cg.dpm"); 713 ConsoleOutput("vnreng: IGNORE DPM data_cg.dpm");
...@@ -770,7 +770,7 @@ bool DetermineNoEngine() ...@@ -770,7 +770,7 @@ bool DetermineNoEngine()
770 *(DWORD *)(str + i + 1) = 0x630068; //.hcb 770 *(DWORD *)(str + i + 1) = 0x630068; //.hcb
771 *(DWORD *)(str + i + 3) = 0x62; 771 *(DWORD *)(str + i + 3) = 0x62;
772 if (IthCheckFile(str)) { 772 if (IthCheckFile(str)) {
773 - ConsoleOutput("vnreng: IGNORE FVP"); // jichi 10/3/2013: such like ȫꫨ 773 + ConsoleOutput("vnreng: IGNORE FVP"); // jichi 10/3/2013: such like «¢«È«ê«¨ª«ª°ªä
774 return true; 774 return true;
775 } 775 }
776 return false; 776 return false;
......