So, I've got this main.ini file, which I use for most of my mods, and it has $DOOMWADDIR/AUTOEXECUTABLES/autoexec.cfg as the path to its Doom.AutoExec file that contains several keybindings. It works absolutely fine.
I also have second.ini (which is a copy of the main one), which I use for one specific mod, and I've just changed its Doom.AutoExec path to $DOOMWADDIR/AUTOEXECUTABLES/autoexec2.cfg. The keybindings in this second cfg-file are different.
Now, the problem is that the game keeps using the bindings from autoexec.cfg even when I load the game with second.ini, that uses autoexec2.cfg (and thus should have different actions bound to the same keys). Am I doing something wrong here?
[GZDoom 4.4.2] An odd problem with autoexec.cfg?
Moderator: GZDoom Developers
Forum rules
Contrary to popular belief, we are not all-knowing-all-seeing magical beings!
If you want help you're going to have to provide lots of info. Like what is your hardware, what is your operating system, what version of GZDoom/LZDoom/whatever you're using, what mods you're loading, how you're loading it, what you've already tried for fixing the problem, and anything else that is even remotely relevant to the problem.
We can't magically figure out what it is if you're going to be vague, and if we feel like you're just wasting our time with guessing games we will act like that's what you're really doing and won't help you.
Contrary to popular belief, we are not all-knowing-all-seeing magical beings!
If you want help you're going to have to provide lots of info. Like what is your hardware, what is your operating system, what version of GZDoom/LZDoom/whatever you're using, what mods you're loading, how you're loading it, what you've already tried for fixing the problem, and anything else that is even remotely relevant to the problem.
We can't magically figure out what it is if you're going to be vague, and if we feel like you're just wasting our time with guessing games we will act like that's what you're really doing and won't help you.
- Bodhisattva
- Posts: 54
- Joined: Wed Mar 02, 2016 10:28 am
- Graphics Processor: ATI/AMD (Modern GZDoom)
- Graf Zahl
- Lead GZDoom+Raze Developer
- Posts: 49223
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: [GZDoom 4.4.2] An odd problem with autoexec.cfg?
How do you define your bindings in these files? Some bind commands do not override existing bindings. Also keep in mind that bindings bind commands to keys, not keys to commands, so if config A binds a key that config B does not, that binding will persist once set.
- Bodhisattva
- Posts: 54
- Joined: Wed Mar 02, 2016 10:28 am
- Graphics Processor: ATI/AMD (Modern GZDoom)
Re: [GZDoom 4.4.2] An odd problem with autoexec.cfg?
I did it just like in the example from this page:
By the way, I tried solving the problem by

Both cfg-files use the same key, but have slightly different commands inside the quotation marks.alias zoomout "fov 90; eval * $mouse_sensitivity 4.5 mouse_sensitivity; rebind zoomin"
alias zoomin "fov 20; eval / $mouse_sensitivity 4.5 mouse_sensitivity; rebind zoomout"
bind F zoomin
By the way, I tried solving the problem by
- deleting the old second.ini,
making a new one from a copy of main.ini,
putting both cfgs in $PROGDIR, and
changing the Doom.AutoExec path to $PROGDIR/autoexec.cfg and $PROGDIR/autoexec2.cfg respectively,
