From aa33d00dea2a01cb4e13b24909161e06f919d0af Mon Sep 17 00:00:00 2001 From: Clippy95 Date: Sun, 8 Dec 2024 19:02:48 +0300 Subject: [PATCH] Havok physics fix for SR1(TU1) --- .../545107D1 - Saints Row (TU1).patch.toml | 40 +++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/patches/545107D1 - Saints Row (TU1).patch.toml b/patches/545107D1 - Saints Row (TU1).patch.toml index 40483116..8f7db567 100644 --- a/patches/545107D1 - Saints Row (TU1).patch.toml +++ b/patches/545107D1 - Saints Row (TU1).patch.toml @@ -25,6 +25,46 @@ hash = [ address = 0x82385704 value = 0x906bfffc +[[patch]] + name = "Havok physics FPS fix" + desc = "Fixes Cutscene Objects desyncing and doors teleporting on high fps, at the cost of framerates." + author = "Clippy95" # Initially found by uzis for SR2, SR1 address provided by Tervel. + is_enabled = false + + [[patch.be32]] + address = 0x82646344 + value = 0x4bb61348 # b 0x821a768c + [[patch.be32]] + address = 0x821a7660 + value = 0x4e800020 # blr + [[patch.be32]] + address = 0x821a768c + value = 0xd01aa69c # stfs f0,-0x5964(r26) + [[patch.be32]] + address = 0x821a7690 + value = 0x3c608200 # lis r3,0x8200 + [[patch.be32]] + address = 0x821a7694 + value = 0xc0430adc # lfs f2,0xadc(r3) + [[patch.be32]] + address = 0x821a7698 + value = 0xec201024 # fdivs f1,f0,f2 + [[patch.be32]] + address = 0x821a769c + value = 0x3c60835f # lis r3,0x835f + [[patch.be32]] + address = 0x821a76a0 + value = 0xd0232684 # stfs f1,0x2684(r3) + [[patch.be32]] + address = 0x821a76a4 + value = 0x4849eca4 # b 0x82646348 (back to main game loop) + [[patch.be32]] + address = 0x82195324 + value = 0x60000000 + [[patch.be32]] + address = 0x8225bd8c + value = 0x60000000 + [[patch]] name = "Skip Logos" author = "illusion"