Skip to content

Commit

Permalink
Crackdown 2 TU0/TU5
Browse files Browse the repository at this point in the history
  • Loading branch information
AdrianCassar committed Oct 17, 2023
1 parent 0851249 commit 25812ed
Show file tree
Hide file tree
Showing 2 changed files with 376 additions and 0 deletions.
193 changes: 193 additions & 0 deletions patches/4D5308BC - Crackdown 2 (TU0).patch.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,193 @@
title_name = "Crackdown 2"
title_id = "4D5308BC" # MS-2236
hash = "398B324B93B0AE59" # default.xex
#media_id = "18B6CD67" # Disc (World): http://redump.org/disc/14538

[[patch]]
name = "Disable Achivements"
desc = "Fixes achivement audio loop, note this will prevent the in-game achivement dialog. Improves audio log."
author = "Adrian"
is_enabled = false

[[patch.be8]] # Change bne to beq
address = 0x828c14dc
value = 0x41

[[patch]]
name = "Global Lights Rendering"
desc = "Disable rendering of lights to fix lights through walls. During reticle target collaboration red lights will not render."
author = "Adrian"
is_enabled = false

[[patch.be8]]
address = 0x82ffd0b8
value = 0x00

[[patch]]
name = "Infinite Ammo"
author = "Adrian, Crippy"
is_enabled = false

[[patch.be32]] # Bottomless Clip
address = 0x822056bc
value = 0x60000000

[[patch.be8]] # Ammo Display
address = 0x82244810
value = 0x41

[[patch]]
name = "God Mode"
author = "Adrian, Crippy"
is_enabled = false

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

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

[[patch]]
name = "On-screen FPS counter"
author = "Adrian"
is_enabled = false

[[patch.be8]] # Enable Display Render Info
address = 0x836c6f2c
value = 0x01

[[patch.be8]] # Disable Performance Graphs
address = 0x836c6e21
value = 0x00

[[patch.be8]] # Enable GPU Hz
address = 0x836c6e20
value = 0x01

[[patch.be8]] # Red Text
address = 0x836c614e
value = 0x01

[[patch]]
name = "Show CPU/GPU Performance Graphs"
desc = "This will show FPS and Performance Graphs"
author = "Adrian"
is_enabled = false

[[patch.be8]] # Enable CPU/GPU Performance Graphs
address = 0x836c6e21
value = 0x01

[[patch.be8]] # Enable Display Render Info
address = 0x836c6f2c
value = 0x01

[[patch.be8]] # Enable GPU Hz
address = 0x836c6e20
value = 0x01

[[patch.be8]] # Red Text
address = 0x836c614e
value = 0x01

[[patch]]
name = "Light Bloom"
desc = "Toggle fullbright, may improve performance"
author = "Adrian"
is_enabled = false

[[patch.be8]]
address = 0x82ffd0bf
value = 0x01

[[patch]]
name = "Shadows"
desc = "May improve performance"
author = "Adrian"
is_enabled = false

[[patch.be8]]
address = 0x82ffd0c4
value = 0x00

[[patch]]
name = "Helicam / Fly around the map"
desc = "Teleport your character. Cheat engine address 1836C615B."
author = "Adrian"
is_enabled = false

[[patch.be8]]
address = 0x836c615b
value = 0x01

[[patch]]
name = "Outlines"
author = "Adrian"
desc = "Toggle Map Outlines"
is_enabled = false

[[patch.be8]]
address = 0x82ffd0b5
value = 0x01

[[patch]]
name = "Outline Mode"
desc = "Must have outlines enabled"
author = "Adrian"
is_enabled = false

[[patch.be32]] # White Outline
address = 0x836c66f8
value = 0x00000002

[[patch]]
name = "Opaque Pass / Dark Mode"
desc = "Disable Rendering"
author = "Adrian"
is_enabled = false

[[patch.be8]]
address = 0x82ffca8b
value = 0x00

[[patch]]
name = "Dark Mode"
desc = "Map stencil with white outlines in dark mode."
author = "Adrian"
is_enabled = false

[[patch.be8]] # Opaque Pass / Dark Mode
address = 0x82ffca8b
value = 0x00

[[patch.be8]] # Enable Outlines
address = 0x82ffd0b5
value = 0x01

[[patch.be32]] # Enable Outline Mode - White Outline
address = 0x836c66f8
value = 0x00000002

[[patch.be8]] # Disable Alpha Render Pass
address = 0x82ffd0b4
value = 0x00

[[patch.be8]] # Enable Particle Alpha
address = 0x836c68b5
value = 0x01

[[patch.be8]] # Disable Light Bloom for stronger white outline
address = 0x82ffd0bf
value = 0x00

[[patch]]
name = "Demo Mode"
desc = "Alternatively create a demo.txt next to default.xex"
author = "Adrian"
is_enabled = false

[[patch.be8]]
address = 0x836c6daf
value = 0x01
183 changes: 183 additions & 0 deletions patches/4D5308BC - Crackdown 2 (TU5).patch.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,183 @@
title_name = "Crackdown 2"
title_id = "4D5308BC" # MS-2236
hash = "8309EB7166C1B9C3" # default.xex
#media_id = "18B6CD67" # Disc (World): http://redump.org/disc/14538

[[patch]]
name = "Disable Achivements"
desc = "Fixes achivement audio loop, note this will prevent the in-game achivement dialog. Improves audio log."
author = "Adrian"
is_enabled = false

[[patch.be8]] # Change bne to beq
address = 0x82956b6c
value = 0x41

[[patch]]
name = "Global Lights Rendering"
desc = "Disable rendering of lights to fix lights through walls. During reticle target collaboration red lights will not render."
author = "Adrian"
is_enabled = false

[[patch.be8]]
address = 0x830a0547
value = 0x00

[[patch]]
name = "Infinite Ammo"
author = "Adrian, Crippy"
is_enabled = false

[[patch.be32]] # Bottomless Clip
address = 0x82216c64
value = 0x60000000

[[patch.be8]] # Ammo Display
address = 0x82256c28
value = 0x41

[[patch]]
name = "God Mode"
author = "Adrian, Crippy"
is_enabled = false

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

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

[[patch]]
name = "On-screen FPS counter"
author = "Adrian"
is_enabled = false

[[patch.be8]] # Enable Display Render Info
address = 0x83801b0c
value = 0x01

[[patch.be8]] # Disable Performance Graphs
address = 0x83801a01
value = 0x00

[[patch.be8]] # Enable GPU Hz
address = 0x83801a00
value = 0x01

[[patch.be8]] # Red Text
address = 0x83800aef
value = 0x01

[[patch]]
name = "Show CPU/GPU Performance Graphs"
desc = "This will show FPS and Performance Graphs"
author = "Adrian"
is_enabled = false

[[patch.be8]] # Enable CPU/GPU Performance Graphs
address = 0x83801a01
value = 0x01

[[patch.be8]] # Enable Display Render Info
address = 0x83801b0c
value = 0x01

[[patch.be8]] # Enable GPU Hz
address = 0x83801a00
value = 0x01

[[patch.be8]] # Red Text
address = 0x83800aef
value = 0x01

[[patch]]
name = "Light Bloom"
desc = "Toggle fullbright, may improve performance"
author = "Adrian"
is_enabled = false

[[patch.be8]]
address = 0x830a054e
value = 0x01

[[patch]]
name = "Shadows"
desc = "May improve performance"
author = "Adrian"
is_enabled = false

[[patch.be8]]
address = 0x830a054f
value = 0x00

[[patch]]
name = "Helicam / Fly around the map"
desc = "Teleport your character. Cheat engine address 183800B00."
author = "Adrian"
is_enabled = false

[[patch.be8]]
address = 0x83800b00
value = 0x01

[[patch]]
name = "Outlines"
author = "Adrian"
desc = "Toggle Map Outlines"
is_enabled = false

[[patch.be8]]
address = 0x830a0544
value = 0x01

[[patch]]
name = "Outline Mode"
desc = "Must have outlines enabled"
author = "Adrian"
is_enabled = false

[[patch.be32]] # White Outline
address = 0x83801164
value = 0x00000002

[[patch]]
name = "Opaque Pass / Dark Mode"
desc = "Disable Rendering"
author = "Adrian"
is_enabled = false

[[patch.be8]]
address = 0x830a0542
value = 0x00

[[patch]]
name = "Dark Mode"
desc = "Map stencil with white outlines in dark mode."
author = "Adrian"
is_enabled = false

[[patch.be8]] # Opaque Pass / Dark Mode
address = 0x830a0542
value = 0x00

[[patch.be8]] # Enable Outlines
address = 0x830a0544
value = 0x01

[[patch.be32]] # Enable Outline Mode - White Outline
address = 0x83801164
value = 0x00000002

[[patch.be8]] # Disable Alpha Render Pass
address = 0x830a0543
value = 0x00

[[patch.be8]] # Enable Particle Alpha
address = 0x83801320
value = 0x01

[[patch.be8]] # Disable Light Bloom for stronger white outline
address = 0x830a054e
value = 0x00

0 comments on commit 25812ed

Please sign in to comment.