Advertisement
Guest User

Aleks TF2 Config

a guest
Jul 25th, 2017
150
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 18.50 KB | None | 0 0
  1. // Unexplained crashes? Try changing mat_queue_mode to `-1'.
  2. // ----------------------------------------------------------------------------
  3. // Comanglia' toaster config inspired by chris, designed to get you a large performance boost
  4. // v1.1 | 18 December 2015 |
  5. // ----------------------------------------------------------------------------
  6. // Launch options:
  7. // You should remove -dxlevel xx from the launch options for superior stability with
  8. // ALT+Tabbing
  9. //
  10. // Fullscreen: -dxlevel 81 -full -w WIDTH -h HEIGHT -console -novid
  11. // Windowed: -dxlevel 81 -sw -w WIDTH -h HEIGHT -console -noborder -novid
  12. // -useforcedmparms -noforcemaccel -noforcemspd -threads -heapsize // All of these are outdated and don't matter anymore
  13. //
  14. // DX Levels
  15. // -dxlevel 80, -dxlevel 81, -dxlevel 90, -dxlevel 95, -dxlevel 98
  16. // 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)
  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 121 // 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. // Networking - Improves hit registration by a large margin. //
  37. // =========================================================== //
  38.  
  39. rate 100000
  40.  
  41. cl_cmdrate 100 // Sets the max cmdrate of a server to your client automatically.
  42. cl_updaterate 100 // Sets the max updaterate of a server to your client automatically.
  43.  
  44.  
  45. net_splitrate 4 // The number of fragments that are allowed to be sent per frame.
  46. net_splitpacket_maxrate 40000 // Use half of default rate for servers (80000 on average).
  47.  
  48.  
  49. net_maxfilesize 64 // Higher upload size limit.
  50. cl_timeout 0 // Set timeout limit to none, allowing timeouts forever.
  51. cl_localnetworkbackdoor 0 // Network optimizations for singleplayer, higher FPS when at 0.
  52.  
  53.  
  54. cl_interp_all 0 // Enables interpolation list optimizations.
  55. cl_interp_ratio 1 // Removes a large delay, will be set at 1 unless you use cathook or lithium.
  56. cl_interp 0 // Sets lerp to 20ms, lowest you can go without issues, even on laggy servers.
  57.  
  58.  
  59. net_compresspackets 0 //
  60. net_compresspackets_minsize 1501 // Ensures no packets are compressed, the average MTU is 1500.
  61.  
  62.  
  63. net_maxpacketdrop 500 // Less time for how long a packet can be held before dropped.
  64. net_maxcleartime 0.01 // Less time for how long a packet can wait before being sent to the server.
  65.  
  66.  
  67. cl_pred_optimize 2 // Repredicts even if there were no errors.
  68. cl_smooth 0 // Prediction error smoothing, it is not recommended to turn this off.
  69. cl_smoothtime 0.01 // The default value of 0.1 is excessive, anything below 0.0455 is too little.
  70.  
  71.  
  72. // ----------------------------------------------------------------------------
  73. // Sprays
  74. // ----------------------------------------------------------------------------
  75. // Bear in mind that these are disabled on war servers due to `sv_pure 2'
  76. // anyway, so if you play competitive TF2, this won't help you.
  77. // ----------------------------------------------------------------------------
  78.  
  79. // Disable sprays
  80. //cl_playerspraydisable 1
  81. //r_spray_lifetime 0
  82.  
  83. // Enable sprays -- uncomment this section if you want these settings
  84. cl_playerspraydisable 0
  85. r_spray_lifetime 2
  86.  
  87. // ----------------------------------------------------------------------------
  88. // Shadows
  89. // ----------------------------------------------------------------------------
  90.  
  91. // Disable shadows
  92. r_shadowmaxrendered 0
  93. r_shadowrendertotexture 0
  94. r_shadows 0
  95. nb_shadow_dist 0
  96.  
  97. // 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
  98. //mat_shadowstate 1
  99. //r_shadowmaxrendered 11
  100. //r_shadowrendertotexture 1 // Non-blobby shadows. Sometimes turned on by
  101. // competitive TF2 players to see opponents standing
  102. // near the other side of a wall. You may see some
  103. // performance loss from setting this to `1'.
  104. //r_shadows 1
  105. //nb_shadow_dist 400
  106.  
  107. // ----------------------------------------------------------------------------
  108. // Facial features
  109. // ----------------------------------------------------------------------------
  110.  
  111. // Disable facial features
  112. //r_eyes 0
  113. //r_flex 0
  114. //r_lod 2
  115. //r_rootlod 2
  116. //r_teeth 0
  117. r_eyemove 0
  118. r_eyeshift_x 0
  119. r_eyeshift_y 0
  120. r_eyeshift_z 0
  121. r_eyesize 0
  122. blink_duration 0
  123.  
  124. // Enable facial features -- turning them on lowers framerate by 5ish%
  125. r_eyes 1
  126. r_flex 1
  127. r_lod 0 // Needs to be set to 1, otherwise they will still be disabled.
  128. r_rootlod 0
  129. r_teeth 1
  130.  
  131. // ----------------------------------------------------------------------------
  132. // Ragdolls
  133. // ----------------------------------------------------------------------------
  134. // You will have reduced performance on deaths which produce ragdolls.
  135. // ----------------------------------------------------------------------------
  136.  
  137. // Disable ragdolls
  138. cl_ragdoll_fade_time 0
  139. cl_ragdoll_forcefade 1
  140. cl_ragdoll_physics_enable 0
  141. g_ragdoll_fadespeed 0
  142. g_ragdoll_lvfadespeed 0
  143. ragdoll_sleepaftertime 0
  144.  
  145. // Enable ragdolls -- lowers by 10ish%
  146. //cl_ragdoll_fade_time 15
  147. //cl_ragdoll_forcefade 0
  148. //cl_ragdoll_physics_enable 1
  149. //g_ragdoll_fadespeed 600
  150. //g_ragdoll_lvfadespeed 100
  151. //ragdoll_sleepaftertime "5.0f"
  152.  
  153. // ----------------------------------------------------------------------------
  154. // Gibs
  155. // ----------------------------------------------------------------------------
  156. // You will have reduced performance on deaths which produce gibs.
  157. // ----------------------------------------------------------------------------
  158.  
  159. // Disable gibs
  160. cl_phys_props_enable 0
  161. cl_phys_props_max 0
  162. props_break_max_pieces 0
  163. r_propsmaxdist 1
  164. violence_agibs 0
  165. violence_hgibs 0
  166.  
  167. // Enable gibs -- 6-7% less framerate
  168. //cl_phys_props_enable 1
  169. //cl_phys_props_max 128
  170. //props_break_max_pieces -1
  171. //r_propsmaxdist 1000
  172. //violence_agibs 1
  173. //violence_hgibs 1
  174.  
  175. // ----------------------------------------------------------------------------
  176. // Graphical
  177. // ----------------------------------------------------------------------------
  178. // Now we come to the main brunt of the config. You probably don't want to mess
  179. // with this.
  180. // ----------------------------------------------------------------------------
  181. cl_hud_playerclass_use_playermodel 1 // adds another hud element -3% frames
  182. mat_phong 1 // some people don't like this on I prefer it on for sniper though
  183. r_rimlight 0
  184. cl_muzzleflash_dlight_1st 0
  185. cl_detaildist 0
  186. cl_detailfade 0
  187. cl_drawmonitors 0
  188. cl_ejectbrass 0
  189. cl_jiggle_bone_framerate_cutoff 1 // Turns off jigglebones
  190. cl_new_impact_effects 0
  191. cl_show_splashes 0
  192. cl_rumblescale 0
  193. cl_showhelp 0
  194. cl_showpluginmessages 0
  195. cl_debugrumble 0
  196. glow_outline_effect_enable 1 // Cart glow effect.
  197. lod_transitiondist 0
  198. //mat_antialias 1 // apparently having this in config can break the mumble overlay for some users
  199. mat_bumpmap 1 // Controls bumpmapping. Setting this to 0 on dx9 will cause
  200. // a strange `shine' effect to appear on all players. - Chris
  201. // In the past I wasn't able to prove that disabling this was significant,
  202. // it effects fps by about 1% after several checks - Comanglia
  203. mat_colcorrection_disableentities 1
  204. mat_colorcorrection 0
  205. mat_disable_bloom 1
  206. mat_disable_fancy_blending 1
  207. mat_disable_lightwarp 1
  208. mat_envmapsize 8
  209. mat_envmaptgasize 8
  210. mat_filterlightmaps 0
  211. mat_filtertextures 0
  212. mat_forceaniso 1
  213. mat_hdr_level 0
  214. mat_autoexposure_max 0
  215. mat_autoexposure_min 0
  216. mat_bloomscale 0
  217. mat_bloom_scalefactor_scalar 0
  218. mat_debug_postprocessing_effects 0
  219. mat_debugdepth 0
  220. mat_disable_bloom 1
  221. mat_postprocessing_combine 0
  222. mat_non_hdr_bloom_scalefactor 0
  223. mat_bufferprimitives 1
  224. mat_compressedtextures 1
  225. mat_forcemanagedtextureintohardware 0
  226. mat_framebuffercopyoverlaysize 0
  227. mat_hdr_enabled 0
  228. mat_hdr_manual_tonemap_rate 0
  229. mat_mipmaptextures 1
  230. mat_non_hdr_bloom_scalefactor 0
  231. mat_showlightmappage -1
  232. mat_softwarelighting 0
  233. mat_software_aa_blur_one_pixel_lines 0
  234. mat_software_aa_edge_threshold 9
  235. mat_software_aa_quality 0 // was 9
  236. mat_software_aa_strength 0
  237. mat_software_aa_strength_vgui 0
  238. mat_software_aa_tap_offset 0
  239. mat_software_aa_quality 0
  240. mat_texture_limit -1
  241. mat_use_compressed_hdr_textures 0
  242. mem_max_heapsize 2048
  243. mod_forcedata 1
  244. mod_forcetouchdata 1
  245. mat_max_worldmesh_vertices 512
  246. mat_monitorgamma 1.8 // Controls brightness, try 1.8 to make it brighter or 2.2
  247. // to get it darker. Only works in fullscreen.
  248. mat_parallaxmap 1
  249. mat_picmip -1 // Higher = more mipmapping. Without `sv_cheats 1', you're looking
  250. // at a range from -1 to 2, -1 being the best quality, 2 being the
  251. // worst. - Doesn't really matter much what you set this too if you're cpu bound
  252. mat_reducefillrate 0
  253. mat_reduceparticles 1
  254. mat_specular 1 // Controls specularity. Setting this to 0 will make ubers
  255. // non-shiny, and will remove some specular effects from in-game
  256. // entities which support it. - Setting this to 0 while trilinear is off lowers framerate for reasons I don't understand
  257. mat_trilinear 0
  258. mat_viewportscale 1 // Almost no performance gain from viewport upscaling.
  259. mat_viewportupscale 1
  260. mat_wateroverlaysize 1
  261. mp_decals 60 // - Just keep this below 60ish and you shouldn't notice much different at all maybe .5 average fps for every 30-40 decals
  262. r_3dsky 0
  263. r_ambientboost 0
  264. r_ambientfactor 0
  265. r_ambientmin 0
  266. r_cheapwaterend 1
  267. r_cheapwaterstart 1
  268. r_decals 60
  269. r_maxmodeldecal 9
  270. r_decalstaticprops 0
  271. r_decal_cullsize 15
  272. r_drawdetailprops 0
  273. r_drawmodeldecals 0
  274. r_drawflecks 0
  275. r_dynamic 0
  276. r_flashlightdepthtexture 0
  277. r_forcewaterleaf 1
  278. r_lightaverage 0
  279. r_maxnewsamples 0
  280. r_maxsampledist 1
  281. r_bloomtintb 0
  282. r_bloomtintexponent 0
  283. r_bloomtintg 0
  284. r_bloomtintr 0
  285. r_occlusion 1
  286. r_pixelfog 1
  287. r_propsmaxdist 0
  288. r_renderoverlayfragment 1
  289. r_staticprop_lod 4
  290. r_waterdrawreflection 0
  291. r_waterdrawrefraction 1
  292. r_waterforceexpensive 0
  293. r_waterforcereflectentities 0
  294. r_drawtracers_firstperson 0 // should give a small fps boost in 1st person
  295. r_dopixelvisibility 0
  296. r_drawbatchdecals 0
  297. r_hunkalloclightmaps 0
  298. r_lightcache_zbuffercache 0
  299. r_PhysPropStaticLighting 0
  300. rope_averagelight 0
  301. rope_collide 0
  302. rope_rendersolid 1
  303. rope_shake 0
  304. rope_smooth 0
  305. rope_subdiv 0
  306. rope_wind_dist 0
  307. tf_particles_disable_weather 1 // Disable weather effects on maps supporting
  308. // it, for example, setting this to `1'
  309. // disables rain effects on *_sawmill.
  310. tracer_extra 0
  311. violence_ablood 1 // framerates on -most- pcs are higher with these on
  312. violence_hblood 1
  313. mat_motion_blur_enabled 0 // just in case anyone has this added before loading my cfg
  314. mat_motion_blur_forward_enabled 0
  315. mat_motion_blur_strength 0
  316. r_worldlightmin 0.0001
  317. r_worldlights 4
  318. mp_usehwmmodels -1
  319. mp_usehwmvcds -1
  320.  
  321. // ----------------------------------------------------------------------------
  322. // Misc
  323. // ----------------------------------------------------------------------------
  324. in_usekeyboardsampletime 0
  325. mat_clipz 1 // FX card users should set this to 0
  326. mat_forcehardwaresync 0
  327. mat_levelflush 1
  328. m_rawinput 0 // Turn on raw mouse input. Commented out by default due to
  329. // silly incompatibility with the Xfire overlay. You should use
  330. // it if you can! - WHO USES XFIRE ANYMORE?
  331. mat_vsync 0 // Turn off vsync to avoid nasty I/O latency.
  332. r_fastzreject -1 // Values >1 enable a fast Z rejection algorithm, to be
  333. // performed on the GPU (as opposed to on the CPU). The
  334. // value `-1' autodetects hardware support for this
  335. // feature, which is safer than forcing it.
  336.  
  337. ai_expression_optimization 1
  338. fast_fogvolume 1
  339. host_thread_mode 0 // Not exactly stable
  340. mod_load_anims_async 1
  341. mod_load_mesh_async 1
  342. mod_load_vcollide_async 1
  343. con_enable 1
  344. con_filter_enable 1
  345. con_filter_text_out particle
  346. datacachesize 256
  347. filesystem_native 1
  348. studio_queue_mode 1
  349. filesystem_max_stdio_read 32
  350. filesystem_buffer_size 0
  351. filesystem_unbuffered_io 0
  352. filesystem_use_overlapped_io 1
  353. tf_backpack_page_button_delay 0.25
  354. tf_time_loading_item_panels 0.00025
  355.  
  356. // ----------------------------------------------------------------------------
  357. // Sound
  358. // ----------------------------------------------------------------------------
  359. // I'd be hesitant to say that you would see a great deal of performance
  360. // improvement from lowering the sound quality, but in my experience as a
  361. // competitive TF2 player, lowering the sound quality makes determination of
  362. // directionality and distance that much easier. You may see a small FPS gain
  363. // with these settings, or you may not, either way will likely have a
  364. // negligible effect on performance.
  365. // ----------------------------------------------------------------------------
  366. dsp_enhance_stereo 0
  367. dsp_slow_cpu 1
  368. snd_async_fullyasync 1 // Having the sound run fully asynchronous has been
  369. // helpful in the past, as it seems to (for whatever
  370. // reason) reduce the number of TDRs experienced during
  371. // gameplay. There's some pretty good information on
  372. // TDRs (nerds only) here:
  373. // http://forums.nvidia.com/index.php?showtopic=65161
  374. snd_pitchquality 0
  375. snd_spatialize_roundrobin 1
  376. snd_mixahead .06 // Delay in sound from weapons below .05 has been known to be unstable
  377.  
  378. // ----------------------------------------------------------------------------
  379. // Threading
  380. // ----------------------------------------------------------------------------
  381. mat_queue_mode -1 // mat_queue mode is another frequently asked about cvar, it
  382. // defines the threading method to be used by the material
  383. // system. It has been unstable to use in the past, but
  384. // nowadays it's generally okay.
  385. //
  386. // Here are the possible values:
  387. // -2 legacy default
  388. // -1 default
  389. // 0 synchronous single thread
  390. // 1 queued single thread
  391. // 2 queued multithreaded
  392. //
  393. // If you have problems with the value `2', try setting it to
  394. // `-1'.
  395. //
  396. // As an aside, there are quite a few bugs in the demo system
  397. // that occur when mat_queue_mode is set to a value that is
  398. // not `-1'. If you intend to do work with the demo system,
  399. // maybe you should change this.
  400. //
  401. //After immense testing I've found that default works perfectly
  402. //fine with setting your Thread usage. It automatically set me
  403. //to 2 every time. I'd say it's safer and likely less buggy to
  404. //leave this at -1 than it is at 2.
  405. //
  406. //As a side not I've noticed micro stutters with mat_queue_mode 2
  407. //at 1000+ fps where mat_queue_mode 1 did not stutter at 1000+ fps
  408.  
  409. cl_threaded_bone_setup 0 // WARNING if you don't have a Quad-Core CPU or better you SHOULD NOT LEAVE THIS ON
  410. cl_threaded_client_leaf_system 0 // DO NOT ENABLE cause crashes to desktop within 4-5 minutes of gameplay 4/18 2014
  411. r_queued_decals 0 // lessens the impact of higher decal limits.
  412. r_queued_ropes 1
  413. 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
  414. r_threaded_client_shadow_manager 1
  415. r_threaded_particles 1
  416. r_threaded_renderables 1
  417.  
  418. // ----------------------------------------------------------------------------
  419. // HUD
  420. // ----------------------------------------------------------------------------
  421. hud_saytext_time 10 //Default is 12 and measured in seconds, this is the amount of time chat stays on your screen
  422. voice_enable 1 //Default is 1, This is the voice chat in the game 1 = on, 0 = off
  423. hud_deathnotice_time 5 // Default is 6, This the the death notices that usually appear at the top right of the screen
  424. hud_achievement_glowtime 0 // Default is 2.5, not 100% what this is about a 1.5% fps boost.
  425. hud_achievement_count 0 //Default is 8, Max number of achievements that can be shown on the HUD
  426. hud_achievement_tracker 1 // Default is 1, Show or hide the achievement tracker
  427.  
  428. // ----------------------------------------------------------------------------
  429. // Test Shit
  430. // ----------------------------------------------------------------------------
  431. cl_localnetworkbackdoor 1 //Network optimizations for Singleplayer, disabling has about a 1-2% fps boost, disabling seems to cause minor jitter.
  432. cl_cloud_settings 0 // I believe this disables cloud syncing of CFGs but not 100% sure
  433. //cl_notifications_show_ingame 0 // Pretty sure this disables Trade/Duel Notifications
  434. sys_minidumpspewlines 500 // Basically the number of lines saved to a log file from console. No FPS boost but 15% lower FPS variance
  435. tf_scoreboard_ping_as_text 1
  436. sv_forcepreload 1
  437.  
  438. // ----------------------------------------------------------------------------
  439. // Print to console
  440. // ----------------------------------------------------------------------------
  441. echo "---------------------------------------------------------"
  442. echo "Comanglia' toaster config loaded. Inspired by Chris config"
  443. echo "And there's also a bit of Felik's config"
  444. echo "Modified by Aleks from Choualbox"
  445. echo "---------------------------------------------------------"
  446.  
  447. exec autoexec2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement