1
0
mirror of synced 2024-11-14 23:07:36 +01:00
This commit is contained in:
Reaver 2021-06-28 01:45:07 +03:00
commit ddcde4a273
3 changed files with 28 additions and 3 deletions

View File

@ -1041,4 +1041,19 @@ static InitFunction initVF5Func([]()
}, GameID::VF5Esports);
static InitFunction initGoonyaFunc([]()
{
HookAPM3();
strcpy(APM3GameId, "SDGX");
__int64 mainModuleBase = (__int64)GetModuleHandle(0);
}, GameID::GoonyaFighter);
static InitFunction initPuyoFunc([]()
{
HookAPM3();
strcpy(APM3GameId, "SDFF");
__int64 mainModuleBase = (__int64)GetModuleHandle(0);
}, GameID::PuyoPuyoEsports);
#endif

View File

@ -647,9 +647,16 @@ void GameDetect::DetectCurrentGame()
case 0x0f98a7a2:
currentGame = GameID::Pengoe5;
break;
case 0x6fc27eed:
case 0x6fc27eed: // Original
case 0x3b3fc3ab: // Other exe
currentGame = GameID::VF5Esports;
break;
case 0x1ab0f981:
currentGame = GameID::GoonyaFighter;
break;
case 0x8c30fa5a:
currentGame = GameID::PuyoPuyoEsports;
break;
#endif
default:
#ifdef _DEBUG
@ -659,6 +666,7 @@ void GameDetect::DetectCurrentGame()
#else
memset(errorBuffer, 0, 256);
sprintf_s(errorBuffer, 256, "Unsupported Executable, NEW CRC: %08X!", newCrcResult);
WritePrivateProfileStringA("Error", "Unsupported Executable", errorBuffer, ".\\teknoparrot.ini");
MessageBoxA(0, errorBuffer, "Error", MB_ICONERROR);
ExitProcess(0);
#endif

View File

@ -99,5 +99,7 @@ enum class GameID
RadikalBikers,
Pengoe5,
Pengoe5_Test,
VF5Esports
VF5Esports,
GoonyaFighter,
PuyoPuyoEsports
};