Battlefield: Bad Company 2
From PCGamingWiki, the wiki about fixing PC games
The location of the various engine files are located in C:\...\Documents\BFBC2
Low FPS Tweak
If you need a few tweaks to boost your framerate, try changing this in your "settings.ini" file:
RenderAheadLimit=#
from 3 (default) to 0
Force DirectX Level
Go to the "settings.ini" file and change:
DxVersion=#
from auto (default) to 9 if you want to force DX9, to 10 to force DX10, and to 11 to force DX11