Add ALESTE APM3
Add ALESTE APM3
This commit is contained in:
parent
c75ff7e03e
commit
c30e7739b6
@ -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
|
||||
|
@ -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:
|
||||
|
@ -116,5 +116,6 @@ enum class GameID
|
||||
GGS,
|
||||
Umifresh,
|
||||
RollingGunner20,
|
||||
RollingGunner21
|
||||
RollingGunner21,
|
||||
Aleste
|
||||
};
|
Loading…
x
Reference in New Issue
Block a user