How to force anti-aliasing in GTA IV

grand-theft-auto-4pctechnical-issues

My GTA IV version is 1.0.7.0 and I am trying to enable anti-aliasing but I am unable to find a setting in the game to do this. The image preview below looks fine but if you click on the image and see its bigger size, you can see clear aliasing.

Screenshot of GTA4
Click image preview above to view higher-resolution, original-sized image.

My graphics card is a GTX560ti and I am trying to force anti-aliasing within the nVidia Control Panel but it's not taking effect.

How can I force anti-aliasing for Grand Theft Auto IV?

Best Answer

AFAIK, the driver software for both Nvidia and AMD/ATI can't force non-post processing AA in GTA IV due to how GTA IV's graphics engine was made (or rather, how it was ported to the PC from the console platform).

You can however, force post-processing AA on it, like FXAA (in Nvidia driver software settings), Morphological Anti-Aliasing (MLAA; in AMD/ATI driver software settings) or SMAA (which I believe provides better visual quality than the former post-processing AA methods). SMAA can be used in GTA IV through injectSMAA:

Description:

  • adds "Subpixel Morphological Antialiasing" to an application
  • is based on "injectFXAA" (written by "some dude")
  • is supposed to work only with directx 9, directx 10, directx 11, x86 applications
  • may be incompatible with any other form of antialiasing
  • may be incompatible with overlays (Steam Overlay, MSI Afterburner, Fraps, ...)

SMAA is a very efficient GPU-based MLAA implementation, capable of handling subpixel features seamlessly, and featuring an advanced pattern detection & handling mechanism.

http://www.iryoku.com/smaa/

Screenshots (from http://mrhaandi.blogspot.com/p/injectsmaa.html):

Click image previews below to view higher-resolution, original-sized image.
No AA:
No AA

With SMAA:
With SMAA