1
0
mirror of synced 2025-02-23 13:39:06 +01:00

added Tekken 7 FR Support

This commit is contained in:
nzgamer41 2019-11-10 13:48:58 +13:00
parent 6881e89810
commit d8b2e61425
3 changed files with 27 additions and 2 deletions

24
OpenParrot/Tekken7.cpp Normal file
View File

@ -0,0 +1,24 @@
#include <StdInc.h>
#include "Utility/InitFunction.h"
#include "Functions/Global.h"
#include "MinHook.h"
#include <Utility/Hooking.Patterns.h>
#include <thread>
#ifdef _M_AMD64
#pragma optimize("", off)
#pragma comment(lib, "Ws2_32.lib")
extern LPCSTR hookPort;
static InitFunction Tekken7Func([]()
{
hookPort = ("COM3");
uintptr_t imageBase = (uintptr_t)GetModuleHandleA(0);
// Skip all errors
injector::MakeNOP(imageBase + 0x25E791, 5);
// Force Offline mode
//safeJMP(imageBase + 0xACB190, ReturnFalse);
}, GameID::Tekken7);
#endif

View File

@ -241,7 +241,7 @@ extern linb::ini config;
static InitFunction initFunc([]()
{
if (GameDetect::currentGame == GameID::PokkenTournament || GameDetect::currentGame == GameID::SchoolOfRagnarok)
if (GameDetect::currentGame == GameID::PokkenTournament || GameDetect::currentGame == GameID::SchoolOfRagnarok || GameDetect::currentGame == GameID::Tekken7)
return;
if (ToBool(config["General"]["Windowed"]))
{

View File

@ -59,5 +59,6 @@ enum class GameID
FNFSB2,
GHA,
JLeague,
Theatrhythm
Theatrhythm,
Tekken7
};