Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // comments by ed:
- // name this file autoexec.cfg and place it here:
- // C:\Program Files\Steam\steamapps\common\Team Fortress 2\tf\cfg
- //
- // use these launch options:
- // -w 1366 -h 768 -novid -windowed -noborder
- // (replace -w and -h with your screen resolution)
- //
- // I didn't notice much difference between
- // -dxlevel 81, -dxlevel 90 and -dxlevel 91
- //
- // The only thing I changed is mat_picmip, lower values mean better quality,
- // vani had "-1" but then my netbook would crash a few seconds into a game
- // (you really want "-1" otherwise sprays look like shit)
- //
- // the remaining comments below are presumably by vani
- //Run TF2 in -dxlevel 81 with this autoexec for (generally) max performance
- //Remember to remove -dxlevel 81 from the launch options after launching the game once since having it specified there causes some annoying alt tab and overlay glitches (apparently this is fixed for some but I wouldnt take any risks).
- //If you're on a laptop cap your fps at 133 to reduce overheating. You want to use fps_max 900 on a system with normal/good cooling.
- //You can change these seven commands to see if you get better/worse performance, or disable them if you get purple error textures/overlay glitch textures randomly/frequently -v
- cl_threaded_client_leaf_system "1"
- r_threaded_client_shadow_manager "1"
- r_threaded_particles "1"
- r_threaded_renderables "1"
- r_queued_decals "0"
- r_queued_post_processing "0"
- r_queued_ropes "1"
- // ^- these seven
- mat_picmip "0" //Texture quality. 2=low, 1=medium, 0=high, -1=extra high. Some people get -worse- performance with low quality textures on high end graphics card. Find out what works for you.
- mat_monitorgamma "2" //Brightness control
- //Additional documentation @ http://pastebin.com/smUucS7r
- sv_cheats "1"
- fps_max "900"
- cl_showfps "0"
- cl_cmdrate "66"
- cl_interp "0"
- cl_interp_ratio "1"
- cl_lagcompensation "1"
- cl_predict "1"
- cl_predictweapons "1"
- cl_pred_optimize "2"
- cl_smooth "0"
- cl_smoothtime "0.01"
- cl_updaterate "66"
- rate "90000"
- net_maxcleartime 0.01
- cl_phys_props_enable "0"
- cl_phys_props_max "0"
- props_break_max_pieces "0"
- r_propsmaxdist "0" //changed from 1 (chris) to 0 (comanglia)
- violence_agibs "0"
- violence_hgibs "0"
- cl_burninggibs "0"
- func_break_max_pieces "0"
- adsp_debug "0"
- cl_clearhinthistory "1"
- cl_debugrumble "0"
- cl_rumblescale "0"
- mat_debugdepthval "0"
- mat_debugdepthvalmax "0"
- mat_debug_postprocessing_effects "0"
- cl_detaildist "0"
- cl_detailfade "0"
- cl_drawmonitors "0"
- cl_ejectbrass "0"
- cl_muzzleflash_dlight_1st "0"
- cl_show_splashes "0"
- glow_outline_effect_enable "0"
- mat_alphacoverage "0"
- mat_autoexposure_max "0"
- mat_autoexposure_min "0"
- mat_bloomscale "0"
- mat_bloom_scalefactor_scalar "0"
- //mat_colcorrection_disableentities "1"
- mat_colorcorrection "0"
- mat_compressedtextures "1"
- mat_disable_bloom "1"
- mat_disable_fancy_blending "1"
- mat_disable_lightwarp "1"
- mat_envmapsize "8" //changed from 1 (chris) to 8 (comanglia)
- mat_envmaptgasize "8" //changed from 0 (chris) to 8 (comanglia)
- mat_excludetextures "1"
- mat_fastnobump "0"
- mat_fastspecular "1"
- mat_filterlightmaps "0" //set to 1 in comanglia
- mat_filtertextures "1"
- mat_forceaniso "0" //changed from 1 (chris) to 0 (comanglia)
- mat_hdr_level "0"
- mat_max_worldmesh_vertices "512" //changed from 0 (chris) to 512 (comanglia)
- mat_mipmaptextures "1"
- mat_non_hdr_bloom_scalefactor "0"
- mat_parallaxmap "0"
- mat_postprocess_x "0"
- mat_postprocess_y "0"
- mat_reducefillrate "1"
- mat_reduceparticles "1"
- mat_softwarelighting "0"
- //[0,1] - If set to 1, uses only software-supported lighting.
- //Image quality is not greatly affected, but this may increase
- //or decrease your performance depending on whether your CPU is
- //far more powerful than your graphics card.
- r_lod "2"
- r_rootlod "2"
- lod_transitiondist "0"
- r_3dsky "0"
- mat_bumpmap "0"
- mat_antialias "1"
- mat_motion_blur_enabled "0"
- mat_motion_blur_strength "0"
- mat_motion_blur_forward_enabled "0"
- mat_specular "1" //changed from 0 (chris) to 1 (comanglia)
- mat_trilinear "1"
- mat_wateroverlaysize "1" //changed from 0 (chris) to 1 (comanglia)
- mp_usehwmmodels "0"
- mp_usehwmvcds "0"
- muzzleflash_light "0"
- r_ambientboost "0"
- r_ambientfactor "0"
- r_ambientmin "0"
- r_avglight "0"
- r_bloomtintb "0" //command is not specified in comanglia.
- r_bloomtintexponent "0" //command is not specified in comanglia.
- r_bloomtintg "0" //command is not specified in comanglia.
- r_bloomtintr "0" //command is not specified in comanglia.
- r_cheapwaterend "1"
- r_cheapwaterstart "1"
- r_decalstaticprops "0"
- r_decal_cullsize "0" //changed from 0 (chris) to 15 (comanglia)
- r_dopixelvisibility "0" //command is not specified in comanglia.
- r_drawbatchdecals "0"
- r_drawdetailprops "0"
- r_drawflecks "0"
- r_drawmodeldecals "0"
- r_drawspecificstaticprop "0"
- r_dynamic "0"
- r_eyemove "0"
- r_flashlightdepthtexture "0"
- r_flashlightrendermodels "0"
- r_flashlightrenderworld "0"
- r_forcewaterleaf "1"
- r_lightaverage "0"
- r_maxdlights "0"
- r_maxmodeldecal "9" //changed from 0 (chris) to 9 (comanglia)
- r_maxnewsamples "0"
- r_maxsampledist "1" //changed from 0 (chris) to 1 (comanglia)
- r_minnewsamples "0"
- r_physpropstaticlighting "0"
- //r_pixelfog "0"
- r_radiosity "0"
- r_renderoverlayfragment "0"
- r_ropetranslucent "0"
- r_staticprop_lod "4"
- r_updaterefracttexture "0"
- r_visualizeproplightcaching "1" //command is not specified in comanglia.
- r_waterdrawreflection "0"
- r_waterdrawrefraction "1"
- r_waterforceexpensive "0"
- r_waterforcereflectentities "0"
- r_worldlights "0"
- tf_particles_disable_weather "1"
- rope_averagelight "0"
- rope_collide "0"
- rope_rendersolid "0"
- rope_shake "0"
- rope_smooth "0"
- rope_smooth_enlarge "0"
- rope_smooth_maxalpha "0"
- rope_smooth_maxalphawidth "0"
- rope_smooth_minalpha "0"
- rope_smooth_minwidth "0"
- rope_solid_maxalpha "0"
- rope_solid_maxwidth "0"
- rope_solid_minalpha "0"
- rope_solid_minwidth "0"
- rope_subdiv "0"
- rope_wind_dist "0"
- snd_musicvolume "0.0"
- dsp_enhance_stereo 0
- dsp_slow_cpu 1
- snd_async_fullyasync 1 // Having the sound run fully asynchronous has been
- // helpful in the past, as it seems to (for whatever
- // reason) reduce the number of TDRs experienced during
- // gameplay. There's some pretty good information on
- // TDRs (nerds only) here:
- // http://forums.nvidia.com/index.php?showtopic=65161
- snd_pitchquality 0
- snd_spatialize_roundrobin 1
- snd_mixahead .05
- soundscape_flush "1"
- cl_soundemitter_flush "1"
- cl_forcepreload "1"
- mat_bufferprimitives "1"
- mat_clipz "1"
- mat_disablehwmorph "0"
- mat_disable_ps_patch "1"
- mat_forcehardwaresync "0"
- mat_forcemanagedtextureintohardware "0"
- mat_framebuffercopyoverlaysize "0"
- mat_maxframelatency "0"
- mat_postprocessing_combine "1"
- mat_vsync "0"
- r_fastzreject "-1"
- r_hunkalloclightmaps "0"
- r_lightcache_zbuffercache "0"
- r_unloadlightmaps "0"
- m_rawinput "1"
- joystick "0"
- net_graph "0"
- hud_fastswitch "1"
- tf_hud_num_building_alert_beeps "2"
- tf_simple_disguise_menu "1"
- tf_disguise_menu_controller_mode "0"
- cl_use_tournament_specgui "1"
- tf_explanations_tradingpanel "1"
- cl_showbackpackrarities "1"
- tf_respawn_on_loadoutchanges "1"
- tf_dingalingaling "1"
- cl_autoreload "1"
- viewmodel_fov_demo "90"
- tf_medigun_autoheal "1"
- hud_medicautocallers "1"
- hud_medicautocallersthreshold "50"
- hud_medichealtargetmarker "0"
- voice_enable "1"
- voice_forcemicrecord "1"
- fov_desired "90"
- tf_colorblindassist "1"
- mat_phong 0
- hud_combattext 1
- hud_combattext_healing 0
- hud_combattext_batching 1
- nb_shadow_dist 1 // Distance from which shadows are visible. Uncomment to modify.
- cl_jiggle_bone_framerate_cutoff 0
- mat_colcorrection_disableentities 0
- r_avglight 0
- r_dynamiclighting 0
- tracer_extra 0 // Undocumented.
- violence_ablood 1 // Setting ablood/hblood to 1 actually improves perf usually
- violence_hblood 1
- // Control antialiasing quality to a better extent
- mat_software_aa_quality 0 // was 9 (vani: 2) default ?
- mat_software_aa_strength 0 //(vani: 2) default -1.0
- mat_software_aa_strength_vgui -1 //(vani: 2) default -1.0
- mat_software_aa_blur_one_pixel_lines 0 //(vani: 0.5) default 0.5
- mat_software_aa_edge_threshold 9 //(vani 0.8) default 1.0
- mat_software_aa_tap_offset 1 //(vani: 0) default 1.0
- in_usekeyboardsampletime 0
- mat_levelflush 1
- r_fastzreject -1 // Values >1 enable a fast Z rejection algorithm, to be performed on the GPU (as opposed to on the CPU). The value `-1' autodetects hardware support for this feature, which is safer than forcing it.
- mat_queue_mode 2 // mat_queue mode is another frequently asked about cvar, it
- // defines the threading method to be used by the material
- // system. It has been unstable to use in the past, but
- // nowadays it's generally okay.
- //
- // Here are the possible values:
- // -2 legacy default
- // -1 default
- // 0 synchronous single thread
- // 1 queued single thread
- // 2 queued multithreaded
- //
- // If you have problems with the value `2', try setting it to
- // `-1'.
- //
- // As an aside, there are quite a few bugs in the demo system
- // that occur when mat_queue_mode is set to a value that is
- // not `-1'. If you intend to do work with the demo system,
- // maybe you should change this.
- //
- //After immense testing I've found that default works perfectly
- //fine with setting your Thread usage. It automatically set me
- //to 2 every time. I'd say it's safer and likely less buggy to
- //leave this at -1 than it is at 2.
- //
- //As a side not I've noticed micro stutters with mat_queue_mode 2
- //at 1000+ fps where mat_queue_mode 1 did not stutter at 1000+ fps
- cl_threaded_bone_setup 1 //WARNING if you don't have a Quad-Core CPU or better you SHOULD NOT LEAVE THIS ON
- cl_threaded_client_leaf_system 0 //DO NOT ENABLE cause crashes to desktop within 4-5 minutes of gameplay 4/18 2014
- ai_expression_optimization 1
- hud_achievement_glowtime 0 // Default is 2.5, not 100% what this is about a 1.5% fps boost.
- hud_achievement_count 0 //Default is 8, Max number of achievements that can be shown on the HUD
- hud_achievement_tracker 0 // Default is 1, Show or hide the achievement tracker
- r_occlusion 0 // disables ambient occlusion. 2% FPS boost
- // ----------------------------------------------------------------------------
- // Test Shit
- // ----------------------------------------------------------------------------
- cl_localnetworkbackdoor 1 //Network optimizations for Singleplayer, disabling has about a 1-2% fps boost
- cl_cloud_settings 0 // I believe this disables cloud syncing of CFGs but not 100% sure
- //cl_notifications_show_ingame 0 // Pretty sure this disables Trade/Duel Notifications
- sys_minidumpspewlines 500 // Basically the number of lines saved to a log file from console. No FPS boost but 15% lower FPS variance
- cl_loadondemand_default 0
- studio_queue_mode 1 //warning
- mod_load_anims_async 1 // Loads model animations async
- mod_load_mesh_async 1 // Load model mesh async
- mod_load_vcollide_async 1 // Load model vcollide async
- tf_hud_target_id_disable_floating_health 1
- tf_playergib 0
- prop_active_gib_limit 0
- prop_active_gib_max_fade_time 0
- snd_ducktovolume 1 //same as voice_overdrive
- voice_overdrive 1 //fixes voice chat making other sound
- r_pixelfog 1
- net_queue_trace 0
- cl_new_impact_effects 0
- fast_fogvolume 1
- cl_blobbyshadows 1
- r_drawtracers_firstperson 0 // should give a small fps boost in 1st person
- //host_thread_mode 0 // Not exactly stable. Test with 0/1/2 ?
- blink_duration 0
- cl_hud_playerclass_use_playermodel 0
- snd_mixahead 0.05
- tf_contract_progress_show 0
- tf_scoreboard_ping_as_text 1
- // Disable facial features -- turning them on lowers framerate by 5ish%
- r_eyes 0
- r_flex 0
- r_lod 2
- r_rootlod 2
- r_teeth 0
- // Disable gibs -- 6-7% more framerate
- cl_phys_props_enable 0
- cl_phys_props_max 0
- props_break_max_pieces 0
- r_propsmaxdist 1
- violence_agibs 0
- // Disable ragdolls -- increase by 10ish%
- cl_ragdoll_fade_time 0
- cl_ragdoll_forcefade 1
- cl_ragdoll_physics_enable 0
- g_ragdoll_fadespeed 0
- g_ragdoll_lvfadespeed 0
- ragdoll_sleepaftertime 0
- violence_hgibs 0
- // Disable shadows -- I highly recommend keeping them off if you're frequently near or below the refresh rate of your monitor as you'll lose about 15-20% of your framerate
- mat_shadowstate 0
- r_shadowmaxrendered 0
- r_shadowrendertotexture 0
- r_shadows 0
- // Disable Sprays
- cl_playerspraydisable "1"
- r_decals "0"
- r_spray_lifetime "0"
- mp_decals "0"
Advertisement
Add Comment
Please, Sign In to add comment