Jump to content

[RESOLVED]Using autoexec.cfg causes troubles


Recommended Posts

Posted

Hi!

 

If I create an autoexec.cfg in the CONFIG folder of my user profile, e.g. with entries like

disable_write_track = true

and/or

 no_device_hotplug = true 

DCS is behaving differently; e.g. If I start a mission the screen with the BRIEFING screen (the one with the "FLY" button) doesn't appear anymore. Are there any other effects using an autoexec.cfg which I (we) should be aware of?

 

Thanks for any advice and kind regards,

TOViper

Visit https://www.viggen.training
...Viggen... what more can you ask for?

my computer:
AMD Ryzen 5600G 4.4 GHz | NVIDIA RTX 3080 10GB | 32 GB 3.2 GHz DDR4 DUAL | SSD 980 256 GB SYS + SSD 2TB DCS | TM Warthog Stick + Throttle + TRP | Rift CV1

 

  • ED Team
Posted

I would be surprised if the autoexec has any bearing on it.

 

Please attach your dcs log after you experience problems, it may give us some clues

smallCATPILOT.PNG.04bbece1b27ff1b2c193b174ec410fc0.PNG

Forum rules - DCS Crashing? Try this first - Cleanup and Repair - Discord BIGNEWY#8703 - Youtube - Patch Status

Windows 11, NVIDIA MSI RTX 3090, Intel® i9-10900K 3.70GHz, 5.30GHz Turbo, Corsair Hydro Series H150i Pro, 64GB DDR @3200, ASUS ROG Strix Z490-F Gaming, PIMAX Crystal

Posted (edited)

the log says:

2020-02-26 12:22:39.601 ERROR   Lua::Config: load error Config/main.cfg:[string "C:\Users\pilot\Saved Games\DCS.openbeta\Config/autoexec.cfg"]:1: unexpected symbol near 'ï'. 

 

The autoexec.cfg contains:

disable_write_track = true
no_device_hotplug = true

 

Codepage failure? Currently it is UFT-8 BOM, but I will try a change to UFT-8 ... will report back.

Edited by TOViper

Visit https://www.viggen.training
...Viggen... what more can you ask for?

my computer:
AMD Ryzen 5600G 4.4 GHz | NVIDIA RTX 3080 10GB | 32 GB 3.2 GHz DDR4 DUAL | SSD 980 256 GB SYS + SSD 2TB DCS | TM Warthog Stick + Throttle + TRP | Rift CV1

 

Posted (edited)

I got it sorted out, UTF-8 is working, UTF-8 DOM was not working. Don't know when the file got its UTF-8 BOM coding ...

autoexec_TOViper.cfg

 

Thanks Big for the tip for studying my log! :thumbup:

Edited by TOViper

Visit https://www.viggen.training
...Viggen... what more can you ask for?

my computer:
AMD Ryzen 5600G 4.4 GHz | NVIDIA RTX 3080 10GB | 32 GB 3.2 GHz DDR4 DUAL | SSD 980 256 GB SYS + SSD 2TB DCS | TM Warthog Stick + Throttle + TRP | Rift CV1

 

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...