Merge pull request #10005 from JMC47/incredibleini

GameINI:  Fix EFB Copy Offset in more games
This commit is contained in:
Tilka 2021-08-08 11:11:46 +01:00 committed by GitHub
commit 682c7454f0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
20 changed files with 282 additions and 10 deletions

View File

@ -13,4 +13,7 @@
# Add action replay cheats here.
[Video_Hacks]
# Fixes shadows at higher resolution.
# Option has no effect at 1x IR, so no reason not to enable.
VertexRounding = True
EFBToTextureEnable = False

View File

@ -0,0 +1,14 @@
# GICD78 - The Incredibles
[OnFrame]
$EFB Copy Fix
0x803D2A94:dword:0x00000000
[OnFrame_Enabled]
# This game renders an EFB copy with texture repeating enabled
# and it draws from texture coordinate 0.00390625 to 1.00390625.
# This only works on console and 1x IR due to low precision.
# "EFB Copy Fix" adjusts the region to not cause bugs at higher
# resolutions. In order for this patch to fully work, the
# Vertex Rounding Hack must be enabled.
$EFB Copy Fix

View File

@ -1,10 +1,17 @@
# GICE78 - The Incredibles
[OnLoad]
# Add memory patches to be loaded once on boot here.
[OnFrame]
# Add memory patches to be applied every frame here.
$EFB Copy Fix
0x803D2AD4:dword:0x00000000
[OnFrame_Enabled]
# This game renders an EFB copy with texture repeating enabled
# and it draws from texture coordinate 0.00390625 to 1.00390625.
# This only works on console and 1x IR due to low precision.
# "EFB Copy Fix" adjusts the region to not cause bugs at higher
# resolutions. In order for this patch to fully work, the
# Vertex Rounding Hack must be enabled.
$EFB Copy Fix
[ActionReplay]
# Add action replay cheats here.

View File

@ -0,0 +1,14 @@
# GICF78 - The Incredibles
[OnFrame]
$EFB Copy Fix
0x803D2E94:dword:0x00000000
[OnFrame_Enabled]
# This game renders an EFB copy with texture repeating enabled
# and it draws from texture coordinate 0.00390625 to 1.00390625.
# This only works on console and 1x IR due to low precision.
# "EFB Copy Fix" adjusts the region to not cause bugs at higher
# resolutions. In order for this patch to fully work, the
# Vertex Rounding Hack must be enabled.
$EFB Copy Fix

View File

@ -0,0 +1,14 @@
# GICH78 - The Incredibles
[OnFrame]
$EFB Copy Fix
0x803D2A94:dword:0x00000000
[OnFrame_Enabled]
# This game renders an EFB copy with texture repeating enabled
# and it draws from texture coordinate 0.00390625 to 1.00390625.
# This only works on console and 1x IR due to low precision.
# "EFB Copy Fix" adjusts the region to not cause bugs at higher
# resolutions. In order for this patch to fully work, the
# Vertex Rounding Hack must be enabled.
$EFB Copy Fix

View File

@ -0,0 +1,14 @@
# GICJG9 - The Incredibles
[OnFrame]
$EFB Copy Fix
0x803D30F4:byte:0x00000000
[OnFrame_Enabled]
# This game renders an EFB copy with texture repeating enabled
# and it draws from texture coordinate 0.00390625 to 1.00390625.
# This only works on console and 1x IR due to low precision.
# "EFB Copy Fix" adjusts the region to not cause bugs at higher
# resolutions. In order for this patch to fully work, the
# Vertex Rounding Hack must be enabled.
$EFB Copy Fix

View File

@ -0,0 +1,14 @@
# GICP78 - The Incredibles
[OnFrame]
$EFB Copy Fix
0x803D2914:dword:0x00000000
[OnFrame_Enabled]
# This game renders an EFB copy with texture repeating enabled
# and it draws from texture coordinate 0.00390625 to 1.00390625.
# This only works on console and 1x IR due to low precision.
# "EFB Copy Fix" adjusts the region to not cause bugs at higher
# resolutions. In order for this patch to fully work, the
# Vertex Rounding Hack must be enabled.
$EFB Copy Fix

View File

@ -1,4 +1,4 @@
# GIQE78 - The Incredibles 2
# GIQJ8P, GIQE78, GIQX78, GIQY78 - The Incredibles: Rise of the Underminer
[Core]
# Values set here will override the main Dolphin settings.

View File

@ -1,10 +1,17 @@
# GIQE78 - The Incredibles 2
[OnLoad]
# Add memory patches to be loaded once on boot here.
# GIQE78 - The Incredibles: Rise of the Underminer
[OnFrame]
# Add memory patches to be applied every frame here.
$EFB Copy Fix
0x803F09F0:byte:0x00000000
[OnFrame_Enabled]
# This game renders an EFB copy with texture repeating enabled
# and it draws from texture coordinate 0.00390625 to 1.00390625.
# This only works on console and 1x IR due to low precision.
# "EFB Copy Fix" adjusts the region to not cause bugs at higher
# resolutions. In order for this patch to fully work, the
# Vertex Rounding Hack must be enabled.
$EFB Copy Fix
[ActionReplay]
# Add action replay cheats here.

View File

@ -0,0 +1,15 @@
# GIQJ8P - The Incredibles: Rise of the Underminer
[OnFrame]
$EFB Copy Fix
0x803F1850:dword:0x00000000
[OnFrame_Enabled]
# This game renders an EFB copy with texture repeating enabled
# and it draws from texture coordinate 0.00390625 to 1.00390625.
# This only works on console and 1x IR due to low precision.
# "EFB Copy Fix" adjusts the region to not cause bugs at higher
# resolutions. In order for this patch to fully work, the
# Vertex Rounding Hack must be enabled.
$EFB Copy Fix

View File

@ -0,0 +1,15 @@
# GIQX78 - The Incredibles: Rise of the Underminer
[OnFrame]
$EFB Copy Fix
0x803F0E90:dword:0x00000000
[OnFrame_Enabled]
# This game renders an EFB copy with texture repeating enabled
# and it draws from texture coordinate 0.00390625 to 1.00390625.
# This only works on console and 1x IR due to low precision.
# "EFB Copy Fix" adjusts the region to not cause bugs at higher
# resolutions. In order for this patch to fully work, the
# Vertex Rounding Hack must be enabled.
$EFB Copy Fix

View File

@ -0,0 +1,15 @@
# GIQY78 - The Incredibles: Rise of the Underminer
[OnFrame]
$EFB Copy Fix
0x803F0E90:dword:0x00000000
[OnFrame_Enabled]
# This game renders an EFB copy with texture repeating enabled
# and it draws from texture coordinate 0.00390625 to 1.00390625.
# This only works on console and 1x IR due to low precision.
# "EFB Copy Fix" adjusts the region to not cause bugs at higher
# resolutions. In order for this patch to fully work, the
# Vertex Rounding Hack must be enabled.
$EFB Copy Fix

View File

@ -0,0 +1,19 @@
# GU2F78, GU2D78 - 2 Games in 1: The Incredibles / Finding Nemo
[Core]
# Values set here will override the main Dolphin settings.
[OnLoad]
# Add memory patches to be loaded once on boot here.
[OnFrame]
# Add memory patches to be applied every frame here.
[ActionReplay]
# Add action replay cheats here.
[Video_Hacks]
# Fixes shadows at higher resolution on disc 1.
# Option has no effect at 1x IR, so no reason not to enable.
VertexRounding = True

View File

@ -0,0 +1,15 @@
# GU2D78 - 2 Games in 1: The Incredibles / Finding Nemo
[OnFrame]
$EFB Copy Fix
0x803D2A94:dword:0x00000000:0x3B800000
[OnFrame_Enabled]
# Disc one of this game renders an EFB copy with texture repeating enabled
# and it draws from texture coordinate 0.00390625 to 1.00390625.
# This only works on console and 1x IR due to low precision.
# "EFB Copy Fix" adjusts the region to not cause bugs at higher
# resolutions. In order for this patch to fully work, the
# Vertex Rounding Hack must be enabled.
# Patch has been made conditional to prevent causing issues on disc 2.
$EFB Copy Fix

View File

@ -0,0 +1,15 @@
# GU2F78 - 2 Games in 1: The Incredibles / Finding Nemo
[OnFrame]
$EFB Copy Fix
0x803D2A94:dword:0x00000000:0x3B800000
[OnFrame_Enabled]
# Disc one of this game renders an EFB copy with texture repeating enabled
# and it draws from texture coordinate 0.00390625 to 1.00390625.
# This only works on console and 1x IR due to low precision.
# "EFB Copy Fix" adjusts the region to not cause bugs at higher
# resolutions. In order for this patch to fully work, the
# Vertex Rounding Hack must be enabled.
# Patch has been made conditional to prevent causing issues on disc 2.
$EFB Copy Fix

View File

@ -0,0 +1,19 @@
# GU3D78, GU3X78 - 2 Games in 1: The Incredibles / Finding Nemo
[Core]
# Values set here will override the main Dolphin settings.
[OnLoad]
# Add memory patches to be loaded once on boot here.
[OnFrame]
# Add memory patches to be applied every frame here.
[ActionReplay]
# Add action replay cheats here.
[Video_Hacks]
# Fixes shadows at higher resolution on disc 1.
# Option has no effect at 1x IR, so no reason not to enable.
VertexRounding = True

View File

@ -0,0 +1,15 @@
# GU3D78 - 2 Games in 1: The SpongeBob SquarePants Movie / Tak 2: The Staff of Dreams
[OnFrame]
$EFB Copy Fix
0x803CD414:dword:0x00000000:0x3B000000
[OnFrame_Enabled]
# Disc 1 of this game game renders an EFB copy with texture repeating enabled
# and it draws from texture coordinate 0.00195313 to 1.00195.
# This only works on console and 1x IR due to low precision.
# "EFB Copy Fix" adjusts the region to not cause bugs at higher
# resolutions. In order for this patch to fully work, the
# Vertex Rounding Hack must be enabled.
# The patch has been made conditional as not to crash disc 2's game.
$EFB Copy Fix

View File

@ -0,0 +1,15 @@
# GU3X78 - 2 Games in 1: The SpongeBob SquarePants Movie / Tak 2: The Staff of Dreams
[OnFrame]
$EFB Copy Fix
0x804BA014:dword:0x00000000:0x3B800000
[OnFrame_Enabled]
# Disc 1 of this game renders an EFB copy with texture repeating enabled
# and it draws from texture coordinate 0.00390625 to 1.00390625.
# This only works on console and 1x IR due to low precision.
# "EFB Copy Fix" adjusts the region to not cause bugs at higher
# resolutions. In order for this patch to fully work, the
# Vertex Rounding Hack must be enabled.
# The patch has been made conditional as not to crash disc 2's game.
$EFB Copy Fix

View File

@ -0,0 +1,20 @@
# GU4Y78 - 2 Games in 1: Nickelodeon SpongeBob Schwammkopf: Der Film + Nickelodeon SpongeBob Schwammkopf: Schlacht um Bikini Bottom
[Core]
# Values set here will override the main Dolphin settings.
[OnLoad]
# Add memory patches to be loaded once on boot here.
[OnFrame]
# Add memory patches to be applied every frame here.
[ActionReplay]
# Add action replay cheats here.
[Video_Hacks]
# Fixes shadows at higher resolution.
# Option has no effect at 1x IR, so no reason not to enable.
VertexRounding = True
# Needed for some FMVs on disc 1.
ImmediateXFBEnable = False

View File

@ -0,0 +1,22 @@
# GU4Y78 - 2 Games in 1: Nickelodeon SpongeBob Schwammkopf: Der Film + Nickelodeon SpongeBob Schwammkopf: Schlacht um Bikini Bottom
[OnFrame]
$EFB Copy Fix
0x803CD414:dword:0x00000000:0x3B000000
0x804B9510:dword:0x00000000:0x3B800000
[OnFrame_Enabled]
# Disc 1 of this game game renders an EFB copy with texture repeating enabled
# and it draws from texture coordinate 0.00195313 to 1.00195.
# This only works on console and 1x IR due to low precision.
# "EFB Copy Fix" adjusts the region to not cause bugs at higher
# resolutions. In order for this patch to fully work, the
# Vertex Rounding Hack must be enabled.
# Disc 2 of this game renders an EFB copy with texture repeating enabled
# and it draws from texture coordinate 0.00390625 to 1.00390625.
# This only works on console and 1x IR due to low precision.
# "EFB Copy Fix" adjusts the region to not cause bugs at higher
# resolutions. In order for this patch to fully work, the
# Vertex Rounding Hack must be enabled.
# These patches have been made conditional.
$EFB Copy Fix