Advertisement
Guest User

Untitled

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