Skip to content

Commit

Permalink
4541080F - The Orange Box TU5 Patches (#265)
Browse files Browse the repository at this point in the history
  • Loading branch information
Luctaris authored Sep 13, 2023
1 parent 3fb30c9 commit 0851249
Show file tree
Hide file tree
Showing 4 changed files with 182 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
title_name = "The Orange Box"
title_id = "4541080F" # EA-2063
hash = "DE3EA44FCC45B8D4" # GameUI_360.dll (TU5)
#media_id = "651A85DA" # Disc (World): http://redump.org/disc/11838

[[patch]]
name = "Fake XBL online connectivity for menu options" # TF2
desc = "Disables 'You need an Xbox LIVE Gold Membership...' error message when trying to view XBL Player Match, XBL Ranked Match, and Ranking menus"
author = "Luctaris"
is_enabled = false

[[patch.be8]] # bSignedIn (CMatchmakingBasePanel::ValidateSigninAndStorage)
address = 0x83a913c7
value = 0x01 # 0x00
[[patch.be8]] # bOnlineEnabled (CMatchmakingBasePanel::ValidateSigninAndStorage)
address = 0x83a913cb
value = 0x01 # 0x00
[[patch.be8]] # bOnlineSignedIn (CMatchmakingBasePanel::ValidateSigninAndStorage)
address = 0x83a913cf
value = 0x01 # 0x00
[[patch.be8]]
address = 0x83a91458
value = 0x40 # 0x41

[[patch]]
name = "Dev Mode options"
desc = "Regardless of -dev, shows extra developer mode options in the Options menu."
author = "Luctaris"
is_enabled = false

[[patch.be8]]
address = 0x83a83090
value = 0x41 # 0x40
Original file line number Diff line number Diff line change
@@ -0,0 +1,98 @@
title_name = "The Orange Box"
title_id = "4541080F" # EA-2063
hash = "60AAD59F84CCE211" # engine_360.dll (TU5)
#media_id = "651A85DA" # Disc (World): http://redump.org/disc/11838

[[patch]]
name = "Team Fortress 2: Bypass internet requirement" # TF2
author = "illusion, Margen67, Luctaris"
is_enabled = false

[[patch.be8]] # -xnet_bypass_security
address = 0x8610e678
value = 0x40 # 0x41
[[patch.be8]] # -nodns
address = 0x861184a4
value = 0x40 # 0x41
[[patch.be8]] # -noip
address = 0x86118564
value = 0x40 # 0x41

[[patch]]
name = "No sound" # -nosound
desc = "Disables all sound, improves stability"
author = "Margen67, Luctaris"
is_enabled = false

[[patch.be8]]
address = 0x862223bc
value = 0x40 # 0x41

[[patch]]
name = "sv_cheats 1"
author = "Margen67, Luctaris"
is_enabled = false

[[patch.be8]]
address = 0x86365133
value = 0xfc # 0xf8

[[patch]]
name = "Debug Log" # DbgPrint(): 0x863708F4
desc = "Logs most (not all) messages being printed to internal developer console as DbgPrint messages in Xenia log. Warning, lots of data!"
author = "illusion, Luctaris"
is_enabled = false

[[patch.be32]]
address = 0x8636ff14 # Msg()
value = 0x480009e0 # b DbgPrint
[[patch.be32]]
address = 0x8636ff54 # Warning()
value = 0x480009a0
[[patch.be32]]
address = 0x86370374 # Log()
value = 0x48000580
[[patch.be32]]
address = 0x8636fee4 # Error()
value = 0x48000a10
[[patch.be32]]
address = 0x8636ff34 # DevMsg()
value = 0x480009c0
[[patch.be32]]
address = 0x86370044 # DevWarning()
value = 0x480008b0
[[patch.be32]]
address = 0x8636fef4 # ConMsg()
value = 0x48000a00
[[patch.be32]]
address = 0x86370004 # ConColorMsg()
value = 0x480008f0
[[patch.be32]]
address = 0x86370094 # ConDColorMsg()
value = 0x48000860
[[patch.be32]]
address = 0x8636ff44 # ConDMsg()
value = 0x480009b0
[[patch.be32]]
address = 0x8636ff24 # COM_TimestampedLog()
value = 0x480009d0

[[patch]]
name = "-console"
desc = "Skips loading background maps on main menus, faster load times"
author = "Luctaris"
is_enabled = false

[[patch.be8]]
address = 0x86173b04
value = 0x41 # 0x40

[[patch]]
name = "-dev"
desc = "Partially enables dev mode. Dev mode options will not appear without gameui_360.dll patch."
author = "Luctaris"
is_enabled = false

[[patch.be8]] # -dev
address = 0x86173b2c
value = 0x41 # 0x40
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
title_name = "The Orange Box"
title_id = "4541080F" # EA-2063
hash = "9E53F69A6E1EACF2" # TF2 Server_360.dll (TU5)
#media_id = "651A85DA" # Disc (World): http://redump.org/disc/11838

[[patch]]
name = "Developer Commentary Player Damage"
desc = "Allows damaging other players in dev commentary mode"
author = "DrGgearz, CrackBomber, Luctaris"
is_enabled = false

[[patch.be32]]
address = 0x8853143c
value = 0x38600000 # 0x886b0659

[[patch]]
name = "mp_waitingforplayers_time 0"
desc = "Disables waiting for players on new map load"
author = "Luctaris"
is_enabled = false

[[patch.be16]]
address = 0x88817f2e
value = 0x07d0 # 0x03ec [int* 0x883403ec (15)]

[[patch]]
name = "god"
desc = "Allows god mode command to work in TF2"
author = "Luctaris"
is_enabled = false

[[patch.be8]]
address = 0x88529293
value = 0x01 # 0x00
21 changes: 17 additions & 4 deletions patches/4541080F - The Orange Box (default.xex).patch.toml
Original file line number Diff line number Diff line change
@@ -1,14 +1,27 @@
title_name = "The Orange Box"
title_id = "4541080F" # EA-2063
hash = "B3D3A97499F8785B" # default.xex
hash = "B3D3A97499F8785B" # default.xex (TU0, TU5)
#media_id = "651A85DA" # Disc (World): http://redump.org/disc/11838

[[patch]]
name = "-dvd"
desc = "Same as adding -dvd to cl in the Xenia Canary config. Prevents crashing, but you still need to pass '-game hl2/episodic/ep2/portal/tf'"
author = "Margen67"
author = "Margen67, Luctaris"
is_enabled = false

[[patch.be32]]
[[patch.be8]]
address = 0x82010968
value = 0x60000000 # 0x419a002c
value = 0x40 # 0x41

[[patch]]
name = "XEX launch arguments"
desc = "Same as adding any arg(s) to cl in the Xenia Canary. Use together with -dvd patch above, or define the -dvd arg"
author = "Luctaris"
is_enabled = false

[[patch.string]]
address = 0x820011a8 # 248 chars available, be wary of limit!
value = "default.xex -game tf " # add space char on end! (null-terminated)
[[patch.be16]]
address = 0x8201076a
value = 0x11a8 # 0x0618 [char* 0x82000618 ("default.xex -dvd")]

0 comments on commit 0851249

Please sign in to comment.