Skip to content

Commit

Permalink
'Fix' Enable Debug Console patch for TU1
Browse files Browse the repository at this point in the history
  • Loading branch information
Clippy95 committed Dec 17, 2024
1 parent ecbd67d commit 06d4d60
Showing 1 changed file with 32 additions and 5 deletions.
37 changes: 32 additions & 5 deletions patches/545107D1 - Saints Row (TU1).patch.toml
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,8 @@ hash = [

[[patch]]
name = "Enable Debug Console"
desc = "Requires keyboard_passthru to be changed from false to true in the Xenia Canary config; Requires Xenia Canary version 271befc from January 25th or older."
author = "emoose"
desc = "Requires keyboard_passthru_user_index to be changed from -1 to 0 in the Xenia Canary config, press ~ to open and close the console."
author = "emoose, expanded by Clippy95"
is_enabled = false

[[patch.be32]]
Expand All @@ -141,9 +141,36 @@ hash = [
[[patch.be32]]
address = 0x82660268
value = 0x480b8e14
[[patch.be8]]
address = 0x835f4c3e
value = 0x01
[[patch.be32]]
address = 0x8263e334
value = 0x4bb693b0 # b 821a76e4
[[patch.be32]]
address = 0x821a76e4
value = 0x8b1e000b # lbz r24,0xb(r30)
[[patch.be32]]
address = 0x821a76e8
value = 0x6b180001 # xori r24,r24,0x1 # originally set to 0 to close the console window, now just xor to open/close.
[[patch.be32]]
address = 0x821a76ec
value = 0x9b1e000b # stb r24,0xb(r30)
[[patch.be32]]
address = 0x821a76f0
value = 0x48496c48 # b 0x8263e338
[[patch.be32]]
address = 0x82198b58
value = 0x60000000
[[patch.be32]]
address = 0x82198b5c
value = 0x60000000
[[patch.be32]]
address = 0x82198b5c
value = 0x42800008
[[patch.be32]]
address = 0x8263d150
value = 0x60000000
[[patch.be32]]
address = 0x8263d228
value = 0x8263e330 # Allow to open/close console with ~ key

[[patch]]
name = "Loose VPP Content loading" # loose->dlcs->vpps
Expand Down

0 comments on commit 06d4d60

Please sign in to comment.