Fix Tekken 7 FR Problems
- Fix Windowed Mode - Fix First Check Error when returning from TEST
This commit is contained in:
parent
3acde60af9
commit
60d07b00bc
@ -18,7 +18,15 @@ static InitFunction Tekken7Func([]()
|
||||
// Skip all errors
|
||||
injector::MakeNOP(imageBase + 0x25E791, 5);
|
||||
|
||||
// Force Offline mode
|
||||
//safeJMP(imageBase + 0xACB190, ReturnFalse);
|
||||
}, GameID::Tekken7);
|
||||
// First Check Error
|
||||
injector::MakeNOP(imageBase + 0x268E00, 5);
|
||||
|
||||
// Windowed
|
||||
if (ToBool(config["General"]["Windowed"]))
|
||||
{
|
||||
// TODO: DOCUMENT PATCHES
|
||||
injector::WriteMemory<LONGLONG>(imageBase + 0x115E757, 0xF633C1FFC1FFC933, true);
|
||||
injector::WriteMemory<DWORD>(imageBase + 0x115E757 + 0x08, 0xC6FFC6FF, true);
|
||||
}
|
||||
}, GameID::TER);
|
||||
#endif
|
@ -80,6 +80,8 @@ static InitFunction initFunc([]()
|
||||
{
|
||||
if (GameDetect::currentGame == GameID::BG4)
|
||||
return;
|
||||
if (GameDetect::currentGame == GameID::TER)
|
||||
return;
|
||||
if (GameDetect::currentGame == GameID::FNFSC)
|
||||
InitD3D8WindowHook();
|
||||
if (ToBool(config["General"]["Windowed"]))
|
||||
|
@ -70,7 +70,7 @@ extern linb::ini config;
|
||||
|
||||
static InitFunction initFunc([]()
|
||||
{
|
||||
if (GameDetect::currentGame == GameID::BG4 || GameDetect::currentGame == GameID::JLeague)
|
||||
if (GameDetect::currentGame == GameID::BG4 || GameDetect::currentGame == GameID::JLeague || GameDetect::currentGame == GameID::TER)
|
||||
return;
|
||||
if (ToBool(config["General"]["Windowed"]))
|
||||
{
|
||||
|
@ -241,7 +241,7 @@ extern linb::ini config;
|
||||
|
||||
static InitFunction initFunc([]()
|
||||
{
|
||||
if (GameDetect::currentGame == GameID::PokkenTournament || GameDetect::currentGame == GameID::SchoolOfRagnarok || GameDetect::currentGame == GameID::Tekken7)
|
||||
if (GameDetect::currentGame == GameID::PokkenTournament || GameDetect::currentGame == GameID::SchoolOfRagnarok || GameDetect::currentGame == GameID::TER)
|
||||
return;
|
||||
if (ToBool(config["General"]["Windowed"]))
|
||||
{
|
||||
|
@ -475,7 +475,7 @@ void GameDetect::DetectCurrentGame()
|
||||
currentGame = GameID::Theatrhythm;
|
||||
break;
|
||||
case 0xdb9c3a90:
|
||||
currentGame = GameID::Tekken7;
|
||||
currentGame = GameID::TER;
|
||||
break;
|
||||
#endif
|
||||
default:
|
||||
|
@ -60,5 +60,5 @@ enum class GameID
|
||||
GHA,
|
||||
JLeague,
|
||||
Theatrhythm,
|
||||
Tekken7
|
||||
TER
|
||||
};
|
Loading…
x
Reference in New Issue
Block a user