Skip to content

Commit

Permalink
SR1 & 2 patches (#354)
Browse files Browse the repository at this point in the history
  • Loading branch information
Clippy95 authored Dec 7, 2024
1 parent 59e9e31 commit d2fd81c
Show file tree
Hide file tree
Showing 2 changed files with 251 additions and 12 deletions.
137 changes: 136 additions & 1 deletion patches/545107D1 - Saints Row (TU1).patch.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
title_name = "Saints Row" # TU1
title_id = "545107D1" # TQ-2001
hash = "2537D5F11410BE0A" # default.xex
hash = [
"2537D5F11410BE0A", # default.xex
"2C1C83BE7103BB3D" # PhantasyRow.xex
]
#media_id = "24367742" # Disc (USA, Europe): http://redump.org/disc/11811

[[patch]]
Expand Down Expand Up @@ -65,3 +68,135 @@ hash = "2537D5F11410BE0A" # default.xex
[[patch.be8]]
address = 0x835f4c3e
value = 0x01

[[patch]]
name = "Unlock All Cheats"
desc = "Replaces Chicken Ned phone number with 1337, and unlocks all cheats when calling him."
author = "Clippy95"
is_enabled = false

[[patch.array]]
address = 0x82063d70
value = "0x31333337000000" # 1337
[[patch.be32]]
address = 0x822e6ab0
value = 0x3c608204 # lis r3, 0x8204
[[patch.be32]]
address = 0x822e6ab4
value = 0x6063e528 # addi r3, r3, 0xE528 "cheats_unlock_all"
[[patch.be32]]
address = 0x822e6ab8
value = 0x48356058 # call console command

[[patch]]
name = "Aspect Ratio"
desc = "To get proper Aspect Ratio FOV = Default * (Width/Height) / (16/9)"
author = "Tervel"
is_enabled = false

[[patch.be8]]
address = 0x827fdd2c
value = 0x01
[[patch.f32]]
address = 0x8208c4b0
value = 2.38888888889
[[patch.f32]]
address = 0x8208b94c # Gameplay FOV Multiplier
value = 1.777741190 # Default: 1.3333334
[[patch.f32]]
address = 0x8208c818 # Cutscene FOV Multiplier
value = 75.200706 # Default: 57.295776
[[patch.be32]]
address = 0x8228ee8c # NOP to prevent game from writing to UI X position.
value = 0x60000000
[[patch.f32]]
address = 0x82ede18c # UI X positioning.
value = 0.761905

[[patch]]
name = "Set Aspect Ratio to true 21:9"
desc = "Scales HUD correctly, Lowers resolution to 1280x540"
author = "Tervel"
is_enabled = false

[[patch.be32]]
address = 0x821952f4
value = 0x39000500
[[patch.be32]]
address = 0x821952f8
value = 0x3920021c
[[patch.be32]]
address = 0x8219360c
value = 0x60000000
[[patch.be16]]
address = 0x827f70ba
value = 0x021c
[[patch.be16]]
address = 0x827f70ca
value = 0x021c
[[patch.be16]]
address = 0x827f70da
value = 0x021c
[[patch.be16]]
address = 0x827f70ea
value = 0x021c
[[patch.be16]]
address = 0x827adb76
value = 0x021c
[[patch.be16]]
address = 0x827f6f82
value = 0x021c
[[patch.be16]]
address = 0x827f701e
value = 0x021c
[[patch.be16]]
address = 0x827f702e
value = 0x021c
[[patch.f32]]
address = 0x8208b94b # General FOV Multiplier
value = 1.777741190
[[patch.f32]]
address = 0x8208c818 # Cutscene FOV Multiplier.
value = 75.200706
[[patch.be32]]
address = 0x8228ee8c # NOP to prevent game from writing to UI X position.
value = 0x60000000
[[patch.f32]]
address = 0x82ede18c # UI X positioning.
value = 0.761905

[[patch]]
name = "Better Drive Cam"
author = "Clippy95"
is_enabled = false

[[patch.be32]]
address = 0x8211d604
value = 0x60000000
[[patch.be32]]
address = 0x8211d608
value = 0x60000000
[[patch.be32]]
address = 0x8211d60c
value = 0x60000000
[[patch.be32]]
address = 0x8211d610
value = 0x60000000

[[patch]]
name = "Raise vehicle camera rotation limit"
author = "Clippy95"
is_enabled = false

[[patch.be32]]
address = 0x82772d90
value = 0xc108c88c
[[patch.be32]]
address = 0x8211fc8c
value = 0xc00bc88c
[[patch.be32]]
address = 0x82772db0
value = 0xc0c8b850
[[patch.f32]]
address = 0x8208c88c
value = -0.5
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,15 @@ hash = "9B9E734BA6BDCCD9" # default.xex
address = 0x82b76c80 # Saturation
value = 0.8

[[patch]]
name = "Disable Sky Reflections"
author = "Tervel"
is_enabled = false

[[patch.be32]]
address = 0x82230790
value = 0x4e800020

[[patch]]
name = "Disable Bleach Filter"
author = "Tervel"
Expand Down Expand Up @@ -136,26 +145,121 @@ hash = "9B9E734BA6BDCCD9" # default.xex

[[patch]]
name = "Aspect Ratio"
desc = "See note about aspect ratio patches in the README. FOV Multiplier required otherwise Vert- default are for 21:9/43:18"
desc = "To get proper Aspect Ratio FOV = Default * (Width/Height) / (16/9)"
author = "Tervel"
is_enabled = false

[[patch.be8]]
address = 0x82b7a01c
value = 0x01
[[patch.f32]]
address = 0x820b80d0
value = 2.38888888889
[[patch.f32]]
address = 0x82b68a4c # General FOV Multiplier
value = 1.777741190 # Default: 1.3333334
[[patch.f32]]
address = 0x820b80b4 # Cutscene FOV Multiplier.
value = 75.200706 # Default # 57.295776

[[patch]]
name = "FOV Multiplier"
desc = "Multiplies FOV. Default is 1.33333, crosshair will be misaligned unless changed manually."
author = "Clippy95, Tervel"
is_enabled = false

[[patch.f32]]
address = 0x82b68a4c # General FOV Multiplier
value = 1.777741190 # Default: 1.3333334
[[patch.f32]]
address = 0x820b80b4 # Cutscene FOV Multiplier.
value = 75.200706 # Default # 57.295776

[[patch]]
name = "Skip Intros"
author = "Tervel"
is_enabled = false

[[patch.be32]]
address = 0x8244b7e0
value = 0x3bc00003
[[patch.be32]]
address = 0x82397ea0
value = 0x82398010

[[patch]]
name = "16x Anisotropic Filtering"
author = "Tervel, Clippy95"
is_enabled = false

[[patch.be32]]
address = 0x8290cfe0
value = 0x38a00010

[[patch]]
name = "Better Drive By Cam"
author = "Clippy95"
is_enabled = false

[[patch.be32]]
address = 0x8290af6c
address = 0x821a1f74
value = 0x60000000

[[patch]]
name = "Better Movement Behaviour"
desc = "Stops several animation events from running, closer to SR1's movement."
author = "Uzis, Clippy95"
is_enabled = false

[[patch.be32]]
address = 0x82086590 # jog 180
value = 0x60000000
[[patch.be32]]
address = 0x820865bc # stand 180
value = 0x60000000
[[patch.be32]]
address = 0x820865c8 # walk stop
value = 0x60000000
[[patch.be32]]
address = 0x82086270 # run to stop
value = 0x60000000
[[patch.be32]]
address = 0x8208627c # walk to stop
value = 0x60000000
[[patch.be32]]
address = 0x837756b4 # 3D aspect ratio
value = 0x4018e393
address = 0x82086240 # walk to stand
value = 0x60000000
[[patch.be32]]
address = 0x82086260 # stand to run
value = 0x60000000
[[patch.be32]]
address = 0x820b80d0 # Shadows & decals aspect ratio
value = 0x4018e393
address = 0x82086250 # stand to walk
value = 0x60000000

[[patch]]
name = "FOV Multiplier"
desc = "Multiplies FOV. Default is 1.33333."
author = "Clippy95"
name = "Ugly Mode"
desc = "Huge performance boost at the cost of worse visuals."
author = "Tervel"
is_enabled = false

[[patch.be8]]
address = 0x837dac89
value = 0x01
[[patch.be32]]
address = 0x82229a00
value = 0x60000000
[[patch.be8]]
address = 0x82b62e3f # MSAA
value = 0x00
[[patch.f32]]
address = 0x82b68a4c
value = 1.82
address = 0x82b76ca0
value = 400.0

[[patch]]
name = "Disable Weapon Glow"
author = "Tervel"
is_enabled = false

[[patch.be32]]
address = 0x820a41c0
value = 0x60000000

0 comments on commit d2fd81c

Please sign in to comment.