Skip to content

Commit

Permalink
Havok physics fix for SR1(TU1)
Browse files Browse the repository at this point in the history
  • Loading branch information
Clippy95 committed Dec 8, 2024
1 parent 768973e commit aa33d00
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions patches/545107D1 - Saints Row (TU1).patch.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit aa33d00

Please sign in to comment.