Merge branch 'master' of https://github.com/teknogods/OpenParrot
This commit is contained in:
commit
ddcde4a273
@ -1040,5 +1040,20 @@ static InitFunction initVF5Func([]()
|
||||
__int64 mainModuleBase = (__int64)GetModuleHandle(0);
|
||||
|
||||
}, 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
|
@ -646,10 +646,17 @@ void GameDetect::DetectCurrentGame()
|
||||
break;
|
||||
case 0x0f98a7a2:
|
||||
currentGame = GameID::Pengoe5;
|
||||
break;
|
||||
case 0x6fc27eed:
|
||||
break;
|
||||
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
|
||||
|
@ -99,5 +99,7 @@ enum class GameID
|
||||
RadikalBikers,
|
||||
Pengoe5,
|
||||
Pengoe5_Test,
|
||||
VF5Esports
|
||||
VF5Esports,
|
||||
GoonyaFighter,
|
||||
PuyoPuyoEsports
|
||||
};
|
Loading…
Reference in New Issue
Block a user