Hi, i have some problems with my autoexec. When i run the game the autoexec gets edited and half of my commands are deleted. If i put it on read only the game crashes when i join a game. I also noticed that same settings that do not get deleted are pasted on config.cfg where i have only some binds. Any help would be great. This is my autoexec:
mat_dxlevel 95 mat_specular 0 r_worldlights 0
mat_phong 0
cl_cmdrate 66 cl_interp 0 cl_interp_ratio 1 cl_lagcompensation 1 cl_pred_optimize 2 cl_smooth 0 cl_smoothtime 0.01 cl_updaterate 66 rate 60000
cl_playerspraydisable 1 r_spray_lifetime 0
r_shadowmaxrendered 0 r_shadowrendertotexture 0 r_shadows 1 nb_shadow_dist 400
r_eyes 1 r_flex 0 r_lod -1 r_teeth 0
cl_ragdoll_fade_time 0 cl_ragdoll_forcefade 1 cl_ragdoll_physics_enable 0 g_ragdoll_fadespeed 0 g_ragdoll_lvfadespeed 0 ragdoll_sleepaftertime 0
cl_phys_props_enable 0
cl_phys_props_max 0 props_break_max_pieces 0 r_propsmaxdist 1 violence_agibs 0 violence_hgibs 0 cl_burninggibs 0
dsp_enhance_stereo 1 dsp_slow_cpu 0 snd_async_fullyasync 1 snd_pitchquality 1 snd_spatialize_roundrobin 1 snd_mixahead 0.1 snd_mix_async 1
cl_hud_playerclass_use_playermodel 1 cl_drawmonitors 0 cl_jiggle_bone_framerate_cutoff 20 cl_new_impact_effects 0 cl_show_splashes 0 func_break_max_pieces 0 glow_outline_effect_enable 1 lod_transitiondist 0 mat_antialias 8 mat_aaquality 2 mat_bumpmap 0 mat_colcorrection_disableentities 0 mat_colorcorrection 0 mat_disable_fancy_blending 1 mat_disable_lightwarp 1 mat_disable_ps_patch 1
mat_filterlightmaps 1 mat_filtertextures 1 mat_forceaniso 1 mat_hdr_level 0 mat_max_worldmesh_vertices 65535 mat_monitorgamma 1.6 mat_motion_blur_enabled 0 mat_mipmaptextures 1 mat_reducefillrate 1 mat_reduceparticles 1 mat_autoexposure_max 0
mat_autoexposure_min 0
mat_alphacoverage 1 mat_trilinear 1 mat_viewportscale 1 mat_wateroverlaysize 1 mp_decals 9 r_3dsky 0 r_ambientboost 0 r_cheapwaterend 1 r_cheapwaterstart 1 r_decals 9 r_maxmodeldecal 9
r_decalstaticprops 0 r_decal_cullsize 15 r_drawdetailprops 0 r_drawmodeldecals 0 r_drawflecks 0 r_dynamic 0 r_maxdlights 32 r_physpropstaticlighting 1 r_occlusion 1 r_forcewaterleaf 1 r_lightaverage 0 r_dopixelvisibility 0
r_propsmaxdist 0 r_renderoverlayfragment 0 r_staticprop_lod 10 r_waterdrawreflection 0 r_waterdrawrefraction 1 r_waterforceexpensive 0 r_waterforcereflectentities 0 rope_averagelight 0 rope_collide 0 rope_rendersolid 1 rope_shake 0 rope_smooth 0 rope_subdiv 0 rope_wind_dist 0 tf_particles_disable_weather 1 tracer_extra 0 violence_ablood 1 violence_hblood 1
mat_software_aa_quality 0 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
flex_smooth 1 in_usekeyboardsampletime 0 mat_clipz 1 mat_forcehardwaresync 0 mat_levelflush 1 m_rawinput 1 mat_vsync 0 r_fastzreject -1 mat_queue_mode 2
cl_threaded_client_leaf_system 0 r_queued_ropes 1 r_threaded_client_shadow_manager 1 r_threaded_particles 1 cl_software_cursor 0
cl_ejectbrass 0 cl_localnetworkbackdoor 0
ai_expression_optimization 1
r_pixelfog 1
fast_fogvolume 1
filesystem_native 0
host_thread_mode 0
mod_load_anims_async 1
mod_load_mesh_async 1
mod_load_vcollide_async 1
r_queued_post_processing 1 r_threaded_renderables 1
sensitivity 3.4 volume .15 fov_desired 90 viewmodel_fov 70 tf_use_min_viewmodels 1 viewmodel_fov_demo 70 cl_hud_minmode 1 cl_disablehtmlmotd 0 cl_autorezoom 0 tf_hud_no_crosshair_on_scope_zoom 1 cl_autoreload 1 hud_fastswitch 1 hud_classautokill 0 hud_combattext 1 hud_combattext_red 255 hud_combattext_green 255 hud_combattext_blue 0 tf_dingalingaling 1 tf_dingaling_volume .6 tf_dingaling_pitchmindmg 140 tf_dingaling_pitchmaxdmg 5 cl_crosshair_red 0 cl_crosshair_green 255 cl_crosshair_blue 0 cl_crosshair_file crosshair3 cl_crosshair_scale 30 tf_medigun_autoheal 0 cam_ideallag 0 cl_spec_carrieditems 0 sv_allow_point_servercommand always tf_scoreboard_ping_as_text 1 cl_ask_favorite_opt_out 1 cl_ask_blacklist_opt_out 1 replay_quitmsg_dontaskagain 1 cl_ask_bigpicture_controller_opt_out 1 tf_explanations_store 1 tf_explanations_discardpanel 1 tf_explanations_backpackpanel 1 tf_explanations_charinfopanel 1 tf_explanations_craftingpanel 1 tf_explanations_charinfo_armory_panel 1 tf_training_has_prompted_for_forums 1 tf_training_has_prompted_for_loadout 1 tf_training_has_prompted_for_options 1 tf_training_has_prompted_for_training 1 tf_training_has_prompted_for_offline_practice 1 cl_showhelp 0 tf_taunt_always_show_hint 0 sb_dontshow_maxplayer_warning 1 tf_coach_request_nevershowagain 1 tf_show_maps_details_explanation_count 0 tf_show_taunt_explanation_in_class_loadout 0 tf_show_preset_explanation_in_class_loadout 0 cl_hud_playerclass_playermodel_showed_confirm_dialog 1 tf_find_a_match_hint_viewed 1 tf_quest_map_intro_viewed 1 tf_warpaint_explanation_viewed 1 tf_inspect_hint_count 11 tf_mvm_tabs_discovered 1 tf_hud_notification_show_count_ghost_controls 1 tf_hud_notification_show_count_ghost_controls_no_respawn 1 tf_hud_notification_show_count_kart_controls 1 cl_promotional_codes_button_show 0 cl_training_class_unlock_all cl_notifications_show_ingame 0 tf_hud_target_id_disable_floating_health 1 con_enable 1 tf_hud_show_servertimelimit 1 cl_mvm_wave_status_visible_during_wave 1 cl_use_tournament_specgui 1 tf_party_join_request_mode 2 tf_contract_progress_show 0