Advertisement
Guest User

Untitled

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