Grand Theft Auto IV

From PCGamingWiki, the wiki about fixing PC games
Grand Theft Auto IV
Grand Theft Auto IV cover
Developers
Rockstar North
Windows Rockstar Toronto
Publishers
Rockstar Games
Engines
RAGE
Release dates
Windows December 2, 2008
Grand Theft Auto
Grand Theft Auto 1997
Grand Theft Auto 2 1999
Grand Theft Auto III 2002
Grand Theft Auto: Vice City 2003
Grand Theft Auto: San Andreas 2005
Grand Theft Auto IV 2008
Grand Theft Auto: Episodes from Liberty City 2010
Grand Theft Auto V 2015

Key points

Shares many similarities with Grand Theft Auto: Episodes from Liberty City in terms of its engine and performance.
Extensive modding community, along with Grand Theft Auto: Episodes from Liberty City.
Ability to import your music for your own custom radio station.
Reports indicate this title is a poor port.[1][2]

General information

Rockstar Support
GTA Modding - A wiki hosting mod information for the GTA series.
GTAForums - Grand Theft Auto IV Discussion
GTA Network - A huge network of fansites all dedicated to the Grand Theft Auto series
Steam Community Discussions
Steam Users' Forums for game series

Availability[edit]

Source DRM Notes Keys OS
Retail Requires online activation
Amazon.com Requires online activation
Amazon.com Requires online activation Complete Edition
Direct2Drive Requires online activation
GameStop Requires online activation Complete Edition only
GamersGate Requires online activation
Gamesplanet Requires online activation Complete Edition
Green Man Gaming Requires online activation
Humble Store Requires online activation
Steam Requires online activation
All versions require Games for Windows - LIVE and SecuROM.
Online features require Rockstar Games Social Club.
Complete Edition includes Grand Theft Auto: Episodes from Liberty City.

Essential improvements[edit]

Skip intro videos[edit]

Instructions

Apply the GTA IV Intro Patch.

Patches[edit]

Since 1.0.6.0 patch Rockstar Social Club is no longer required to run the game.[3]

Downgrade to 1.0.4.0[edit]

Some mods work only with this version. This version is also claimed to improve game performance.[4][5]
Multiplayer won't work with older versions.
Apply old 1.0.4.0 patch[6]
  1. Download the original 1.0.4.0 update and install it.
  2. Rename the folder where you have installed the game (usually "Grand Theft Auto IV" or "GTA IV").
  3. Download Rockstar Games Social Club and install it.
  4. Merge back the content of your renamed folder to the GTA IV folder this latest installer will have created.

Flash Player[edit]

Flash Player is required to use the Social Club TV features. Flash Player for Internet Explorer is the version that needs to be installed.
Install Flash Player
  1. Download and install the latest version of Flash Player for Internet Explorer.
To install on Windows 10, Download the Windows 7 Version and Run the installer in Windows 8 Compatibility Mode.[citation needed]

Recoil Fix[edit]

By default, recoil/bullet spread is only enabled when playing with a controller. This results in 100% accuracy when using a keyboard and mouse.
Not recommended to use in Multiplayer
Instructions

Install the Bullet Spread/Recoil Fix script.

Requires an ASI Loader.
Requires Visual C++ Redistributable Packages for Visual Studio 2013.

ColAccel[edit]

Heavily decreases loading times
If editing .IMG archives you need to delete colCache.dat and let it get re-created
Instructions

Install the ColAccel script .

Requires an ASI Loader.

Game data[edit]

In-game general settings.
In-game general settings.

Configuration file(s) location[edit]

System Location
Windows %LOCALAPPDATA%\Rockstar Games\GTA IV\Settings\SETTINGS.CFG
Configuration files are encrypted. For an alternative, see Command Line.

Save game data location[edit]

System Location
Windows %LOCALAPPDATA%\Rockstar Games\GTA IV\savegames\<user-id>\
%LOCALAPPDATA%\Microsoft\XLive must also be backed up as the save data is bound to the Games for Windows - LIVE profile.

Save game cloud syncing[edit]

System Native Notes
Steam Cloud

Video settings[edit]

In-game video settings.
In-game video settings.
Graphics option Option WSGF Notes
Widescreen resolution
Multi-monitor
Ultra-widescreen
Cutscenes and loading screens are Vert-.[7]
4K Ultra HD
Field of view (FOV)
Use Ultimate Camera Control.
Windowed
See Command Line.
Borderless fullscreen windowed
Use Windowed Borderless Gaming.
Anisotropic filtering (AF)
Up to 16 samples.
Anti-aliasing (AA)
FXAA can be forced through the NVIDIA Control Panel/AMD Control Center.
For SMAA download the SMAA injector and put contents of the d3d9 folder into <path-to-game>
Vertical sync (Vsync)
In-game Vsync locks the frame rate to 53-55 FPS.[8]
60 FPS
120+ FPS
No frame rate or refresh rate cap.[9]

Input settings[edit]

In-game key map settings.
In-game key map settings.
In-game keyboard/mouse settings.
In-game keyboard/mouse settings.
In-game gamepad settings.
In-game gamepad settings.

DirectInput Controller support[edit]

Launch the game with -usedirectinput parameter[10]
Option in Controller Settings
  1. In the game, go to Options then Controls then Controller Options and click Enable DirectInput

Notes

Command line argument has been added in patch 1.0.2.0[11]
Enable DirectInput option has been added in patch 1.0.3.0[12]

PS3 Controller Buttons[edit]

If using a PS2/PS3 controller, you might want to change the Xbox 360 buttons to the PS2/PS3 buttons. In order to do so, follow the instructions below.

Instructions
  1. Download the file buttons_360.wtd and frontend_360.wtd located here.
  2. Go to the installation folder.
  3. Go to <path-to-game> and navigate to PC\textures\.
  4. Drag and drop the file you recently downloaded into that folder.

Audio settings[edit]

In-game audio settings.
In-game audio settings.
Audio options Native Notes
Separate volume controls
SFX & Music.
Surround sound
Up to 5.0 output[13]
Subtitles
Closed captions
Mute on focus lost

Localizations

Language UI Audio CC Notes
English
French
German
Italian
Japanese
Polish
Fan translation, Download
Russian
Spanish
Ukrainian
Fan translation, Download

Network[edit]

Social Club website stat tracking and leaderboards have been shut down. All other online features are unaffected.[14]

Multiplayer types

Type Native Players Notes
LAN play
32
Online play
32

Connection types

Ports

Protocol Port(s) and/or port range(s)
TCP (outbound) 53, 80, 3074
UDP (outbound) 53, 88, 3074

VR support[edit]

3D modes Native GG3D Notes
Nvidia 3D Vision
For better support use Helix Mod: Grand Theft Auto IV
TriDef 3D
iZ3D
Headsets Native Notes
HTC Vive
Oculus Rift
See RiftEnabled.

Issues fixed[edit]

Game uses Games for Windows - LIVE. Make sure you are running latest version and refer to the concerning page if you have further problems

Release Date Check Failure on Windows 10[edit]

Change Windows Date to any date before 2015

Fatal error RMN20 upon attempted launch[edit]

Run game in compatibility mode
  1. Go to the installation folder.
  2. Right click on GTAIV.exe and enter its properties screen.
  3. Under the compatibilty tab, set the compatibility mode to Windows Vista (Service Pack 2) and click OK.
If using Windows 7, Vista or XP, update your Windows to the latest available service pack[15]

Stuttering and other performance issues after running the game for a while[edit]

Force maximum available memory[16]
  1. Create a file named commandline.txt in your root installation folder.
  2. Depending on your texture quality, enter one of the following codes in to the newly created file:
    • Low textures (256 MB VRAM): -memrestrict 209715200
    • Medium textures (512 MB VRAM): -memrestrict 314572800
    • High textures (1 GB+ VRAM): -memrestrict 629145600
  3. Save the file and launch the game.
Make sure Steam Overlay is enabled[17][citation needed]

Game minimizes after clicking start[edit]

If the game minimizes after selecting between GTA IV base and EFLC and can not be made full screen again it may be a problem with PunkBuster. It can be fixed by stopping it from running.
Stop PunkBuster
  1. Press Ctrl+ Shift+Esc
  2. Click PnkBstrA.exe in Processes.
  3. Click End task to stop it from running.

Game will load with minimal graphic settings and won't let you change them[edit]

For some video cards the game will run but won't let you change the graphics settings to anything better. In order to force the game to allow the changes, load the .exe with the extra parameter: -norestrictions. If running Windows 7 or Windows 8.1, run the game in compatibility mode for Windows Vista (SP2)[citation needed].
Bypass graphics restrictions on Steam version
  1. Open up your Steam library.
  2. Right-click on Grand Theft Auto IV and select Properties.
  3. Press the Set Launch Options... button.
  4. Enter -norestrictions into the text field, press OK.
  5. Start the game.
Bypass graphics restrictions on other versions
  1. Go to <path-to-game>.
  2. Create a new text file in this directory and name it commandline.txt.
  3. Open it and add the string -norestrictions to it.
  4. Save the file.
  5. Start the game.

AMD Radeon water fix[edit]

There is a problem where the water loses its features and details after a while.
Instructions
  1. Download the file waterTex.fxc located here.
  2. Go to the installation folder.
  3. In <path-to-game> navigate to common\shaders\win32_30_atidx10\ and rename your original waterTex.fxc file.
  4. Drag and drop the file you recently downloaded into that folder.
  5. After the previous step has been completed navigate out of that folder and now to common\shaders\win32_30_low_ati\ and rename your original waterTex.fxc file.
  6. Drag and drop the file you recently downloaded into that folder.

Algonquin Bridge lag issue[edit]

Description[citation needed]

If you're experiencing significant FPS drops only on the Algonquin Bridge with an Intel i7 processor.

  1. Launch GTA 4.
  2. Launch Task Manager and click Details (in Windows 8 and above) or Processes (in Windows XP, Vista or 7).
  3. Right click gtaiv.exe and click Set affinity.
  4. Make sure only Cores 0, 1, 2 and 3 are checked. Uncheck everything else and click OK.

Notes

This must be repeated each time the game is started.

Invisible fonts glitch[edit]

An invisible fonts glitch may occur which involves game menu text disappearing.
Instructions
  1. Download the files fonts.dat and fonts_r.dat located here.
  2. Go to the installation folder.
  3. Drag and drop the files into common\data\ in <path-to-game>.

2GB+ VRAM is wrongly recognized[edit]

Force increase video memory[18]
  1. Open <path-to-game>\commandline.txt (create if it doesn't exist).
  2. Put -availablevidmem 2.0 in a new line (or replace 2.0 with your VRAM).

Textures/Models not loading[edit]

Instructions
  1. Restart the game.

Other information[edit]

API[edit]

Technical specs Supported Notes
Direct3D 9
Shader Model support 3
64-bit executable

Middleware[edit]

Middleware Notes
Physics Bullet Physics Library, Euphoria
Interface Flash
Cutscenes Bink Video
Multiplayer Games for Windows - LIVE, Rockstar Games Social Club

Modifications[edit]

It is strongly recommended to make a backup of any files modifications may replace or amend in the event of corruption.

XLiveLess[edit]

XLiveLess enables modding.
XLiveLess disables all multiplayer functionality to prevent cheating.

Custom Music[edit]

Grand Theft Auto IV allows users to play their own music on a custom radio station, Independence FM.[19]

Simply place any audio files / folders or create shortcuts in the %USERPROFILE%\Documents\Rockstar Games\GTA IV\User Music folder, and tune into the station in-game.
Supported formats are MP3, WMA, M4A. Other formats and extensions are not recognized.
QuickTime or iTunes needs to be installed for M4A support.
FLAC is not supported. Convert to WMA Lossless to use in-game.
Use shortcuts to audio files / folders to save disk space and improve performance.
Supports High-resolution audio files. Up to 96 kHz / 24 bit.
Supports Surround audio files. Up to 6 channels.
Monaural audio files not supported.

Command line parameters[edit]

By creating a file called commandline.txt and saving it to your root installation folder you can alter the way your game runs. If you are using Steam; go to the game in your library, right-click and click Properties, select Set Launch Options... and enter the commands separated by spaces.
Parameter Description
-help Lists the available commands
-adapter Use the specified screen adapter
-autoconfig Automatically adjust quality setting to maintain desired frame rate (15-120)
-availablevidmem Set amount of physical Video Memory
-benchmark Launches the game in Benchmark mode and then quits it
-detailquality Set the detail quality of the game. (0-99)
-disableimposters Turn off imposter rendering for vehicles
-forcehighqualitymirrors Enable 64 bit mirrors
-forcer2vb Force Render to Vertex Buffer
-frameLimit Limits your FPS to your refresh rate
-framelockinwindow Force framelock to work even in a window
-fullscreen Force fullscreen mode
-fullspecaudio Force high-end CPU audio footprint
-gpucount Lets you manually set the GPU count if query fails
-height Sets the vertical resolution
-managed Use D3D runtime managed resources
-memrestrict Set the restriction the amount of available memory for the game
-minspecaudio Force low-end CPU audio footprint
-no_3GB Disable 32-bit OS with /3GB
-noBlockOnLostFocus Don't block the window update when it loses focus.
-noprecache Disable precache of resources
-nomemrestrict Disable memory restrictions
-nominimize Disables the ability to restore the game from minimize and changing resolutions (Reduces System Memory Footprint)
-norestrictions Do not limit graphics settings
-noswapdelay Disable sleep delay before Present (Disable fix for hard Present stalls)
-notimefix Disable Time Fix
-novblank Disables V-Sync
-percentvidmem Percentage of Video memory to make available for the game
-refreshrate Set the refresh rate (Must be supported by your monitor)
-reserve Amount of memory to set aside for other applications
-reservedApp Amount of memory to leave available within application space
-renderquality Set the render quality of the game. (0-4)
-safemode Sets graphics setting to lowest setting
-shadowdensity Set the number of lights that cast shadows (0-16)
-shadowquality Set the shadow quality (0-4)
-stereo Set game to support stereo rendering mode
-texturequality Set the texture quality of the game. (0-2)
-unmanaged Use application managed resources
-usedirectinput Allow DirectInput alongside XInput support.
-viewdistance Set the view distance of the game (0-99)
-windowed Force windowed mode
-width Sets the horizontal resolution

System requirements[edit]

Windows
Minimum Recommended
Operating system (OS) XP SP3, Vista SP1
Processor (CPU) AMD Athlon X2 64 2.4 GHz
Intel Core 2 Duo 1.8 GHz
AMD Phenom X3 2.1GHz
Intel Core 2 Quad 2.4GHz
System memory (RAM) 1.5 GB 2.5 GB
Hard disk drive (HDD) 16 GB 18 GB
Video card (GPU) ATI Radeon X1900
Nvidia GeForce 7900
256 MB of VRAM
DirectX 9.0c compatible
ATI Radeon HD 3870
Nvidia GeForce 8600
512 MB of VRAM
DirectX 9.0c compatible
Sound (audio device) 5.1 Channel Audio Card
Online play requires log-in to Games for Windows - LIVE.

References

  1. http://www.nivas.hr/blog/2008/12/08/gta-4-pc-port-fail/
  2. http://www.tomshardware.co.uk/forum/114746-25-running-quad-core
  3. http://games.softpedia.com/progChangelog/Grand-Theft-Auto-IV-Patch-Changelog-30489.html
  4. Patch 1.0.4.0 vs Patch 1.0.7.0 - GTA Forums
  5. [REL|III|VC|SA|IV] Project 2dfx - GTAForums
  6. [HowTo]Downgrade of the steamversion of GTAIV to 1.0.4.0 - GTAGaming Forums
  7. Grand Theft Auto 4 21:9 Gameplay (2560x1080) (60fps) (Ultrawide) - YouTube
  8. Tested by Blackbird
  9. New 120Hz Games Report
  10. Currently Supported Controllers for GTA IV PC - Rockstar Support
  11. Title Update v. 1.0.2.0 - Help & Support - GTAForums
  12. Title Update Version 1.0.3.0 - Help & Support - GTAForums
  13. PC Gaming Surround Sound Round-up
  14. Effect of GameSpy Closure on Past Rockstar Titles – Rockstar Support
  15. GTA IV: Error Code RMN20 - Rockstar Support
  16. How to use -memrestrict to fix stuttering - GTA Forums
  17. How do i get over 60 fps in GTA 4 ?? - Steam Community Discussions
  18. Issues with GTA IV showing video cards with over 2GB as under spec – Rockstar Support
  19. Independence FM (User radio) in GTA IV - Rockstar Support