Question from JVeneer

Can GTA4 be run in windowed mode?


JVeneer provided additional details:

Nicely detailed..thanks muchly.

benou1233 asked for clarification:

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

Accepted Answer

xche78x answered:

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.
1 0

This question has been successfully answered and closed

More Questions from This Game

Ask a Question

To ask or answer questions, please log in or register for free.