From 25812edde38afeef8863dc0ab8f5f500da0f9929 Mon Sep 17 00:00:00 2001 From: Adrian <78108584+AdrianCassar@users.noreply.github.com> Date: Tue, 17 Oct 2023 00:28:51 +0100 Subject: [PATCH] Crackdown 2 TU0/TU5 --- .../4D5308BC - Crackdown 2 (TU0).patch.toml | 193 ++++++++++++++++++ .../4D5308BC - Crackdown 2 (TU5).patch.toml | 183 +++++++++++++++++ 2 files changed, 376 insertions(+) create mode 100644 patches/4D5308BC - Crackdown 2 (TU0).patch.toml create mode 100644 patches/4D5308BC - Crackdown 2 (TU5).patch.toml diff --git a/patches/4D5308BC - Crackdown 2 (TU0).patch.toml b/patches/4D5308BC - Crackdown 2 (TU0).patch.toml new file mode 100644 index 00000000..a811efb0 --- /dev/null +++ b/patches/4D5308BC - Crackdown 2 (TU0).patch.toml @@ -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 diff --git a/patches/4D5308BC - Crackdown 2 (TU5).patch.toml b/patches/4D5308BC - Crackdown 2 (TU5).patch.toml new file mode 100644 index 00000000..8e9f0fd6 --- /dev/null +++ b/patches/4D5308BC - Crackdown 2 (TU5).patch.toml @@ -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