Skip to content

Commit

Permalink
GameDB: Battlefield 2 Modern Combat Fixes
Browse files Browse the repository at this point in the history
Forces full blending to fix rendering of the ground and also removes unnecessary fixes that do not fix what they state.
  • Loading branch information
JordanTheToaster authored and refractionpcsx2 committed Oct 2, 2023
1 parent 34f92fe commit 979b34d
Showing 1 changed file with 27 additions and 36 deletions.
63 changes: 27 additions & 36 deletions bin/resources/GameIndex.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11421,11 +11421,9 @@ SLED-53731:
name: "Battlefield 2 - Modern Combat [Demo]"
region: "PAL-E"
gsHWFixes:
autoFlush: 2 # Post-processing.
minimumBlendingLevel: 4 # Fixes ground texture rendering.
autoFlush: 1 # Post-processing.
halfPixelOffset: 2 # Offset post-processing.
texturePreloading: 1 # Spikes all over the place otherwise.
textureInsideRT: 1 # Fixes light shinging through objects.
cpuCLUTRender: 1 # Fixes light shining through objects.
getSkipCount: "GSC_Battlefield2" # Depth clear.
beforeDraw: "OI_Battlefield2" # Framebuffer copy, fixes rendering for bottom part of screen.
SLED-53732:
Expand Down Expand Up @@ -20802,22 +20800,18 @@ SLES-53729:
name: "Battlefield 2 - Modern Combat"
region: "PAL-M4"
gsHWFixes:
autoFlush: 2 # Post-processing.
minimumBlendingLevel: 4 # Fixes ground texture rendering.
autoFlush: 1 # Post-processing.
halfPixelOffset: 2 # Offset post-processing.
texturePreloading: 1 # Spikes all over the place otherwise.
textureInsideRT: 1 # Fixes light shinging through objects.
cpuCLUTRender: 1 # Fixes light shining through objects.
getSkipCount: "GSC_Battlefield2" # Depth clear.
beforeDraw: "OI_Battlefield2" # Framebuffer copy, fixes rendering for bottom part of screen.
SLES-53730:
name: "Battlefield 2 - Modern Combat"
region: "PAL-M3"
gsHWFixes:
autoFlush: 2 # Post-processing.
minimumBlendingLevel: 4 # Fixes ground texture rendering.
autoFlush: 1 # Post-processing.
halfPixelOffset: 2 # Offset post-processing.
texturePreloading: 1 # Spikes all over the place otherwise.
textureInsideRT: 1 # Fixes light shinging through objects.
cpuCLUTRender: 1 # Fixes light shining through objects.
getSkipCount: "GSC_Battlefield2" # Depth clear.
beforeDraw: "OI_Battlefield2" # Framebuffer copy, fixes rendering for bottom part of screen.
SLES-53734:
Expand Down Expand Up @@ -28039,6 +28033,15 @@ SLPM-55032:
SLPM-55033:
name: "J. League Winning Eleven 2008 - Club Championship"
region: "NTSC-J"
SLPM-55034:
name: "Battlefield 2 - Modern Combat [EASY 1980]"
region: "NTSC-J"
gsHWFixes:
minimumBlendingLevel: 4 # Fixes ground texture rendering.
autoFlush: 1 # Post-processing.
halfPixelOffset: 2 # Offset post-processing.
getSkipCount: "GSC_Battlefield2" # Depth clear.
beforeDraw: "OI_Battlefield2" # Framebuffer copy, fixes rendering for bottom part of screen.
SLPM-55035:
name: "Fight Night Round 2"
region: "NTSC-J"
Expand Down Expand Up @@ -36880,11 +36883,9 @@ SLPM-66206:
name: "Battlefield 2 - Modern Combat"
region: "NTSC-J"
gsHWFixes:
autoFlush: 2 # Post-processing.
minimumBlendingLevel: 4 # Fixes ground texture rendering.
autoFlush: 1 # Post-processing.
halfPixelOffset: 2 # Offset post-processing.
texturePreloading: 1 # Spikes all over the place otherwise.
textureInsideRT: 1 # Fixes light shinging through objects.
cpuCLUTRender: 1 # Fixes light shining through objects.
getSkipCount: "GSC_Battlefield2" # Depth clear.
beforeDraw: "OI_Battlefield2" # Framebuffer copy, fixes rendering for bottom part of screen.
SLPM-66207:
Expand Down Expand Up @@ -38710,11 +38711,9 @@ SLPM-66651:
name: "Battlefield 2 - Modern Combat [EA Best Hits]"
region: "NTSC-J"
gsHWFixes:
autoFlush: 2 # Post-processing.
minimumBlendingLevel: 4 # Fixes ground texture rendering.
autoFlush: 1 # Post-processing.
halfPixelOffset: 2 # Offset post-processing.
texturePreloading: 1 # Spikes all over the place otherwise.
textureInsideRT: 1 # Fixes light shinging through objects.
cpuCLUTRender: 1 # Fixes light shining through objects.
getSkipCount: "GSC_Battlefield2" # Depth clear.
beforeDraw: "OI_Battlefield2" # Framebuffer copy, fixes rendering for bottom part of screen.
SLPM-66652:
Expand Down Expand Up @@ -51898,11 +51897,9 @@ SLUS-21026:
region: "NTSC-U"
compat: 5
gsHWFixes:
autoFlush: 2 # Post-processing.
minimumBlendingLevel: 4 # Fixes ground texture rendering.
autoFlush: 1 # Post-processing.
halfPixelOffset: 2 # Offset post-processing.
texturePreloading: 1 # Spikes all over the place otherwise.
textureInsideRT: 1 # Fixes light shinging through objects.
cpuCLUTRender: 1 # Fixes light shining through objects.
getSkipCount: "GSC_Battlefield2" # Depth clear.
beforeDraw: "OI_Battlefield2" # Framebuffer copy, fixes rendering for bottom part of screen.
SLUS-21027:
Expand Down Expand Up @@ -57276,11 +57273,9 @@ SLUS-29117:
name: "Battlefield 2 - Modern Combat [Public Beta Vol.1.0]"
region: "NTSC-U"
gsHWFixes:
autoFlush: 2 # Post-processing.
minimumBlendingLevel: 4 # Fixes ground texture rendering.
autoFlush: 1 # Post-processing.
halfPixelOffset: 2 # Offset post-processing.
texturePreloading: 1 # Spikes all over the place otherwise.
textureInsideRT: 1 # Fixes light shinging through objects.
cpuCLUTRender: 1 # Fixes light shining through objects.
getSkipCount: "GSC_Battlefield2" # Depth clear.
beforeDraw: "OI_Battlefield2" # Framebuffer copy, fixes rendering for bottom part of screen.
SLUS-29118:
Expand Down Expand Up @@ -57405,11 +57400,9 @@ SLUS-29152:
name: "Battlefield 2 - Modern Combat [Regular Demo]"
region: "NTSC-U"
gsHWFixes:
autoFlush: 2 # Post-processing.
minimumBlendingLevel: 4 # Fixes ground texture rendering.
autoFlush: 1 # Post-processing.
halfPixelOffset: 2 # Offset post-processing.
texturePreloading: 1 # Spikes all over the place otherwise.
textureInsideRT: 1 # Fixes light shinging through objects.
cpuCLUTRender: 1 # Fixes light shining through objects.
getSkipCount: "GSC_Battlefield2" # Depth clear.
beforeDraw: "OI_Battlefield2" # Framebuffer copy, fixes rendering for bottom part of screen.
SLUS-29153:
Expand Down Expand Up @@ -57503,11 +57496,9 @@ SLUS-29172:
name: "Battlefield 2 - Modern Combat [Demo]"
region: "NTSC-U"
gsHWFixes:
autoFlush: 2 # Post-processing.
minimumBlendingLevel: 4 # Fixes ground texture rendering.
autoFlush: 1 # Post-processing.
halfPixelOffset: 2 # Offset post-processing.
texturePreloading: 1 # Spikes all over the place otherwise.
textureInsideRT: 1 # Fixes light shinging through objects.
cpuCLUTRender: 1 # Fixes light shining through objects.
getSkipCount: "GSC_Battlefield2" # Depth clear.
beforeDraw: "OI_Battlefield2" # Framebuffer copy, fixes rendering for bottom part of screen.
SLUS-29173:
Expand Down

0 comments on commit 979b34d

Please sign in to comment.