BG4 Tuned - Fix freeplay menu issue etc and added window title
This commit is contained in:
parent
394c73c5f2
commit
19a01e5e33
@ -78,9 +78,7 @@ void BG4ManualHack(Helpers* helpers) //Hack to allow us to select Manual
|
||||
if (MenuTime == 0x1194)
|
||||
{
|
||||
if (!MenuHack)
|
||||
{
|
||||
MenuHack = true;
|
||||
}
|
||||
}
|
||||
|
||||
if (MenuTime == 0x00)
|
||||
@ -117,17 +115,13 @@ static void BG4ProManualHack(Helpers* helpers) //Hack to allow us to select Manu
|
||||
if (VehicleSelection)
|
||||
{
|
||||
if (!MenuHack)
|
||||
{
|
||||
MenuHack = true;
|
||||
}
|
||||
}
|
||||
|
||||
if (MenuTime == 0x00)
|
||||
{
|
||||
if (MenuHack)
|
||||
{
|
||||
MenuHack = false;
|
||||
}
|
||||
}
|
||||
|
||||
if (MenuHack)
|
||||
@ -152,7 +146,7 @@ void BG4ProInputs(Helpers* helpers)
|
||||
if (!init)
|
||||
{
|
||||
imageBase = (DWORD)GetModuleHandleA(0);
|
||||
UINT8 WaitForAttract = helpers->ReadByte(0x42D964, true);
|
||||
UINT8 WaitForAttract = helpers->ReadByte(0x42E386, true);
|
||||
|
||||
if (WaitForAttract)
|
||||
{
|
||||
|
@ -517,6 +517,9 @@ static InitFunction initFunction([]()
|
||||
// Fix sound only being in left ear
|
||||
injector::WriteMemoryRaw(imageBase + 0x36C3DC, "\x00\x60\xA9\x45", 4, true);
|
||||
|
||||
// Rename window name
|
||||
injector::WriteMemoryRaw(imageBase + 0x36B790, "\x4F\x70\x65\x6E\x50\x61\x72\x72\x6F\x74\x20\x2D\x20\x42\x61\x74\x74\x6C\x65\x20\x47\x65\x61\x72\x20\x34\x20\x54\x75\x6E\x65\x64", 37, true);
|
||||
|
||||
if (ToBool(config["General"]["IntroFix"]))
|
||||
{
|
||||
// thanks for Ducon2016 for the patch!
|
||||
|
Loading…
x
Reference in New Issue
Block a user