Question from JVeneer

Asked: 6 years ago

Can GTA4 be run in windowed mode?


Additional details - 6 years ago

Nicely detailed..thanks muchly.

Accepted Answer

From: xche78x 6 years ago

in C:\Program Files\Rockstar Games\Grand Theft Auto IV directory (this is the default install)
create a text file called "commandline.txt" (no quotes of course)
edit it and add the command "-windowed" (no quotes)
save the text file commandline.txt
launch the GTA4 game and presto it is forced to use window mode.

and since youre already add it
i recommend adding
-norestrictions (if you have a powerful pc)
-nomemrestrict (if you have lots of ram)

heres the full GTA4 command list

-benchmark: Runs the benchmark tool and immediately exits game.
-help: Display list of all command line options


-renderquality: Set the render quality of the game. (0-4)
-shadowdensity: Set the shadow density of the game. (0-16)
-texturequality: Set the texture quality of the game. (0-2)
-viewdistance: Set the view distance of the game (0-99)
-detailquality: Set the detail quality of the game. (0-99)
-novblank: Disable wait for vblank (No Vsync)
-norestrictions: Do not limit graphics settings
-width: Set width of main render window (default is 800)
-height: Set height of main render window (default is 600)
-safemode: Run the graphics in the lowest setting possible
-frameLimit: Limit frame to interval of refresh rate (ex If refreshrate is 60HZ frameLimit 1 = Locks down to 60HZ)
-refreshrate: Set the refresh rate of main render window Warning - Monitor must support (ex. refreshrate 60)
-fullscreen: Force fullscreen mode
-windowed: Force windowed mode
-availablevidmem: Set amount of physical Video Memory(ex. availablevidmem 0.9)
-percentvidmem: Percentage of video memory to make available to GTA


-fullspecaudio: Force high-end CPU audio footprint
-minspecaudio: Force low-end CPU audio footprint


-noprecache: Disable precache of resources
-nomemrestrict: Disable memory restrictions
just dont play too much with these codes, it can mess up your game
but of course you can just delete the text file and be back to normal.

Rated: +1 / -0

This question has been successfully answered and closed

Submitted Answers


I do what you write but when I start a error message come up.....and i'm not sure what's a quote....

Rated: +0 / -0

Respond to this Question

You must be logged in to answer questions. Please use the login form at the top of this page.

Similar Questions

question status from
Can i play GTA4 ? Open rohinvinod
How to install GTA4 in windows xp? Unanswered 1312niraj
GTA4 Fatel Error - WS10 ? Open jitu1990
Why does the game keep in mute mode? Open hardcore2373n
Can i run it? Unanswered syabatron