Team Fortress 2

Team Fortress 2

Not enough ratings
My TF2 autoexec.cfg
By _Sitzkrieg
Throughout my many years playing TF2 I have always used an autoexec of some sort. At first I used the popular Chris' Config, and then later Comanglia's Config. In 2014 I decided to create my own autoexec as a fun project. It was created line by line while cross-referencing the usage of the console commands with the Valve Developer Wiki. I hope this guide serves the community well.
   
Award
Favorite
Favorited
Unfavorite
What is an autoexec.cfg?
An autoexec.cfg, autoexec, "config", etc. is nothing more than a configuration file that launches automatically when the game starts. In the context of TF2, these configuration files automatically enable Source console commands contained within the .cfg file. The console commands can be conceptualized as "hidden" or "behind the scenes" settings that are (usually) not available to change within the default in-game settings menus. Valve has provided the autoexec feature for developer purposes, and for end users to fine-tune their experience with the game.

While an autoexec can be used for many different things, the two most common use cases for an autoexec.cfg in TF2 are to reduce graphical fidelity while increasing FPS, and to optimize the source engine network traffic.
Can it get me banned?
No it can't. Autoexecs use source engine commands that are provided by Valve for people to use. Even though there are commands that can be used for cheating, official valve servers (and most community servers) have sv_pure 1 enabled, which makes sure that only whitelisted commands will be parsed/enabled by the server.

All commands in my autoexec are sv_pure 1 (vanilla) compliant and there is 0 chance of getting banned. To clarify, even if I made an autoexec that was nothing but sv_pure 0 (cheats) commands, the servers would simply not allow these options to be enabled, and nothing would happen.
Why upload this?
As mentioned earlier, I have been working on this for quite some time and I'd like to help players in the community who have lower end hardware. If it weren't for Chris' config I wouldn't have been able to run the game back in the day on my 2011 HP Pavillion. I have helped quite a few of my friends on Steam with this config and I hope it can help even more people.

I am also a huge advocate for Free and Open Source Software (FOSS). Uploading this guide for everyone to freely use, modify, and distribute contributes toward this philosophy.
How does it work?
My autoexec takes a different approach than most others I have seen. Instead of all of the commands being stacked into a single monolithic file named "autoexec.cfg", I have taken a more modular approach. My autoexec.cfg contains basic QoL commands, executes the other cfg files (referred to as modules), and contains recommended launch options. The launch options are located at the top of the autoexec.cfg file.

I decided to take this approach to creating an autoexec.cfg because I think it would be easier for users to simply delete the corresponding module instead of digging through hundreds (if not thousands) of lines of console commands to delete potentially unwanted segments.

For example, if you do not with to use my network config, you can just delete the network.cfg file and/or the 'exec network' line in autoexec.cfg instead of endlessly sifting through commands.

autoexec.cfg (main file)
//=================LaunchOptions=====================

//This is the main "backbone" file that all other modules are loaded from.
//Follow the directions very closely.

//Put these in your launch options
//-vulkan -high -skip -novid -nojoy -nosteamcontroller -noff -softparticlesdefaultoff -particles 512 -reuse -console -nohltv -useforcedmparms -noforcemaccel -noforcemspd -noshaderapi -nominidumps -dev
//The vulkan option will only work on systems with proper drivers and hardware that supports vulakn 1.3
//If crashing is experienced then remove -vulkan
//-freq is unnecessary since fps_max is defined in the graphics config.

//dxlvl settings are depreciated as valve ended support for forcing most direct X levels since the jungle inferno update.
//continuing to force dxlvl's will cause a slew of issues and command conflictions.

//If for whatever reason things fail, remove all launch options and add -autoconfig as the only option.

// ----------------------------------------------------------------------------
// Objectively beneficial QoL commands for everyone.
// ----------------------------------------------------------------------------

cl_vote_ui_active_after_voting 1
//Shows the vote progress even when it's against you.
//This feature provides for enhanced ♥♥♥♥ talking.

m_rawinput 1
m_customaccel_exponent 0
m_customaccel_max 0
m_customaccel_scale 0
m_filter 0
m_forward 1
m_mouseaccel1 0
m_mouseaccel2 0
m_mousespeed 1
m_customaccel 0
engine_no_focus_sleep 0
cl_SetupAllBones 1
sv_namechange_cooldown_seconds 0
tf_player_name_change_time 0
hud_fastswitch 1
cl_autoreload 1
mat_forcehardwaresync 0

// ----------------------------------------------------------------------------
// Module Execution
// ----------------------------------------------------------------------------


//Here is where the module execution takes place.
//Disable any of these modules by commenting them out.

exec medic-radar
exec adblocker
exec network
exec graphics
exec scoreboard-netgraph
exec sound
exec gaben
exec multithread
exec mapvotefix

// ----------------------------------------------------------------------------
// Console print.
// ----------------------------------------------------------------------------


//Here is where autoexec information is stored
//and printed to the console during launch

echo" _"
echo"S"
echo"I"
echo"T"
echo"Z"
echo"K"
echo"R"
echo"I"
echo"E"
echo"G"
echo"2024"



echo "--------------------------------------------------------"
echo "--------------------------------------------------------"
echo "--------------------------------------------------------"
echo "---------Last-Updated-(10/2/2024)-----------------------"
echo "--------------------------------------------------------"
echo "----_Sitzkrieg's-TF2-CFG-Executed-----------------------"
echo "--------------------------------------------------------"
echo "--------------------------------------------------------"
echo "--------------------------------------------------------"

adblocker.cfg
//------------------------------------------------
//Ad protection for source games
//------------------------------------------------

// Protection against server_can_execute bypass
// Make your cfg/config.cfg read-only for extra protection.
cl_allowupload 0
alias cl_allowupload "echo Blocked cl_allowupload!"
alias clear "echo Blocked clear!"
alias unbindall "echo Blocked unbindall!"

// Adblock for motd, extra protection:
// > Create an empty file in your game directory named textwindow_temp.html and make it read-only (this prevents the motd from being saved & loaded)
// > Add '127.0.0.1 motd.pinion.gg' to your hosts file. This prevents a well known motd advertising network to load
cl_disablehtmlmotd 1
alias closed_htmlpage "echo Blocked pinion!"

// Gets rid of servers playing annoying sound files
alias play "echo Blocked play!"
alias sndplaydelay "echo Blocked sndplaydelay!"
alias playgamesound "echo Blocked playgamesound!"
alias soundfade "echo Blocked soundfade!"

// Game servers do not need these commands for any reason.
alias cl_spec_mode
alias rpt_connect
alias r_screenoverlay

echo "Adblocker Module Initiated!"
echo "_Sitzkrieg 2020"

//For a deeper ad blocking experience: edit your hosts file with a blacklist repository of some sort.
//-> If an even deeper ad blocking experience is necessary or desired then I would suggest creating something called a "pi-hole".
//-->A pi-hole is an inexpensive, and HIGHLY customizable, network wide hardware ad blocker.
gaben.cfg
echo "■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■"
echo ",;,,,;,;,;,;,;,;,;;;;L ...:,;;L;L;FyjjEhK5hKOO8S8SESpObb8OBOpb88bbpO8bb8BbQBQBQQgQQBQBQBQBQbbGpOGnzLrL;, ,,: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;;;,;"
echo ",,,,,,,,,,,,;,;,;,;,;,;,;,;,;;;;;;;;;;L. ...:...;zS;LnonK3KL;:. .:;cjcFZpbQg@ggggQgQQbQQQQQbbG88BBQBQBBbQbBbB8bO8pb8BbB888boSpOOpO8cL: ....: ....,;;;"
echo ":;,,:,:,:,,;,;,;,;,;,;,;,;,;,;;;,;;;;;;;. ...,. :7nZzohpGOE5y;,;::...:;y5pO888O88BBQQQQQBQQQbQbQQQQQBB8B8bpB8BBB8Q8b8bOp8b8BbBbbO8Ohh8O8ObEz;; ..,:. ......,"
echo ",,;:,:,,;,,,;,;,;,;,;,;,;,;,;,;;;;;;;;;;; ...:;. :LjyrSObpGhSzL;L;;;,.,;FjooEhOE5KEG8bQBQQQQQBBQQQgQQBQbb8b88bQ888Bp8O88bpb8b88O88OnGE8EOOEL;: ..:::.. ......"
echo ":;,;:,:,,,,,,,,;,;,;,;,;,;,;,;;;,;,;;;;;;, ..:;. .Lz77SpbpOZF7c;L;,...:,LcnzLLKn3n5OBBQBQQgBQBBbQQgQQBQ8b8QbBBB8b8bO888pb8b88pb8853EOOOGOK;.. .....::........"
echo "::,:,:,:,:,,,,,,,,,,;,,,;,;;;,;,;;;,;;;;;;: .,;. .;;LyhhphS7Lr7LL;;,,:;;jK5zyKOEGS88bBQBBbb8BbQBQBQQQQQbbbb8bbbp8p8O8Ob8bpb88ObGSKEGpSpSj. ................"
echo ":;:,:,:,:,:;,;,;,;,;,;,;,;,;,;,;,;,;,;;;;;L. .:;. ,;7y35Go5;Lc7L7;L;Lco5Go53EEShOG88bO8OppbbQbBQQBQQQbBbB8B8b888b88Ob8B8b8pp8GpSS5pGOGS;. ..............."
echo ",:,:,:,:,:,,;,,,,,;,;,;,;,;,;,;,;,;;;;;,;;;;. ..,.. .,LLFzyyF;rLrcyzyz3nKojFF7yjKoEObGESpO88QBQQQBQQQBBbBbBbb88Ob8b8b8B88pbObGOOGEOOGoOy. ................"
echo ":,:::,:,:,:,:,:,,,,,,;,;,;,;,;,;,;,;;;,;,;,;;. . ... .:::;;L;rcz;nZ33on7;;;LLnKSSpG8p88b8BbQBQQQBQBQBB8bpb8b88Ob8b8bbBpb8b88G888GOGOEG3; ................."
echo ":::.,:,:,:,:,:,:,,,,;,;,;,;,;,;,;,;,;,;;;,;;L;. . ........:,;;rLcz3h5rL;;;Fzo5OS8Ep8bpBBBBQBQBQBBbB8b8b8bpbO88b8B8b8b8bOb88O8O8pGG8SG3L ....:............."
echo ":,.::::::,:,:,:,:,:;,,,;,;,,,;,;,;,;,;;;,;,;;;;. . . ..... . .:;;L;LLycL;LLynSSOEEhO8B8bbQBQBQQQBQ8bppO88b8b8b8B88pb88pBpbO8O8p8O8E8hE57. .................."
echo ":::.,:,:,:,:,:,:,:,:,,,,;,;,;,;,;,;,;,;,;,;,;;;;. ... . ..... ..,,;;;;cL;;7nhZOEEEpO8bB8BbQQQQQbQb8EpO88bO8p88B8b88p8p8pbpbpbp8O8O8OpEj. . . ......... ......"
echo ".,.:.::,.,:::::,:,:,:,:,,;,;,;,,,;,;,;,;,;,;,;;c; ... . .... ..,,;;;;L;LLyjoEOhSOpObOb8BbQbBbbpp
graphics.cfg
//=============Ragdolls&Gibs===========

//This section will make ragdolls and gibs instantly disappear
// No ragdolls + no gibs = better performance


cl_ragdoll_forcefade 1
cl_ragdoll_collide 0 // Only works in singleplayer matches
cl_phys_props_enable 0
cl_phys_props_max 0 // (default 2048)
props_break_max_pieces 0
violence_agibs 0
violence_hgibs 0


//=============Experimental=============

//Don't modify any of this unless you 100% know what you are doing.

r_occlusion 0 //0 = more GPU than CPU
mod_forcedata 0 //Disables async model loading
cl_detaildist 0 //Distance of detail
cl_detailfade 0 // Fading of detail
cl_drawmonitors 0 // Never enable
cl_ejectbrass 0 // Brass shell ejections from the minigun
lod_TransitionDist -1
gl_clear_randomcolor 0 //Keep this at 0 for modern hardware. Use 1 for legacy hardware.
flex_smooth 1
mat_clipz 1 //Old radeon graphics hardware users should set this value to 0.

//=============Graphics=============


mat_showlowresimage 1 // Potato mode 9000
mat_max_worldmesh_vertices 1024
//reduces vertices (1024 minimum)

cl_hud_playerclass_use_playermodel 0 // makes the playermodel 2D on the HUD

mat_vsync 0
// Gets rid of some input lag and uncaps FPS

mat_compressedtextures 1
mat_disable_fancy_blending 1
mat_envmapsize 8
mat_envmaptgasize 8
mat_filterlightmaps 0
mat_filtertextures 0
mat_forceaniso 0
tracer_extra 0

// Finer AA settings.
mat_antialias 0 //Global enable/disable
mat_software_aa_quality 0 // Default is 9
mat_software_aa_strength 0
mat_software_aa_strength_vgui -1
mat_software_aa_blur_one_pixel_lines 0
mat_software_aa_edge_threshold 9
mat_software_aa_tap_offset 1


mat_monitorgamma 1.8
// Controls brightness, try 1.8 to make it brighter or 2.2
// to get it darker. Only works in fullscreen.

mat_motion_blur_enabled 0
mat_parallaxmap 0

mat_picmip 10
// -10 = swagged out quality, 10 = worst quality. Sever defines the range.

mat_bumpmap 0
mat_reducefillrate 1
mat_reduceparticles 1
mat_trilinear 0
mat_viewportscale 1
mat_viewportupscale 1
//The above two commands will only provide a measurable performacne increase to exceptionally weak hardware.
mat_wateroverlaysize 1
mat_mipmaptextures 0
mp_decals 0 // Sets limit to sprays, blood, and bullet holes.

r_rootlod 2
r_ambientboost 0
r_drawbatchdecals 0
r_drawtracers_firstperson 0
r_renderoverlayfragment 0
r_3dsky 0
r_ambientboost 0
r_ambientfactor 0
r_ambientmin 0
r_avglight 0
cl_show_splashes 0
r_cheapwaterend 1
r_cheapwaterstart 1
r_decals 0
r_decalstaticprops 0
r_decal_cullsize 15
r_drawdetailprops 0
r_drawmodeldecals 0
r_drawflecks 0
r_dynamic 0
r_flashlightdepthtexture 0
r_forcewaterleaf 1
r_lightaverage 0
r_maxnewsamples 2
r_maxsampledist 1
r_propsmaxdist 0
r_renderoverlayfragment 0
r_staticprop_lod 63
r_waterdrawreflection 0
r_waterdrawrefraction 0
r_waterforceexpensive 0
r_waterforcereflectentities 0
r_worldlightmin 0.0002
r_occlusion 0
rope_averagelight 0
rope_collide 0
rope_rendersolid 0
rope_shake 0
rope_smooth 0
rope_subdiv 0
rope_wind_dist 0
tracer_extra 0
muzzleflash_light 0
cl_muzzleflash_dlight_1st 0
cl_jiggle_bone_framerate_cutoff 0


//===========Lighting&Shadows=============

mat_phong 0
//adds cartoon-like lighting and reduces rocket trail particles
//Drastically improves performance when disabled.

mat_specular 0
//Controls specularity. Setting this to 0 will dull out reflections, but also provides a large performance boost.
mat_disable_lightwarp 1
mat_filterlightmaps 0
mat_softwarelighting 0
mat_hdr_level 0

r_shadowrendertotexture 0
r_shadows 0
//Globally enables/disables shadows
r_shadowmaxrendered 0
r_worldlights 0
r_rimlight 0
r_lightaverage 0

//nb_shadow_dist 10
// Distance from which shadows are visible (In hammer units. Default = 400 )
//Commented out because of conflictions with other shadow rendering comamands.

tf_enable_glows_after_respawn 0
//Disabled to grant more FPS and provide a more immersive experience.

//================FACE&HEAD================

r_eyes 0
//Enables/disables eyes rendering
r_flex 0
//Enables/disables face animations
r_teeth 0
//Enables/disables teeth rendering
anim_3wayblend 0
//Enables/disables animation smoothing
ai_expression_optimization 1
r_glint_procedural 0
blink_duration 0
//Enables/disables blinking
tf_clientsideeye_lookats 0
//Enables/disables eye tracking
phonemesnap 0

//====================Misc============================

fps_max 400
//This command should be maxed out as high as possible. Higher FPS = less render latency.

cl_forcepreload 1
// Forces preloading maps. Improves map loading time drastically.
//(UPDATE) As of november 2017 it seems that valve has disabled this feature.
//I will keep it enabled personally for humors sake. Maybe one day it will be a thing again.

in_usekeyboardsampletime 1


con_nprint_bgalpha 255 // Disables console transparency
con_nprint_bgborder 0 // Disables console border


echo "Graphical Optimization Module Initiated!"
echo "_Sitzkrieg 2024"
mapvotefix.cfg
//This module fixes the map voting fix bug. Fairly seamless integration, unless you already have binds asigned to num1, 2, or 3.
//Numlock must be enabled for this to function.

bind kp_end next_map_vote 0

bind kp_downarrow next_map_vote 1

bind kp_pgdn next_map_vote 2

//Press num1 for the first map starting from the left,
//numpad2 for the second, and numpad 3 for the third map.
medic-radar.cfg
//In compatible servers this will make all team members call out for medic at once. Very useful for medic mains.
//Press 0 on the numpad to activate.


hud_medicautocallers 1
alias autocall_default "hud_medicautocallersthreshold 60"
alias autocall_all "hud_medicautocallersthreshold 150"
alias +radar "autocall_all"
alias -radar "autocall_default"
bind kp_ins "+radar"



echo "Medic Radar Module Loaded!"
echo "_Sitzkrieg 2024"
multithread.cfg
//Adding this module back after many moons.


mat_queue_mode 2
//Modern hardware should have this value set to 2. 2 forces multi-thread compatibility.
//If working with demo reels, then set this to -1. For some reason it can mess things up.
host_thread_mode 0 // Don't enable.
cl_threaded_bone_setup 1
cl_threaded_client_leaf_system 0
r_queued_decals 0
r_queued_ropes 1
r_queued_post_processing 0
r_threaded_client_shadow_manager 1
r_threaded_particles 1
r_threaded_renderables 1
studio_queue_mode 1
mp_usehwmmodels -1
mp_usehwmvcds -1
mod_load_anims_async 1
mod_load_mesh_async 1
mod_load_vcollide_async 1




echo "multithread module loaded successfully!"

echo "--------------------------------------------------------"
echo "--------------------------------------------------------"
echo "--------------------------------------------------------"
echo "---------Last-Updated-(10/2/2022)-----------------------"
echo "--------------------------------------------------------"
echo "----_Sitzkrieg's-TF2-CFG-Executed-----------------------"
echo "--------------------------------------------------------"
echo "--------------------------------------------------------"
echo "--------------------------------------------------------"
network.cfg
//=================Networking====================

// This has been optimized for fast connections with low ping.
//If you often have high ping, lag spikes, or a slow connection, then delete this module.



cl_interp .014000
//This is an interesting command. It's set below what official servers allow for overhead.
//I'm entirely aware the server controls the value, and most servers will default cl_interp to .0152X.
//Value typically ranges from .0152 to .0333, and up to .0666 for horrible connections.
//Setting this any higher really doesn't make sense.
//I don't find it beneficial to generate artificial latency in any context.
//It ultimately comes down to preference.

cl_interp_ratio 1
//cl_interp_ratio 1 if you have little to no packet loss.
//cl_interp_ratio 2 for connections with light packet loss.
//cl_interp_ratio 3 (or even 4) for heavy packet loss.

cl_lagcompensation 1
//Never change this. Having a value of 0 will break hitreg unless you are playing on LAN.
cl_pred_optimize 2
//Never change this.
cl_smooth 0
//"Smooths" the movement and projectiles of the game. Disable this for better positional accuracy.
cl_smoothtime 0.01
//Redundant, but useful in case a server disables cl_smooth 0 for whatever reason.
cl_updaterate 128
//How often the client requests info to the server. Locked at 66 for official valve servers.
cl_cmdrate 128
//How often the client sends info to the server. Locked to 66 for official valve servers.
net_queued_packet_thread 1
// Enable to use a high priority thread to send queued packets out instead of sending them each frame.
rate 128000
// Change this value relative to your download speeds, measured in kbps. Current value is stable for a connection of
net_maxcleartime 0
//"0" Disables the limit of time spent waiting on sending packets.
net_compresspackets 1
//Compression = packets move faster :O !
net_compresspackets_minsize 512
//Minimum compressed packet size in kb. Keep default. This can get really technical and in the weeds.
net_splitpacket_maxrate 500000
// Always max this out to some insane number to eliminate bottlenecks and overhead.
net_splitrate 2
//Experimental value. Potentially placebo because valve has yet to provide proper documentation.




echo "Network Optimization Module Initiated!"
echo "_Sitzkrieg 2024"
scoreboard-netgraph.cfg
//============SCOREBOARD=NETGRAPH===============

alias +scores "net_graph 3; +showscores"
alias -scores "net_graph 0; -showscores"

bind tab +scores

echo "Scoreboard Netgraph Module Initiated!"
echo "_Sitzkrieg 2020"
sound.cfg
//================SOUND================



voice_steal 2
snd_cull_duplicates 0
snd_pitchquality 0
snd_mixahead .05
snd_spatialize_roundrobin 1
in_usekeyboardsampletime 0
mat_clipz 1 // FX card users should set this to 0
mat_forcehardwaresync 0
mat_levelflush 1
sv_mumble_positionalaudio 1
fast_fogvolume 1

dsp_slow_cpu 1
//Helps tremendously with directional audio effects in game.

snd_mix_async 1
//Boosts audio rendering performance on multi core processors

r_fastzreject 2
// 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.
// Force enabled by default because it has never caused me or any of my friends issues.



echo "Sound Optimization Module Initiated!"
echo "_Sitzkrieg 2024"
Module breakdown:
Here are what each of the modules do:

autoexec.cfg - The main 'spine' of my autoexec. This contains launch options, QoL features, and is what executes all of the below listed .cfg files. If any of the below listed modules are unwanted, simply delete the corresponding .cfg file.


adblocker.cfg - It blocks ads in community servers. In Ye Olden days of TF2, most good community servers were plagued with annoying and invasive ads, mostly from pinion.


gaben.cfg - Totally optional, but funny. This prints an ASCII art picture of GabeN in the console on launch.


graphics.cfg - The star of the show. This reduces graphical fidelity and greatly improves FPS. I have tested this config to work across a large variety of hardware. It remains stable on either Intel or AMD cpus, and on ATI/Radeon or nVIDIA GPUs. If you have ANY crashing or strange issues whatsoever, please reach out to me and I'll try to patch the config.


mapvotefix.cfg - Fixes the strange end of round bug where players cannot vote for maps.


medic-radar.cfg - Makes players of your team call out for medic. While playing medic, this shows the general location of your teammates.


multithread.cfg - Intended to enhance the performance of users running CPUs with more than 2 cores.


network.cfg - Optimizes network traffic. I have fine tuned this for my own personal network. It runs fine for players who have a decent upload/download link and generally low ping. If you encounter any rubber banding, lag, packet drops, extended loading times, or are unable to find matches, please delete this .cfg file.


scoreboard-netgraph.cfg - Shows net_graph 4 in the bottom left corner of the screen while checking the scoreboard. This is very useful for inspecting network hiccups on the fly.


sound.cfg - Increases directional awareness of audio in the game and offshores audio rendering to the GPU.


Thx 4 reading
The most current version of my config can always be found here:

https://github.com/MooZonkey/autoexec


The primary resource used for creating this was the Valve Developer Wiki, and it can be found here:

https://developer.valvesoftware.com/wiki/List_of_Team_Fortress_2_console_commands_and_variables


:)
1 Comments
━━━━╮ Это Мемопёс. Помогите
╰┃ ┣▇━▇ Мемопсу прокатиться
 ┃ ┃  ╰━▅╮ через профиля в стим вставляя
 ╰┳╯ ╰━━┳╯ его в другие
  ╰╮ ┳━━╯ профиля иначе он
 ▕▔▋ ╰╮╭━╮ не станет псом-мемом
╱▔╲▋╰━┻┻╮╲╱▔▔▔╲
▏  ▔▔▔▔▔▔▔  O O┃
╲╱▔╲▂▂▂▂╱▔╲▂▂▂╱
 ▏╳▕▇▇▕ ▏╳▕▇▇▕
 ╲▂╱╲▂╱ ╲▂╱╲▂╱