Advertisement
Guest User

autoexec

a guest
Jun 13th, 2015
28
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 19.15 KB | None | 0 0
  1. // Unexplained crashes? Try changing mat_queue_mode to `-1'.
  2. // ----------------------------------------------------------------------------
  3. // Comanglia' frames config inspired by chris, designed to get you a large performance boost
  4. // v1.5a | 19 October 2014 | https://dl.dropboxusercontent.com/u/92187841/gfx.cfg
  5. // ----------------------------------------------------------------------------
  6. // Launch options:
  7. // You don't have to remove -dxlevel from the launch options after the first launch!
  8. //
  9. // Fullscreen: -dxlevel 81 -full -w WIDTH -h HEIGHT -console -novid
  10. // Windowed: -dxlevel 81 -sw -w WIDTH -h HEIGHT -console -noborder -novid
  11. // -useforcedmparms -noforcemaccel -noforcemspd // All of these are outdated and don't matter anymore
  12. //
  13. // DX Levels
  14. // -dxlevel 80, -dxlevel 81, -dxlevel 90, -dxlevel 91, -dxlevel 95, -dxlevel 98
  15. // if you can use -dxlevel 81 USE IT your fps will be significantly more stable, some Nvidia users may experience a weird strobing effect (some series of outdated nvidia drivers remove this affect)
  16. // ----------------------------------------------------------------------------
  17.  
  18. // ----------------------------------------------------------------------------
  19. // FPS cap
  20. // ----------------------------------------------------------------------------
  21. // The primary benefit of an FPS cap is to make the FPS more stable, other than
  22. // that, it doesn't do a lot. A moderate, consistent framerate is much more
  23. // desirable than a variable but sometimes high framerate. A common
  24. // misconception is that if any more frames are generated than your monitor can
  25. // display, they are useless. This is wrong -- frames are used for much more
  26. // than mere display, and affect the way the game feels well past your
  27. // refresh rate.
  28. // ----------------------------------------------------------------------------
  29. cl_showfps 0 // Turning this FPS meter on actually decreases fps by about 3%-4%
  30. fps_max 121 // fps caps on PCs that consistently meet that cap causes horrible input lag when attempting to turn/aim
  31. //fps_max 132 // I'm leaving this in here though because some PCs (usually laptops) tend to overheat and have microstutters without frame caps.
  32.  
  33. // ----------------------------------------------------------------------------
  34. // Net settings
  35. // ----------------------------------------------------------------------------
  36. // Whilst net settings perhaps aren't an integral part of an FPS config, they
  37. // are a fact of life in competitive TF2, and as such, they are included here.
  38. //
  39. // A common question I am asked -- what defines whether a good connection is
  40. // good or bad? Mostly personal preference. If you're not willing to make the
  41. // choice, try both and see which is better for you.
  42. //
  43. // Generally, meeting both of the following conditions would classify it as a
  44. // good connection:
  45. //
  46. // - Ping of <80 to the average server you join
  47. // - Generally no/negligible choke/loss (can be checked with `net_graph')
  48. //
  49. // There's some pretty good documentation on this here:
  50. // http://developer.valvesoftware.com/wiki/Source_Multiplayer_Networking
  51. //
  52. // Uncomment (remove the `//' from) one of the groups if you want to use them.
  53. // ----------------------------------------------------------------------------
  54.  
  55. // Good connection
  56. cl_cmdrate 67 // The tricks to get 1.4ms lerp are placebo you're still forced //to .0152
  57. cl_interp .033 // change to whatever you like for certain classes //projectiles/popping uber/flames = .0152 hitscan = .031 on bad connections = //.062
  58. cl_interp_ratio 1
  59. cl_lagcompensation 1
  60. cl_pred_optimize 2
  61. cl_smooth 0
  62. cl_smoothtime 0.01
  63. cl_updaterate 67 // The tricks to get 1.4ms lerp are placebo you're still //forced to .0152
  64. rate 60000 // anything above 62,000 is completely useless, anything above //48,000ish is useless in HL
  65.  
  66. // Bad connection
  67. //cl_cmdrate 40
  68. //cl_interp 0
  69. //cl_interp_ratio 2
  70. //cl_lagcompensation 1
  71. //cl_pred_optimize 2
  72. //cl_smooth 0
  73. //cl_smoothtime 0.01
  74. //cl_updaterate 40
  75. //rate 35000
  76.  
  77. // ----------------------------------------------------------------------------
  78. // Sprays
  79. // ----------------------------------------------------------------------------
  80. // Bear in mind that these are disabled on war servers due to `sv_pure 2'
  81. // anyway, so if you play competitive TF2, this won't help you.
  82. // ----------------------------------------------------------------------------
  83.  
  84. // Disable sprays
  85. //cl_playerspraydisable 1
  86. //r_spray_lifetime 0
  87.  
  88. // Enable sprays -- uncomment this section if you want these settings
  89. cl_playerspraydisable 0
  90. r_spray_lifetime 2
  91.  
  92. // ----------------------------------------------------------------------------
  93. // Shadows
  94. // ----------------------------------------------------------------------------
  95.  
  96. // Disable shadows
  97. mat_shadowstate 0
  98. r_shadowmaxrendered 0
  99. r_shadowrendertotexture 0
  100. r_shadows 0
  101.  
  102. // Enable 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
  103. //mat_shadowstate 1
  104. //r_shadowmaxrendered 11
  105. //r_shadowrendertotexture 1 // Non-blobby shadows. Sometimes turned on by
  106. // competitive TF2 players to see opponents standing
  107. // near the other side of a wall. You may see some
  108. // performance loss from setting this to `1'.
  109. //r_shadows 1
  110.  
  111. // ----------------------------------------------------------------------------
  112. // Facial features
  113. // ----------------------------------------------------------------------------
  114.  
  115. // Disable facial features
  116. r_eyes 0
  117. r_flex 0
  118. r_lod 2
  119. r_rootlod 2
  120. r_teeth 0
  121.  
  122. // Enable facial features -- turning them on lowers framerate by 5ish%
  123. //r_eyes 1
  124. //r_flex 1
  125. //r_lod 1 // Needs to be set to 1, otherwise they will still be disabled.
  126. //r_rootlod 1
  127. //r_teeth 1
  128.  
  129. // ----------------------------------------------------------------------------
  130. // Ragdolls
  131. // ----------------------------------------------------------------------------
  132. // You will have reduced performance on deaths which produce ragdolls.
  133. // ----------------------------------------------------------------------------
  134.  
  135. // Disable ragdolls
  136. //cl_ragdoll_fade_time 0
  137. //cl_ragdoll_forcefade 1
  138. //cl_ragdoll_physics_enable 0
  139. //g_ragdoll_fadespeed 0
  140. //g_ragdoll_lvfadespeed 0
  141. //ragdoll_sleepaftertime 0
  142.  
  143. // Enable ragdolls -- lowers by 10ish%
  144. cl_ragdoll_fade_time 15
  145. cl_ragdoll_forcefade 0
  146. cl_ragdoll_physics_enable 1
  147. g_ragdoll_fadespeed 600
  148. g_ragdoll_lvfadespeed 100
  149. ragdoll_sleepaftertime "5.0f"
  150.  
  151. // ----------------------------------------------------------------------------
  152. // Gibs
  153. // ----------------------------------------------------------------------------
  154. // You will have reduced performance on deaths which produce gibs.
  155. // ----------------------------------------------------------------------------
  156.  
  157. // Disable gibs
  158. cl_phys_props_enable 0
  159. cl_phys_props_max 0
  160. props_break_max_pieces 0
  161. r_propsmaxdist 1
  162. violence_agibs 0
  163. violence_hgibs 0
  164.  
  165. // Enable gibs -- 6-7% less framerate
  166. //cl_phys_props_enable 1
  167. //cl_phys_props_max 128
  168. //props_break_max_pieces -1
  169. //r_propsmaxdist 1000
  170. //violence_agibs 1
  171. //violence_hgibs 1
  172.  
  173. // ----------------------------------------------------------------------------
  174. // Graphical
  175. // ----------------------------------------------------------------------------
  176. // Now we come to the main brunt of the config. You probably don't want to mess
  177. // with this.
  178. // ----------------------------------------------------------------------------
  179. cl_hud_playerclass_use_playermodel 1 // adds another hud element -3% frames
  180. mat_phong 0 // some people don't like this on I prefer it on for sniper though
  181. cl_detaildist 0
  182. cl_detailfade 0
  183. cl_drawmonitors 0
  184. cl_ejectbrass 0
  185. cl_jiggle_bone_framerate_cutoff 0 // Turns off jigglebones
  186. cl_new_impact_effects 0
  187. cl_show_splashes 0
  188. func_break_max_pieces 0
  189. glow_outline_effect_enable 0 // Cart glow effect.
  190. lod_transitiondist 0
  191. mat_antialias 0
  192. mat_bumpmap 0 // Controls bumpmapping. Setting this to 0 on dx9 will cause
  193. // a strange `shine' effect to appear on all players. - Chris
  194. // In the past I wasn't able to prove that disabling this was significant,
  195. // it effects fps by about 1% after several checks - Comanglia
  196. mat_disable_fancy_blending 1
  197. mat_disable_lightwarp 1
  198. mat_envmapsize 8
  199. mat_envmaptgasize 8
  200. mat_filterlightmaps 1
  201. mat_filtertextures 1
  202. mat_forceaniso 0
  203. mat_max_worldmesh_vertices 512
  204. mat_monitorgamma 2.2 // Controls brightness, try 1.8 to make it brighter or 2.2
  205. // to get it darker. Only works in fullscreen.
  206. mat_parallaxmap 0
  207. mat_picmip 2 // Higher = more mipmapping. Without `sv_cheats 1', you're looking
  208. // at a range from -1 to 2, -1 being the best quality, 2 being the
  209. // worst. - Doesn't really matter much what you set this too if you're cpu bound
  210. mat_reducefillrate 1
  211. mat_reduceparticles 1
  212. mat_specular 1 // Controls specularity. Setting this to 0 will make ubers
  213. // non-shiny, and will remove some specular effects from in-game
  214. // entities which support it. - Setting this to 0 while trilinear is off lowers framerate for reasons I don't understand
  215. mat_trilinear 0
  216. mat_viewportscale 1 // Almost no performance gain from viewport upscaling.
  217. mat_viewportupscale 1
  218. mat_wateroverlaysize 1
  219. mp_decals 9 // - Just keep this below 60ish and you shouldn't notice much different at all maybe .5 average fps for every 30-40 decals
  220. r_3dsky 0
  221. r_ambientboost 0
  222. r_ambientfactor 0
  223. r_ambientmin 0
  224. r_avglight 0
  225. r_cheapwaterend 1
  226. r_cheapwaterstart 1
  227. r_decals 9
  228. r_maxmodeldecal 9
  229. r_decalstaticprops 0
  230. r_decal_cullsize 15
  231. r_drawdetailprops 0
  232. r_drawmodeldecals 0
  233. r_drawflecks 0
  234. r_dynamic 0
  235. r_flashlightdepthtexture 0
  236. r_forcewaterleaf 1
  237. r_lightaverage 0
  238. r_maxnewsamples 0
  239. r_maxsampledist 1
  240. r_occlusion 0 // disables ambient occlusion. 2% FPS boost
  241. r_propsmaxdist 0
  242. r_renderoverlayfragment 0
  243. r_staticprop_lod 4
  244. r_waterdrawreflection 0
  245. r_waterdrawrefraction 1
  246. r_waterforceexpensive 0
  247. r_waterforcereflectentities 0
  248. rope_averagelight 0
  249. rope_collide 0
  250. rope_rendersolid 0
  251. rope_shake 0
  252. rope_smooth 0
  253. rope_subdiv 0
  254. rope_wind_dist 0
  255. tf_particles_disable_weather 1 // Disable weather effects on maps supporting
  256. // it, for example, setting this to `1'
  257. // disables rain effects on *_sawmill.
  258. tracer_extra 0
  259. violence_ablood 1 // framerates on -most- pcs are higher with these on
  260. violence_hblood 1
  261.  
  262. // ----------------------------------------------------------------------------
  263. // Misc
  264. // ----------------------------------------------------------------------------
  265. in_usekeyboardsampletime 0
  266. mat_clipz 1 // FX card users should set this to 0
  267. mat_forcehardwaresync 0
  268. mat_levelflush 1
  269. m_rawinput 0 // Turn on raw mouse input. Commented out by default due to
  270. // silly incompatibility with the Xfire overlay. You should use
  271. // it if you can! - WHO USES XFIRE ANYMORE?
  272. mat_vsync 0 // Turn off vsync to avoid nasty I/O latency.
  273. r_fastzreject -1 // Values >1 enable a fast Z rejection algorithm, to be
  274. // performed on the GPU (as opposed to on the CPU). The
  275. // value `-1' autodetects hardware support for this
  276. // feature, which is safer than forcing it.
  277.  
  278. // ----------------------------------------------------------------------------
  279. // Sound
  280. // ----------------------------------------------------------------------------
  281. // I'd be hesitant to say that you would see a great deal of performance
  282. // improvement from lowering the sound quality, but in my experience as a
  283. // competitive TF2 player, lowering the sound quality makes determination of
  284. // directionality and distance that much easier. You may see a small FPS gain
  285. // with these settings, or you may not, either way will likely have a
  286. // negligible effect on performance.
  287. // ----------------------------------------------------------------------------
  288. dsp_enhance_stereo 0
  289. dsp_slow_cpu 1
  290. snd_async_fullyasync 1 // Having the sound run fully asynchronous has been
  291. // helpful in the past, as it seems to (for whatever
  292. // reason) reduce the number of TDRs experienced during
  293. // gameplay. There's some pretty good information on
  294. // TDRs (nerds only) here:
  295. // http://forums.nvidia.com/index.php?showtopic=65161
  296. snd_pitchquality 0
  297. snd_spatialize_roundrobin 1
  298. snd_mixahead .05 // Delay in sound from weapons below .05 has been known to be unstable
  299. snd_noextraupdate "1" // Disables verification on sound files
  300.  
  301. // ----------------------------------------------------------------------------
  302. // Threading
  303. // ----------------------------------------------------------------------------
  304. host_thread_mode 0
  305. mat_queue_mode 2 // mat_queue mode is another frequently asked about cvar, it
  306. // defines the threading method to be used by the material
  307. // system. It has been unstable to use in the past, but
  308. // nowadays it's generally okay.
  309. //
  310. // Here are the possible values:
  311. // -2 legacy default
  312. // -1 default
  313. // 0 synchronous single thread
  314. // 1 queued single thread
  315. // 2 queued multithreaded
  316. //
  317. // If you have problems with the value `2', try setting it to
  318. // `-1'.
  319. //
  320. // As an aside, there are quite a few bugs in the demo system
  321. // that occur when mat_queue_mode is set to a value that is
  322. // not `-1'. If you intend to do work with the demo system,
  323. // maybe you should change this.
  324. //
  325. //After immense testing I've found that default works perfectly
  326. //fine with setting your Thread usage. It automatically set me
  327. //to 2 every time. I'd say it's safer and likely less buggy to
  328. //leave this at -1 than it is at 2.
  329. //
  330. //As a side not I've noticed micro stutters with mat_queue_mode 2
  331. //at 1000+ fps where mat_queue_mode 1 did not stutter at 1000+ fps
  332.  
  333. cl_threaded_bone_setup 0 // WARNING if you don't have a Quad-Core CPU or better you SHOULD NOT LEAVE THIS ON
  334. cl_threaded_client_leaf_system 0 // DO NOT ENABLE cause crashes to desktop within 4-5 minutes of gameplay 4/18 2014
  335. r_queued_decals 0 // lessens the impact of higher decal limits.
  336. r_queued_ropes 1
  337. r_queued_post_processing 1 // kind of pointless because it's disabled above but if you do like post processing effects keeping this on should lessen the impact on framerate
  338. r_threaded_client_shadow_manager 1
  339. r_threaded_particles 1
  340. r_threaded_renderables 1
  341. net_queue_trace 0
  342.  
  343. // ----------------------------------------------------------------------------
  344. // HUD
  345. // ----------------------------------------------------------------------------
  346. hud_saytext_time 10 //Default is 12 and measured in seconds, this is the amount of time chat stays on your screen
  347. voice_enable 1 //Default is 1, This is the voice chat in the game 1 = on, 0 = off
  348. hud_deathnotice_time 5 // Default is 6, This the the death notices that usually appear at the top right of the screen
  349. hud_achievement_glowtime 0 // Default is 2.5, not 100% what this is about a 1.5% fps boost.
  350. hud_achievement_count 0 //Default is 8, Max number of achievements that can be shown on the HUD
  351. hud_achievement_tracker 0 // Default is 1, Show or hide the achievement tracker
  352.  
  353. // ----------------------------------------------------------------------------
  354. // Test
  355. // ----------------------------------------------------------------------------
  356. cl_localnetworkbackdoor 1 //Network optimizations for Singleplayer, disabling has about a 1-2% fps boost
  357. cl_cloud_settings 0 // I believe this disables cloud syncing of CFGs but not 100% sure
  358. //cl_notifications_show_ingame 0 // Pretty sure this disables Trade/Duel Notifications
  359. sys_minidumpspewlines 500 // Basically the number of lines saved to a log file from console. No FPS boost but 15% lower FPS variance
  360. cl_loadondemand_default 0
  361.  
  362. // ----------------------------------------------------------------------------
  363. // Misc
  364. // ----------------------------------------------------------------------------
  365. cl_forcepreload 1 // Force preloading
  366. cl_ask_blacklist_opt_out "1"
  367. cl_ask_favorite_opt_out "1"
  368. sb_dontshow_maxplayer_warning "1"
  369. tf_explanations_backpackpanel "1"
  370. tf_explanations_charinfo_armory_panel "1"
  371. tf_explanations_charinfopanel "1"
  372. tf_explanations_craftingpanel "1"
  373. tf_explanations_discardpanel "1"
  374. tf_explanations_store "1"
  375. tf_training_has_prompted_for_forums "1"
  376. tf_training_has_prompted_for_loadout "1"
  377. tf_training_has_prompted_for_offline_practice "1"
  378. tf_training_has_prompted_for_options "1"
  379. tf_training_has_prompted_for_training "1"
  380. //net_graph 1 // keeping this on actually lowers your framerate by 3-6% depending on the level of net_graph you have it at
  381. // net_graph 1,2,3,4,5
  382.  
  383. // ----------------------------------------------------------------------------
  384. // Print to console
  385. // ----------------------------------------------------------------------------
  386. echo "---------------------------------------------------------"
  387. echo "Comanglia' frames config loaded. Inspired by Chris config"
  388. echo "---------------------------------------------------------"
  389.  
  390. // ----------------------------------------------------------------------------
  391. // Crosshair Color Changer
  392. // ----------------------------------------------------------------------------
  393. alias xhairblu "cl_crosshair_red 32; cl_crosshair_green 178; cl_crosshair_blue 170"
  394. alias xhairgreen "cl_crosshair_red 208; cl_crosshair_green 32; cl_crosshair_blue 144"
  395. alias xhairblack "cl_crosshair_red 178; cl_crosshair_green 34; cl_crosshair_blue 34"
  396. alias xhairwhite "cl_crosshair_red 255; cl_crosshair_green 255; cl_crosshair_blue 255"
  397.  
  398. alias +w "+forward; xhairblu"
  399. alias +a "+moveleft; xhairblack"
  400. alias +s "+back; xhairgreen"
  401. alias +d "+moveright; xhairwhite"
  402.  
  403. alias -w "-forward;xhairblu"
  404. alias -a "-moveleft;xhairblu"
  405. alias -s "-back;xhairblu"
  406. alias -d "-moveright;xhairblu"
  407.  
  408. bind w +w
  409. bind a +a
  410. bind s +s
  411. bind d +d
  412.  
  413. // ------------------------------------------------------------------------------
  414. // Misc Binds
  415. // ------------------------------------------------------------------------------
  416.  
  417. zoom_sensitivity_ratio 1
  418.  
  419. bind "p" "say puddi puddi! \o/"
  420.  
  421. bind "k" "kill"
  422.  
  423. bind "l" "explode"
  424.  
  425. bind "e" "fov_desired 75"
  426. bind "q" "fov_desired 90"
  427.  
  428. // Prism Settings (for refract)
  429.  
  430. mat_motion_blur_enabled 1 //afaik the only sure-fire way to keep refract masking on
  431. mat_motion_blur_strength 0 //effectively disables motion blur, personal choice + motion blur gets masked and looks bad with refract masking
  432. mat_disable_bloom 1 //disables bloom so refract masking doesn't create a dark rectangle over light materials
  433. mat_hdr_level 0
  434. mat_colcorrection_disableentities 1
  435. mat_colorcorrection 0
  436.  
  437. // -------------------------------------------------------------------------------
  438. // tr_walkway Fix
  439. // -------------------------------------------------------------------------------
  440.  
  441. sv_allow_point_servercommand always
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement