Shadows are one of the most GPU-intensive processes in the game. The in-game settings allow you to lower them, but they don't turn them off completely.
-percentvidmem 100 : Forces the game to use 100% of the video memory you’ve allocated in the previous command. : command line for gta 4 low end pc
Without this, GTA IV constantly unloads buildings and textures behind your back to save memory, causing the dreaded "pop-in" where you crash into invisible walls. This command tells the game to use your pagefile (hard drive space) as backup. It slows loading slightly but stops crashes. Shadows are one of the most GPU-intensive processes
Unlocks every graphics menu slider. You will now be able to set "Texture Quality" to Medium or High even on a potato. Caveat: High textures on 512MB of RAM will cause stuttering; use Medium. : Without this, GTA IV constantly unloads buildings
GTA IV is heavily CPU-bound. Lowering these reduces pedestrian and vehicle calculations.