1
0
mirror of synced 2025-01-20 09:42:49 +01:00

Add ALESTE APM3

Add ALESTE APM3
This commit is contained in:
Reaver 2021-08-27 11:13:54 +03:00
parent c75ff7e03e
commit c30e7739b6
3 changed files with 18 additions and 1 deletions

View File

@ -1050,4 +1050,17 @@ static InitFunction initFuncRollingGunner21([]()
injector::MakeJMP(mainModuleBase + 0xB6140, ValidateDongle);
}, GameID::RollingGunner21);
static InitFunction initFuncAleste([]()
{
HookAPM3();
wcscpy(APM3GameId, L"SDHB");
DWORD_PTR mainModuleBase = (DWORD_PTR)GetModuleHandle(0);
// I am crazy and not care about serial check
injector::MakeJMP(mainModuleBase + 0x13B900, ValidateDongle);
}, GameID::Aleste);
#endif

View File

@ -622,6 +622,9 @@ void GameDetect::DetectCurrentGame()
case 0x3c367b7b: // Rolling Gunner 2.1
SetGameId(GameID::RollingGunner21, "Rolling Gunner 2.1");
break;
case 0xfcf9c9ce: // ALESTE
SetGameId(GameID::Aleste, "ALESTE");
break;
#endif
#ifdef _AMD64_
case 0xf322d053:

View File

@ -116,5 +116,6 @@ enum class GameID
GGS,
Umifresh,
RollingGunner20,
RollingGunner21
RollingGunner21,
Aleste
};