GameINI: SpongeBob SquarePants: BFBB QoL

This enables Vertex Rounding Hack and has a game patch for two bugs
resulting from game choices.  The game draws an efb copy at
coordinate 0.00195313 to 1.00195 repeating which only works due to how the
numbers work out at low resolution.

The Vertex Rounding Hack is a null operation on 1x IR, so there should
be no concern enabling it by default since higher resolutions are
completely broken without it.
This commit is contained in:
JMC47 2021-08-02 21:17:33 -04:00
parent 4b022a4bb1
commit 7b07037723
3 changed files with 46 additions and 0 deletions

View File

@ -0,0 +1,18 @@
# GQPP78, GQPE78 - SpongeBob SquarePants: Battle for 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

View File

@ -0,0 +1,14 @@
# GQPE78 - SpongeBob SquarePants: Battle for Bikini Bottom
[OnFrame]
$EFB Copy Fix
0x803CD04C:byte:0x00000000
[OnFrame_Enabled]
# This 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.
$EFB Copy Fix

View File

@ -0,0 +1,14 @@
# GQPP78 - SpongeBob SquarePants: Battle for Bikini Bottom
[OnFrame]
$EFB Copy Fix
0x803CD414:byte:0x00000000
[OnFrame_Enabled]
# This 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.
$EFB Copy Fix