Originally posted by datth:
Devs do not recommend that you manually edit these as some combinations may make the game unstable or run slowly. Only play with the file if you want to experiment.
Also note: I did experimenting on my own and noticed that my computer will CRASH if I run SC2 with invalid variable.txt settings. Can't say this will happen on all systems, but seems likely.
Okay Hopefully this will be a source of even more variables.txt information, although at this point I have a pretty fair collection.
Feel free to contribute things you've learned. In fact it'd be be even better if you did experimentation yourself to help figure things out for everyone else. I will probably edit-in any contributions into this original post.
Adjust max FPS
SC2 used to cause GPU overloading without a framerate cap AFAIK, but either the problem was fixed or I was mistaken.
Originally posted by AdamS:Values can be changed to taste - a bit higher or lower than you desire, such as 60 for the GUI, and 80 for the game
There is a cap of ~60 FPS on the glue screens. And the game will not cause your video card to overheat no matter how powerful it is or how many FPS it draws if the video card has adequate cooling.
Add the lines:
frameratecap=60 (In-game FPS limit)
frameratecapGlue=30 (FPS limit for the battle.net user interface)
Also note: If you have an FPS cap enabled (for at least the gameplay), I suggest you disable vsync, although this is not advice from an expert and I may be wrong.
Vsync by the way, is an alternative to using a framerate cap, which will help or prevent partial frames from rendering (half of a screen update being displayed [for only a milisecond or few] instead of a whole one).
Vsync is a perfectly fine option to use, just realize that I've heard it may cause very small amounts of input lag, and/or lower FPS (up to 50%). Vsync causes frames to be rendered at a rate that's typically a factor/divisor of the monitor's refresh rate (60hz, 75hz, 100hz, etc.)
A more in-depth explanation can be found here:
Run Starcraft 2 at a custom resolution
This one is pretty simple, but some of you may not have realized it.
Add (or edit?) the following lines:
Width=X (X being the screen width you want in pixels)
Height= Y (Y being the screen height you want in pixels)
Disable all creep effects:
Creep becomes a texture. No more animations. Some competitive gamers may like this.
Ultra-high (extreme) graphics settings.
- - - - -
EDIT: An in-game extreme graphics setting has been introduced, but only for the cinematics as far as I heard. I doubt it does much though, as far as I know it mostly just improves shadows. I do not recommend using it even for just the cinematics but that's just me.
- - - - -
More details on this setting: http://tinyurl.com/34lwoe8
Extreme settings not available through GUI. Note, this runs EXTREMELY SLOW from what I heard, even on newer cards. The visual difference is almost ZERO in many cases, too.The major difference this does I think it make the shadows super-detailed. There's some other differences, but you don't notice them as much. I do not recommend this change to put in your variables.txt due to the performance cost compared to graphics boost.
Add the following lines:
GraphicsOptionOverallQualityVer7  = 4
Performance AND good quality - tweak
More details on this setting: http://tinyurl.com/34lwoe8
This will maintain most of your current ultra settings,
but lower a few settings for a major performance boost. Note, this is designed to improve performance from ultra (highest) settings, in case you either want it to look different, or perform more smoothly.
hdr = 0 (Seems to lower color de-saturation of units, but also removes most of the glowing on most units. Also reduces but not completely eliminates the glossy/shiny look on models)
shadowmapsize=512 (shadow detail. You can also try 256 or 128.
transparentshadows=0 (Major change for ATI Radeon cards I hear. cloaked units get normal shadows instead of transparent.)
Completely removes shadows as far as I know. This is another competitive gamer performance change, but I think can just be done in the GUI?
shadows = 0
Untested, but obviously water effects:
This could be another useful improvement on some maps for competitive gamers. I have not tested these, and do not yet know what they do for certain, but here are what my values happen to be.
waterreflection=1 (water reflections effect)
waterrendertargetsize=1024 (water quality I'm guessing)
watershadow=1 (shadows in the water? possibly shadows FOR the water waves?)
This makes the screen/gameplay-area SLIGHTLY "darker", since there is a small amount of fog on normal level ground, but the main thing you'll notice is all low ground (pits,canyons,etc.) that is normally unpathable (unless you specially edit it in the editor) will be visible, as the fog that normally covers it will disappear. Not sure if this increases or decreases performance, but it looks pretty cool IMO.
Remove the glossy/shiny/slimy look on all models
If one sets hdr to 0 it will diminish the shiny/slimy/glossy appearance on all models, but models will also loose all glow effects. However, if one keeps hdr at 1, but sets spec to 0 you will loose the glossy look completey, but keep the HDR glow effects. Note that spec=0 considerably reduces the perceived detail level of many units (especially zerg).
spec = 0
Remove bumpy textures
This will remove normal map (bump map) effects on all models, including the terrain. It makes the terrain flat looking, but also removes the 3d look on all other textures that use it (pretty much every zerg unit, and not much else AFAIK). This affects the quality of zerg units' detail a lot, but makes the terrain a bit more clean looking.
modify the line:
Test these if you want. I have not tried them, so be careful.
I run every thing on a either high or ultra. I don't want to sacrificer any visual quality but I'd like to enable simple pylon circles. How can I do this. They seem to only show up when every thing is set to low.
Just turn down model quality to low, the rest can stay.
I am personally requesting if anyone knows how to remove all lighting in the game. This is an option in the editor (view>lighting), but I don't know it's variables.txt variable, if it even exists. Note it is NOT "lighting" or at least "lighting = 0" because I tried that and it crashed my computer.
Unrelated to variables.txt, but very useful if you want a visual boost:
This information is only relevant if you have an ATI Radeon card.
ATI has released updated drivers to enable Anti-Aliasing in Starcraft 2. Previously even forcing application to use AA would not work for Starcraft 2, but with the new driver, it can now be done. This may slow down your FPS considerably, so watch out.
It also improves performance in certain crossfire setups.
EDIT: that was version 10.7a, you should probably get a more recent version now (which may offer increased benefits). Visit amd/ATI's website to get the latest version.
nVidia cards could/can already force AA.