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 committed Sep 24, 2023
1 parent a5127c7 commit e375494
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 @@ -11425,11 +11425,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 @@ -20806,22 +20804,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 @@ -28045,6 +28039,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 @@ -36886,11 +36889,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 @@ -38716,11 +38717,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 @@ -51906,11 +51905,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 @@ -57284,11 +57281,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 @@ -57413,11 +57408,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 @@ -57511,11 +57504,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 e375494

Please sign in to comment.