Grand Theft Auto IV: The Complete Edition

Grand Theft Auto IV: The Complete Edition

View Stats:
machomuchacho Mar 31, 2020 @ 8:09am
2
List of all commandline arguments (Rockstar Games Launcher update)
For those of you who still didn't know, most of the issues related to the PC port of Grand Theft Auto IV can be solved simply by using some command-line entries.

All you need to do for this is to open the GTA IV main folder (where GTAIV.exe is) and manually create a new text file called "commandline.txt" and write down inside this file the specific commands you need depending on your issue(s).

The syntax of certain command-line arguments might slightly differ depending on your version of the game, but you can type "-help" in the commandline.txt file to open a window called "Commandline Arguments" that will display a list of all entries available for your version of the game next time you'll try to launch it (delete the command to be able to play the game again). If you can't see it entirely, right click on the top of the window frame and select "Move" to move it up and down using your arrow keys, since you can't scroll or resize the window.



Hers is a copy-paste of what it shows for the latest version :

Usage: C:\Program Files (x86)\Steam\steamapps\common\Grand Theft Auto IV\GTAIV\GTAIV.exe [options]
Where [options] are one or more of:

====[Global]====
-FrameQueueLimit: Maxiumum number of frames that can be queued up
-adapter: Use the specified screen adapter number (zero-based)
-disableimposters: Turn of the imposter rendering for vehicles
-episodesFolder: Sets the root folder for Episodic content
-noBlockOnLostFocus: Don't block the window update when it loses focus.
-rglLanguage: Language set by the Rockstar Games Launcher
-scNoAutologin: Disable Social Club autologin
-scOfflineOnly: Forces the Social Club UI to load the offline website only.
-useSteam: Activates the Steam APIs

==== [AUDIO] ====
-fullspecaudio: Force high-end CPU audio footprint
-minspecaudio: Force low-end CPU audio footprint

==== [GLOBAL] ====
-benchmark: Determines if we run the benchmark immediately
-safemode: Sets graphics setting to lowest setting

==== [GRAPHICS] ====
-enableRemoteDesktop: enable remote desktop
-forcehighqualitymirrors: Enable 64 bit mirrors
-forcer2vb: force r2vb
-frameLimit: number of frames to limit game to
-framelockinwindow: Force framelock to work even in a window (works best with
60Hz monitor refresh)
-fullscreen: Force fullscreen mode
-gpucount: Lets you manually set the GPU count if query fails
-height: Set height of main render window (default is 600)
-managed: Use D3D runtime managed resources
-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)
-novblank: Disable wait for vblank
-refreshrate: Set refresh rate of main render window
-stereo: Set game to support stereo rendering mode
-unmanaged: Use application managed resources
-width: Set width of main render window (default is 800)
-windowed: Force windowed mode

==== [MEMORY] ====
-availablevidmem: Override available video memory (in megabytes)
-extravidmem: Set amount of extra video memmory to report in MB
-lazydelete: Take your time deleting stuff
-memrestrict: Set the restriction the amount of available memory for managed
resources
-no_3GB: Disable 32bit OS with /3GB
-nocache: Do not cache resources
-nomemrestrict: Do not restrict the amount of available memory for managed
resources
-noprecache: Do not precache resources
-reserve: Amount of memory to set aside for other applications
-reservedApp: Amount of memory to leave available within application space

==== [QUALITY SETTINGS] ====
-autoconfig: Automatically adjust quality setting to maintain desired frame
rate (15-120)
-detailquality: Set detail distance (0-99)
-renderquality: Set anisotropic filtering (0-4)
-shadowdensity: Set the number of lights that cast shadows
-shadowquality: Set the shadow quality (0-4)
-texturequality: Set texture quality (0-2)
-viewdistance: Set LOD view distance (0-99)

==== [TIME] ====
-notimefix: Disable Time Fix

==== [grcore] ====
-d3dmt: Allow D3D device to be initialized in multithreaded mode (PC ONLY)
-d3dst: Allow D3D device to be initialized in single threaded mode (PC ONLY)

I hope this will help.

PS: there are some typos like "Maxiumum" in the first line for example but that's how it's actually written :p

Have a nice day quarantine.
Last edited by machomuchacho; Mar 8, 2023 @ 5:42am
< >
Showing 1-15 of 18 comments
RainCoatandAxe Mar 31, 2020 @ 8:52am 
Thanks, this'll be useful
Skullmonkey Mar 31, 2020 @ 8:49pm 
Nice, you should turn this into a guide as well to get easier access.
machomuchacho Apr 1, 2020 @ 3:26am 
Originally posted by SMX87:
Nice, you should turn this into a guide as well to get easier access.
Good point
TheGibbitron Dec 5, 2021 @ 8:11pm 
Hey so I'm trying to put some command line arguments into L.A. Noire to get rid of lag and I was hoping this method would work for it too. However I don't understand how you add a text file to an .exe file. Can you explain that more?
machomuchacho Dec 6, 2021 @ 12:17am 
Originally posted by TheGibbitron:
Hey so I'm trying to put some command line arguments into L.A. Noire to get rid of lag and I was hoping this method would work for it too. However I don't understand how you add a text file to an .exe file. Can you explain that more?
In GTA IV the only thing you have to do is create a text file called commandline.txt inside the game's main folder and write the commands inside it. You can get a full list of available commands by using the command -help (which prevents the game from starting, so you have to delete the command after taking a screenshot of the window). I don't know if this works in L.A. Noire but in both games you can also do it through the traditional way, which is either via the launcher or in the "target" field when you right click on a shortcut on your PC and hit properties. Try to see if the -help command exists for L.A. Noire.
LArc7thHeaven Dec 6, 2021 @ 3:41am 
Do be careful with some command line especially in the memory sector because that can cause your game to be unstable
puddinnnn Feb 14, 2022 @ 12:38am 
sorry, but what does -notimefix do? and does -fullspecaudio really strain the cpu that much? (running on a Ryzen 5 2600, RX Vega 64 & 16gigs ddr4 Ram). Fow now I have the ultimatebugfixes pack for CE and Icenhancer natural colors for CE, using dxvk, capped at my monitor's freesync refreshrate I average in the low 60's to mid 60's. Just wondering if there could be some little tweaks here and there to improve stability, since I still experience some light stutters and weird texture/ LOD/ Lighting glitches & pop-ins.
Last edited by puddinnnn; Feb 14, 2022 @ 12:43am
machomuchacho Feb 15, 2022 @ 6:56am 
Originally posted by Yxng 氷:
sorry, but what does -notimefix do? and does -fullspecaudio really strain the cpu that much? (running on a Ryzen 5 2600, RX Vega 64 & 16gigs ddr4 Ram). Fow now I have the ultimatebugfixes pack for CE and Icenhancer natural colors for CE, using dxvk, capped at my monitor's freesync refreshrate I average in the low 60's to mid 60's. Just wondering if there could be some little tweaks here and there to improve stability, since I still experience some light stutters and weird texture/ LOD/ Lighting glitches & pop-ins.
-notimefix is for when your game appears to run in slow motion (not with low framerate) or even fast motion.
-fullspecaudio is actually the default setting, so it doesn't change anything unless for some reason your PC put the audio settings on minimum (which can't be changed in-game). Some other commands also appear to be enabled by default.
Last edited by machomuchacho; Mar 8, 2023 @ 5:32am
itzKef Mar 25, 2023 @ 8:39am 
Is there a launcher argument to skip the Rockstar Games Logo Intro at the begining?
So we can jump to the menu quickly.
Last edited by itzKef; Mar 25, 2023 @ 8:41am
Soceris Mar 25, 2023 @ 9:28am 
Originally posted by itzKef:
Is there a launcher argument to skip the Rockstar Games Logo Intro at the begining?
So we can jump to the menu quickly.
There's a way to do it with the zolika patch ini by going into Notepad++ and changing a zero to a one in the script line.

It's on line 164 & 165
Last edited by Soceris; Mar 25, 2023 @ 9:31am
itzKef Mar 25, 2023 @ 2:43pm 
Originally posted by Soceris:
Originally posted by itzKef:
Is there a launcher argument to skip the Rockstar Games Logo Intro at the begining?
So we can jump to the menu quickly.
There's a way to do it with the zolika patch ini by going into Notepad++ and changing a zero to a one in the script line.

It's on line 164 & 165

Thank you for tthe info! o7
machomuchacho Mar 25, 2023 @ 3:52pm 
Originally posted by itzKef:
Originally posted by Soceris:
There's a way to do it with the zolika patch ini by going into Notepad++ and changing a zero to a one in the script line.

It's on line 164 & 165

Thank you for tthe info! o7
Or with Fusion Fix, by the same guy.
Last edited by machomuchacho; Mar 25, 2023 @ 3:53pm
vvs Jun 28, 2023 @ 5:46pm 
guys my game runs at 60 fps capped and i want to cap it to 144 atleast so when i use
-frameLimiter it need to be set to 144 or 2? or some other number?
machomuchacho Jun 30, 2023 @ 2:15am 
Originally posted by 1jovanchy:
guys my game runs at 60 fps capped and i want to cap it to 144 atleast so when i use
-frameLimiter it need to be set to 144 or 2? or some other number?
If your monitor is 144 hz you can just enable vsync in the game.
machomuchacho Jul 18, 2023 @ 1:51am 
Originally posted by vvs:
guys my game runs at 60 fps capped and i want to cap it to 144 atleast so when i use
-frameLimiter it need to be set to 144 or 2? or some other number?
Although I recommend capping it to 60 since more than 60 fps breaks the physics (bikes become uncontrollable).
< >
Showing 1-15 of 18 comments
Per page: 1530 50